Battlefront 2 mod tools help

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

sniper9191413
Private Recruit
Posts: 16
Joined: Sat Jun 30, 2012 11:01 am
Projects :: No Mod project currently.
Games I'm Playing :: battlefront 2
xbox live or psn: No gamertag set

Battlefront 2 mod tools help

Post by sniper9191413 »

hi, i have the mod tools for battlefront 2 and ran into a problem. I know how to make a basic map, lower ground etc. but when i place objects into the map it does not show up when i play the game. what is wrong? thanks.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: battlefront 2 mod tools help

Post by Marth8880 »

Umm... Could you explain exactly, step-by-step, what you have done?
User avatar
Cleb
Lieutenant General
Lieutenant General
Posts: 711
Joined: Sun Jun 17, 2012 10:12 pm
Projects :: Learning how to use 3DS Max
Games I'm Playing :: BF2 CIV4 MC
xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
Location: Somewhere
Contact:

Re: battlefront 2 mod tools help

Post by Cleb »

Are you using objects from the assets? Because if you did, then you need to copy only the file folders (not including the world1, world2, etc. folders) within the asset's world folder and paste it inside your world's folder, then munge it. I think you copied the whole world folder, not its contents. I think you did that because thats what I did for a while before I figured it out.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: battlefront 2 mod tools help

Post by Fiodis »

Actually, Cleb, you don't even have to copy over the entire folders, just the files you need. Anyway, there's really no way to tell what the problem is here until the OP lets us know the steps he followed to place his objects.
sniper9191413
Private Recruit
Posts: 16
Joined: Sat Jun 30, 2012 11:01 am
Projects :: No Mod project currently.
Games I'm Playing :: battlefront 2
xbox live or psn: No gamertag set

Re: battlefront 2 mod tools help

Post by sniper9191413 »

what i did was go into assets. then worlds then i copied a world and pasted it in my worlds file of the map i created. do i need to only copy the odf folder?
User avatar
Cleb
Lieutenant General
Lieutenant General
Posts: 711
Joined: Sun Jun 17, 2012 10:12 pm
Projects :: Learning how to use 3DS Max
Games I'm Playing :: BF2 CIV4 MC
xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
Location: Somewhere
Contact:

Re: battlefront 2 mod tools help

Post by Cleb »

Fiodis wrote:you don't even have to copy over the entire folders, just the files you need.
I knew that, but I just copy the whole thing over because there are too many files in the msh folder to sort through to find the right one. Besides, I'm lazy. :sleep:
Fiodis wrote:Anyway, there's really no way to tell what the problem is here until the OP lets us know the steps he followed to place his objects.
Just thought I'd make a prediction, and I was right! :shock:

@sniper9191413: you have to go into the worlds folder so you see folders named odf, msh, munged, etc. and copy all those folders (excluding the folders called world1, world2, ect. You only really need those if your editing a shipped map.) into data_ABC/Worlds/ABC folder. Or, as Fiodis said, you could copy individual assets.

ABC means your world's 3-letter name that you typed when you first munged.

Hope that helped! :wink:
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: battlefront 2 mod tools help

Post by Fiodis »

Cleb wrote:Or, as Fiodis said, you could copy individual assets.
That's really much better practice, and something I'd recommend you get the hang of from the start. It's pretty simple, really:

1) Go to your world's three-letter folder in BF2_ModTools\data_***\Worlds\***
2) Create four new folders, and name them odf, msh, effects, and MUNGED.
3) Go to the asset folder of the world you want to borrow some prop from, then go into that world's odf folder.
4) Find the odf file for the prop you want, and copy just that one file into your own world's odf folder (in BF2_ModTools\data_***\Worlds\***).
5) Open the file and see what GeometryName is.
6) Go back to the world you took the odf from, and this time go into the msh folder.
7) Find the msh file with the same name as the GeometryName in your odf file. Find also the .msh.option file with the same name if there is one.
8) You guessed it. Copy that file into your own world's msh folder.
9) Open up the msh file with Notepad.
10) Hit ctrl f to search, then search for tga
11) Every time you find a reference to filename.tga (filename being whatever), look for that tga file in the world's msh folder
12) Copy that tga file (and any .tga.option file with the same name) into your own world's msh folder
13) Load up the odfs in ZE, and place away.

It seems like a lot of steps, but they're all simple and boil down to iterations of "find this, copy it, paste it here".
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: battlefront 2 mod tools help

Post by Bob »

^this is exactly how you do it. Copying only the needed folders instead of all may be a bit more of work, but it's good practise and lowers your mod/maps file size, wich makes it upload/download faster and saves place on the hard drive.
sniper9191413
Private Recruit
Posts: 16
Joined: Sat Jun 30, 2012 11:01 am
Projects :: No Mod project currently.
Games I'm Playing :: battlefront 2
xbox live or psn: No gamertag set

Re: battlefront 2 mod tools help

Post by sniper9191413 »

thanks, but i have 2 more questions. how do you make the traps work, for example, trap doors or the deathstar garbage room. also, how do you make kill zones, for things like lava?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: battlefront 2 mod tools help

Post by AQT »

sniper9191413 wrote:also, how do you make kill zones, for things like lava?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: battlefront 2 mod tools help

Post by Fiodis »

