PDA

View Full Version : TurretPitch Problem



Marodeur
03-05-2003, 11:14 AM
HI,

i'm a modder from germany und have a problem with a new unit i have made.

the turret can spin, but the barrel doesn't pitch :(


ConditionState = NONE
Model = NewModel1
Turret = Turret
TurretPitch = TurretEL
WeaponFireFXBone = PRIMARY Muzzle
WeaponRecoilBone = PRIMARY Barrel
WeaponMuzzleFlash = PRIMARY MuzzleFX
WeaponLaunchBone = PRIMARY Muzzle
End

I have made a Box with the name TurretEL und Linked the box to the turret and than i linked the Barrel to the TurretEL...

Any ideas?

PS: Sorry for my bad english ;)



ok, thx... the problem as fixed :) it was a ini setting -> Behavior

Phoib
03-05-2003, 12:56 PM
Do you mind sharing the right code then?

Marodeur
03-05-2003, 01:27 PM
I have added this, then it works fine. ;)



Behavior = AIUpdateInterface ModuleTag_04
Turret
TurretTurnRate = 100
TurretPitchRate = 100
AllowsPitch = Yes ; <- this!!!
FirePitch = 45 ; <-and this!!!
ControlledWeaponSlots = PRIMARY
End
AutoAcquireEnemiesWhenIdle = No NotWhileAttacking
End

deathdoom
03-05-2003, 02:34 PM
dont you need a min and max pitch value

Marodeur
03-05-2003, 04:19 PM
i think no... the barrel is horizontal ( 0 degrees) and u setup the maximal degree with FirePitch.