Announcement

Collapse
No announcement yet.

How can i rename the units probbably ???

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

  • How can i rename the units probbably ???

    I`m trying to make a new settler unit,i`ve already made the new SPR file and copied it to the sprites folder with the name GU02.spr, but i got some problems when i was going to edit the TXT files, i was trying to rename the SETTLER unit to ENGINEER in the TXT files.

    Where and what shall i edit, i tried to edit the SPRITEID.txt , UNITS.txt and UNITICON.txt?
    but something is not right.


    this is the only thing i changed in UNITS.txt:
    UNIT_ENGINEER {


    this is the only thing i changed in UNITICON.txt:
    ICON_UNIT_SETTLER

    this is the only thing i changed in SPRITEID.txt:
    SPRITE_ENGINEER 2

    Do i have to change anything more ?

    This is the ERROR message i got when i started the game.

    units.txt line 293: Error

    Could not find UNIT_ENGINEER in string database

  • #2
    You should have also changed gl_str.txt. That's where you find the names for all the units as they are used in the game. You can find this file in ...\ctp_data\english\gamedata. Replace english with your language if you are using a non-english version of CTP.

    Comment

    Working...
    X