Simple Weapon Mod Help?
Moderator: Moderators
-
Boomer73
- Recruit Womprat Killer
- Posts: 7
- Joined: Tue Feb 22, 2011 10:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Simple Weapon Mod Help?
I have read most of the relevant mod tools documentation and have searched the forum but I'm still having trouble. I want to make a simple modification to some of the weapons and only for the mos eisley hero assault. It seems like all the tutorials for mods involve more substantial changes. Can someone provide or direct me to instructions on this simple change or do I have to go through the entire process of making a side or an era to get minor weapons/ordnance changes?
- Cerfon Rournes
- Master Bounty Hunter

- Posts: 1558
- Joined: Thu Jul 08, 2010 5:53 pm
- Projects :: WIP. I will reveal what it is later on..
- xbox live or psn: No gamertag set
- Location: New York, USA
- Contact:
Re: Simple Weapon Mod Help?
Welcome to GameToast Boomer73!
For Everything you need to know, click here:
http://www.gametoast.com/forums/viewtop ... 27&t=13806
I've made a simple tut on editing the weapons. Enjoy!
Okay, copy the *** folder(the name of the folder of the side you want to change, all, rep, cis, or reb), From BF2_ModTools/assets/sides, and paste it in BF2_ModTools/data_###/Sides. (Where ### Is your three letter map name)
Then, to edit a weapons properties, open the odf (From the odf folder) you want to edit. For example, to edit rifle from the all folder, open all_weap_inf_rifle, and edit all you want! Then, to get your custom side in-game, go to data_###/Common/scripts/###/ and open up the Lua your mod is using. For the example, I will open up ###g_con.
Go down, and you will see this:
To make it custom, add dc: before side:
Then munge your map, with the EVERYTHING option selected.
TIPS
When you see a weapon in the odf folder, there will be three odfs for each weapon(could be 4)
The last two should be _exp or, _ord. _exp Stands for explosion, _ord stands for ordnance.
Lua names:
g = Galactic Civil war
c = Clone wars
ctf = Capture the flag
con = Conquest
eli = Hero assult
Hope that helps!
For Everything you need to know, click here:
http://www.gametoast.com/forums/viewtop ... 27&t=13806
I've made a simple tut on editing the weapons. Enjoy!
Okay, copy the *** folder(the name of the folder of the side you want to change, all, rep, cis, or reb), From BF2_ModTools/assets/sides, and paste it in BF2_ModTools/data_###/Sides. (Where ### Is your three letter map name)
Then, to edit a weapons properties, open the odf (From the odf folder) you want to edit. For example, to edit rifle from the all folder, open all_weap_inf_rifle, and edit all you want! Then, to get your custom side in-game, go to data_###/Common/scripts/###/ and open up the Lua your mod is using. For the example, I will open up ###g_con.
Go down, and you will see this:
Hidden/Spoiler:
Hidden/Spoiler:
TIPS
When you see a weapon in the odf folder, there will be three odfs for each weapon(could be 4)
The last two should be _exp or, _ord. _exp Stands for explosion, _ord stands for ordnance.
Lua names:
g = Galactic Civil war
c = Clone wars
ctf = Capture the flag
con = Conquest
eli = Hero assult
Hope that helps!
- commandoCC-9811
- Command Sergeant Major

- Posts: 265
- Joined: Fri Apr 02, 2010 11:05 pm
- Location: Right over there... keep looking... *runs away
Re: Simple Weapon Mod Help?
Blast, Cerfon beat me to it.
BTW, Welcome to Gametoast!
BTW, Welcome to Gametoast!
-
Boomer73
- Recruit Womprat Killer
- Posts: 7
- Joined: Tue Feb 22, 2011 10:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Simple Weapon Mod Help?
Ok, thanks guys. I see what I'm missing: the LUA edit. I will give it a shot and see how it goes.
Please do not doublepost. If you have something to add, please edit your old post. -Staff
Ok so when I select the mission in the game and launch it, the game crashes to desktop (Win 7 64bit) with the FATAL ERROR window "Could not open mission.lvl". So obviously I'm still doing something wrong. This was my munge log:
\NVIDIA was unexpected at this time.
Munging addme.lua...done.
Copying files to Battlefront II directory:
"C:\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData"
Addon dir exists, continuing...
Mod dir "TME"exists, continuing...
Copying addme.script to mod dir...done
Copying "mission.lvl" to modDir\data\_LVL_PC\...done
Copying "core.lvl" to modDir\data\_LVL_PC\...done
Copying "TME" to modDir\data\_LVL_PC\...done
Copying "SIDE" to modDir\data\_LVL_PC\...done
Munge process finished
Please do not doublepost. If you have something to add, please edit your old post. -Staff
Ok so when I select the mission in the game and launch it, the game crashes to desktop (Win 7 64bit) with the FATAL ERROR window "Could not open mission.lvl". So obviously I'm still doing something wrong. This was my munge log:
\NVIDIA was unexpected at this time.
Munging addme.lua...done.
Copying files to Battlefront II directory:
"C:\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData"
Addon dir exists, continuing...
Mod dir "TME"exists, continuing...
Copying addme.script to mod dir...done
Copying "mission.lvl" to modDir\data\_LVL_PC\...done
Copying "core.lvl" to modDir\data\_LVL_PC\...done
Copying "TME" to modDir\data\_LVL_PC\...done
Copying "SIDE" to modDir\data\_LVL_PC\...done
Munge process finished
- Cerfon Rournes
- Master Bounty Hunter

