PDA

View Full Version : EB adding units malfunction



viandar
05-25-2016, 10:14
Hello,

I wanted to start a new campaign with the Macedonian and wanted to add two units.
I wanted unlock the spartan hoplite and the Thorakitai Agematos Basilikou for him.

I search and read your guide for adding unit.

I change the export_descr_building.txt and the the export_descr_unit.txt

I launch the game for testing, custom battle and then...nothing.

I check my modification and I see my modification on the export_descr_unit are not save.
I change this, SAVE. I launch the game, custom battle and again nothing

I don't understand why my modification not run and why the export_descr_unit does not keep the change.

thank you in advance and all my excuses for my bad english

Ludens
05-25-2016, 10:36
Hello viandar, welcome to the .Org and to EB ~:wave: .

The short answer is that you are editing the wrong export_descr_unit.txt (EDU) file: you need to edit the one in a folder called "sp campaign game edu" (I think), not the one in "Data". EB includes 2 EDU files: one for the campaign, and a shorter one for multiplayer/custom battles. This is because the campaign EDU contains so many units that the unit selection screen for MP/custom battles gets overwhelmed. At the start of the game, the Trivial Script will overwrite the EDU in the "Data" folder with the one from "sp campaign game edu" or "mp custom game edu".

I hope this has answered your question.

viandar
05-25-2016, 11:33
Supper's working.

There is just the thorakitai that do not appear in the custom battle spartan but if there are I guess in the campaign they appear coming both.

Another big thank to you, I was desperate for a day to get to modding while it seemed so easy on the tutorials.

Ludens
05-25-2016, 20:39
There is just the thorakitai that do not appear in the custom battle spartan but if there are I guess in the campaign they appear coming both.

Not sure what you mean, but if there are too many units (like in EB) the custom battle screen won't show them all. Hence EB has a start-up script that loads a different EDU depending on what kind of game you select. Obviously, changes in the SP campaign EDU will not affect the MP custom battle EDU, and visa versa.


Another big thank to you, I was desperate for a day to get to modding while it seemed so easy on the tutorials.

No problem, and have fun!