Can't spawn as CIS, vehicles not spawning, locals help
Posted: Tue Jul 31, 2007 9:13 pm
by GolfBulb
Ill just post all my questions rihgt now 
A. BIG PROBLEM!: I can not spawn as CIS i have to be republic no matter waht
1. 2 of my vehicle types aren't spawning. Its the Spider droid and the Hover GAT here is my lua,
here is the req:
and here is the other part of the lua:
And finaly, here is my munge log, and the dialog box log.. :
And yes i ahve made a Vehicles Side
2. i still need some help with the locals, which involves making a new CP, which i still dont know how to do either.
3. I want to know how to compress my Map, what files to delete, and waht to keep.
any help is appreciated
A. BIG PROBLEM!: I can not spawn as CIS i have to be republic no matter waht
1. 2 of my vehicle types aren't spawning. Its the Spider droid and the Hover GAT here is my lua,
Hidden/Spoiler:
-- Level Stats
-- ClearWalkers()
AddWalkerType(0, 4) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 1) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 1) -- 3x2 (3 pairs of legs)
local weaponCnt = 1024
SetMemoryPoolSize("EntityWalker",3)
SetMemoryPoolSize("CommandWalker", 1)
SetMemoryPoolSize("Aimer", 75)
SetMemoryPoolSize("AmmoCounter", weaponCnt)
SetMemoryPoolSize("BaseHint", 1024)
SetMemoryPoolSize("EnergyBar", weaponCnt)
SetMemoryPoolSize("EntityCloth", 32)
SetMemoryPoolSize("EntityFlyer", 32)
SetMemoryPoolSize("EntityHover", 32)
SetMemoryPoolSize("EntityLight", 200)
SetMemoryPoolSize("EntitySoundStream", 4)
SetMemoryPoolSize("EntitySoundStatic", 32)
SetMemoryPoolSize("MountedTurret", 32)
SetMemoryPoolSize("Navigator", 128)
SetMemoryPoolSize("Obstacle", 1024)
SetMemoryPoolSize("PathNode", 1024)
SetMemoryPoolSize("SoundSpaceRegion", 64)
SetMemoryPoolSize("TreeGridStack", 1024)
SetMemoryPoolSize("UnitAgent", 128)
SetMemoryPoolSize("UnitController", 128)
SetMemoryPoolSize("Weapon", weaponCnt)
-- ClearWalkers()
AddWalkerType(0, 4) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 1) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 1) -- 3x2 (3 pairs of legs)
local weaponCnt = 1024
SetMemoryPoolSize("EntityWalker",3)
SetMemoryPoolSize("CommandWalker", 1)
SetMemoryPoolSize("Aimer", 75)
SetMemoryPoolSize("AmmoCounter", weaponCnt)
SetMemoryPoolSize("BaseHint", 1024)
SetMemoryPoolSize("EnergyBar", weaponCnt)
SetMemoryPoolSize("EntityCloth", 32)
SetMemoryPoolSize("EntityFlyer", 32)
SetMemoryPoolSize("EntityHover", 32)
SetMemoryPoolSize("EntityLight", 200)
SetMemoryPoolSize("EntitySoundStream", 4)
SetMemoryPoolSize("EntitySoundStatic", 32)
SetMemoryPoolSize("MountedTurret", 32)
SetMemoryPoolSize("Navigator", 128)
SetMemoryPoolSize("Obstacle", 1024)
SetMemoryPoolSize("PathNode", 1024)
SetMemoryPoolSize("SoundSpaceRegion", 64)
SetMemoryPoolSize("TreeGridStack", 1024)
SetMemoryPoolSize("UnitAgent", 128)
SetMemoryPoolSize("UnitController", 128)
SetMemoryPoolSize("Weapon", weaponCnt)
Hidden/Spoiler:
ucft
{
REQN
{
"lvl"
"all_fly_awing"
"all_fly_bwing"
"all_fly_kwing"
"all_fly_virago"
"all_fly_xwing"
"all_fly_ywing"
"all_hover_combatspeeder_bf1"
"all_hover_hovernaut"
"bes_fly_cloudcar"
"bes_fly_cloudcar_cw"
"cis_fly_droidfighter"
"cis_fly_droidgunship"
"cis_fly_fanblade"
"cis_fly_geofighter"
"cis_fly_greviousfighter"
"cis_fly_maf"
"cis_fly_scarab"
"cis_fly_tridroidfighter"
"cis_hover_gat"
"cis_hover_mtt"
"cis_hover_sith_speeder"
"cis_walk_dwarfspider"
"com_fly_r41"
"com_hover_light_attack_speeder"
"gun_walk_kaadu"
"imp_fly_tie_x1"
"imp_fly_tiebomber"
"imp_fly_tiedefender"
"imp_fly_tieinterceptor"
"imp_fly_tiefighter"
"imp_fly_tiephantom"
"imp_fly_trooptrans"
"rep_fly_anakinstarfighter"
"rep_fly_arc_gunship"
"rep_fly_arc170fighter"
"rep_fly_gunship"
"rep_fly_jedifighter"
"rep_fly_kitfistostarfighter"
"rep_fly_macestarfighter"
"rep_fly_obiwanstarfighter"
"rep_fly_plokoonstarfighter"
"rep_fly_saeseetinstarfighter"
"rep_fly_vwing"
"rep_fly_v19"
"rep_hover_swampspeeder"
"rep_hover_swampspeeder_2man"
"rep_walk_atxt"
"tat_hover_landspeeder"
"tat_hover_skiff"
}
REQN
{
"model"
"all_1st_cockpit_kwing"
"rep_1st_cockpit_jedistarfighter"
"all_1st_cockpit_awing"
"all_1st_cockpit_cloudcar"
"rep_1st_cockpit_ATXT"
}
}
{
REQN
{
"lvl"
"all_fly_awing"
"all_fly_bwing"
"all_fly_kwing"
"all_fly_virago"
"all_fly_xwing"
"all_fly_ywing"
"all_hover_combatspeeder_bf1"
"all_hover_hovernaut"
"bes_fly_cloudcar"
"bes_fly_cloudcar_cw"
"cis_fly_droidfighter"
"cis_fly_droidgunship"
"cis_fly_fanblade"
"cis_fly_geofighter"
"cis_fly_greviousfighter"
"cis_fly_maf"
"cis_fly_scarab"
"cis_fly_tridroidfighter"
"cis_hover_gat"
"cis_hover_mtt"
"cis_hover_sith_speeder"
"cis_walk_dwarfspider"
"com_fly_r41"
"com_hover_light_attack_speeder"
"gun_walk_kaadu"
"imp_fly_tie_x1"
"imp_fly_tiebomber"
"imp_fly_tiedefender"
"imp_fly_tieinterceptor"
"imp_fly_tiefighter"
"imp_fly_tiephantom"
"imp_fly_trooptrans"
"rep_fly_anakinstarfighter"
"rep_fly_arc_gunship"
"rep_fly_arc170fighter"
"rep_fly_gunship"
"rep_fly_jedifighter"
"rep_fly_kitfistostarfighter"
"rep_fly_macestarfighter"
"rep_fly_obiwanstarfighter"
"rep_fly_plokoonstarfighter"
"rep_fly_saeseetinstarfighter"
"rep_fly_vwing"
"rep_fly_v19"
"rep_hover_swampspeeder"
"rep_hover_swampspeeder_2man"
"rep_walk_atxt"
"tat_hover_landspeeder"
"tat_hover_skiff"
}
REQN
{
"model"
"all_1st_cockpit_kwing"
"rep_1st_cockpit_jedistarfighter"
"all_1st_cockpit_awing"
"all_1st_cockpit_cloudcar"
"rep_1st_cockpit_ATXT"
}
}
Hidden/Spoiler:
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep2_rifleman",
"rep_inf_ep2_rocketeer",
"rep_inf_ep2_engineer",
"rep_inf_ep2_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep2_jettrooper",
"rep_hover_fightertank",
"rep_hero_macewindu",
"rep_hover_barcspeeder",
"rep_walk_atte")
ReadDataFile("dc:SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_bdroid",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_countdooku",
"cis_walk_dwarfspider".
"cis_hover_gat",
"cis_hover_aat")
ReadDataFile("SIDE\\geo.lvl",
"geo_inf_acklay",
"gen_inf_geonosian")
ReadDataFile("dc:SIDE\\vehicles.lvl",
"cis_hover_gat",
"cis_walk_dwarfspider")
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep2_rifleman",
"rep_inf_ep2_rocketeer",
"rep_inf_ep2_engineer",
"rep_inf_ep2_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep2_jettrooper",
"rep_hover_fightertank",
"rep_hero_macewindu",
"rep_hover_barcspeeder",
"rep_walk_atte")
ReadDataFile("dc:SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_bdroid",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_countdooku",
"cis_walk_dwarfspider".
"cis_hover_gat",
"cis_hover_aat")
ReadDataFile("SIDE\\geo.lvl",
"geo_inf_acklay",
"gen_inf_geonosian")
ReadDataFile("dc:SIDE\\vehicles.lvl",
"cis_hover_gat",
"cis_walk_dwarfspider")
Hidden/Spoiler:
ERROR[localizemunge japanese.cfg]:Text file syntax error. (No matching bracket)ERROR[localizemunge japanese.cfg]:Text file syntax error. (No matching bracket) [continuing]
2 Errors 0 Warnings
ERROR[levelpack mission\DDWc_con.req]:Expecting bracket, but none was found.
File : munged\pc\ddwc_con.script.req(1)...
ucft <--
ERROR[levelpack mission\DDWc_con.req]:Expecting bracket, but none was found.
File : munged\pc\ddwc_con.script.req(1)...
ucft <--
2 Errors 0 Warnings
soundflmunge.exe : Error : Unable to open file C:\BF2_ModTools\data_DDW\Sound\shell\effects\whooshl3.wav - while munging C:\BF2_ModTools\data_DDW\Sound\shell\shell.sfx
soundflmunge.exe : Error : Unable to open file C:\BF2_ModTools\data_DDW\Sound\shell\effects\whooshl3.wav, format may be invalid - while munging C:\BF2_ModTools\data_DDW\Sound\shell\shell.sfx
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_DDW\Sound\shell\shell.sfx - while munging C:\BF2_ModTools\data_DDW\Sound\shell\shell.sfx
2 Errors 0 Warnings
ERROR[levelpack mission\DDWc_con.req]:Expecting bracket, but none was found.
File : munged\pc\ddwc_con.script.req(1)...
ucft <--
ERROR[levelpack mission\DDWc_con.req]:Expecting bracket, but none was found.
File : munged\pc\ddwc_con.script.req(1)...
ucft <--
2 Errors 0 Warnings
soundflmunge.exe : Error : Unable to open file C:\BF2_ModTools\data_DDW\Sound\shell\effects\whooshl3.wav - while munging C:\BF2_ModTools\data_DDW\Sound\shell\shell.sfx
soundflmunge.exe : Error : Unable to open file C:\BF2_ModTools\data_DDW\Sound\shell\effects\whooshl3.wav, format may be invalid - while munging C:\BF2_ModTools\data_DDW\Sound\shell\shell.sfx
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_DDW\Sound\shell\shell.sfx - while munging C:\BF2_ModTools\data_DDW\Sound\shell\shell.sfx
Hidden/Spoiler:
Common\munge PC
Copying premunged files from MUNGED...
0 File(s) copied
Copying premunged files from MUNGED\PC...
Done
Munging bump_shader.xml
Munging decal_shader.xml
Munging detail_shader.xml
Munging filtercopy_shader.xml
Munging flare_shader.xml
Munging foliage_shader.xml
Munging hdr_shader.xml
Munging interface_shader.xml
Munging lightbeam_shader.xml
Munging normalmapadder_shader.xml
Munging normal_shader.xml
Munging normal_terrain_shader.xml
Munging ocean_shader.xml
Munging particle_shader.xml
Munging perpixeldiffuselighting_shader.xml
Munging pervertexdiffuselighting_shader.xml
Munging prereflection_shader.xml
Munging rain_shader.xml
Munging refraction_shader.xml
Munging sample_shader.xml
Munging scroll_shader.xml
Munging shadowquad_shader.xml
Munging shield_shader.xml
Munging skyfog_shader.xml
Munging specularlighting_shader.xml
Munging specular_shader.xml
Munging sprite_shader.xml
Munging stencilshadow_shader.xml
Munging terrain_shader.xml
Munging terrain_shader2.xml
Munging water_shader.xml
Munging zprepass_shader.xml
Merging ..\..\Common\Localize\PC\English.cfg...
Merging ..\..\Common\Localize\PC\French.cfg...
Merging ..\..\Common\Localize\PC\german.cfg...
Merging ..\..\Common\Localize\PC\Italian.cfg...
Merging ..\..\Common\Localize\PC\japanese.cfg...
Merging ..\..\Common\Localize\PC\spanish.cfg...
Merging ..\..\Common\Localize\PC\uk_english.cfg...
Merging ..\..\Common\Localize\Comments.cfg...
Merging ..\..\Common\Localize\english.cfg...
Merging ..\..\Common\Localize\french.cfg...
Merging ..\..\Common\Localize\german.cfg...
Merging ..\..\Common\Localize\italian.cfg...
Merging ..\..\Common\Localize\japanese.cfg...
Merging ..\..\Common\Localize\spanish.cfg...
Merging ..\..\Common\Localize\uk_english.cfg...
Munging Comments.cfg
Munging English.cfg
Munging French.cfg
Munging german.cfg
Uhoh, high ascii 0x1234
Munging Italian.cfg
Munging japanese.cfg
Munging spanish.cfg
Uhoh, high ascii 0x052B
Uhoh, high ascii 0x0935
Munging uk_english.cfg
C:\BF2_ModTools\data_DDW\_BUILD\Common>levelpack -inputfile core.req -writefiles MUNGED\PC\core.files -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC 2>>"C:\BF2_ModTools\data_DDW\_BUILD\PC_MungeLog.txt"
Munging core.req
C:\BF2_ModTools\data_DDW\_BUILD\Common>levelpack -inputfile common.req -writefiles MUNGED\PC\common.files -common MUNGED\PC\core.files -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC 2>>"C:\BF2_ModTools\data_DDW\_BUILD\PC_MungeLog.txt"
C:\BF2_ModTools\data_DDW\_BUILD\Common>levelpack -inputfile ingame.req -writefiles MUNGED\PC\ingame.files -common MUNGED\PC\core.files MUNGED\PC\common.files -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC 2>>"C:\BF2_ModTools\data_DDW\_BUILD\PC_MungeLog.txt"
C:\BF2_ModTools\data_DDW\_BUILD\Common>levelpack -inputfile inshell.req -writefiles MUNGED\PC\inshell.files -common MUNGED\PC\core.files MUNGED\PC\common.files -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC 2>>"C:\BF2_ModTools\data_DDW\_BUILD\PC_MungeLog.txt"
C:\BF2_ModTools\data_DDW\_BUILD\Common>levelpack -inputfile MISSION\*.req -common MUNGED\PC\core.files MUNGED\PC\common.files MUNGED\PC\ingame.files -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir MUNGED\PC 2>>"C:\BF2_ModTools\data_DDW\_BUILD\PC_MungeLog.txt"
C:\BF2_ModTools\data_DDW\_BUILD\Common>levelpack -inputfile MISSION.req -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC 2>>"C:\BF2_ModTools\data_DDW\_BUILD\PC_MungeLog.txt"
Sides\munge PC
Worlds\munge PC
'munge.bat' is not recognized as an internal or external command,
operable program or batch file.
munge_world Common PC
Done
Done
Done
munge_world DDW PC
Done
Done
Done
Munging DDW.PTH
Munging DDW_conquest.PTH
Munging DDW_Layer000.PTH
Munging DDW_Layer001.PTH
Munging DDW.req
The system cannot find the path specified.
Munging DDW.req
The system cannot find the path specified.
Sound\munge PC
File Not Found
File Not Found
Munging common.bnk, this could take a while...
Munging addme.lua...done.
Copying files to Battlefront II directory:
"C:\Program Files\LucasArts\Star Wars Battlefront II\GameData"
Addon dir exists, continuing...
Mod dir "DDW"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 "DDW" to modDir\data\_LVL_PC\...done
Copying "SIDE" to modDir\data\_LVL_PC\...done
Copying premunged files from MUNGED...
0 File(s) copied
Copying premunged files from MUNGED\PC...
Done
Munging bump_shader.xml
Munging decal_shader.xml
Munging detail_shader.xml
Munging filtercopy_shader.xml
Munging flare_shader.xml
Munging foliage_shader.xml
Munging hdr_shader.xml
Munging interface_shader.xml
Munging lightbeam_shader.xml
Munging normalmapadder_shader.xml
Munging normal_shader.xml
Munging normal_terrain_shader.xml
Munging ocean_shader.xml
Munging particle_shader.xml
Munging perpixeldiffuselighting_shader.xml
Munging pervertexdiffuselighting_shader.xml
Munging prereflection_shader.xml
Munging rain_shader.xml
Munging refraction_shader.xml
Munging sample_shader.xml
Munging scroll_shader.xml
Munging shadowquad_shader.xml
Munging shield_shader.xml
Munging skyfog_shader.xml
Munging specularlighting_shader.xml
Munging specular_shader.xml
Munging sprite_shader.xml
Munging stencilshadow_shader.xml
Munging terrain_shader.xml
Munging terrain_shader2.xml
Munging water_shader.xml
Munging zprepass_shader.xml
Merging ..\..\Common\Localize\PC\English.cfg...
Merging ..\..\Common\Localize\PC\French.cfg...
Merging ..\..\Common\Localize\PC\german.cfg...
Merging ..\..\Common\Localize\PC\Italian.cfg...
Merging ..\..\Common\Localize\PC\japanese.cfg...
Merging ..\..\Common\Localize\PC\spanish.cfg...
Merging ..\..\Common\Localize\PC\uk_english.cfg...
Merging ..\..\Common\Localize\Comments.cfg...
Merging ..\..\Common\Localize\english.cfg...
Merging ..\..\Common\Localize\french.cfg...
Merging ..\..\Common\Localize\german.cfg...
Merging ..\..\Common\Localize\italian.cfg...
Merging ..\..\Common\Localize\japanese.cfg...
Merging ..\..\Common\Localize\spanish.cfg...
Merging ..\..\Common\Localize\uk_english.cfg...
Munging Comments.cfg
Munging English.cfg
Munging French.cfg
Munging german.cfg
Uhoh, high ascii 0x1234
Munging Italian.cfg
Munging japanese.cfg
Munging spanish.cfg
Uhoh, high ascii 0x052B
Uhoh, high ascii 0x0935
Munging uk_english.cfg
C:\BF2_ModTools\data_DDW\_BUILD\Common>levelpack -inputfile core.req -writefiles MUNGED\PC\core.files -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC 2>>"C:\BF2_ModTools\data_DDW\_BUILD\PC_MungeLog.txt"
Munging core.req
C:\BF2_ModTools\data_DDW\_BUILD\Common>levelpack -inputfile common.req -writefiles MUNGED\PC\common.files -common MUNGED\PC\core.files -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC 2>>"C:\BF2_ModTools\data_DDW\_BUILD\PC_MungeLog.txt"
C:\BF2_ModTools\data_DDW\_BUILD\Common>levelpack -inputfile ingame.req -writefiles MUNGED\PC\ingame.files -common MUNGED\PC\core.files MUNGED\PC\common.files -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC 2>>"C:\BF2_ModTools\data_DDW\_BUILD\PC_MungeLog.txt"
C:\BF2_ModTools\data_DDW\_BUILD\Common>levelpack -inputfile inshell.req -writefiles MUNGED\PC\inshell.files -common MUNGED\PC\core.files MUNGED\PC\common.files -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC 2>>"C:\BF2_ModTools\data_DDW\_BUILD\PC_MungeLog.txt"
C:\BF2_ModTools\data_DDW\_BUILD\Common>levelpack -inputfile MISSION\*.req -common MUNGED\PC\core.files MUNGED\PC\common.files MUNGED\PC\ingame.files -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir MUNGED\PC 2>>"C:\BF2_ModTools\data_DDW\_BUILD\PC_MungeLog.txt"
C:\BF2_ModTools\data_DDW\_BUILD\Common>levelpack -inputfile MISSION.req -checkdate -continue -platform PC -sourcedir ..\..\Common -inputdir MUNGED\PC -outputdir ..\..\_LVL_PC 2>>"C:\BF2_ModTools\data_DDW\_BUILD\PC_MungeLog.txt"
Sides\munge PC
Worlds\munge PC
'munge.bat' is not recognized as an internal or external command,
operable program or batch file.
munge_world Common PC
Done
Done
Done
munge_world DDW PC
Done
Done
Done
Munging DDW.PTH
Munging DDW_conquest.PTH
Munging DDW_Layer000.PTH
Munging DDW_Layer001.PTH
Munging DDW.req
The system cannot find the path specified.
Munging DDW.req
The system cannot find the path specified.
Sound\munge PC
File Not Found
File Not Found
Munging common.bnk, this could take a while...
Munging addme.lua...done.
Copying files to Battlefront II directory:
"C:\Program Files\LucasArts\Star Wars Battlefront II\GameData"
Addon dir exists, continuing...
Mod dir "DDW"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 "DDW" to modDir\data\_LVL_PC\...done
Copying "SIDE" to modDir\data\_LVL_PC\...done
2. i still need some help with the locals, which involves making a new CP, which i still dont know how to do either.
3. I want to know how to compress my Map, what files to delete, and waht to keep.
any help is appreciated