"Traps" vary wildly; they boil down to creative ways of killing people. The trap door in Jabba's Palace, I think, might just be a normal automatic door; we have tutorials here on how to set one up. The Death Star compactor's a bit more complex and involves ZE animations and some LUA code. I recommend you look at this tutorial, as well as the stock documentation, to figure out how to make ZE animations. Then look at the Death Star luas for the associated lua code.

I think you'll be better off, though, just making a ZE-animated trap door that opens into lava, or something simple that doesn't use much LUA code. You will need OnEnterRegion and PlayAnimation for that.
sniper9191413
Private Recruit
Posts: 16
Joined: Sat Jun 30, 2012 11:01 am
Projects :: No Mod project currently.
Games I'm Playing :: battlefront 2
xbox live or psn: No gamertag set

battlefront 2 modding

Post by sniper9191413 »

how do you chanege the hero for the map you make instead of anakin/maul
how do you move or delete the 4 cps that start automatically on the map
how do you add thick fog like the mygeeto map
how do you make the battlefield higher like when you are flying a ship you cant go high.
how do you make a ship takeoff higher? like when you press the take off button and the ship rises before you can fly away.
how do you make a destroyable cp?
User avatar
Anakin
Master of the Force
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: battlefront 2 modding

Post by Anakin »

Welcome to gametoast.
You should really try to use the search funktion, and use the FAQ/Everyting you need thread. Read some tutorials, so you know the words we use here. If i tell you make a new map, edit it, and select the right layer, select the CP and press del, you really should know, what i'm talking about.

The Fly hight you set up in your Lua file, and the Heros you set up there too.

so first read this tuts

http://www.gametoast.com/forums/viewtop ... 64&t=19725

forums/viewtopic.php?f=27&t=13806
sniper9191413
Private Recruit
Posts: 16
Joined: Sat Jun 30, 2012 11:01 am
Projects :: No Mod project currently.
Games I'm Playing :: battlefront 2
xbox live or psn: No gamertag set

Re: battlefront 2 mod tools help

Post by sniper9191413 »

problem: now no one spawns except for me when i test the map. How do i make THICK fog like mygeeto. i use the fog and skyfog props but it isnt thick enough. also HOW DO I MOVE A PRESET COMMAND POST!!! i am making a crazy awesome map and it looks awesome. i am making general grievous' lair as seen in star wars the clone wars, but i need help to finish it. how do you make a destroyable command post. please answer these questions. i already looked for tutorials!!! i also tried shadow under regions but nothing shows up. i dont know if i put it in the lua script right
User avatar
Cleb
Lieutenant General
Lieutenant General
Posts: 711
Joined: Sun Jun 17, 2012 10:12 pm
Projects :: Learning how to use 3DS Max
Games I'm Playing :: BF2 CIV4 MC
xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
Location: Somewhere
Contact:

Re: battlefront 2 mod tools help

Post by Cleb »

sniper9191413 wrote:problem: now no one spawns except for me when i test the map.
What did you do?
sniper9191413 wrote:HOW DO I MOVE A PRESET COMMAND POST!!!
In Zeroedit, you hold C while any object is selected and use the left, right, and middle (usualy the mouse wheel) to move it along the x, y, and z axis.
sniper9191413 wrote:how do you make a destroyable command post
Im not sure that's possible in swbf2, but I'm not that experienced a modder so someone else might know the answer. :wink:
sniper9191413
Private Recruit
Posts: 16
Joined: Sat Jun 30, 2012 11:01 am
Projects :: No Mod project currently.
Games I'm Playing :: battlefront 2
xbox live or psn: No gamertag set

Re: battlefront 2 mod tools help

Post by sniper9191413 »

one last thing, can i play this on xbox 360? the read me said something about xbox live

EDIT
it doesnt let me select a command post

Double posting is against the RULES; please EDIT your post instead -Staff
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: battlefront 2 mod tools help

Post by Marth8880 »

Cleb wrote:
sniper9191413 wrote:HOW DO I MOVE A PRESET COMMAND POST!!!
In Zeroedit, you hold C while any object is selected and use the left, right, and middle (usualy the mouse wheel) to move it along the x, y, and z axis.
You have to be in the proper layer, remember. In Zero Editor, click on the "Change" button under "Active Layer":
Hidden/Spoiler:
Image
Then, click on the "Conquest" layer in the window that pops up:
Hidden/Spoiler:
Image
Cleb wrote:
sniper9191413 wrote:how do you make a destroyable command post
Im not sure that's possible in swbf2, but I'm not that experienced a modder so someone else might know the answer. :wink:
See Hoth shield generator.


EDIT:

Play what on the Xbox 360? Star Wars Battlefront II? If so, then yes, as long as you have the update that implements an Xbox emulator for most original Xbox games. However, Xbox Live support has been dismantled for the original Xbox, so you will not be able to play online.
sniper9191413
Private Recruit
Posts: 16
Joined: Sat Jun 30, 2012 11:01 am
Projects :: No Mod project currently.
Games I'm Playing :: battlefront 2
xbox live or psn: No gamertag set

bf2 modding error

Post by sniper9191413 »

hi, i made a map but something happened. everytime i play it i spawn but no ai spawn. whats the problem?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: bf2 modding error

Post by Marth8880 »

Please post your LUA. Also, have you tried a manual clean? :o
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: battlefront 2 mod tools help

Post by Fiodis »

Somewhat late, but if you move a CP, make sure to move the associated regions and paths as well.
Post Reply