Map won't show objects
Moderator: Moderators
- brant777
- Private Third Class
- Posts: 52
- Joined: Thu Mar 22, 2012 9:05 pm
- Projects :: No Mod project currently.
- xbox live or psn: Why? PS3 is better
- Location: pennsylvania
- Contact:
Map won't show objects
Hello, I am a noob at Zeroeditor and i put objects (ODF's) into my map, currently i am working on Hero Assault. I put some mountains in and I tested my objects by putting some tree's into my map (in base layer and in eli layer). I munged, played map for a few seconds and then it crashed, but before it crashed i didn't see my trees but i did see my hoth sky that i put in and my mountains. after that i removed a few trees and i munged and played but this time it loaded up and i didn't have a chance to see the map before it crashed. I would love to post an error report but i dont know where to go to see the error when it crashes. If any one can help plz do, i am at my wits end. Btw i have win 7.
error #1 - game crashes when i load it up
error #2 - objects dont show up.
error #1 - game crashes when i load it up
error #2 - objects dont show up.
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
Re: Map won't show objects
Welcome to GT!
You should really check out the FAQ topic at the head of this forum - it has all the basic info for such issues as you're having.
You generate an error log by running it using the bf2_modtools.exe, which should be in your main modtools folder. Copy it to C:\Program Files\LucasArts\Star Wars Battlefront II\GameData and run it. When the game crashes, go to this folder and look for a bfront2.log - that'll have all your errors in it. If its not in the above folder, try hitting the compatibility files button at the top of the window.
Hopefully that helps! Also, as a basic troubleshooting rule, if something stuffs up, try removing the last thing you did and remunge. If the game works, you can be sure that the last thing you did stuffed the map (In this case its probably something to do with the trees).
When you generate your log, post it here please.
You should really check out the FAQ topic at the head of this forum - it has all the basic info for such issues as you're having.
You generate an error log by running it using the bf2_modtools.exe, which should be in your main modtools folder. Copy it to C:\Program Files\LucasArts\Star Wars Battlefront II\GameData and run it. When the game crashes, go to this folder and look for a bfront2.log - that'll have all your errors in it. If its not in the above folder, try hitting the compatibility files button at the top of the window.
Hopefully that helps! Also, as a basic troubleshooting rule, if something stuffs up, try removing the last thing you did and remunge. If the game works, you can be sure that the last thing you did stuffed the map (In this case its probably something to do with the trees).
When you generate your log, post it here please.
- brant777
- Private Third Class
- Posts: 52
- Joined: Thu Mar 22, 2012 9:05 pm
- Projects :: No Mod project currently.
- xbox live or psn: Why? PS3 is better
- Location: pennsylvania
- Contact:
Re: Map won't show objects
I managed to load the game and i did see the objects i put in but it crashed and i copied the log.
if anyone can explain this plz do, i have no idea what this means 
Hidden/Spoiler:
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
Re: Map won't show objects
1. Is that the whole log?
2. Do you have any custom units on your map?
3. To fix the soldier animation thingy, add SetMemoryPoolSize("SoldierAnimation", 1050) next to all the other setmemorypoolsize lines in your lua...I think that's worded right - someone correct me if I'm wrong.
2. Do you have any custom units on your map?
3. To fix the soldier animation thingy, add SetMemoryPoolSize("SoldierAnimation", 1050) next to all the other setmemorypoolsize lines in your lua...I think that's worded right - someone correct me if I'm wrong.
- brant777
- Private Third Class
- Posts: 52
- Joined: Thu Mar 22, 2012 9:05 pm
- Projects :: No Mod project currently.
- xbox live or psn: Why? PS3 is better
- Location: pennsylvania
- Contact:
Re: Map won't show objects
1. ya i copied the whole thinglucasfart wrote:1. Is that the whole log?
2. Do you have any custom units on your map?
3. To fix the soldier animation thingy, add SetMemoryPoolSize("SoldierAnimation", 1050) next to all the other setmemorypoolsize lines in your lua...I think that's worded right - someone correct me if I'm wrong.
2. no, not yet
3. where do i go to fix that?
btw thanks for your help so far.
btw i deleted my log and replayed my map. copied and pasted this from my BFront2.log:
http://textbin.com/43o82
It was too long to fit into one reply.
- DarthXeon
- Banned
- Posts: 84
- Joined: Mon Sep 19, 2011 5:41 pm
- Projects :: I move fast... Lightning fast...
- Location: In A Nearby Solar System
Re: Map won't show objects
usually when i have these errors
i delete grevious off my lua and it works perfectly, if u want grevious i would try to clean and remunge
Code: Select all
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2035)
Can't find (POSSIBLY unused) soldier animation grevious_sabre_thrown_restfrontsoft(_upper)- Tears2Roses
- Chief Warrant Officer

