Giving an Animal a Description

Post Reply
User avatar
chipmunk
Posts: 28
Joined: Sat May 12, 2012 18:24 pm
Location: England

Giving an Animal a Description

Post by chipmunk »

How do I give wild animals icons, names, descriptions, and 'Help' entries? (the ones that don't have them, e.g Gigantopithecus.)
Image
User avatar
AnthonyCole
- Admin -
Posts: 2134
Joined: Sat Apr 18, 2009 13:17 pm

Re: Giving an Animal a Description

Post by AnthonyCole »

In CEP we do it here:
\PW\Data\CEP\Texts\Help

Just select the file the entry would be suiting for (Ninigi Animal unit goes in H_Ninigi_Produkte.SEML for example) and copy an existing entry to the right position. You then just need to change everything so it machtes your unit (The name of the help entry, the preview icon (army controller icon), description, shown combat skills (%/class:chtr/vschtr:+/vsanml:-/vsvhcl:+/vsbldg:+%))

You also need entries in the techtree for these units. Samurai for example: ninigi_warrior
Has a property "description" of "_ninigi_warrior" -> Game will search for description in all (!) SEML files for \{helpitem -name _ninigi_warrior }
For the icon, look at \PW\Data\CEP\UI\hud\cards and \PW\Data\CEP\UI\AllDef.txt
I'm sure you'll get the idea how this works :)

One more thing that is important: You can't change the files in Data\Base\Texts\. Well you can, but it's pretty much useless, they are overridden by the Locale files, the Boosterpack1 files and the CEP files (in case you start CEP for example).
Btw in CEP we actually have many different folders for each language and the installer just copies the Texts folder of the chosen language from its archive to the \PW\Data\CEP folder
Post Reply

Return to “English”