Page 1 of 1

Other Heroes [Solved]

Posted: Thu Jun 10, 2010 8:07 pm
by Press_Tilty
So I downloaded MandeRek's heroes (http://www.gametoast.com/forums/viewtop ... 64&t=22766), and am trying to put them in my own map (or :plokoon:, anway, i love electric judgement), but how do I do that? I copied all the files from the DL into my assets folder, and changed the Rep hero to PK in the .lua, but he doesn't load in game.

I copied the effects, msh, odf, req, munged and changed the rep.req...what else do I need to do?

Also, can I put the royal guard in for the imps?

Re: Other Heroes

Posted: Thu Jun 10, 2010 8:11 pm
by lucasfart
As i said before, post up your lua's and error log if you want us to help you. Without them, its pretty hard to tell what's wrong...

Re: Other Heroes

Posted: Thu Jun 10, 2010 8:31 pm
by Press_Tilty
O right, I meant to do that.

clone wars lua:
Hidden/Spoiler:
--
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--

-- load the gametype script
ScriptCB_DoFile("ObjectiveConquest")
ScriptCB_DoFile("setup_teams")

-- REP Attacking (attacker is always #1)
REP = 1;
CIS = 2;
-- These variables do not change
ATT = REP;
DEF = CIS;


function ScriptPostLoad()


--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
cp4 = CommandPost:New{name = "cp4"}



--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}

--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)

conquest:Start()

EnableSPHeroRules()

end


---------------------------------------------------------------------------
-- FUNCTION: ScriptInit
-- PURPOSE: This function is only run once
-- INPUT:
-- OUTPUT:
-- NOTES: The name, 'ScriptInit' is a chosen convention, and each
-- mission script must contain a version of this function, as
-- it is called from C to start the mission.
---------------------------------------------------------------------------
function ScriptInit()

ReadDataFile("ingame.lvl")


SetMaxFlyHeight(30)
SetMaxPlayerFlyHeight (30)

SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",50) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",650) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",550) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",6000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo

ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep2_rifleman",
"rep_inf_ep2_rocketeer",
"rep_inf_ep2_pilot",w w
"rep_inf_ep2_engineer",
"rep_inf_ep2_sniper_felucia",
"rep_inf_ep2_officer",
"rep_inf_ep2_jettrooper",
"rep_hover_fightertank",
"rep_hero_masterkoon",
"rep_hover_barcspeeder",
"rep_hover_fightertank",
"rep_fly_arc170fighter_dome",
"rep_fly_arc170fighter",
"rep_fly_arc170fighter_sc")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_pilot",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_jangofett",
"cis_hover_aat",
"cis_hover_stap",
"cis_fly_droidfighter_sc",
"cis_fly_droidfighter_dome")



ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")

SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "rep_inf_ep3_sniper",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},

},
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = { "cis_inf_rifleman",9, 25},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},
}
}

SetHeroClass(CIS, "cis_hero_jangofett")
SetHeroClass(REP, "rep_hero_masterkoon")


-- Level Stats
-- ClearWalkers()
AddWalkerType(0, 4) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 0) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)
local weaponCnt = 1024
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)

SetSpawnDelay(10.0, 0.25)
--ReadDataFile("dc:VLH\\VLH.lvl", "VLH_conquest")
ReadDataFile("dc:VLH\\VLH.lvl", "VLH_conquest")
SetDenseEnvironment("false")




-- Sound

SetSoundEffect("ScopeDisplayZoomIn", "binocularzoomin")
SetSoundEffect("ScopeDisplayZoomOut", "binocularzoomout")

voiceSlow = OpenAudioStream("sound\\global.lvl", "rep_unit_vo_slow")
AudioStreamAppendSegments("sound\\global.lvl", "cis_unit_vo_slow", voiceSlow)
AudioStreamAppendSegments("sound\\global.lvl", "global_vo_slow", voiceSlow)

voiceQuick = OpenAudioStream("sound\\global.lvl", "rep_unit_vo_quick")
AudioStreamAppendSegments("sound\\global.lvl", "cis_unit_vo_quick", voiceQuick)

OpenAudioStream("sound\\global.lvl", "cw_music")
-- OpenAudioStream("sound\\global.lvl", "global_vo_quick")
-- OpenAudioStream("sound\\global.lvl", "global_vo_slow")
OpenAudioStream("sound\\yav.lvl", "yav1")
OpenAudioStream("sound\\yav.lvl", "yav1")
OpenAudioStream("sound\\yav.lvl", "yav1_emt")

