Help creating an era mod please
Moderator: Moderators
-
Trix
- Private Recruit
- Posts: 26
- Joined: Mon Apr 13, 2015 9:39 am
- Projects :: Galactic Marines Side Mod
- xbox live or psn: What's an xbox?
- Location: England
Help creating an era mod please
I have tried creating an era mod with varients of this guide:
viewtopic.php?f=27&t=16616
but everytime it either turns up a .lua error, or when it does not, crashes when I click play in game to load the map.
Any ideas please.
Thanks
viewtopic.php?f=27&t=16616
but everytime it either turns up a .lua error, or when it does not, crashes when I click play in game to load the map.
Any ideas please.
Thanks
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: Help creating an era mod please
Well we're gonna need to know the Lua error before we go any further. And your error log after it crashes.
We only know what you tell us.
We only know what you tell us.
-
Trix
- Private Recruit
- Posts: 26
- Joined: Mon Apr 13, 2015 9:39 am
- Projects :: Galactic Marines Side Mod
- xbox live or psn: What's an xbox?
- Location: England
Re: Help creating an era mod please
Okay, I will try again in a bit and see if I can find the error log. Thanks.
EDIT: I can now successfully edit the mission.lvl to edit vanilla maps, so will be able to add era (I hope), however I must replace the mission.lvl in GameData/data/_LVL_PC. It does not work if I leave it in GameData/addon/ABC... Is there any way to resolve this?
EDIT: I can now successfully edit the mission.lvl to edit vanilla maps, so will be able to add era (I hope), however I must replace the mission.lvl in GameData/data/_LVL_PC. It does not work if I leave it in GameData/addon/ABC... Is there any way to resolve this?
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Help creating an era mod please
There's no need to replace the retail mission.lvl. What you want to do is use an addme.lua to add your custom era onto the other map. You do everything the same as if you were making a new map except your Lua script loads the existing map's world files and your addme adds the mission to the existing map's info instead of adding a new map (though it'll still work as a new map entry, so get it working that way first then modify the addme to change the existing map).
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: Help creating an era mod please
Why don't you follow the tutorial you posted in your first post. It does not replace the stock mission.lvl. Follow it step by step and if you have questions, or any crashs just ask here for help in this way:Trix wrote:Okay, I will try again in a bit and see if I can find the error log. Thanks.
EDIT: I can now successfully edit the mission.lvl to edit vanilla maps, so will be able to add era (I hope), however I must replace the mission.lvl in GameData/data/_LVL_PC. It does not work if I leave it in GameData/addon/ABC... Is there any way to resolve this?
1. What is problem (short discription)
2. What have you done (detailed discription from the time it worked the last time till you post your question)
3. Post your own ideas what could cause the problem (optional)
4. Post your own solutions you already tried to fix the problem
5. Attach the error log. If you have no idea where to find it or how to generate, read the FAQ Thread.
good luck with your era mod
-
Trix
- Private Recruit
- Posts: 26
- Joined: Mon Apr 13, 2015 9:39 am
- Projects :: Galactic Marines Side Mod
- xbox live or psn: What's an xbox?
- Location: England
Re: Help creating an era mod please
Thank you, Zerted and Anakin.
I am now managing to edit the vanilla maps (without replacing the mission.lvl - so it is all in the ABC mod folder) to change the reinforcement counts, however when I try to use AddUnitClass command to add a new unit it fails. The new should have all odf/msh/req files.
In the cor1c_con.lua script, I have:
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_fly_assault_DOME",
"rep_fly_gunship_DOME",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_inf_ep3_Commander_Bacara",
"rep_hero_macewindu")
rep_inf_ep3_Commander_Bacara being my custom unit. Because I am editing a vanilla map do I have to add anything more, other than the dc:
Any suggestions please.
I am now managing to edit the vanilla maps (without replacing the mission.lvl - so it is all in the ABC mod folder) to change the reinforcement counts, however when I try to use AddUnitClass command to add a new unit it fails. The new should have all odf/msh/req files.
In the cor1c_con.lua script, I have:
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_fly_assault_DOME",
"rep_fly_gunship_DOME",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_inf_ep3_Commander_Bacara",
"rep_hero_macewindu")
rep_inf_ep3_Commander_Bacara being my custom unit. Because I am editing a vanilla map do I have to add anything more, other than the dc:
Any suggestions please.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Help creating an era mod please
You should post your error log. If you don't know how to find it look at the Everything You Need sticky topic. The more info you give us the better we can help.
-
Trix
- Private Recruit
- Posts: 26
- Joined: Mon Apr 13, 2015 9:39 am
- Projects :: Galactic Marines Side Mod
- xbox live or psn: What's an xbox?
- Location: England
Re: Help creating an era mod please
I believe this is the error log?
I can completely change the stock sides in the vanilla maps, so that is all fine now, thanks! 
However, to create a new era (eg. for Coruscant), in my common\scripts\cor folder, would I simply copy (for example) cor1c_con.lua, and rename it something different like cor1b_con.lua, or is it more complicated?
Hidden/Spoiler:
However, to create a new era (eg. for Coruscant), in my common\scripts\cor folder, would I simply copy (for example) cor1c_con.lua, and rename it something different like cor1b_con.lua, or is it more complicated?
-
jedimoose32
- Field Commander

