I have a local team set up, and it appears to work, accept that I have 5 path nodes and 5 units specified to spawn in my LUA, yet only 1 unit is on the field at one time. Here are the defining LUA lines:
-------------------------------------------
ReadDataFile("dc:SIDE\\alc.lvl",
"alc_inf_geonosian")
-------------------------------------------
-------------------------------------------
SetTeamName (4, "Aliens")
AddUnitClass (4, "alc_inf_geonosian", 5,5)
SetUnitCount (4, 5)
AddAIGoal(4, "Deathmatch", 100)
SetTeamAsEnemy(ATT,4)
SetTeamAsEnemy(4,ATT)
SetTeamAsEnemy(DEF,4)
SetTeamAsEnemy(4,DEF)
-------------------------------------------
anyone notice any inconsistencies?
EDIT: Well, I solved it all by myself. What I did was swap it with local team 3 (which I only wanted one of anyway) so that it was team 3 and the other one was team 4, and changed this:
AddUnitClass (3, "alc_inf_geonosian", 5,5)
to this:
AddUnitClass (3, "alc_inf_geonosian", 1,5)
1/5 Locals Spawn [Solved]
Moderator: Moderators
- AgentSmith_#27
- Rebel Warrant Officer

- Posts: 302
- Joined: Thu Feb 11, 2010 3:10 pm
- Projects :: No Projects I am ready to unveil
- xbox live or psn: No gamertag set
- Location: Zeroeditor
- Contact:
1/5 Locals Spawn [Solved]
Last edited by AgentSmith_#27 on Thu Jul 08, 2010 2:53 pm, edited 1 time in total.
-
Darth_Squoobus
- General

- Posts: 760
- Joined: Mon Aug 03, 2009 3:21 am
- Projects :: No Mod project currently.
- Location: over the hills and far away
Re: 1/5 Locals Spawn
I don't see anything, but you might want to raise the reinforcement count. Otherwise they won't last long.AgentSmith_#27 wrote:I have a local team set up, and it appears to work, accept that I have 5 path nodes and 5 units specified to spawn in my LUA, yet only 1 unit is on the field at one time. Here are the defining LUA lines:
-------------------------------------------
ReadDataFile("dc:SIDE\\alc.lvl",
"alc_inf_geonosian")
-------------------------------------------
-------------------------------------------
SetTeamName (4, "Aliens")
AddUnitClass (4, "alc_inf_geonosian", 5,5)
SetUnitCount (4, 5)
AddAIGoal(4, "Deathmatch", 100)
SetTeamAsEnemy(ATT,4)
SetTeamAsEnemy(4,ATT)
SetTeamAsEnemy(DEF,4)
SetTeamAsEnemy(4,DEF)
-------------------------------------------
anyone notice any inconsistencies?
- AgentSmith_#27
- Rebel Warrant Officer

- Posts: 302
- Joined: Thu Feb 11, 2010 3:10 pm
- Projects :: No Projects I am ready to unveil
- xbox live or psn: No gamertag set
- Location: Zeroeditor
- Contact:
Re: 1/5 Locals Spawn
They're a local team so they're unlimited. I've tryed lots of things but nothing works, any ideas anyone? this local team is vital to my map, which is very near release.
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: 1/5 Locals Spawn
when you launch the map are yo u setting certain modes to have a different number than the default bots?
- AgentSmith_#27
- Rebel Warrant Officer

- Posts: 302
- Joined: Thu Feb 11, 2010 3:10 pm
- Projects :: No Projects I am ready to unveil
- xbox live or psn: No gamertag set
- Location: Zeroeditor
- Contact:
Re: 1/5 Locals Spawn
For now the map is planned on being Clone Wars Conquest only, and no, I don't believe so. I do change it from 16 to 32 once in a while if that's what you mean.
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: 1/5 Locals Spawn
yes it is, because if you lowered it to say 5, then only one local would no be surprising.
- AgentSmith_#27
- Rebel Warrant Officer

- Posts: 302
- Joined: Thu Feb 11, 2010 3:10 pm
- Projects :: No Projects I am ready to unveil
- xbox live or psn: No gamertag set
- Location: Zeroeditor
- Contact:
Re: 1/5 Locals Spawn
Well... This wouldn't be the problem since I've only moved the counter up, and not down (you'd think) And now that I think about it, this has happened before on the same map with another local team (which has been since removed, it didn't fit)