- Posts: 336
- Joined: Thu Jul 07, 2011 9:20 am
- Projects :: Oh some random stuff who knows
- xbox live or psn: PC beats xbox.
Re: Map won't show objects
How fast does your visual munge take to munge? If it munges really fast ( and even if it doesnt ) try THIS (< - - - click the color) workaround to get it working properly. 99% of windows vista/win 7 users experience this problem. Beyond that, Reading the FAQ is a good idea. Also, the tools come with stock documentation that should help you a lot.
offtopic:
offtopic:
Hidden/Spoiler:
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
Re: Map won't show objects
All your map's luas are located in data_ABC/Common/Scripts/ABC, where ABC is your 3 letter map name. All the files with .lua on the end control the scripting side of your map, choosing what sides get loaded and heaps of other stuff. The .bak files are just backup copies of your luas, incase you stuff one up completely. Each lua's name describes what mode it effects (ie. ABC[era]_[mode] eg. ABCg_con relates to your Galactic Civil War (g) Conquest(con) and so on. If you want to make a change to every mode and era, you'll have to manually add any changes to each lua. Also, for editing lua files I'd recommend downloading Notepad ++ - it makes the lua a lot more understandable in terms of structure.brant777 wrote:3. where do i go to fix that?lucasfart wrote: 3. To fix the soldier animation thingy, add SetMemoryPoolSize("SoldierAnimation", 1050) next to all the other setmemorypoolsize lines in your lua...I think that's worded right - someone correct me if I'm wrong.
For modes,
Code: Select all
hunt = Hunt mode (Obviously)
con = Conquest
eli = Hero Assault
ctf = 2 Flag Capture The Flag
1flag = 1 Flag Capture The Flag
spa = Space Assault (Only for space maps)While that might usually be the case, if, as I think the case is, he is running a default sides Hero Assault mode, deleting grievous (they spelt grievous wrong!!) would make no difference whatsoever.DarthXeon wrote:usually when i have these errorsi delete grevious off my lua and it works perfectly, if u want grevious i would try to clean and remungeCode: Select all
Message Severity: 2 C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2035) Can't find (POSSIBLY unused) soldier animation grevious_sabre_thrown_restfrontsoft(_upper)
The fact that he could briefly see his edited trees makes me think that it's not a munge issue. On that note though, did any errors pop up when your munge was completed?Tears2Roses wrote:How fast does your visual munge take to munge? If it munges really fast ( and even if it doesnt ) try THIS (< - - - click the color) workaround to get it working properly. 99% of windows vista/win 7 users experience this problem.
It's also possible that you accidentally changed/removed something while adding your custom skydome. Do all your models show up correctly in ZE?
You mentioned putting the odf's for trees into your map folder. Did you also copy the necessary .msh (model) and .tga (texture) files?
EDIT:Fierfek's Tutorial might be helpful as well. You should read it through.
- brant777
- Private Third Class
- Posts: 52
- Joined: Thu Mar 22, 2012 9:05 pm
- Projects :: No Mod project currently.
- xbox live or psn: Why? PS3 is better
- Location: pennsylvania
- Contact:
Re: Map won't show objects
I decided to start fresh and make a new map, but when i munged i got this error -->
ERROR[levelpack shell.req]:Input file shell.req does not exist. [continuing]\
and i got these errors also
also, i did not know i needed the .msh files for the objects, is it really neccessary to put it in with it?
ERROR[levelpack shell.req]:Input file shell.req does not exist. [continuing]\
Hidden/Spoiler:
also, i did not know i needed the .msh files for the objects, is it really neccessary to put it in with it?
- DarthXeon
- Banned
- Posts: 84
- Joined: Mon Sep 19, 2011 5:41 pm
- Projects :: I move fast... Lightning fast...
- Location: In A Nearby Solar System
Re: Map won't show objects
lol thats the shape the object retains along with the texture of it!
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
Re: Map won't show objects
You get those errors when you munge with all the options ticked in the munge window - you only need to select the common folder, and that only needs selecting if you change a script/one of the other common files in your map. And yes, the .msh, .tga and .option files are crucial if you want your models to load ingame. I'm also curious, how the heck did you even add them to your map if you didn't have the files?brant777 wrote:I decided to start fresh and make a new map, but when i munged i got this error -->
ERROR[levelpack shell.req]:Input file shell.req does not exist. [continuing]\and i got these errors alsoHidden/Spoiler:
also, i did not know i needed the .msh files for the objects, is it really neccessary to put it in with it?
I'd say you REALLY need to read the documentation before asking questions about your map - have you read up on the documentation that came with the modtools?
- brant777
- Private Third Class
- Posts: 52
- Joined: Thu Mar 22, 2012 9:05 pm
- Projects :: No Mod project currently.
- xbox live or psn: Why? PS3 is better
- Location: pennsylvania
- Contact:
Re: Map won't show objects
my new map doesn't crash on me and i can now place objects down that i couldn't put down before i read about the .msh (i thought for a while that they were extra objects). Thanks everyone i now have a runnable map with objects :maulsaber:
One quick question though --> do i go to the lua to get rid of the cw option (hero assault) in the game (I don't have sides for that mode).
One quick question though --> do i go to the lua to get rid of the cw option (hero assault) in the game (I don't have sides for that mode).
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
Re: Map won't show objects
Have you tried running CW Hero Assault? It's impossible because it isn't added by default.