SetBleedingVoiceOver(REP, REP, "rep_off_com_report_us_overwhelmed", 1)
SetBleedingVoiceOver(REP, CIS, "rep_off_com_report_enemy_losing", 1)
SetBleedingVoiceOver(CIS, REP, "cis_off_com_report_enemy_losing", 1)
SetBleedingVoiceOver(CIS, CIS, "cis_off_com_report_us_overwhelmed", 1)

SetOutOfBoundsVoiceOver(2, "cisleaving")
SetOutOfBoundsVoiceOver(1, "repleaving")

SetAmbientMusic(REP, 1.0, "rep_yav_amb_start", 0,1)
SetAmbientMusic(REP, 0.8, "rep_yav_amb_middle", 1,1)
SetAmbientMusic(REP, 0.2, "rep_yav_amb_end", 2,1)
SetAmbientMusic(CIS, 1.0, "cis_yav_amb_start", 0,1)
SetAmbientMusic(CIS, 0.8, "cis_yav_amb_middle", 1,1)
SetAmbientMusic(CIS, 0.2, "cis_yav_amb_end", 2,1)

SetVictoryMusic(REP, "rep_yav_amb_victory")
SetDefeatMusic (REP, "rep_yav_amb_defeat")
SetVictoryMusic(CIS, "cis_yav_amb_victory")
SetDefeatMusic (CIS, "cis_yav_amb_defeat")

SetSoundEffect("ScopeDisplayZoomIn", "binocularzoomin")
SetSoundEffect("ScopeDisplayZoomOut", "binocularzoomout")
--SetSoundEffect("BirdScatter", "birdsFlySeq1")
--SetSoundEffect("WeaponUnableSelect", "com_weap_inf_weaponchange_null")
--SetSoundEffect("WeaponModeUnableSelect", "com_weap_inf_modechange_null")
SetSoundEffect("SpawnDisplayUnitChange", "shell_select_unit")
SetSoundEffect("SpawnDisplayUnitAccept", "shell_menu_enter")
SetSoundEffect("SpawnDisplaySpawnPointChange", "shell_select_change")
SetSoundEffect("SpawnDisplaySpawnPointAccept", "shell_menu_enter")
SetSoundEffect("SpawnDisplayBack", "shell_menu_exit")


--OpeningSateliteShot
AddCameraShot(0.908386, -0.209095, -0.352873, -0.081226, -45.922508, -19.114113, 77.022636);

AddCameraShot(-0.481173, 0.024248, -0.875181, -0.044103, 14.767292, -30.602322, -144.506851);
AddCameraShot(0.999914, -0.012495, -0.004416, -0.000055, 1.143253, -33.602314, -76.884430);
AddCameraShot(0.839161, 0.012048, -0.543698, 0.007806, 19.152437, -49.802273, 24.337317);
AddCameraShot(0.467324, 0.006709, -0.883972, 0.012691, 11.825212, -49.802273, -7.000720);
AddCameraShot(0.861797, 0.001786, -0.507253, 0.001051, -11.986043, -59.702248, 23.263165);
AddCameraShot(0.628546, -0.042609, -0.774831, -0.052525, 20.429928, -48.302277, 9.771714);
AddCameraShot(0.765213, -0.051873, 0.640215, 0.043400, 57.692474, -48.302277, 16.540724);
AddCameraShot(0.264032, -0.015285, -0.962782, -0.055734, -16.681797, -42.902290, 129.553268);
AddCameraShot(-0.382320, 0.022132, -0.922222, -0.053386, 20.670977, -42.902290, 135.513001);
end
gcw lua:
Hidden/Spoiler:
--
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--

ScriptCB_DoFile("setup_teams")
ScriptCB_DoFile("ObjectiveConquest")

-- Empire Attacking (attacker is always #1)
local ALL = 2
local IMP = 1
-- These variables do not change
local ATT = 1
local DEF = 2

function ScriptPostLoad()


--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
cp4 = CommandPost:New{name = "cp4"}



--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}

--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)

conquest:Start()

EnableSPHeroRules()

end


---------------------------------------------------------------------------
-- FUNCTION: ScriptInit
-- PURPOSE: This function is only run once
-- INPUT:
-- OUTPUT:
-- NOTES: The name, 'ScriptInit' is a chosen convention, and each
-- mission script must contain a version of this function, as
-- it is called from C to start the mission.
---------------------------------------------------------------------------

function ScriptInit()

ReadDataFile("ingame.lvl")



SetMaxFlyHeight(40)
SetMaxPlayerFlyHeight(40)


SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",50) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",650) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",550) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",6000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo


