cant get the turret pitch to work -1 reply

Please wait...

SilentSnake

retired modder...

50 XP

24th July 2003

0 Uploads

181 Posts

0 Threads

#1 15 years ago

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

the code looks like that and I've linked the barrel to a bone named TurretEL (like the Inferno cannon)

But nothing happens :mad: Can someone help me please?




Agent_Vaughn

X5-452

50 XP

22nd August 2003

0 Uploads

87 Posts

0 Threads

#2 15 years ago

you have to indicate in the AIUpdateInterface module tag the ff: Behavior = AIUpdateInterface ModuleTag_03 Turret ControlledWeaponSlots = PRIMARY SECONDARY TurretTurnRate = 180 // turn rate, in degrees per sec TurretPitchRate = 180 AllowsPitch = Yes NaturalTurretPitch = 45 End




SilentSnake

retired modder...

50 XP

24th July 2003

0 Uploads

181 Posts

0 Threads

#3 15 years ago

hmm seems that I've missed that! Thank you verry much Agent_Vaughn!




homura

I don't spend enough time here

50 XP

10th December 2003

0 Uploads

33 Posts

0 Threads

#4 15 years ago

and u should check if the bone in model set a parent and son relation link




Admiral Jimmy W

Forum Musketeer

50 XP

22nd March 2003

0 Uploads

249 Posts

0 Threads

#5 15 years ago

Hey, Snake... am I correct in assuming you are making an M109 Howitzer???

Cause urr... hehehe... I happen to be 'in the market' for one. ;)