Units not spawning
Moderator: Moderators
-
Master Fionwë
- Rebel Colonel

- Posts: 598
- Joined: Wed May 30, 2007 3:33 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: At RCTC
- Contact:
Units not spawning
I just added a ninth unit to the republic side, and now the units aren't spawning for either team, nor the two teams of locals. The locals I'm not too worried about, I haven't gotten them to spawn before, but the rep and cis have spawned before adding the ninth unit to the roster. I can still spawn, but the ai don't. Could someone please help me figure out why no units spawn, and help me fix it?
Thanks in advance!
Thanks in advance!
-
Commander_Cody771
- Vader's Apprentice
- Posts: 1069
- Joined: Thu Jun 07, 2007 5:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Looking for a new CPU
- Contact:
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
-
VF501
- Lieutenant Colonel

- Posts: 539
- Joined: Fri Jun 08, 2007 1:18 am
- Projects :: Various Stuff- Weapon models. UDK Stuff
- xbox live or psn: Vintage Tagious
- Location: Terra Firma, Sol System; Milky Way
-
Master Fionwë
- Rebel Colonel

- Posts: 598
- Joined: Wed May 30, 2007 3:33 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: At RCTC
- Contact:
Okay, here is the lua:
Since I'm posting this, after finding out why the units aren't spawning, could you please help me with another problem. The jedi seem to be hostile to the republic, their cp is red.
EDIT: I have no idea why that smiley showed up. It's not in the script, there is an 8 and a ) there.
Oh, that's why.
EDIT2: I tried a clean, nothing. And now, not only does the ai still not spawn, but now the vehicles are decaying again, inside the correct control region.
Hidden/Spoiler:
EDIT: I have no idea why that smiley showed up. It's not in the script, there is an 8 and a ) there.
Oh, that's why.
EDIT2: I tried a clean, nothing. And now, not only does the ai still not spawn, but now the vehicles are decaying again, inside the correct control region.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
-
Master Fionwë
- Rebel Colonel

- Posts: 598
- Joined: Wed May 30, 2007 3:33 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: At RCTC
- Contact:
- Challenger33
- Lieutenant General

- Posts: 726
- Joined: Wed Aug 23, 2006 3:44 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a legion of papercraft models.
- Contact:
I have an idea, but I need to verify it (can someone verify that this is what needs to be changed). I think you need to add more SetTeamAsFriend Lines (and enemy) under the Locals Section and the Defender Section. I don't know if that is the problem, I have never done stuff like that beforeMaster Fionwë wrote:Okay, I'll check that. How do set the jedi as friendly to the rep, and the geonosians as enemies to them?
-:royal:
-
Master Fionwë
- Rebel Colonel

- Posts: 598
- Joined: Wed May 30, 2007 3:33 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: At RCTC
- Contact:
Okay, the jedi cp is blue now. Thanks Challenger! But the ai still doesn't spawn. I can, though. @Teancum. It is cp0. Though cp2 and 8 are CP2 and CP8 in the ZE, but it won't let me change that. Could it be that? Or the way I added the ninth unit?
EDIT: I removed the ninth unit, and that was not the problem. I am getting a bit frustrated with this. I can not find anything that is wrong. I did a clean of the map and the common, but nothing works. I'm going to try a full clean, scripts, map, sides. Maybe that will fix the problem.
It's the same exact thing that happened in Bespin: Cloud City, in the conversion pack 1.75. Anyone know how that was fixed?
EDIT: I removed the ninth unit, and that was not the problem. I am getting a bit frustrated with this. I can not find anything that is wrong. I did a clean of the map and the common, but nothing works. I'm going to try a full clean, scripts, map, sides. Maybe that will fix the problem.
It's the same exact thing that happened in Bespin: Cloud City, in the conversion pack 1.75. Anyone know how that was fixed?
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
-
Master Fionwë
- Rebel Colonel

- Posts: 598
- Joined: Wed May 30, 2007 3:33 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: At RCTC
- Contact:
Okay. I get it.
I did a complete clean, everything was done. Then I remunged it all. I go into the game, and no ai spawn again, even though I fixed the cp thing. So I just started messing around on the map, and tampering with the fake console. I hit the AI Clear Goal Conquest thing, and after about five seconds my atte started moving, and my ships taking off. I got in one and found the ai had spawned, but then it crashed. This was about ten minutes after starting the battle.
Could that be related at all to hitting that command in the console? Or was it just some freaky thing the game did, or related to the script?
I did a complete clean, everything was done. Then I remunged it all. I go into the game, and no ai spawn again, even though I fixed the cp thing. So I just started messing around on the map, and tampering with the fake console. I hit the AI Clear Goal Conquest thing, and after about five seconds my atte started moving, and my ships taking off. I got in one and found the ai had spawned, but then it crashed. This was about ten minutes after starting the battle.
Could that be related at all to hitting that command in the console? Or was it just some freaky thing the game did, or related to the script?
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
- Challenger33
- Lieutenant General