ReadDataFile("sound\\tat.lvl;tat2gcw")
ReadDataFile("SIDE\\all.lvl",
"all_inf_rifleman_jungle",
"all_inf_rocketeer_jungle"
"all_inf_pilot",
"all_inf_sniper_jungle",
"all_inf_engineer_jungle",
"all_inf_officer_jungle",
"all_inf_wookiee",
"all_hero_luke_pilot",
"all_hover_fightertank",
"all_fly_xwing",
"all_fly_xwing_sc")

ReadDataFile("SIDE\\imp.lvl",
"imp_inf_rifleman",
"imp_inf_rocketeer",
"imp_inf_engineer",
"imp_inf_sniper",
"imp_inf_officer",
"imp_inf_dark_trooper",
"imp_inf_pilot",
"imp_inf_pilot_tie",
"imp_hero_royal_guard",
"imp_fly_destroyer_dome",
"imp_hover_speederbike",
"imp_hover_fightertank",
"imp_fly_tiefighter_sc")

ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_tat_barge",
"tur_bldg_laser")

SetupTeams{
all = {
team = ALL,
units = 20,
reinforcements = 150,
soldier = { "all_inf_rifleman",9, 25},
assault = { "all_inf_rocketeer",1,4},
engineer = { "all_inf_engineer",1,4},
sniper = { "all_inf_sniper",1,4},
officer = { "all_inf_officer",1,4},
special = { "all_inf_wookiee",1,4},

},
imp = {
team = IMP,
units = 20,
reinforcements = 150,
soldier = { "imp_inf_rifleman",9, 25},
assault = { "imp_inf_rocketeer",1,4},
engineer = { "imp_inf_engineer",1,4},
sniper = { "imp_inf_sniper",1,4},
officer = { "imp_inf_officer",1,4},
special = { "imp_inf_dark_trooper",1,4},
},
}

SetHeroClass(ALL, "all_hero_royal_guard")
SetHeroClass(IMP, "imp_hero_emperor")

-- Level Stats
ClearWalkers()
AddWalkerType(0, 0) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 0) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)

local weaponCnt = 1024
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)

SetSpawnDelay(10.0, 0.25)
ReadDataFile("dc:VLH\\VLH.lvl", "VLH_conquest")
SetDenseEnvironment("false")


-- Sound Stats

voiceSlow = OpenAudioStream("sound\\global.lvl", "all_unit_vo_slow")
AudioStreamAppendSegments("sound\\global.lvl", "imp_unit_vo_slow", voiceSlow)
AudioStreamAppendSegments("sound\\global.lvl", "des_unit_vo_slow", voiceSlow)
AudioStreamAppendSegments("sound\\global.lvl", "global_vo_slow", voiceSlow)

voiceQuick = OpenAudioStream("sound\\global.lvl", "all_unit_vo_quick")
AudioStreamAppendSegments("sound\\global.lvl", "imp_unit_vo_quick", voiceQuick)

OpenAudioStream("sound\\global.lvl", "gcw_music")
OpenAudioStream("sound\\tat.lvl", "tat2")
OpenAudioStream("sound\\tat.lvl", "tat2")
-- OpenAudioStream("sound\\global.lvl", "global_vo_quick")
-- OpenAudioStream("sound\\global.lvl", "global_vo_slow")

SetBleedingVoiceOver(ALL, ALL, "all_off_com_report_us_overwhelmed", 1)
SetBleedingVoiceOver(ALL, IMP, "all_off_com_report_enemy_losing", 1)
SetBleedingVoiceOver(IMP, ALL, "imp_off_com_report_enemy_losing", 1)
SetBleedingVoiceOver(IMP, IMP, "imp_off_com_report_us_overwhelmed", 1)

SetLowReinforcementsVoiceOver(ALL, ALL, "all_off_defeat_im", .1, 1)
SetLowReinforcementsVoiceOver(ALL, IMP, "all_off_victory_im", .1, 1)
SetLowReinforcementsVoiceOver(IMP, IMP, "imp_off_defeat_im", .1, 1)
SetLowReinforcementsVoiceOver(IMP, ALL, "imp_off_victory_im", .1, 1)

SetOutOfBoundsVoiceOver(2, "Allleaving")
SetOutOfBoundsVoiceOver(1, "Impleaving")

SetAmbientMusic(ALL, 1.0, "all_tat_amb_start", 0,1)
SetAmbientMusic(ALL, 0.8, "all_tat_amb_middle", 1,1)
SetAmbientMusic(ALL, 0.2, "all_tat_amb_end", 2,1)
SetAmbientMusic(IMP, 1.0, "imp_tat_amb_start", 0,1)
SetAmbientMusic(IMP, 0.8, "imp_tat_amb_middle", 1,1)
SetAmbientMusic(IMP, 0.2, "imp_tat_amb_end", 2,1)

