Serious Spawing issues

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
=AOX=Durge
Command Sergeant Major
Command Sergeant Major
Posts: 259
Joined: Sun Jul 02, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Slim Jimian Jungle

Serious Spawing issues

Post by =AOX=Durge »

Ive created a new map that was supposed to be released today. Unfortunatly though, you can't spawn and I encountered 3 possibly importent errors:

Message Severity: 3
.\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open dc:TWS\TWS.lvl
Message Severity: 3
.\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to perform arithmetic on a nil value
stack traceback:
(none): in function `AddCommandPost'
(none): in function `ScriptPostLoad'
Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(3776)
Command Post "cp1" not found

What did I do wrong?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Serious Spawing issues

Post by Maveritchell »

=AOX=Durge wrote:Ive created a new map that was supposed to be released today. Unfortunatly though, you can't spawn and I encountered 3 possibly importent errors:

Message Severity: 3
.\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open dc:TWS\TWS.lvl
Message Severity: 3
.\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to perform arithmetic on a nil value
stack traceback:
(none): in function `AddCommandPost'
(none): in function `ScriptPostLoad'
Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(3776)
Command Post "cp1" not found

What did I do wrong?
You probably either made a large change in your .lua that's precluding it working or you misnamed a commandpost or spawnpath (in either ZE or your .lua) Look under "function ScriptPostLoad" (in the .lua) where you either define CPs or add them to the objective. And check ZE.
=AOX=Durge
Command Sergeant Major
Command Sergeant Major
Posts: 259
Joined: Sun Jul 02, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Slim Jimian Jungle

RE: Re: Serious Spawing issues

Post by =AOX=Durge »

I doubt that this but, could it have anything to do with VisualMunge getting stuck munging one prop?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: RE: Re: Serious Spawing issues

Post by Maveritchell »

=AOX=Durge wrote:I doubt that this but, could it have anything to do with VisualMunge getting stuck munging one prop?
No. I don't think I've ever seen a simple prop crash a map.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

RE: Re: RE: Re: Serious Spawing issues

Post by [RDH]Zerted »

Message Severity: 3
.\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open dc:TWS\TWS.lvl
Fix your first error before even reading the other ones (which happen to be all caused by it). Somewhere your munge failed. Do a full clean and try again. Don't forget to check common.
Post Reply