Hey all, I am trying to make it so that every unit has there own XML, (for example, Stormtroopers), so instead of Groundinfantry, Groundcompaniesempire and Containers they will all be collected in Units_Land_Galactic_Empire_Stormtroopers. But everytime I do this, my game crashes, can anyone please help me >.<? I use the Alliance 4.5 Mod (what? I like the models and it got tons and tons of units, allthough the XML code is a mess D:) Also, here is the code of the Stormtrooper XML, maybe you can point me to any wrongs in there?
*Edit: Also I was wondering anybody knows where I can find the Old Republic (KotOR) Soldiers by Z3r0x?( I think 't was Z3r0x)? And last, are there any TFU Models freely released? or an mod having some of those units ;)?
Well, let's see. I know that if you don't make sure that the individual XML files are all referenced individually in that one master XML sheet (whatever it's called) you're going to run into issues. You would also have to make sure it doesn't reference the ground infantry XML file anymore too, unless you keep that empty, then it doesn't matter. That's all I can think of off-hand.
Yea I tried that (I added it to the Gameobjectfiles) and removed it from the GroundInfantry etcetc :-/
So I decided to test it on Structures, but when I do that with structures (I use the base code of the Droid Works to add a whole new structure) and that runs smoothly :s
So, I'mma giving it another try :P
Also do you know why my new buildings don't show there icons? I removed them from RaW and added them to the Alliance mod using the MTD Editor, I made sure the name is correct, but my new icons don't appear at all :-/
shadow0;5633429Yea I tried that (I added it to the Gameobjectfiles) and removed it from the GroundInfantry etcetc :-/
So I decided to test it on Structures, but when I do that with structures (I use the base code of the Droid Works to add a whole new structure) and that runs smoothly :s
So, I'mma giving it another try :P
Also do you know why my new buildings don't show there icons? I removed them from RaW and added them to the Alliance mod using the MTD Editor, I made sure the name is correct, but my new icons don't appear at all :-/
Well, I'm working on getting a working editor on my Mac, so I'll get back to you on this once I've taken a look at it myself.
Cool, thanks :) can't wait till the day you can teach me what I am doing wrong xD
Well, first things first.
You did remove the data from: GROUNDCOMPANIESEMPIRE.XML and GROUNDINFANTRY.XML
and added Units_Land_Galactic_Empire_Stormtroopers to GAMEOBJECTFILES.XML
preferably very near to wherever is within GAMEOBJECTFILES.XML (don't ask me why, that just seems to make a difference sometimes, so I'd recommend putting them right next to the other new Imperial units)
I would also be certain to leave GROUNDCOMPANIESEMPIRE.XML and GROUNDINFANTRY.XML within GAMEOBJECTFILES.XML even if they are "empty".
If that doesn't help, I'm not sure what could be the problem. That's a lot of data to look at for potential errors, so you might want to simply re-copy paste everything more carefully just in case, rather than look through it all for a potential error.
Okej, I guess I will try that again :)
Thanks for your time and help nonetheless, it's appreciated :D
The code from 'that' mod, is pretty complicated, you really shouldn't edit anyone's mod, if your not sure what your doing. Besides the majority of mod authors will not support any changes made to the structure of their files anyway.
I know and I know what I am doing (most of the time ;P) it's just I like the Alliance mod, but the things I dislike I want to change, it's only for personal use to, so theres no problems there.
Besides, slowly (very slowly) I'm getting a sort of hang for it ;P I added a few CIS Structures and made them droids buildable for all factions on all planets, so meh :P either I will learn or give up ^^
When precisely does the game crash when you do this? On startup, when you build the unit, when you try to use the unit in battle, etc. Knowing that might help narrow down the possible causes.
Honestly i would probably start with vanilla and take what you want from Alliance rather than try and modify Alliance itself (files are way too disorganized).
- 1
- 2