SetVictoryMusic(ALL, "all_tat_amb_victory")
SetDefeatMusic (ALL, "all_tat_amb_defeat")
SetVictoryMusic(IMP, "imp_tat_amb_victory")
SetDefeatMusic (IMP, "imp_tat_amb_defeat")

SetSoundEffect("ScopeDisplayZoomIn", "binocularzoomin")
SetSoundEffect("ScopeDisplayZoomOut", "binocularzoomout")
--SetSoundEffect("WeaponUnableSelect", "com_weap_inf_weaponchange_null")
--SetSoundEffect("WeaponModeUnableSelect", "com_weap_inf_modechange_null")
SetSoundEffect("SpawnDisplayUnitChange", "shell_select_unit")
SetSoundEffect("SpawnDisplayUnitAccept", "shell_menu_enter")
SetSoundEffect("SpawnDisplaySpawnPointChange", "shell_select_change")
SetSoundEffect("SpawnDisplaySpawnPointAccept", "shell_menu_enter")
SetSoundEffect("SpawnDisplayBack", "shell_menu_exit")

-- Camera Stats
--Tat2 Mos Eisley
AddCameraShot(0.974338, -0.222180, 0.035172, 0.008020, -82.664650, 23.668301, 43.955681);
AddCameraShot(0.390197, -0.089729, -0.893040, -0.205362, 23.563562, 12.914885, -101.465561);
AddCameraShot(0.169759, 0.002225, -0.985398, 0.012916, 126.972809, 4.039628, -22.020613);
AddCameraShot(0.677453, -0.041535, 0.733016, 0.044942, 97.517807, 4.039628, 36.853477);
AddCameraShot(0.866029, -0.156506, 0.467299, 0.084449, 7.685640, 7.130688, -10.895234);
end
Error Log:
Hidden/Spoiler:
C:\BF2_ModTools\data_VLH\_BUILD\Common\..\..\..\ToolsFL\Bin\luac.exe: ..\..\common\scripts\VLH\VLHg_con.lua:79: `)' expected (to close `(' at line 76) near `"all_inf_pilot"'
ERROR[scriptmunge scripts\VLH\VLHg_con.lua]:Could not read input file.ERROR[scriptmunge scripts\VLH\VLHg_con.lua]:Could not read input file. [continuing]
2 Errors 0 Warnings

ERROR[levelpack mission\VLHg_con.req]:Expecting bracket, but none was found.
File : munged\pc\vlhg_con.script.req(1)...

ucft <--
ERROR[levelpack mission\VLHg_con.req]:Expecting bracket, but none was found.
File : munged\pc\vlhg_con.script.req(1)...

ucft <--

2 Errors 0 Warnings

ERROR[levelpack shell.req]:Input file shell.req does not exist. [continuing]
1 Errors 0 Warnings

soundflmunge.exe : Error : Unable to open file ..\gcw\streams\PlayerCommands_vo\AI1COM474.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\all_unit_vo_quick.stm
soundflmunge.exe : Error : Unable to open file ..\gcw\streams\PlayerCommands_vo\AI1COM474.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\all_unit_vo_quick.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\all_unit_vo_quick.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\all_unit_vo_quick.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\GAL\streams\metagame_vo\AOCOM0069.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\all_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\GAL\streams\metagame_vo\AOCOM0069.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\all_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\all_unit_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\all_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\cw\streams\PlayerCommands_vo\CI1COM527.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\cis_unit_vo_quick.stm
soundflmunge.exe : Error : Unable to open file ..\cw\streams\PlayerCommands_vo\CI1COM527.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\cis_unit_vo_quick.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\cis_unit_vo_quick.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\cis_unit_vo_quick.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\GAL\streams\metagame_vo\COCOM0076.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\cis_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\GAL\streams\metagame_vo\COCOM0076.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\cis_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\cis_unit_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\cis_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\cor\streams\Objective_VO\ROCOR0006.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\cor_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\cor\streams\Objective_VO\ROCOR0006.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\cor_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\cor_objective_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\cor_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\cw\streams\mxCISCor01_Act01_lp.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\cw_music.stm
soundflmunge.exe : Error : Unable to open file ..\cw\streams\mxCISCor01_Act01_lp.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\cw_music.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\cw_music.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\cw_music.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\dea\streams\Objective_VO\IODEA0010.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\dea_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\dea\streams\Objective_VO\IODEA0010.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\dea_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\dea_objective_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\dea_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file streams\desert_battlechatter_vo\jawa_01.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\des_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file streams\desert_battlechatter_vo\jawa_01.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\des_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\des_unit_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\des_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\fel\streams\Objective_VO\ROFEL0005.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\fel_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\fel\streams\Objective_VO\ROFEL0005.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\fel_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\fel_objective_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\fel_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file streams\gamorian_guard_battlechatter_vo\gamoreanGuard_01.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\gam_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file streams\gamorian_guard_battlechatter_vo\gamoreanGuard_01.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\gam_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\gam_unit_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\gam_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\gcw\streams\mxAllDag01_Amb01_lp.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\gcw_music.stm
soundflmunge.exe : Error : Unable to open file ..\gcw\streams\mxAllDag01_Amb01_lp.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\gcw_music.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\gcw_music.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\gcw_music.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\geo\streams\Objective_VO\ROGEO0011.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\geo_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\geo\streams\Objective_VO\ROGEO0011.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\geo_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\geo_objective_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\geo_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file streams\ui_objComplete_1.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\global_vo_quick.stm
soundflmunge.exe : Error : Unable to open file streams\ui_objComplete_1.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\global_vo_quick.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\global_vo_quick.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\global_vo_quick.stm
soundflmunge.exe : Error : Unable to open file ..\global\effects\crtr_wookiee_chatter_01.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\global_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\global\effects\crtr_wookiee_chatter_01.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\global_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\global_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\global_vo_slow.stm
soundflmunge.exe : Error : Unable to open file streams\gungan_battlechatter_vo\GI1COM007.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\gun_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file streams\gungan_battlechatter_vo\GI1COM007.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\gun_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\gun_unit_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\gun_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\hot\streams\Objective_VO\CVHOT0004.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\hot_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\hot\streams\Objective_VO\CVHOT0004.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\hot_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\hot_objective_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\hot_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\gcw\streams\PlayerCommands_vo\II1COM751.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\imp_unit_vo_quick.stm
soundflmunge.exe : Error : Unable to open file ..\gcw\streams\PlayerCommands_vo\II1COM751.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\imp_unit_vo_quick.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\imp_unit_vo_quick.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\imp_unit_vo_quick.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\GAL\streams\metagame_vo\IOCOM0078.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\imp_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\GAL\streams\metagame_vo\IOCOM0078.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\imp_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\imp_unit_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\imp_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\kam\streams\Objective_VO\IOKAM0002.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\kam_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\kam\streams\Objective_VO\IOKAM0002.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\kam_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\kam_objective_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\kam_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\kas\streams\Objective_VO\ROKAS0001.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\KAS_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\kas\streams\Objective_VO\ROKAS0001.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\KAS_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\KAS_objective_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\KAS_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\mus\streams\Objective_VO\IOMUS0001.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\mus_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\mus\streams\Objective_VO\IOMUS0001.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\mus_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\mus_objective_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\mus_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\myg\streams\Objective_VO\ROMYG0001.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\myg_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\myg\streams\Objective_VO\ROMYG0001.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\myg_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\myg_objective_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\myg_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\nab\streams\Objective_VO\IONAB0013.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\nab_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\nab\streams\Objective_VO\IONAB0013.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\nab_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\nab_objective_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\nab_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\pol\streams\Objective_VO\IOPOL0001.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\pol_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\pol\streams\Objective_VO\IOPOL0001.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\pol_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\pol_objective_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\pol_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\cw\streams\PlayerCommands_vo\RI1COM628.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\rep_unit_vo_quick.stm
soundflmunge.exe : Error : Unable to open file ..\cw\streams\PlayerCommands_vo\RI1COM628.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\rep_unit_vo_quick.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\rep_unit_vo_quick.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\rep_unit_vo_quick.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\GAL\streams\metagame_vo\ROCOM0066.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\rep_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\GAL\streams\metagame_vo\ROCOM0066.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\rep_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\rep_unit_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\rep_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\spa\streams\Objective_VO\IOSB50028.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\spa1_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\spa\streams\Objective_VO\IOSB50028.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\spa1_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\spa1_objective_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\spa1_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\tan\streams\Objective_VO\IOTAN0001.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\tan_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\tan\streams\Objective_VO\IOTAN0001.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\tan_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\tan_objective_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\tan_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\uta\streams\Objective_VO\ROUTA0020.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\uta_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\uta\streams\Objective_VO\ROUTA0020.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\uta_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\uta_objective_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\uta_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file streams\wookiee_battlechatter_vo\crtr_wookiee_babyCry_01.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\wok_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file streams\wookiee_battlechatter_vo\crtr_wookiee_babyCry_01.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\wok_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\wok_unit_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\wok_unit_vo_slow.stm
soundflmunge.exe : Error : Unable to open file streams\wookiee_battlechatter_vo\crtr_wookiee_die_07.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\wok_vo_quick.stm
soundflmunge.exe : Error : Unable to open file streams\wookiee_battlechatter_vo\crtr_wookiee_die_07.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\wok_vo_quick.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\wok_vo_quick.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\wok_vo_quick.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\yav\streams\Objective_VO\IOYAV0008.wav - while munging C:\BF2_ModTools\data_VLH\Sound\global\yav_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file ..\worlds\yav\streams\Objective_VO\IOYAV0008.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\global\yav_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\global\yav_objective_vo_slow.stm - while munging C:\BF2_ModTools\data_VLH\Sound\global\yav_objective_vo_slow.stm
soundflmunge.exe : Error : Unable to open file effects\whooshl3.wav - while munging C:\BF2_ModTools\data_VLH\Sound\shell\shell.sfx
soundflmunge.exe : Error : Unable to open file effects\whooshl3.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\shell\shell.sfx
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\shell\shell.sfx - while munging C:\BF2_ModTools\data_VLH\Sound\shell\shell.sfx
soundflmunge.exe : Error : Unable to open file streams\shell_closing.wav - while munging C:\BF2_ModTools\data_VLH\Sound\shell\shell_music.stm
soundflmunge.exe : Error : Unable to open file streams\shell_closing.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\shell\shell_music.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\shell\shell_music.stm - while munging C:\BF2_ModTools\data_VLH\Sound\shell\shell_music.stm
soundflmunge.exe : Error : Unable to open file ..\global\effects\crtr_wookiee_chatter_01.wav - while munging C:\BF2_ModTools\data_VLH\Sound\shell\shell_vo.stm
soundflmunge.exe : Error : Unable to open file ..\global\effects\crtr_wookiee_chatter_01.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\shell\shell_vo.stm
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\shell\shell_vo.stm - while munging C:\BF2_ModTools\data_VLH\Sound\shell\shell_vo.stm
soundflmunge.exe : Error : Unable to open file streams\ui_amb_cis_CtrlShip_lp_fnt.wav - while munging C:\BF2_ModTools\data_VLH\Sound\shell\shell_ui.st4
soundflmunge.exe : Error : Unable to open file streams\ui_amb_cis_CtrlShip_lp_fnt.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\shell\shell_ui.st4
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\shell\shell_ui.st4 - while munging C:\BF2_ModTools\data_VLH\Sound\shell\shell_ui.st4
soundflmunge.exe : Error : Unable to open file C:\BF2_ModTools\data_VLH\Sound\shell\effects\whooshl3.wav - while munging C:\BF2_ModTools\data_VLH\Sound\shell\shell.sfx
soundflmunge.exe : Error : Unable to open file C:\BF2_ModTools\data_VLH\Sound\shell\effects\whooshl3.wav, format may be invalid - while munging C:\BF2_ModTools\data_VLH\Sound\shell\shell.sfx
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_VLH\Sound\shell\shell.sfx - while munging C:\BF2_ModTools\data_VLH\Sound\shell\shell.sfx

Re: Other Heroes

Posted: Thu Jun 10, 2010 8:37 pm
by lucasfart
First of all, thats your munge log, second, you have "w w" after the rep inf pilot line, which is kinda weird/will make it not work. Thirdly, you need to put masterkoon in another rep.lvl with a dc: at the start.

So it should look like this:
ReadDataFile("dc:SIDE//rep.lvl",
"rep_hero_masterkoon")

If you're making a custom unit, you always need to put it in a side with dc: at the start. If your sides 3 letter name isn't rep, change rep.lvl to whatever your sidename is.

Re: Other Heroes

Posted: Thu Jun 10, 2010 8:52 pm
by Press_Tilty
I fixed "w w" right after copying.
Now it won't even play CW Conquest in IA. I think it tells me why in my munge log, but I don't know how to read it.

EDIT: Fixed a little thing in GCW lua, and now it doesn't work either :runaway:

Re: Other Heroes

Posted: Thu Jun 10, 2010 11:42 pm
by lucasfart
Do you know how to generate an error log?

Go to c:/ProgramFiles/Lucasarts/Starwarsbattlefront2/gamedata folder and copy the bf2_modtools.exe there. Then run it and open your map. When it crashes look in this folder for an error log, called swbf2.log, i think. Can't remember.....

Post that file, and we'll know where your problem is.....

I'm guessing that you didn't set up your side properly, though. Did you remember to munge the side after you'd made it, and also did you munge the common side folder?

Re: Other Heroes

Posted: Fri Jun 11, 2010 6:36 pm
by Press_Tilty
\\ or // after SIDE?

It asks for the CD, which is odd, since BF doesn't (I run in Safe Mode, non Safe Mode won't work, idk why).

