Imagine yo want to create a new game
You have to design units yes, but first you have to design the models because units are composed of models.
Example of models :
Bandera de Falange
CTV Bat Bersagliere
or just a one star Leader like Cipriano Mera.
And this models form part of units.
Units can have one or more models inside it.
An International Brigade have a comisar and several Bat.Int.Brigade.
Other units only need one model, like a leader or a Falange unit.
So lets see the Falange example as it is easier.
We need an excel file with the appropiate design, so we use an Ageod models file from another game. In España design i begun with RUS file.
I want to create my first unit, the falange unit, with just one type of subunit inside, Falangist infantry. Then i need to create in models file one entry that will be Falangist, i will call it Bandera de Falange.
See the picture of España models file.
First column UID must always be as this, numbers in increasing order, one by one (always check this before save).
First row should always be as you see. DONT CHANGE it never for the original file.
Alias: it is used in models alias file and in the units excel file to refer to the models that form each unit.
Portrait: Its the name of the png files used for this model. The png files are stored in the Graphics folders.
So you have to fill the fields with the info you want for this model. Take care of not leaving empty fields in the excel. Empty must be filled as NULL.
Once you have ended save the file (as excel file) in your work folder.
Now save it as CSV separated by comma.
Open CSVSplitter, select your CSV models file.
Select first Tab Convert Data
Click on mdl
Click on convert
You should have in your Output Path your models files MDL files, as much as UIDs you have and a model aliases file.
Now you have to copy these files into the game's folders.
These files are used in the game folders.
MDL files go into Gamedata/Models folder
copy them there and delete the cached file
Mdl_Alias file goes in Aliases folder.
It is important this:
your mdl_aliases file should be the one that corresponds with the models files you have in the Gamedata/Models folder.
So if the mdl_aliases file has 30 entries you must have 30 models files in your Gamedata/Models folder and they must correspond to the mdl_aliases info.
If you understand this way of working you will understand easily how to work with units.
Headquarter game designer of Battles For Spain, Ageod English Civil War, España:1936 and Thirty Years WarHQ website