View Full Version : How to edit unit build text/info?
21st Mar 08, 10:25 AM
I was wondering how to edit the unit build text/information the appears when you hold your cursor over the unit.
22nd Mar 08, 11:04 PM
Thats simple, all text ingame is in the locale file. Each and every unit ingame has numbers in the appropriate section of the rgd files that deal with something, so for instance the unit name would be in the unit's ebps under the ui section. These numbers refer to a line in the locale file. All you do is in the rgd file you read the number for the property you want to change such as ui_name or something, then you go into the locale (which you also open up in Corsix), scroll down till you find that number and there's the text. When editing a unit's name you can either change the text and essentially overwrite it, this better for fewer files since the unit ebps isn't changed, but you run the risk of unintentionally changing the line for another unit if multiple units use the same line. Or you can create a new line with your new text and in the unit's ebps you type in the new number (but without the $ sign), this is better for larger mods where your changing other properties in that file as your not actually overwriting anything in the locale and not only are you not accidentially effecting another unit that might use that line but you've also then got a backup you can change back to and you only need to record the original number somewhere to restore it back to that unit.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.