Nuke mod

komothoes

Chieftain
Joined
Jan 1, 2011
Messages
9
Hello i have a qu i am trying to make the nukes a tad more menacing i want them to do more dmg and fly farther i have my codes but they are not working can any one help

http://www.classicoutdoorsmag.com/files/modtest.png

<GameData>
<Units>
<Update>
<Set Cost="500"/>
<Set Range="15"/>
<Set NukeDamageLevel="4"/>
<Where Type="UNIT_NUCLEAR_MISSILE"/>
</Update>

<Update>
<Set Cost="400"/>
<Set Range="12"/>
<Set NukeDamageLevel="2"/>
<Where Type="UNIT_ATOMIC_BOMB"/>
</Update>
</Units>

</GameData>
 
Hi there,

Questions live in the main C&C forum, not the sub-forums which are typically for "completed" things (in this case complete mod comps) - I've asked the mods to move this.

Assuming you have the necessary "OnModActivated->UpdateDatabase" entry, your XML has errors as you may only have one <Set> (or <Where>) per <Update>, and you have multiple. If you enable logging (see the link in my sig) the database.log file will show some errors, but basically you need

Code:
...
  <Update>
    <Where Type="UNIT_ATOMIC_BOMB"/>
    <Set>
      <Cost>400</Cot>
      <Range>12</Range>
      <NukeDamageLevel>2</NukeDamageLevel>
    </Set>
  </Update>
...
or
Code:
...
  <Update>
    <Where Type="UNIT_ATOMIC_BOMB"/>
    <Set Cost="400" Range="12" NukeDamageLevel="2"/>
  </Update>
...
etc

W

PS If you don't have the OnModActivated entry, see the File Props link in my sig.
 
im sorry i thought i was in the main one

it still did not work not sure what else i need to do
i also would like to make the fallout do dmg to the units in it like 25 or something per turn that way it would be a tad harder of a game

<GameData>
<Features>
<Row>
<Type>FEATURE_FALLOUT</Type>
<Combat>30</Combat>
</Row>
</Features>

</GameData>

im still working on the nukes to make them do more dmg too
 
im sorry i thought i was in the main one

it still did not work not sure what else i need to do
i also would like to make the fallout do dmg to the units in it like 25 or something per turn that way it would be a tad harder of a game

<GameData>
<Features>
<Row>
<Type>FEATURE_FALLOUT</Type>
<Combat>30</Combat>
</Row>
</Features>

</GameData>

im still working on the nukes to make them do more dmg too


doing this i am pretty sure does nothing. i bet you have to use lua or something, units that end their turn on mountains will recive 50 point of damage, you might want to look into that
 
Back
Top Bottom