DISCUSSIONS
- << previous
- 1
- next >>
I will post here a quick manual for you guys who want to add a completely new unit to your scenario.
That's all the help you will get from me: I won't be answering questions about it (this is here to help you, not to give me more trouble). I spent several days to get this working (back in the times of Deadlock) and I had none to help me. So, put your heads to work and prepare yourselves - it won't be an easy ride.
MODS: Deadlock: making-history.com/asset/1317 ; TCBTS: making-history.com/asset/384091 ; Zombie Apocalypse: making-history.com/asset/368403 ; Onslaught: making-history.com/asset/418213
I won't be extremely specific because it's a very try and error process, but here we go:
1- create a new unit. You can use the editor for this, though I made it manually in Deadlock, editing the sharedDataFactories.xml, sharedDataUnitTemplates.xml, etc. The unit will have the basic infantry model and no decal.
2- copy all "DisplayLibraries" folder from my Zombie Apocalypse. These are all the files you need for putting a proper model and decal for the unit. Choose a similar unit to duplicate (I choose the Partisan when making my zombies) and copy all entries about it, renaming for your new unit.
3- you can make several different 3D models for the different countries (editing the MKDTableCountryAliasesLand.xml and another file, I don't remember which by now).
4- here is the most important thing. The last item in the "scenario.xml" must be like this:
So you are telling the game to load your DisplayLibraries files. Without it, the game will ignore them. You can't imagine how hard it was to figure out this one.
5- you can add the 2D sprites for the unit by editing the files in the "ui" folder (FactoryOutputIconTable.xml, MediaPack.xml, etc. - look in the Deadlock mod for the right files).
That's it. It's a very extenuating process. Use the debugview to find which files are with errors when loading the game. Believe me, you will get errors.
Just a remind: don't ask me anything about this. If you are a total nooby, get back in a few years.
MODS: Deadlock: making-history.com/asset/1317 ; TCBTS: making-history.com/asset/384091 ; Zombie Apocalypse: making-history.com/asset/368403 ; Onslaught: making-history.com/asset/418213
Thanks, helps alot!
- nickbeker
- location: Belgium
- joined: Jul 19, 2010
- posts: 201
Odanan said
I won't be extremely specific because it's a very try and error process, but here we go:
1- create a new unit. You can use the editor for this, though I made it manually in Deadlock, editing the sharedDataFactories.xml, sharedDataUnitTemplates.xml, etc. The unit will have the basic infantry model and no decal.
2- copy all "DisplayLibraries" folder from my Zombie Apocalypse. These are all the files you need for putting a proper model and decal for the unit. Choose a similar unit to duplicate (I choose the Partisan when making my zombies) and copy all entries about it, renaming for your new unit.
3- you can make several different 3D models for the different countries (editing the MKDTableCountryAliasesLand.xml and another file, I don't remember which by now).
4- here is the most important thing. The last item in the "scenario.xml" must be like this:
So you are telling the game to load your DisplayLibraries files. Without it, the game will ignore them. You can't imagine how hard it was to figure out this one.
5- you can add the 2D sprites for the unit by editing the files in the "ui" folder (FactoryOutputIconTable.xml, MediaPack.xml, etc. - look in the Deadlock mod for the right files).
That's it. It's a very extenuating process. Use the debugview to find which files are with errors when loading the game. Believe me, you will get errors.
Just a remind: don't ask me anything about this. If you are a total nooby, get back in a few years.
Is it the same for MH vanilla?
СС - Славянский Союз
- kosmonaftx
- MHII, MH GOLD
- location: Russian Federation
- joined: Aug 10, 2009
- posts: 573
I'm not sure, I don't have vanilla. But I suppose it's the same.
MODS: Deadlock: making-history.com/asset/1317 ; TCBTS: making-history.com/asset/384091 ; Zombie Apocalypse: making-history.com/asset/368403 ; Onslaught: making-history.com/asset/418213
Odanan said
I'm not sure, I don't have vanilla. But I suppose it's the same.
Yeah, I tried it and it's (almost) the same!
СС - Славянский Союз
- kosmonaftx
- MHII, MH GOLD
- location: Russian Federation
- joined: Aug 10, 2009
- posts: 573
- << previous
- 1
- next >>