Here's my CW lua:
Hidden/Spoiler:
--
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--

-- load the gametype script
ScriptCB_DoFile("ObjectiveConquest")
ScriptCB_DoFile("setup_teams")

-- REP Attacking (attacker is always #1)
REP = 1;
CIS = 2;
-- These variables do not change
ATT = REP;
DEF = CIS;


function ScriptPostLoad()


--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
cp4 = CommandPost:New{name = "cp4"}



--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}

--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)

conquest:Start()

EnableSPHeroRules()

end


---------------------------------------------------------------------------
-- FUNCTION: ScriptInit
-- PURPOSE: This function is only run once
-- INPUT:
-- OUTPUT:
-- NOTES: The name, 'ScriptInit' is a chosen convention, and each
-- mission script must contain a version of this function, as
-- it is called from C to start the mission.
---------------------------------------------------------------------------
function ScriptInit()

ReadDataFile("ingame.lvl")


SetMaxFlyHeight(30)
SetMaxPlayerFlyHeight (30)

SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",50) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",650) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",550) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",6000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo

ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep2_rifleman",
"rep_inf_ep2_rocketeer",
"rep_inf_ep2_engineer",
"rep_inf_ep3_sniper_felucia",
"rep_inf_ep3_officer",
"rep_inf_ep2_jettrooper",
"rep_hover_fightertank",
"rep_hover_barcspeeder",
"rep_hover_fightertank",
"rep_fly_arc170fighter_dome",
"rep_fly_arc170fighter",
"rep_fly_arc170fighter_sc")
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_hero_masterkoon")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_pilot",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_jangofett",
"cis_hover_aat",
"cis_hover_stap",
"cis_fly_droidfighter_sc",
"cis_fly_droidfighter_dome")



ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")

SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep2_rifleman",9, 25},
assault = { "rep_inf_ep2_rocketeer",1, 4},
engineer = { "rep_inf_ep2_engineer",1, 4},
sniper = { "rep_inf_ep3_sniper_felucia",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep2_jettrooper",1, 4},

},
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = { "cis_inf_rifleman",9, 25},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},
}
}

SetHeroClass(CIS, "cis_hero_jangofett")
SetHeroClass(REP, "rep_hero_masterkoon")

-- Level Stats
-- ClearWalkers()
AddWalkerType(0, 4) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 0) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)
local weaponCnt = 1024
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)

SetSpawnDelay(10.0, 0.25)
--ReadDataFile("dc:VLH\\VLH.lvl", "VLH_conquest")
ReadDataFile("dc:VLH\\VLH.lvl", "VLH_conquest")
SetDenseEnvironment("false")




-- Sound

SetSoundEffect("ScopeDisplayZoomIn", "binocularzoomin")
SetSoundEffect("ScopeDisplayZoomOut", "binocularzoomout")

voiceSlow = OpenAudioStream("sound\\global.lvl", "rep_unit_vo_slow")
AudioStreamAppendSegments("sound\\global.lvl", "cis_unit_vo_slow", voiceSlow)
AudioStreamAppendSegments("sound\\global.lvl", "global_vo_slow", voiceSlow)