- Posts: 726
- Joined: Wed Aug 23, 2006 3:44 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a legion of papercraft models.
- Contact:
-
Master Fionwë
- Rebel Colonel

- Posts: 598
- Joined: Wed May 30, 2007 3:33 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: At RCTC
- Contact:
It's still pretty big, so I'm posting it on txtbin:
http://txtb.in/3nH
Here it goes on from the last one, the same thing except the numbers increase to 468.
Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "TreeGridStack" is full; raise count to at least 340
Goes up to number 383.
I've excluded a lot of the error log, it would take up way too much space. How much? This is hardly a dent in the whole thing.
I found out that the ai spawning was due to my activating the command AI Goal Conquest in the fake console. Could someone please tell me what this is, and how it works? Why would it have any effect on spawning?
Also, I found out that the crash was probably due to lag. I was experienceing some pretty bad lag when I made them spawn. I think 600 is a bit too much, though I'm not even sure if that's how many were on the field, since I can't even play the cis. This has been an issue since I put my custom rep in, but I've forgotten about it every time I have gotten on here. Doesn't bother me too much, since I never play as them, but it's probably something important to other people.
http://txtb.in/3nH
Here it goes on from the last one, the same thing except the numbers increase to 468.
Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "TreeGridStack" is full; raise count to at least 340
Goes up to number 383.
Hidden/Spoiler:
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\ConnectivityGraphFollower.cpp(382)
No valid positions for type [HUGE] radius [6.03] in node [Hub52]
I've excluded a lot of the error log, it would take up way too much space. How much? This is hardly a dent in the whole thing.
I found out that the ai spawning was due to my activating the command AI Goal Conquest in the fake console. Could someone please tell me what this is, and how it works? Why would it have any effect on spawning?
Also, I found out that the crash was probably due to lag. I was experienceing some pretty bad lag when I made them spawn. I think 600 is a bit too much, though I'm not even sure if that's how many were on the field, since I can't even play the cis. This has been an issue since I put my custom rep in, but I've forgotten about it every time I have gotten on here. Doesn't bother me too much, since I never play as them, but it's probably something important to other people.
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
How to search your BFront2.log for severity 3 messages
Just ctrl+f in your BFront2.log and search for:
Message Severity 3
I see you have many of them in your log, have a look at those first and fix them, most of them are self explanatory as to what's wrong.
Message Severity 3
I see you have many of them in your log, have a look at those first and fix them, most of them are self explanatory as to what's wrong.
-
Master Fionwë
- Rebel Colonel

- Posts: 598
- Joined: Wed May 30, 2007 3:33 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: At RCTC
- Contact:
Oky, sorry. Some of them are an issue though. I don't know why it can't find some of those animations, I think from the shaakti.combo and luminara.combo. But the combos are in the side, aayl, kiyadimundi, and anakin are also in the side, all the files, reqs, they are called for in the lua and in the rep.req, so there is no obvious reason why they should be an issue. Others I think I can fix, though. I'll try again. Be right back.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\WeaponMelee.cpp(3191)
WeaponMelee "rep_weap_lightsaber_luminara" invalid combo definition file "rep_hero_obiwan"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\WeaponMelee.cpp(3196)
WeaponMelee[rep_weap_lightsaber_luminara]::ComboAnimationBank invalid params "human_sabre melee rep_hero_obiwan"
There's where you're problems all stem from. It's looking for rep_hero_obiwan.combo and can't find it.
C:\Battlefront2\main\Battlefront2\Source\WeaponMelee.cpp(3191)
WeaponMelee "rep_weap_lightsaber_luminara" invalid combo definition file "rep_hero_obiwan"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\WeaponMelee.cpp(3196)
WeaponMelee[rep_weap_lightsaber_luminara]::ComboAnimationBank invalid params "human_sabre melee rep_hero_obiwan"
There's where you're problems all stem from. It's looking for rep_hero_obiwan.combo and can't find it.
-
Master Fionwë
- Rebel Colonel

- Posts: 598
- Joined: Wed May 30, 2007 3:33 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: At RCTC
- Contact:
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
