*Fixed* An example of bad debugging. Must'a been tired...

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
Ace_Azzameen_5
Jedi
Jedi
Posts: 1119
Joined: Sat Apr 23, 2005 8:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

*Fixed* An example of bad debugging. Must'a been tired...

Post by Ace_Azzameen_5 »

Former Title: All my Base are not Loading! (Lack of Terrain is Abyssmal) For some reason, in the various modes of my map that I am working on, the Base LYR objects are not loading. The terrain is also missing. So, when I spawn, I fall into the Abyss, the few mode-specific objects flashing by.

Can I get an overview of where to look for missing calls/refrences?

I can't seem to pin-point why the things not loading.

Maybe some familiar clues in here:

Code: Select all

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\VOHelper.cpp(183)
VOSound (cis1_inf_pc_com_defend_inVehicle): unknown modifier "InVehicle"

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Weapon.cpp(82)
Weapon 'rep_weap_prop_gunship_ball' is not localized for stats page

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\StringDB.cpp(48)
ID=fda147b2: trying to replace "rep_prop_gunship" with "rep_
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Team.cpp(884)
Missing a localized team name for this level, level..local

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Team.cpp(439)
level..locals not localized
.... (Occurs about 100 times)
....
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Team.cpp(439)
level..locals not localized

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(3342)
Animation group "elevator" not found

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(3342)
Animation group "Movingpropgunships" not found

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\ActiveRegion.cpp(186)
Region "bldertrgr" not found

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(3342)
Animation group "Elevator" not found
Last edited by Ace_Azzameen_5 on Sun Jun 17, 2007 10:28 am, edited 2 times in total.
theITfactor
Chief Warrant Officer
Chief Warrant Officer
Posts: 327
Joined: Wed Jun 28, 2006 12:56 pm
Projects :: The Pwnfest and Games Complex
Games I'm Playing :: SWTOR
xbox live or psn: You and I Know
Location: The Old Republic
Contact:

Post by theITfactor »

The invehicle errors are nothing, don't bother with them. It also seems you tried to make an elevator, but didn't name its animation group. You probably just named the animation itself. Same goes for a few more animations. You also are missing some trigger regions it seems, and as far as the not localized goes, you need to run editlocalize.bat and add in all the custom units and weapons you have on your map.

Try and find any severity 3 errors and post those.
User avatar
authraw
1st Lieutenant
1st Lieutenant
Posts: 445
Joined: Mon Jun 26, 2006 3:45 pm

Post by authraw »

This is officially the best-named topic in the forum. Congratulations!

Did you add those modes before or after creating the base layer? I seem to remember someone having problems with creating modes after the base had already been built. And you're certain that all of the spawn points are above the terrain?
Darth_Maleval
Private
Posts: 40
Joined: Thu Jun 07, 2007 9:11 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: On Blue team in Sidewinder

Post by Darth_Maleval »

All your base are belong to us. :D sorry. Couldn't resist.
Ace_Azzameen_5
Jedi
Jedi
Posts: 1119
Joined: Sat Apr 23, 2005 8:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Ace_Azzameen_5 »

theITfactor wrote:The invehicle errors are nothing, don't bother with them. It also seems you tried to make an elevator, but didn't name its animation group. You probably just named the animation itself. Same goes for a few more animations. You also are missing some trigger regions it seems, and as far as the not localized goes, you need to run editlocalize.bat and add in all the custom units and weapons you have on your map.

Try and find any severity 3 errors and post those.
This missing regions and the animation problems are a symptom of the missing base, AFAIK. The missing localization is unnecessary because the team name never appears on any menu.

This map worked fine with many new modes for ages (Except for a freeze caused by reaching the object limit-which, ironically, this error TEMPORARILY cured...but nvm about that. RAce Mode just need less railing objects...)

Its been a while since this occured. I can't remember the last thing i did, but I think it was-completely unrelated.

Help?

Maybe if some advanced modder could help me list all the places the base (and wld file?) needs to be req'd and called.

Edit, I think somethings wrong with my req...

Code: Select all

ucft
{
	REQN
	{
		"config"
	}

	REQN
	{
		"texture"
		"ACE_map"
	}
	REQN
	{
		"path"
		"ACE"
	}
	REQN
	{
		"congraph"
		"ACE"
	}
	REQN
	{
		"envfx"
		"ACE"
	}
	REQN
	{
		"envfx"
		"ACE"
	}
	REQN
	{
		"prop"
		"ACE"
	}
	REQN
	{
		"class"
		"bluelight"
		"redlight"
		"greenlight"
		"whitelight"
	}
	REQN
	{
		"config"
		"flyerspray"
		"walkerstomp"
		"hailfire_wake"
	}
	REQN
	{
		"lvl"
		"ACE_conquest"
		"ACE_ctf"
		"ACE_1flag"
		"ACE_eli"
		"ACE_race"
		"ACE_campaigngcw"
		"ACE_campaigncw"
	}
   	REQN
   	{
      		"povs"
      		"ace"   
   	}
}
*Edit* Fixed :oops:
Post Reply