Object question
Moderator: Moderators
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Object question
ok i got a problem. on any mod i make this happens. when i add objects to the map in zero editor they either don't show up or it crashes. this only happens to planetary objects (like some rocks from geonosis or a cave from hoth) and not with the objects in the common folder (like health driods and ammo driods and vehecals spawns). this happens on alot of mods i make if anyone else can tell me if i have to add something to luas, reqs, odfs, ETC. please tell me. thank you for any help u can offer.
Hidden/Spoiler:
-
CressAlbane
- Master Bounty Hunter

- Posts: 1519
- Joined: Fri Dec 18, 2009 8:02 am
- Projects :: CTF Arenas
- Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı
Re: object question
An error log would still be nice, also please post one of the LUAs, your data template luas might be wrong somehow.
-
CalvaryCptMike
- Captain

- Posts: 476
- Joined: Sat Feb 19, 2011 3:10 pm
- Projects :: Nothing--absolutely nothing
- Location: Freed by alien robots, now living on Mars
- Contact:
Re: object question
Did you put the objects into your data_ABC\Worlds\ABC\Msh and ODF folders?
Or are you placing them from the assets folder.
Or are you placing them from the assets folder.
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: object question
yes i am, i put them in the folders for msh, odf, effects, and one other spot.CalvaryCptMike wrote:Did you put the objects into your data_ABC\Worlds\ABC\Msh and ODF folders?
Or are you placing them from the assets folder.
Hidden/Spoiler:
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Object question
the errorlog is more important than the mungelog. its the bfront2.log created by the bf_modtools.exe for more information about it visit the everythingyouneedthread.
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Object question
ok i got the munge log again so i'll post it now
errorlog/bfront2.log, i just usally call it errorlog
I also found another problem i had once before, the dreaded Heap 5, red memory thing. (is there an offical term?)
This is the LUA for the CW era which is the one i have been testing/using/attempting to use.
Hidden/Spoiler:
Hidden/Spoiler:
I also found another problem i had once before, the dreaded Heap 5, red memory thing. (is there an offical term?)
This is the LUA for the CW era which is the one i have been testing/using/attempting to use.
Hidden/Spoiler:
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Object question
you can also edit your posts if you click the edit button.
im not sure whether these errors crash the map but you should fix them
about the redmemoryerror, it sounds like your map is rather resourceintensive, that could also crash it.
Code: Select all
Message Severity: 3
.\Source\LoadUtil.cpp(829)
Unable to find level chunk imp_bldg_boxturret in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\DHM\Data\_lvl_pc\SIDE\tur.lvl
Message Severity: 3
.\Source\Explosion.cpp(323)
Explosion "imp_bldg_boxturret_exp" missing effect "spa_sfx_turret_exp"
Message Severity: 3
.\Source\Explosion.cpp(323)
Explosion "imp_weap_bldg_boxturret_exp" missing effect "spa1_sfx_weap_laser_exp_lg"
Message Severity: 2
.\Source\VehicleSpawn.cpp(191)
Vehicle spawn missing class "cis_fly_greviousfighter.odf"about the redmemoryerror, it sounds like your map is rather resourceintensive, that could also crash it.
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Object question
i tryed the edit button but only 60000 characters fit in a message. also i think i'll check for the effects for the turret. also how would i fix the cis bombber thing, i have the spawn point in the map is there something else i need. and also the map is hugh so far so i guess it is resource intensive with it being about 5000x5000 (i like hugh maps for some reason) but the size never crashed it before up untill i added some objects (the geonosis great spire and hanger from bf1, a hoth cave exit and natural cave, some box turrets, the hoth echo base hanger, and some vehecal spawn points).DarthD.U.C.K. wrote:you can also edit your posts if you click the edit button.im not sure whether these errors crash the map but you should fix themCode: Select all
Message Severity: 3 .\Source\LoadUtil.cpp(829) Unable to find level chunk imp_bldg_boxturret in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\DHM\Data\_lvl_pc\SIDE\tur.lvl Message Severity: 3 .\Source\Explosion.cpp(323) Explosion "imp_bldg_boxturret_exp" missing effect "spa_sfx_turret_exp" Message Severity: 3 .\Source\Explosion.cpp(323) Explosion "imp_weap_bldg_boxturret_exp" missing effect "spa1_sfx_weap_laser_exp_lg" Message Severity: 2 .\Source\VehicleSpawn.cpp(191) Vehicle spawn missing class "cis_fly_greviousfighter.odf"
about the redmemoryerror, it sounds like your map is rather resourceintensive, that could also crash it.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Object question
i guess the size causes the rememory-error but maybe thats no crashing the map.
do you have the cis_fly_greviousfighter reqs and odfs set up properly in your cisside?
do you have the cis_fly_greviousfighter reqs and odfs set up properly in your cisside?
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Object question
i would think so, i haven't changed the odfs or reqs any except for setting it to load in the lua, it was already in the reqs for stock... at least i think it was. let me check.DarthD.U.C.K. wrote:i guess the size causes the rememory-error but maybe thats no crashing the map.
do you have the cis_fly_greviousfighter reqs and odfs set up properly in your cisside?
edit: ok i checked and it is there. i think the objects might have something to do with this, it only crashes when i have objects in it. it is the same thing on all my maps.
-
CressAlbane
- Master Bounty Hunter

- Posts: 1519
- Joined: Fri Dec 18, 2009 8:02 am
- Projects :: CTF Arenas
- Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı
Re: Object question
Some stuff I feel like correcting:
-In your vehicle spawn, you need to write "cis_fly_greivousfighter", not "cis_fly_greivousfighter.odf." Or you wrote this same switch in your lua somewhere.
-When munging, you don't need to select all of the munge options. Sound and Shell don't need to be selected 90% of the time.
-This code might make it unable for players to spawn if you haven't changed the droideka/jettrooper odfs to remove "PointsToUnlock = "12.""
-In your vehicle spawn, you need to write "cis_fly_greivousfighter", not "cis_fly_greivousfighter.odf." Or you wrote this same switch in your lua somewhere.
-When munging, you don't need to select all of the munge options. Sound and Shell don't need to be selected 90% of the time.
-This code might make it unable for players to spawn if you haven't changed the droideka/jettrooper odfs to remove "PointsToUnlock = "12.""
Code: Select all
cis = {
team = CIS,
units = 200,
reinforcements = 200,
special = { "cis_inf_droideka",10, 100},
}
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Object question
CressAlbane wrote:Some stuff I feel like correcting:
-In your vehicle spawn, you need to write "cis_fly_greivousfighter", not "cis_fly_greivousfighter.odf." Or you wrote this same switch in your lua somewhere.
-When munging, you don't need to select all of the munge options. Sound and Shell don't need to be selected 90% of the time.
-This code might make it unable for players to spawn if you haven't changed the droideka/jettrooper odfs to remove "PointsToUnlock = "12.""Code: Select all
cis = { team = CIS, units = 200, reinforcements = 200, special = { "cis_inf_droideka",10, 100}, }
for the cis bomber- ok i didn't know that thanks
for the munging all things- i only do that sometimes, like when it is crashing just to see if it helps
for the driodeka- i already had it changed in the driodeka odf
