Jump to content
Sign in to follow this  
APurpleCow

Help editing CNC3

Recommended Posts

I set the reload timer on Nod's Nuclear Missile to one second, but then when it is fired the button is grey and I can't fire another one until the first nuke explodes. Any ideas on how to fix this?

Share this post


Link to post

Well, this is built-in protection of the game. There can only be a single nuke in the air per player... so I'm afraid there will always be 20 seconds between nukes. The game could also have just crashed, instead of disabling the button ;)

Share this post


Link to post
Well, this is built-in protection of the game. There can only be a single nuke in the air per player... so I'm afraid there will always be 20 seconds between nukes. The game could also have just crashed, instead of disabling the button wink.gif

 

Ah =/

 

Well, is there anyway to reduce the time between when the nuke fires and when the nuke hits?

Share this post


Link to post

Uhm, don't know. Is that such a long time then?

Share this post


Link to post

Uhm, don't know. Is that such a long time then?

 

Well, I was just thinking that if the nuke hit faster, I would be able to fire more nukes in a set amount of time, and would basically emulate having two nukes at once.

Share this post


Link to post

If you want to have two nukes at once... why not modify the existing nuke to do more damage/over a greater area?

 

Also, I just found this (in the Temple Of Nod GameObject code):

<WeaponFireSpecialAbilityUpdate
                DisabledTypesToProcess="USER_PARALYZED EMP HELD PARALYZED UNDERPOWERED TEMPORARILY_BUSY"
                SpecialPowerTemplate="SpecialPowerNuclearMissile"
                SpecialWeapon="NuclearMissile"
                UnpackTime="5.0s"
                WhichSpecialWeapon="1"
                id="ModuleTag_NuclearMissileUpdate" />

The UnpackTime of 5 seconds might be the cooldown you are observing.

 

In the SpecialPowerTemplate list (check the Full Asset List), there is SpecialPowerNuclearMissile. But I could only find ReloadTime in there. Hmm... the cursor radius won't affect the damage radius.

Luckily, another item comes to the rescue: the WeaponTemplate "NuclearMissile":

    <WeaponTemplate
        AttackRange="50000.0"
        Name="NuclearMissile"
        ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
        RadiusDamageAffects="SELF ALLIES ENEMIES NEUTRALS"
        id="NuclearMissile">
        <Nuggets>
            <WeaponOCLNugget
                WeaponOCL="OCL_NODNukeSeed" />
            <DamageNugget
                Damage="20000"
                DamageTaperOff="5000"
                DamageType="CANNON"
                DeathType="DETONATED"
                DelayTimeSeconds="2.1s"
                Radius="300" />
            <ReportWeaponFiredStatNugget />
        </Nuggets>
    </WeaponTemplate>

Well, you see Radius and Damage in there B)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×