View Single Post
Old 07-17-2006, 04:08 PM   #1 (permalink)
hmaster10
Junior Member
 
Join Date: Jul 2006
Location: Philippines
Posts: 21
Send a message via Yahoo to hmaster10
Default Giving Tank Hunters Laser Guided Missiles

I'm new here and this is my first time modding CNC ... you can say that I gotten bored w/ the old plays so I want to switch things around and play it again... unfortunately I'm having troubles w/ what I'm doing

Code:
  WeaponSet
    Conditions = None 
    Weapon = PRIMARY    MissileDefenderMissileWeapon 
    Weapon = SECONDARY  MissileDefenderLaserGuidedMissileWeapon
    AutoChooseSources = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
    AutoChooseSources = SECONDARY NONE
  End

  Behavior = SpecialAbility ModuleTag_08
    SpecialPowerTemplate = SpecialAbilityMissileDefenderLaserGuidedMissiles
    UpdateModuleStartsAttack = Yes
    InitiateSound = MissileDefenderVoiceAttackLaser
  End
  Behavior = SpecialAbilityUpdate ModuleTag_09
    SpecialPowerTemplate = SpecialAbilityMissileDefenderLaserGuidedMissiles
    StartAbilityRange = 200.0
    AbilityAbortRange = 250.0
    PreparationTime = 1000
    PersistentPrepTime = 500
    SpecialObject = LaserBeam
    SpecialObjectAttachToBone = Muzzle01
  End
by adding the following code in the ini file. the tank hunters shoots the ground when using the laser guided missile ability

anyone knows y?
hmaster10 is offline   Reply With Quote