voiceQuick = OpenAudioStream("sound\\global.lvl", "rep_unit_vo_quick")
AudioStreamAppendSegments("sound\\global.lvl", "cis_unit_vo_quick", voiceQuick)

OpenAudioStream("sound\\global.lvl", "cw_music")
-- OpenAudioStream("sound\\global.lvl", "global_vo_quick")
-- OpenAudioStream("sound\\global.lvl", "global_vo_slow")
OpenAudioStream("sound\\yav.lvl", "yav1")
OpenAudioStream("sound\\yav.lvl", "yav1")
OpenAudioStream("sound\\yav.lvl", "yav1_emt")

SetBleedingVoiceOver(REP, REP, "rep_off_com_report_us_overwhelmed", 1)
SetBleedingVoiceOver(REP, CIS, "rep_off_com_report_enemy_losing", 1)
SetBleedingVoiceOver(CIS, REP, "cis_off_com_report_enemy_losing", 1)
SetBleedingVoiceOver(CIS, CIS, "cis_off_com_report_us_overwhelmed", 1)

SetOutOfBoundsVoiceOver(2, "cisleaving")
SetOutOfBoundsVoiceOver(1, "repleaving")

SetAmbientMusic(REP, 1.0, "rep_yav_amb_start", 0,1)
SetAmbientMusic(REP, 0.8, "rep_yav_amb_middle", 1,1)
SetAmbientMusic(REP, 0.2, "rep_yav_amb_end", 2,1)
SetAmbientMusic(CIS, 1.0, "cis_yav_amb_start", 0,1)
SetAmbientMusic(CIS, 0.8, "cis_yav_amb_middle", 1,1)
SetAmbientMusic(CIS, 0.2, "cis_yav_amb_end", 2,1)