- Posts: 1558
- Joined: Thu Jul 08, 2010 5:53 pm
- Projects :: WIP. I will reveal what it is later on..
- xbox live or psn: No gamertag set
- Location: New York, USA
- Contact:
Re: Simple Weapon Mod Help?
I forgot something, you need to copy the common folder from BF2_Modtools/assets/sides and paste It to data_###/sides. That should do it..Also, can I see your LUA please?
Just put It in hide tags, like this:
Just put It in hide tags, like this:
Hidden/Spoiler:
- ACEwithSPADES
- Command Sergeant Major

- Posts: 253
- Joined: Thu Jan 20, 2011 3:49 pm
- Projects :: Alzoc 3
- xbox live or psn: xundyingxace
- Location: Somewhere, but most likely where i am
Re: Simple Weapon Mod Help?
Does this sound like a quick munge error log?
-
Boomer73
- Recruit Womprat Killer
- Posts: 7
- Joined: Tue Feb 22, 2011 10:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Simple Weapon Mod Help?
I tried pasting the Common folder as specified. No dice, still errors out. Also tried just running a newly munged map with no edits to the ODF files or anything else and I get the same error, so I think something else must be missing or I'm still doing something wrong. Here's the LUA:
EDIT
How long does this delayed posting thing last? I post and an hour later its approved?
Is there supposed to be a MISSION.LVL file in
AppData\Local\VirtualStore\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\addon\***\data\_LVL_PC
or in
C:\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\addon\***\data\_LVL_PC
Because they are empty post-munge.
Please do not doublepost. If you have something to add, please edit your old post. -Staff
Hidden/Spoiler:
How long does this delayed posting thing last? I post and an hour later its approved?
Is there supposed to be a MISSION.LVL file in
AppData\Local\VirtualStore\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\addon\***\data\_LVL_PC
or in
C:\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\addon\***\data\_LVL_PC
Because they are empty post-munge.
Please do not doublepost. If you have something to add, please edit your old post. -Staff
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Simple Weapon Mod Help?
Off-topic: Please be patient. It is for security reasons. The first few posts by first-time members need to be approved by a staff member, and we are only human.Boomer73 wrote:How long does this delayed posting thing last? I post and an hour later its approved?
-
Boomer73
- Recruit Womprat Killer
- Posts: 7
- Joined: Tue Feb 22, 2011 10:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Simple Weapon Mod Help?
Here's the contents of my BFront2.log...not that I really understand what I'm looking at...except that the subdirectory identified in that Sev 5 message at the end of the log does not exist (C:\Battlefront2\main\Battlefront2\Source\)...
Hidden/Spoiler:
Last edited by Boomer73 on Wed Feb 23, 2011 5:06 pm, edited 1 time in total.
-
Lephenix
Re: Simple Weapon Mod Help?
Message Severity: 5
C:\Battlefront2\main\Battlefront2\Source\GameState.cpp(1270)
Could not open mission.lvl
-
Boomer73
- Recruit Womprat Killer
- Posts: 7
- Joined: Tue Feb 22, 2011 10:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Simple Weapon Mod Help?
What does it mean? That location does not exist on my hard drive.Lephenix_dor wrote:Message Severity: 5
C:\Battlefront2\main\Battlefront2\Source\GameState.cpp(1270)
Could not open mission.lvl
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
- ACEwithSPADES
- Command Sergeant Major

- Posts: 253
- Joined: Thu Jan 20, 2011 3:49 pm
- Projects :: Alzoc 3
- xbox live or psn: xundyingxace
- Location: Somewhere, but most likely where i am
Re: Simple Weapon Mod Help?
Well scince you have win7 you prob have sameprop i have, which is when first making a map it does not create one in the addon folder, and the munge is realllly fast so id try Frisbetarians fiix
-
Boomer73
- Recruit Womprat Killer
- Posts: 7
- Joined: Tue Feb 22, 2011 10:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Simple Weapon Mod Help?
I just tried this fix and it did nothing. Still nothing in the addon folder. I've blown everything away and reinstalled everything, blew away my test map and started a new on, nothing.
EDIT
Ok. After uninstalling mod tools, reinstalling, then reinstalling the munge fix in the proper directory (the instructions have it going into BF2_ModTools rather than where it should be, in BF2_ModTools\data\_BUILD), I now have NO game crash. WOHOO!! Progress!
So now I need to figure out how to copy a map so I don't just have a big blank arena.
EDIT
Ok. After uninstalling mod tools, reinstalling, then reinstalling the munge fix in the proper directory (the instructions have it going into BF2_ModTools rather than where it should be, in BF2_ModTools\data\_BUILD), I now have NO game crash. WOHOO!! Progress!
So now I need to figure out how to copy a map so I don't just have a big blank arena.
- commandoCC-9811
- Command Sergeant Major

- Posts: 265
- Joined: Fri Apr 02, 2010 11:05 pm
- Location: Right over there... keep looking... *runs away
Re: Simple Weapon Mod Help?
you could make it a stock map, using this tutorial:
how to edit a shipped map
or you could make a custom-made one (which are always the cool ones!)
how to edit a shipped map
or you could make a custom-made one (which are always the cool ones!)
-
Boomer73
- Recruit Womprat Killer
- Posts: 7
- Joined: Tue Feb 22, 2011 10:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Simple Weapon Mod Help?
Guys, I can't thank you enough. You all were a huge help. This now works great and my kids love it.
Can't wait to try modding some other things.
