Units Wont Spawn After Minor Changes
Moderator: Moderators
-
Alexandus
- Private Recruit
- Posts: 18
- Joined: Thu Sep 25, 2008 7:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Units Wont Spawn After Minor Changes
I made a map with some (what I thought would be) minor changes..but I have happened upon 2 problems:
-Units on both sides wont spawn (yes I defined all the CP's in the script file, generally I thought that was my problem)
-This is a Clone Wars era map...it wont let me switch to the CIS.
Any ideas on why this happens?
I have 8 CP's, 4 for each team..i double checked to make sure all the basics were in place (capture zones, spawn paths etc.)
EDIT: just as a note...all i did was change terrain height, add trees/other objects for scenery, add total of 8 CPs and modify the script to reflect added CPs and increased unit count.
-Units on both sides wont spawn (yes I defined all the CP's in the script file, generally I thought that was my problem)
-This is a Clone Wars era map...it wont let me switch to the CIS.
Any ideas on why this happens?
I have 8 CP's, 4 for each team..i double checked to make sure all the basics were in place (capture zones, spawn paths etc.)
EDIT: just as a note...all i did was change terrain height, add trees/other objects for scenery, add total of 8 CPs and modify the script to reflect added CPs and increased unit count.
-
obiboba3po
- 2008 Most Technically Challenging Avatar
- Posts: 2376
- Joined: Tue Feb 12, 2008 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: NJ, USA
Re: Units Wont Spawn After Minor Changes
this happens sometimes if in youre lua theres more or less cps being called up than are actually in the map. you might wanna post youre lua.
-
Alexandus
- Private Recruit
- Posts: 18
- Joined: Thu Sep 25, 2008 7:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Units Wont Spawn After Minor Changes
ok i fixed the spawning problem after looking at the LUA again...one of the numbers of a CP was posted twice...oops!! simple mistakes always give the biggest headaches lol
anyways does anyone know why i cant switch to the CIS?
anyways does anyone know why i cant switch to the CIS?
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: Units Wont Spawn After Minor Changes
Post your lua.
-
Alexandus
- Private Recruit
- Posts: 18
- Joined: Thu Sep 25, 2008 7:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Units Wont Spawn After Minor Changes
heres my LUA...the map will be for a "canyon ambush" map...CIS in the middle with AATs getting attacked by clones on either side of the hill...charging down with a couple TX-130's
EDIT: hopefully this isn't a simple "remove the -- from the walkers comment" thats the last thing i haven't tried..trying that now.
For the record though with this LUA none of my veh spawns will work..I have been able to get ATTE's working on other maps I've made though...wasn't sure of the principles on non legged vehicles..
EDIT: hopefully this isn't a simple "remove the -- from the walkers comment" thats the last thing i haven't tried..trying that now.
For the record though with this LUA none of my veh spawns will work..I have been able to get ATTE's working on other maps I've made though...wasn't sure of the principles on non legged vehicles..
Hidden/Spoiler:
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Units Wont Spawn After Minor Changes
Are your game options set to prevent team switching?Alexandus wrote:...anyways does anyone know why i cant switch to the CIS?
-
Alexandus
- Private Recruit
- Posts: 18
- Joined: Thu Sep 25, 2008 7:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Units Wont Spawn After Minor Changes
I havent touched them...on any other map I can switch without problem...it seems to only happen to my maps after I start making modifications to the original munge done by ZE
- Tourny
- Command Sergeant Major

- Posts: 289
- Joined: Sat Sep 27, 2008 5:58 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Crifton
- Contact:
Re: Units Wont Spawn After Minor Changes
I found two things I'm not sure about...
1. textATT = "game.modes.con",
textDEF = "game.modes.con2",
is that always there?
and 2.
SHouldn't there be a return between ReadDataFile Rep and ReadDAtaFIle CIS?
1. textATT = "game.modes.con",
textDEF = "game.modes.con2",
is that always there?
and 2.
SHouldn't there be a return between ReadDataFile Rep and ReadDAtaFIle CIS?
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: Units Wont Spawn After Minor Changes
It's as easy as checking the template conquest Lua from the ModTools... and the answer is yes that text is always there, and no there doesn't need to be a space.
- Tourny
- Command Sergeant Major

- Posts: 289
- Joined: Sat Sep 27, 2008 5:58 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Crifton
- Contact:
Re: Units Wont Spawn After Minor Changes
I would have, but I don;t happen to have mod tools installed on my current computer XD
-
Alexandus
- Private Recruit
- Posts: 18
- Joined: Thu Sep 25, 2008 7:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Units Wont Spawn After Minor Changes
it now seems that I can add as many AATs as i want without a problem..but adding a republic hover veh isn't working at all.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Units Wont Spawn After Minor Changes
Thats something that would be producing output in the error log. Find your's and post it.
-
Alexandus
- Private Recruit
- Posts: 18
- Joined: Thu Sep 25, 2008 7:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Units Wont Spawn After Minor Changes
found something in the addme file that looks like an error log but it says:
Logging ScriptMunge
02:01:2509/29/08
0 Errors 0 Warnings
that was the last time i munged the lvl.
also in the VisualMunge file itself it says:
Munging AMB.PTH
Munging AMB_conquest.PTH
Munging AMB.req
Munging AMB.req
The system cannot find the path specified.
The system cannot find the path specified.
Munging addme.lua...done.
Copying files to Battlefront II directory:
"C:\Program Files\LucasArts\Star Wars Battlefront II\GameData"
Addon dir exists, continuing...
this help at all?
Logging ScriptMunge
02:01:2509/29/08
0 Errors 0 Warnings
that was the last time i munged the lvl.
also in the VisualMunge file itself it says:
Munging AMB.PTH
Munging AMB_conquest.PTH
Munging AMB.req
Munging AMB.req
The system cannot find the path specified.
The system cannot find the path specified.
Munging addme.lua...done.
Copying files to Battlefront II directory:
"C:\Program Files\LucasArts\Star Wars Battlefront II\GameData"
Addon dir exists, continuing...
this help at all?
-
-_-
- Gametoast Staff

- Posts: 2678
- Joined: Sat May 07, 2005 1:22 pm
Re: Units Wont Spawn After Minor Changes
lol? I remember seeing something that Penguin posted regarding the max units per team being around the 150's.Alexandus wrote: SetupTeams{
rep = {
team = REP,
units = 2000,
reinforcements = 500,
soldier = { "rep_inf_ep3_rifleman",50, 1000},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "rep_inf_ep3_sniper",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},
},
cis = {
team = CIS,
units = 3000,
reinforcements = 500,
soldier = { "cis_inf_rifleman",100, 2000},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},
}
}
-
Alexandus
- Private Recruit
- Posts: 18
- Joined: Thu Sep 25, 2008 7:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Units Wont Spawn After Minor Changes
i was testing something with extremely high numbers to see how it affected gameplay...it didn't do a whole lot, i dont have a screen full of units...its a lot, but not as many as i wanted (I have a high end system, wanted to see how many i could get on there)
-
-_-
- Gametoast Staff