- Posts: 938
- Joined: Thu Jan 24, 2008 12:41 am
- Projects :: Engineering Degree
- Location: The Flatlands of Canada
Re: Help creating an era mod please
That's the munge error log. Can you go to [BF2 Installation Directory]\GameData and post the contents of BFront2.txt? That would be the game's debug/error log. Make sure you're running the game via BF2_ModTools.exe (copied from the modtools directory to the GameData folder first).
You're partially correct about creating a new era, however there is more to it than that. There should be more information on that in the 1.3 patch documentation. First let's see what your BFront2 log says.
You're partially correct about creating a new era, however there is more to it than that. There should be more information on that in the 1.3 patch documentation. First let's see what your BFront2 log says.
-
Trix
- Private Recruit
- Posts: 26
- Joined: Mon Apr 13, 2015 9:39 am
- Projects :: Galactic Marines Side Mod
- xbox live or psn: What's an xbox?
- Location: England
Re: Help creating an era mod please
Thank you jedimoose, however I search my whole computer and nothing comes up for bfront2... So, I cannot find this log.
As for the actually era, I shall attempt to follow the 1.3 howto.
Thanks!
As for the actually era, I shall attempt to follow the 1.3 howto.
Thanks!
-
jedimoose32
- Field Commander

- Posts: 938
- Joined: Thu Jan 24, 2008 12:41 am
- Projects :: Engineering Degree
- Location: The Flatlands of Canada
Re: Help creating an era mod please
As I mentioned, the BFront2.txt will only generate if you run the game with BF2_ModTools.exe.
Good luck with following the 1.3 documentation.
Good luck with following the 1.3 documentation.
-
Trix
- Private Recruit
- Posts: 26
- Joined: Mon Apr 13, 2015 9:39 am
- Projects :: Galactic Marines Side Mod
- xbox live or psn: What's an xbox?
- Location: England
Re: Help creating an era mod please
Ah right okay, well BF2_modtools.exe does not work for me... "The program can't start because binkw32.dll is missing from your computer. Try reinstalling the program to fix the problem." - Had this .dll missing for something else before and couldn't fix. Considering I can still make mods, what does the BF2_modtools.exe even do?
And thanks? - It seems followable for the first half, the second...not so...
And thanks? - It seems followable for the first half, the second...not so...
-
razac920
- 2nd Lieutenant

- Posts: 365
- Joined: Sun Jan 16, 2011 12:42 am
Re: Help creating an era mod please
You need to put BF2_modtools.exe in the same location as the main game executable.
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: Help creating an era mod please
It's a debugger for the game. When you play the game, it records all of the errors and happenings in the game so that you can see what's going wrong. It's extremely useful for finding the sources of crashes.Trix wrote:Considering I can still make mods, what does the BF2_modtools.exe even do?
-
Trix
- Private Recruit
- Posts: 26
- Joined: Mon Apr 13, 2015 9:39 am
- Projects :: Galactic Marines Side Mod
- xbox live or psn: What's an xbox?
- Location: England
Re: Help creating an era mod please
This may help me, just a little for fault finding I think...
However, it now says "Please insert CD 1." - Thankfully I do have the disc copy as well as the new fangled Steam thing, however even when I insert the disc, I still get this message...
Any clues please?
However, it now says "Please insert CD 1." - Thankfully I do have the disc copy as well as the new fangled Steam thing, however even when I insert the disc, I still get this message...
Any clues please?
-
thelegend
- Sith

- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: Help creating an era mod please
THIS= http://www.gametoast.com/viewtopic.php?f=27&t=13806Teancum wrote:Question #4 - I have the CD version of SWBF2 and I get a binkw32.dll error when trying to launch the BF2_modtools.exe, what's wrong?
Answer - The BF2_modtools.exe is the debug executable, copy it from C:\BF2_ModTools and paste it in the same folder as your BattlefrontII.exe, usually:
C:\Program Files\LucasArts\Star Wars Battlefront II\GameData
you can launch BF2_modtools.exe and play your map, then exit or let it crash to generate a BFront2.log located in that same folder.
If you encounter a "Please insert CD 1" dialog or have the DVD or digital download version of SWBF2, use THIS modified BF2_modtools.exe
