Announcement

Collapse
No announcement yet.

Modding in New Race Specific Bonuses?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Modding in New Race Specific Bonuses?

    I've been trying to figure out how to mod in both new race bonuses and also new races along with those bonuses.

    I've so far only traced them to the following two files:

    rules.xml
    internal_strings.xml


    For example in rules.xml it says:


    < ROMAN_FORT_HP value="0% bonus" />
    < ROMAN_FORT_RANGE value="0" />
    < ROMAN_FORT_BORDERS value="3" />
    < ROMAN_FORT_COST value="25% cost reduction" />
    < ROMAN_FORT_EARLY value="1 (1 = enabled, 0 = disabled)" />




    While in "internal_strings.xml" is says:


    < STRING hash="9920877" needed="1">roman_fort_hp< / STRING>
    < STRING hash="15191739" needed="1">roman_fort_range< / STRING>
    < STRING hash="19447262" needed="1">roman_fort_borders< / STRING>
    < STRING hash="15773353" needed="1">roman_fort_early< / STRING>





    But I can't figure out where the "STRING hash" number goes to, and everytime I try to add an ability to the "rules.xml" one it crashes.

    So it must need the line referencing it in the "internal_strings.xml" but since I don't know what the "STRING hash" part means...


    Anyone have any luck with this?





    -Captain_Brian


    P.S. This is copied from the heaven forums.
    Last edited by Captain_Brian; May 28, 2003, 21:56.

  • #2
    Ugh, editing that to where the html encoding wouldn't erase it was heck. :P


    -Captain_Brian

    Comment

    Working...
    X