so, your game worked for two minutes before crashing? Because that sais thereis no custom rep side in your map.
Re: rep.lvl missing ?
Posted: Thu Dec 11, 2008 9:47 pm
by philomen
yes i have a costum rep side in my map ... thats what i don't get ... and it works with my costum side for the time it works ... i can even play cis all game but after the 1-2 mins if i switch rep crash ... and they r costum sides with costum skins and weapons and all ...
Re: rep.lvl missing ?
Posted: Thu Dec 11, 2008 10:53 pm
by Fiodis
For the first error, I'd suggest looking for a hud file from the shipped rep side and moving it over. It looks like the game can't find it.
Ditto for the others.
Out of curiosity, could we see your LUA?
Re: rep.lvl missing ?
Posted: Thu Dec 11, 2008 11:02 pm
by Frisbeetarian
Sounds like a secondary weapon that an AI is just getting around to using.
Re: rep.lvl missing ?
Posted: Thu Dec 11, 2008 11:07 pm
by philomen
This is the 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"}
cp5 = CommandPost:New{name = "cp5"}
cp6 = CommandPost:New{name = "cp6"}
--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
-- 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("dc:Load\\common.lvl")
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
and what do you mean by trying to use ? what does that mean ... that they don't know how to use that weapon and it crashes ?
Re: rep.lvl missing ?
Posted: Thu Dec 11, 2008 11:08 pm
by Deviss
could you post your bfront2.log??
Re: rep.lvl missing ?
Posted: Fri Dec 12, 2008 1:20 am
by Delta 47
DEVISS-REX wrote:could you post your bfront2.log??
Ahem,
philomen wrote:Ok my game crashes after about 1 minute or two of play and in the Bfront2.log it says :
Hidden/Spoiler:
[code]
Message Severity: 3
.\Source\HUDManager.cpp(619)
HUD unable to find HUD element type 0x16ce484a
Message Severity: 3
.\Source\LoadUtil.cpp(829)
Unable to find level chunk in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\GUS\Data\_lvl_pc\SIDE\rep.lvl
Message Severity: 3
.\Source\LoadUtil.cpp(1019)
Unable to find level chunk in dc:SIDE\rep.lvl
[/code]
Re: rep.lvl missing ?
Posted: Fri Dec 12, 2008 5:09 am
by MercuryNoodles
The level chunk errors mean you have a req problem, or it didn't munge properly. The texture error comes from having RLE compression on when you save the targa.
ok could the texture saved with RLE compression crash the game cause i really don't know what texture it could be
Oh and I tried to to what you Aman/Pinguin but didn't work ... any other idea ? anything else that would help you help me lol ?
Re: rep.lvl missing ?
Posted: Fri Dec 12, 2008 7:34 pm
by Frisbeetarian
Double check the weapons, make sure they're set up correctly and remunge.
I say this assuming you've already done a manual clean, remunged, and gotten the same problem [/hint: do this first]
Re: rep.lvl missing ?
Posted: Fri Dec 12, 2008 9:01 pm
by philomen
ok i did a manual clean and still doesn't work ... and i lost my beloved loadscreen lol
anyways what do you mean by checking if the weapons are set correctly ???
U mean the odf ? msh ? ord ? lol sry ... still gotta get used to all this
Re: rep.lvl missing ?
Posted: Sat Dec 13, 2008 1:04 am
by Frisbeetarian
What all have you changed in terms of the weapons? According to your Lua, you've changed something on every unit, even the heroes, and even added new units, but it doesn't tell us what, if anything you've changed on the weapons.
And in terms of the load screen, you didn't lose it, you just need to move the .lvl back into the folder manually like you had to in the first place.
Re: rep.lvl missing ?
Posted: Sat Dec 13, 2008 9:06 am
by philomen
kk and that could be the problem ???
cause i changed alot of weapons ... well actualy all exept the rocket launcher and the sniper ... ( does laser color change count ? )
Could the problem be when the ai try to use the weapons ? cause i really don't know what weapons could be wrong ... last thing i changed before that was the pistol ... i gave him the rile odf and changed the fire rate and amo ...
( oh i also changed the models of the award weapons ... )
I don't think there is anyting wrong though ... do you wanna see their odfs ?
Re: rep.lvl missing ?
Posted: Sat Dec 13, 2008 6:15 pm
by Frisbeetarian
To make sure that it is a weapon, see if you can duplicate the results yourself. Run the ModTools and use every weapon, once should be good enough. If you don't get a crash, then it's probably not a weapon. If you do get a crash, try it again to verify the results, but make sure that you are the one creating the crash, not the AI.
Re: rep.lvl missing ?
Posted: Sat Dec 13, 2008 6:44 pm
by philomen
kk and what do i do if it is the AI cause i am pretty sure its them and yes it must be a weapon .. changing the award weapons model , could that cause a crash ?
Re: rep.lvl missing ?
Posted: Sat Dec 13, 2008 7:03 pm
by Frisbeetarian
What I'm saying is that you should use the units to cause the crash before they do. It may take more than one try because you may not make it all the way down the list before the AI causes it to crash with a weapon you haven't reached yet.
You could also just take the AI out of the level to test it, but you would then have to edit the Lua and remunge.
Re: rep.lvl missing ?
Posted: Sat Dec 13, 2008 8:16 pm
by philomen
I've tested all the weapons but none seems related to the crash ... it still crashes ater 1-2 minutes ... but just to make sure, if i have a pistol odf that looks like this :