- Posts: 2678
- Joined: Sat May 07, 2005 1:22 pm
Re: Units Wont Spawn After Minor Changes
No, it has nothing to do with having a high end system or not. It's the game. It doesn't matter what values you put if it stops spawning at a certain amount of AI per team.
-
Alexandus
- Private Recruit
- Posts: 18
- Joined: Thu Sep 25, 2008 7:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Units Wont Spawn After Minor Changes
I wasn't aware of the limits of the system if you activated ubermode...BUT i have good news! (at least for me)
I toned the units down to 150 and now I can switch teams again...I guess the system really didn't like that high number..just went
I still cant spawn any TX-130's though..which is odd...to note all i did for the AATs was in ZE for the CISDEF field I put cis_hover_aat....the same as in the Republics spawn points under REPATK I put rep_hover_fightertank
am i missing something?
I toned the units down to 150 and now I can switch teams again...I guess the system really didn't like that high number..just went
I still cant spawn any TX-130's though..which is odd...to note all i did for the AATs was in ZE for the CISDEF field I put cis_hover_aat....the same as in the Republics spawn points under REPATK I put rep_hover_fightertank
am i missing something?
- Culvar
- 1st Lieutenant

- Posts: 429
- Joined: Thu Jul 10, 2008 10:36 am
Re: Units Wont Spawn After Minor Changes
Do you have alot of AATs? If so, you may have filled up the hove mem pool.
-
Alexandus
- Private Recruit
- Posts: 18
- Joined: Thu Sep 25, 2008 7:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Units Wont Spawn After Minor Changes
no i tried with having 2 TX-130's and no AATs with no luck...then adding only 1 AAT let ONLY the AAT to appear...
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: Units Wont Spawn After Minor Changes
The lua looks fine on the vehicular front, so I think the problem lay in the world somewhere. In any case, we need to see an error log. Run the map using bf2_modtools.exe, and it'll write an error log named Bfront2.log.
