More than 10 unit classes using the GEO script ??

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
Labj
Sith
Sith
Posts: 1400
Joined: Tue Jun 16, 2009 3:20 pm
Games I'm Playing :: Halo 4
xbox live or psn: SiulS2409
Location: Costa Rica
Contact:

More than 10 unit classes using the GEO script ??

Post by Labj »

Its possible to have more than 10 unit classes on a map doing this:

Use geo script for enable/disenable units
When you have 10 units already, the game disenable one and other is enabled

Possible ??????
Thanks :thumbs:
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: More than 10 unit classes using the GEO script ??

Post by [RDH]Zerted »

The game crashes when you add more then 10 units to a team. You can only spawn (forced spawning included) as a unit on your team. Each team can have 10 units, so if you need more unit classes for the AI, just use another team.
Labj
Sith
Sith
Posts: 1400
Joined: Tue Jun 16, 2009 3:20 pm
Games I'm Playing :: Halo 4
xbox live or psn: SiulS2409
Location: Costa Rica
Contact:

Re: More than 10 unit classes using the GEO script ??

Post by Labj »

What if wanted to play as them too ?
Is there any way to select more teams in game ??
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: More than 10 unit classes using the GEO script ??

Post by DarthD.U.C.K. »

no, you can only select 2 teams
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: More than 10 unit classes using the GEO script ??

Post by [RDH]Zerted »

So a max of 20 human playable units.
Labj
Sith
Sith
Posts: 1400
Joined: Tue Jun 16, 2009 3:20 pm
Games I'm Playing :: Halo 4
xbox live or psn: SiulS2409
Location: Costa Rica
Contact:

Re: More than 10 unit classes using the GEO script ??

Post by Labj »

So i cant force a player into other teams :(
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 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: Owning people in SWBF2
Contact:

Re: More than 10 unit classes using the GEO script ??

Post by Par3210 »

if you mean the 2 teams already availible you can, but otherwise no.
Labj
Sith
Sith
Posts: 1400
Joined: Tue Jun 16, 2009 3:20 pm
Games I'm Playing :: Halo 4
xbox live or psn: SiulS2409
Location: Costa Rica
Contact:

Re: More than 10 unit classes using the GEO script ??

Post by Labj »

Par3210 wrote:if you mean the 2 teams already availible you can, but otherwise no.
For example forcing player into team 3 ??
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 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: Owning people in SWBF2
Contact:

Re: More than 10 unit classes using the GEO script ??

Post by Par3210 »

no, sorry, but only possible with team 1 and 2
[RDH]Zerted was going to try and make it so you could have more than 2 teams to select I think but he changed and made the fake console instead
Labj
Sith
Sith
Posts: 1400
Joined: Tue Jun 16, 2009 3:20 pm
Games I'm Playing :: Halo 4
xbox live or psn: SiulS2409
Location: Costa Rica
Contact:

Re: More than 10 unit classes using the GEO script ??

Post by Labj »

Ah, fake console... i dont know anything about that, but i readed that someone had 10 and a hero before, did he lied ??
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 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: Owning people in SWBF2
Contact:

Re: More than 10 unit classes using the GEO script ??

Post by Par3210 »

Yes, it is impossible to have 11 units per team - only 9 units and a hero or 10 units and no hero :( unfortunatly.
But I've never been able to get 10 units ingame anyway... :roll:
Labj
Sith
Sith
Posts: 1400
Joined: Tue Jun 16, 2009 3:20 pm
Games I'm Playing :: Halo 4
xbox live or psn: SiulS2409
Location: Costa Rica
Contact:

Re: More than 10 unit classes using the GEO script ??

Post by Labj »

Does anyone has the error log when there are 11 clases ?
My computer is very powerfull and updated, i will try on mine, maybe its memory pools ??
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: More than 10 unit classes using the GEO script ??

Post by Teancum »

It doesn't work. Period. 10 is the max and it's hard coded. Sorry.
Labj
Sith
Sith
Posts: 1400
Joined: Tue Jun 16, 2009 3:20 pm
Games I'm Playing :: Halo 4
xbox live or psn: SiulS2409
Location: Costa Rica
Contact:

Re: More than 10 unit classes using the GEO script ??

Post by Labj »

No way then.

The list of weapons turns smaller when the 10 are added??
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 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: Owning people in SWBF2
Contact:

Re: More than 10 unit classes using the GEO script ??

Post by Par3210 »

yes, to fit it all in
Labj
Sith
Sith
Posts: 1400
Joined: Tue Jun 16, 2009 3:20 pm
Games I'm Playing :: Halo 4
xbox live or psn: SiulS2409
Location: Costa Rica
Contact:

Re: More than 10 unit classes using the GEO script ??

Post by Labj »

Ah, ok then.
I will keep modding... skining actually :D
Please dont lock, i will have info one of these days and i want to add it :thumbs:
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: More than 10 unit classes using the GEO script ??

Post by [RDH]Zerted »

You can place a spawned unit on another team, but humans always initially spawn from teams 1 or 2. Thus humans can only choose from units on those teams.

I was going to make an ingame character editor. I did test a few multi-team things for v1.3, but didn't send a ton of time on it (was more focused on custom movies).
Labj
Sith
Sith
Posts: 1400
Joined: Tue Jun 16, 2009 3:20 pm
Games I'm Playing :: Halo 4
xbox live or psn: SiulS2409
Location: Costa Rica
Contact:

Re: More than 10 unit classes using the GEO script ??

Post by Labj »

[RDH]Zerted wrote:You can place a spawned unit on another team, but humans always initially spawn from teams 1 or 2. Thus humans can only choose from units on those teams.

I was going to make an ingame character editor. I did test a few multi-team things for v1.3, but didn't send a ton of time on it (was more focused on custom movies).
As i said before ??
Labj wrote:Its possible to make something like a LUA-ODF builder in-game like in Renegade Squadron ?
Since the UP release its final version, i dont know if we will se it
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: More than 10 unit classes using the GEO script ??

Post by [RDH]Zerted »

I stopped working on the character editor and moved the stuff into the Fake Console. I have lost the source code to the v1.3 patch so I can't remunge any of its files.

Earlier today I did figure out how to get 3+ playable human teams working in multiplayer. However, it is only a hack based off of the 2-team system. It won't increase the amount of units humans can spawn as. I don't know if I'll get around to writing and releasing the scripts for it. I have to choose between the 3+ team scripts and my Wave game mode.
Post Reply