Objects not appearing in map [Solved]

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

Post Reply
Fingerfood
Sith
Sith
Posts: 1262
Joined: Fri Nov 30, 2007 9:40 pm

Objects not appearing in map [Solved]

Post by Fingerfood »

Okay, my first GT thread.

Well, I got the ModTools, read the docs, made a map, put both the .msh an .odf files in the Common folder, used ZE to make a map and add objects. Now, I go to run my map, and I get the terrain, but no objects. (Well, except for original four CPs)
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Set up the folders for the objects you intend to place

Post by AceMastermind »

Create 3 folders in:
data_ABC\Worlds\ABC

The 3 folders will be named:
odf
msh
effects

Place your odf files in the odf folder
Place your msh, tga, and option files in the msh folder
Place fx files called for in the odfs into the effects folder

Launch ZeroEditor
Load your wld file
Switch to your gamemode layer
Go into Object Edit mode
Browse to your new odf folder
Select an odf that you want in your map and place it
Save your changes
Close ZE
Munge
Go play
Fingerfood
Sith
Sith
Posts: 1262
Joined: Fri Nov 30, 2007 9:40 pm

Re: Objects not appearing in map

Post by Fingerfood »

okay, I made the folders in data_ABC/Worlds/ABC now do I have to replace all objects?
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: Objects not appearing in map

Post by trainmaster611 »

Well if they are appearing in ZE, then you don't have to move the MSH and ODF files again. You just need to munge.
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Objects not appearing in map

Post by Silas »

na na na k i know the answer. i had the same problem. u have to put the world folder such as KAS for example in data_ABC/worlds/ABC. If u put it there it should be fixed
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Objects not appearing in map

Post by AceMastermind »

Fingerfood wrote:okay, I made the folders in data_ABC/Worlds/ABC now do I have to replace all objects?
Go ahead and move the files over to your 3 new folders and then Munge.


@Silas
No need to copy an entire world's folder into yours, just copy what you need from the assets into the 3 respective folders that you created in data_ABC\worlds\ABC.
Fingerfood
Sith
Sith
Posts: 1262
Joined: Fri Nov 30, 2007 9:40 pm

Re: Objects not appearing in map

Post by Fingerfood »

YAY! I got it working. Now how do I raise the height so that units can go higher without having it push you down?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: Objects not appearing in map

Post by Caleb1117 »

If you mean controling the object placement, and rotation, after you've placed it.

Hold "C" and use the tree mouse bottons, tight and left click, and drag, for X and Z axix, and the middle mouse botton for Y axis.

You can also Rotate by holding "X" and using the mouse bottons.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Objects not appearing in map

Post by AceMastermind »

Fingerfood wrote:Now how do I raise the height so that units can go higher without having it push you down?
Increase the number for SetMaxFlyHeight and SetMaxPlayerFlyHeight in your LUA.
Fingerfood
Sith
Sith
Posts: 1262
Joined: Fri Nov 30, 2007 9:40 pm

Re: Objects not appearing in map

Post by Fingerfood »

Okay, changed that, now I got a few questions...

In the lua, can I change the heroes by changing, for example, "rep_hero_anakin",? And if so, what do I change it to?
How do I make new weapons and/or units?
How can I edit the stamina, speed, jump power, jetpack energy of a unit?

I didn't see them in the docs, but I'm reading them as I get to where I need them.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Objects not appearing in map

Post by Maveritchell »

-Yes, you change the heroes by editing where it says (for example) "rep_hero_anakin." There's a list of spawnnames in the "everything you need" thread.

-Look at .odfs. Learn .odfs. Read the Jedi Creation document (a couple times, it's confusing at first).

-Again, .odfs. Browse through them. They're pretty self-explanatory once you get the hang of reading them.
Fingerfood
Sith
Sith
Posts: 1262
Joined: Fri Nov 30, 2007 9:40 pm

Re: Objects not appearing in map

Post by Fingerfood »

Where are all of the .odfs for the units and weaps?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Objects not appearing in map

Post by Maveritchell »

BF2_ModTools/assets/sides/pickanyfolder/odf
Fingerfood
Sith
Sith
Posts: 1262
Joined: Fri Nov 30, 2007 9:40 pm

Re: Objects not appearing in map

Post by Fingerfood »

Okay, I might of messed my map up, but I edited the ifs_careerstats and ABCc_con.

And what are the Dark Trooper Phase 3 files so I can put it in my map? :atatpilot: + :vader2: = Dark Trooper like thing. :D
Post Reply