SetVictoryMusic(REP, "rep_yav_amb_victory")
SetDefeatMusic (REP, "rep_yav_amb_defeat")
SetVictoryMusic(CIS, "cis_yav_amb_victory")
SetDefeatMusic (CIS, "cis_yav_amb_defeat")

SetSoundEffect("ScopeDisplayZoomIn", "binocularzoomin")
SetSoundEffect("ScopeDisplayZoomOut", "binocularzoomout")
--SetSoundEffect("BirdScatter", "birdsFlySeq1")
--SetSoundEffect("WeaponUnableSelect", "com_weap_inf_weaponchange_null")
--SetSoundEffect("WeaponModeUnableSelect", "com_weap_inf_modechange_null")
SetSoundEffect("SpawnDisplayUnitChange", "shell_select_unit")
SetSoundEffect("SpawnDisplayUnitAccept", "shell_menu_enter")
SetSoundEffect("SpawnDisplaySpawnPointChange", "shell_select_change")
SetSoundEffect("SpawnDisplaySpawnPointAccept", "shell_menu_enter")
SetSoundEffect("SpawnDisplayBack", "shell_menu_exit")


--OpeningSateliteShot
AddCameraShot(0.908386, -0.209095, -0.352873, -0.081226, -45.922508, -19.114113, 77.022636);

AddCameraShot(-0.481173, 0.024248, -0.875181, -0.044103, 14.767292, -30.602322, -144.506851);
AddCameraShot(0.999914, -0.012495, -0.004416, -0.000055, 1.143253, -33.602314, -76.884430);
AddCameraShot(0.839161, 0.012048, -0.543698, 0.007806, 19.152437, -49.802273, 24.337317);
AddCameraShot(0.467324, 0.006709, -0.883972, 0.012691, 11.825212, -49.802273, -7.000720);
AddCameraShot(0.861797, 0.001786, -0.507253, 0.001051, -11.986043, -59.702248, 23.263165);
AddCameraShot(0.628546, -0.042609, -0.774831, -0.052525, 20.429928, -48.302277, 9.771714);
AddCameraShot(0.765213, -0.051873, 0.640215, 0.043400, 57.692474, -48.302277, 16.540724);
AddCameraShot(0.264032, -0.015285, -0.962782, -0.055734, -16.681797, -42.902290, 129.553268);
AddCameraShot(-0.382320, 0.022132, -0.922222, -0.053386, 20.670977, -42.902290, 135.513001);
end
I followed the packaged Jedi Creation tutorial for the Sides.
Here's my layout:

data_VLH > Sides > rep >
effects
msh
mungd
odf
req
rep.req

I've munged just rep+Common and I've munged everything. (I use Fake Console to unlock the hero-which works for CIS, so that's not the problem.

Thanks all!

Re: Other Heroes

Posted: Fri Jun 11, 2010 6:49 pm
by 501st_commander
Press_Tilty wrote:\\ or // after SIDE?

It asks for the CD, which is odd, since BF doesn't (I run in Safe Mode, non Safe Mode won't work, idk why).
\\ (local file) // (interent file)

use \\


It asks because it needs it... If you dont want to use it the download the dvd version (look in faq).

Re: Other Heroes

Posted: Fri Jun 11, 2010 7:06 pm
by Press_Tilty
I figured out the problem, I had an extra folder in my Worlds directory, and it munged it instead. I munged properly but now :plokoon: has no name, and all his weapon's names are those like wear_force_push sort of thing. how do I fix that?

Re: Other Heroes

Posted: Fri Jun 11, 2010 7:17 pm
by CressAlbane

Re: Other Heroes

Posted: Fri Jun 11, 2010 7:40 pm
by Press_Tilty
Where's the localize tool he mentions?

Re: Other Heroes

Posted: Fri Jun 11, 2010 8:00 pm
by AQT
You initiate the tool by double-clicking on the batch file called editlocalize, located in your data_*** folder.

Re: Other Heroes

Posted: Fri Jun 11, 2010 8:43 pm
by Press_Tilty
Got him fully localized.

Thanks a lot guys, this is one of the helpfullest forums I've joined.
I'll post a WIP as soon as I get my turrets loaded and stuff pathed.