Adding a New unit in swbf2 [Solved]
Moderator: Moderators
-
- Recruit Womprat Killer
- Posts: 6
- Joined: Wed Feb 07, 2018 6:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Adding a New unit in swbf2 [Solved]
Hi everyone, I'm still very new to modding but trying to get the hang of it. I am trying to add asaj ventriss as a new unit. I have all the mesh files and combo files already. So I replaced the files in darthmauls odf file. Created a folder in common so I could munge my new file. Also changed the republic counquest lua. I get no errors on my log but when I open the level, as soon as you move your mouse the game crashes. Any ideas why its doing this? Help would be greatly appreciated! Big thanks in advance!
-
- Command Sergeant Major
- Posts: 260
- Joined: Mon Apr 18, 2011 2:53 pm
- Projects :: Underground City The Complex [WIP]
Re: Adding a New unit in swbf2
Are you using the BF2_ModTools.exe to test the map? If not, you should do that, and check the BFront2.log file in the GameData folder of your game for any errors that say "Message Severity: 3" after the map crashed. (The BF2_Modtools.exe should be in the GameData folder as well.) Just to be sure, you can post the units section of your LUA, and maybe the odf of the unit, but the error log I mentioned is the easiest way to find out what the problem is.
-
- Recruit Womprat Killer
- Posts: 6
- Joined: Wed Feb 07, 2018 6:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Adding a New unit in swbf2
Hey thx for reply. I accidentally edited one of the stock files. Had to delete everything and start over lol. But yes I am using that to test the map and my log file gave me warnings but no errors. I'll be sure to post lua next time... For some reason after I redownloaded the mod tools. When in the republic con lua. I moved the republic assests folder into my new map sides folder. When I add dc:side.. etc to the rep data file. The game just crashes. Even though I haven't edited anything in the rep file. Will send lua. Any idea why its doing that? Am I munging it wrong?
Hidden/Spoiler:
-
- Command Sergeant Major
- Posts: 260
- Joined: Mon Apr 18, 2011 2:53 pm
- Projects :: Underground City The Complex [WIP]
Re: Adding a New unit in swbf2
The Lua looks ok. Do you have the Common folder from assets/sides in your data_.../Sides folder? If not, put it there and munge with "Everything" selected under sides. Probably a good idea to do a manual clean first, just on case it's a munging error.
-
- Recruit Womprat Killer
- Posts: 6
- Joined: Wed Feb 07, 2018 6:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Adding a New unit in swbf2
Got it fixed. I copied the wrong common folder. Did a clean just in case. Working good now. I'm sure ill have more problems and questions within the next couple days but for now. Thank you so much! .