Message Severity: 3
.\Source\LoadUtil.cpp(829)
Unable to find level chunk rep_inf_327th_trooper1 in C:\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\AddOn\FAL\Data\_lvl_pc\SIDE\rep.lvl
Message Severity: 3
.\Source\LoadUtil.cpp(829)
Unable to find level chunk rep_inf_327th_trooper2 in C:\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\AddOn\FAL\Data\_lvl_pc\SIDE\rep.lvl
Message Severity: 3
.\Source\LoadUtil.cpp(829)
Unable to find level chunk rep_inf_327th_trooper3 in C:\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\AddOn\FAL\Data\_lvl_pc\SIDE\rep.lvl
Message Severity: 3
.\Source\LoadUtil.cpp(829)
Unable to find level chunk rep_inf_327th_trooper5 in C:\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\AddOn\FAL\Data\_lvl_pc\SIDE\rep.lvl
Message Severity: 3
.\Source\LoadUtil.cpp(1019)
Unable to find level chunk in dc:SIDE\rep.lvl
at first, I at first I didb't jave the units even in the side, so I set them up perfectly , (look up) I get that error. I also did a search, but I didn't find a way to solve it.
Last edited by genaral_mitch on Thu Jan 07, 2010 10:37 pm, edited 1 time in total.
---------------------------------------------------------------------------
-- 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 ScriptPostLoad()
--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1-1"}
cp2 = CommandPost:New{name = "cp2-1"}
cp3 = CommandPost:New{name = "cp3-1"}
cp4 = CommandPost:New{name = "cp4-1"}
cp5 = CommandPost:New{name = "cp5-1"}
cp6 = CommandPost:New{name = "cp6-1"}
--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:AddCommandPost(cp5)
conquest:AddCommandPost(cp6)
conquest:Start()
EnableSPHeroRules()
end
function ScriptInit()
StealArtistHeap(132*1024)
-- Designers, these two lines *MUST* be first.
SetPS2ModelMemory(3200000)
ReadDataFile("ingame.lvl")
-- Republic Attacking (attacker is always #1)
local REP = 1
local CIS = 2
-- These variables do not change
local ATT = 1
local DEF = 2