View Single Post
Old 12-30-2003, 09:45 AM   #2 (permalink)
2312222
Senior Member
 
Join Date: Jul 2003
Location: Germany
Posts: 303
Default

This is the code for the original Comanche and its DefaultConditionState

Code:
    DefaultConditionState
      Model                           = AVComanche
      HideSubObject                   = MissileUpgrade
      Animation                       = AVComanche.AVComanche
      AnimationMode                   = LOOP
      WeaponMuzzleFlash               = PRIMARY TurretFX
      WeaponFireFXBone                = PRIMARY Muzzle
      WeaponFireFXBone                = SECONDARY Muzzle
      WeaponLaunchBone  = SECONDARY Muzzle
    End
If you want to remove the muzzleflash you should either remove the line:

"WeaponMuzzleFlash = PRIMARY TurretFX"

or set a semicolon before that line. Then you use HideSubObject = TURRETFX01.

Your code should be:

Code:
    DefaultConditionState
      Model                           = AVComanche
      HideSubObject                   = MissileUpgrade
      Animation                       = AVComanche.AVComanche
      AnimationMode                   = LOOP
      ;WeaponMuzzleFlash               = PRIMARY TurretFX
      WeaponFireFXBone                = PRIMARY Muzzle
      WeaponFireFXBone                = SECONDARY Muzzle
      WeaponLaunchBone  = SECONDARY Muzzle
      HideSubObject = TurretFX01
    End
That should work.

- HEXman
2312222 is offline   Reply With Quote