Page 1 of 1

AllyTeam(team,allyTeam)

Posted: 28 Dec 2008, 09:53
by Argh
Lua callout. Sets AllyTeam for a given team# to whatever we want.

Not important for P.U.R.E., if anybody cares, but it'd be nice for what I'm working on this weekend, as there doesn't seem to be a way to force people to not be allies on the Lobby end (that I know of).

Re: AllyTeam(team,allyTeam)

Posted: 28 Dec 2008, 19:57
by lurker
What we need, and is actually worth anywhere near the effort to implement it, is to have the startscript parsed by lua.

Re: AllyTeam(team,allyTeam)

Posted: 29 Dec 2008, 01:39
by FLOZi
script.txt, you mean?

I was going to do it, but then trepan did a bunch of tdf->lua conversions as well (and cleaned up all my rubbish code) and I thought he had done that, too.

Re: AllyTeam(team,allyTeam)

Posted: 29 Dec 2008, 01:43
by jK
I don't see an advantage in that.

The script.txt should just removed and replaced by a hostbased system, so just the host generates something similar to the script.txt and sends it to the clients (the clients should just start spring.exe -ip 123.123.321.1).

Re: AllyTeam(team,allyTeam)

Posted: 29 Dec 2008, 05:41
by lurker
The host already sends out the script in git; not sure what you mean. But there is still the issue of wanting to make specific changes or put down specific constraints that currently need lobby modifications.

Re: AllyTeam(team,allyTeam)

Posted: 29 Dec 2008, 07:11
by Argh
But there is still the issue of wanting to make specific changes or put down specific constraints that currently need lobby modifications.
Yeah, exactly. It's one thing, to say in giant, bold letters, "DON'T PLAY THIS WITH ALLIES OR IT WILL NOT BE FUN"... but players are players, and won't generally listen to that. It's not a vital thing, the game will run without errors, if teams are allied... it just won't play correctly, and there isn't any way to change the Ally state, so I'm stuck on that for now.

Re: AllyTeam(team,allyTeam)

Posted: 01 Jan 2009, 00:03
by zwzsg
jK wrote:The script.txt should just removed
Please no! I love to be able to play Spring with handmade (or tiny program made) scripts instead of having to deal with the multiplayer lobby everytime.