Page 1 of 1

More than 10 unit classes using the GEO script ??

Posted: Tue Aug 04, 2009 9:44 pm
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:

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

Posted: Tue Aug 04, 2009 10:05 pm
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.

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

Posted: Tue Aug 04, 2009 10:08 pm
by Labj
What if wanted to play as them too ?
Is there any way to select more teams in game ??

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

Posted: Wed Aug 05, 2009 3:54 am
by DarthD.U.C.K.
no, you can only select 2 teams

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

Posted: Wed Aug 05, 2009 9:21 am
by [RDH]Zerted
So a max of 20 human playable units.

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

Posted: Wed Aug 05, 2009 12:12 pm
by Labj
So i cant force a player into other teams :(

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

Posted: Wed Aug 05, 2009 12:20 pm
by Par3210
if you mean the 2 teams already availible you can, but otherwise no.

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

Posted: Wed Aug 05, 2009 1:02 pm
by Labj
Par3210 wrote:if you mean the 2 teams already availible you can, but otherwise no.
For example forcing player into team 3 ??

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

Posted: Wed Aug 05, 2009 1:09 pm
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

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

Posted: Wed Aug 05, 2009 1:11 pm
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 ??

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

Posted: Wed Aug 05, 2009 1:12 pm
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:

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

Posted: Wed Aug 05, 2009 1:13 pm
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 ??

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

Posted: Wed Aug 05, 2009 1:18 pm
by Teancum
It doesn't work. Period. 10 is the max and it's hard coded. Sorry.

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

Posted: Wed Aug 05, 2009 1:20 pm
by Labj
No way then.

The list of weapons turns smaller when the 10 are added??

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

Posted: Wed Aug 05, 2009 1:20 pm
by Par3210
yes, to fit it all in

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

Posted: Wed Aug 05, 2009 1:23 pm
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:

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

Posted: Wed Aug 05, 2009 2:52 pm
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).

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

Posted: Wed Aug 05, 2009 7:54 pm
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

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

Posted: Wed Aug 05, 2009 10:44 pm
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.