Page 1 of 1

Random option

Posted: 10 Aug 2006, 10:22
by PRO_rANDY
Would it be possible to have a "random" option for picking which side (arm/core), and would people like this or not?

Posted: 10 Aug 2006, 10:31
by Das Bruce
Could be interesting.

Posted: 10 Aug 2006, 10:55
by Min3mat
I like this idea

Posted: 10 Aug 2006, 12:28
by FizWizz
Wrong Forum.
Right Request.
(+1)

Posted: 13 Aug 2006, 15:32
by PRO_rANDY
Anyone know if it is possible?

Posted: 13 Aug 2006, 15:51
by Torrasque
PRO_rANDY wrote:Anyone know if it is possible?
I think betalord could do it without problem if he has time.

Posted: 13 Aug 2006, 15:54
by KDR_11k
Should be trivial to implement but it doesn't exist yet AFAIK. Earth also had a "Not [faction]" option so you could e.g. get UCS or ED at random but not LC (would obviously need to be disabled for mods with only one faction). That was useful in 2160 for setting everyone to "Not Aliens".

Posted: 13 Aug 2006, 16:19
by hollowsoul
Make the host generate the random team shouldnt be to hard todo.
Was thinking of doing similar thing with spring-gui.

As for single side mods, just hide the option, random team for 1->1 sides is still side 1. So other than hiding the option wouldnt be hard. Maybe addition required to protocol code (not sure)

Damn threads = annoying. Anyway back to coding lobby code

Posted: 14 Aug 2006, 00:50
by Silencer
good idea, someone implement it

Re: Random option

Posted: 03 Jan 2008, 04:33
by PRO_rANDY
14 month bump

Re: Random option

Posted: 03 Jan 2008, 05:23
by LordMatt
Bug Satirik about it. ;)

Re: Random option

Posted: 10 Jan 2008, 11:01
by ginekolog
LordMatt wrote:Bug Satirik about it. ;)
yeah, from my programers point of view this is very little work with good result.

Re: Random option

Posted: 10 Jan 2008, 19:02
by ZellSF
It needs to be engine or protocol side, Satirik isn't working on the protocol, is he? Or are you suggesting a lazy "random" option that doesn't show you which side you are but still sends it to all other players for script generation?

Re: Random option

Posted: 10 Jan 2008, 22:24
by Argh
Um, you could do this with LUA and a Gadget, really easily. Randomly swap out the commander units on the first frame. Very simple. Then nobody knows what they're playing until play begins, either- more challenging.

Re: Random option

Posted: 11 Jan 2008, 07:29
by yuritch
...And this lua solution can be controlable via mod options, which would make it TASClient (and whatever other lobbies that support mod options) compatible without any changes in TASClient itself.

Re: Random option

Posted: 11 Jan 2008, 09:58
by KDR_11k
But you'd have to tell the host "I want to be random". There are currently no player-accessible lua settings AFAIK.

Re: Random option

Posted: 11 Jan 2008, 10:40
by Gnomre
Couldn't you just make a Luarule gadget for this? Just add a dummy "Random" faction to your sidedata file so users can choose it, and have the gadget swap out the dummy commander with a randomly selected one from sidedata, except for Random again of course.

Each mod would have to include it on their own, but that's not necessarily a bad thing. If someone doesn't want random in their mod (perhaps a one-faction mod or something) they aren't forced to. Plus, we could set our own faction icon thing for it that way, and of course, no extra lobby compatibility would be required, since it should already work in theory.

Re: Random option

Posted: 11 Jan 2008, 15:27
by yuritch
KDR_11k wrote:There are currently no player-accessible lua settings AFAIK.
And what the 'mod options' are for? You'll have to make a separate 'random race' checkbox for all the teams of course (or just limit it to first 4 teams, or whatever, since AFAIK it's not possible to dynamically change mod options list), but this can be done. Then you just replace the commander with a random one once the game starts using a gadget or LuaCOB.

Re: Random option

Posted: 11 Jan 2008, 18:07
by NOiZE
Gnome wrote:Couldn't you just make a Luarule gadget for this? Just add a dummy "Random" faction to your sidedata file so users can choose it, and have the gadget swap out the dummy commander with a randomly selected one from sidedata, except for Random again of course.

Each mod would have to include it on their own, but that's not necessarily a bad thing. If someone doesn't want random in their mod (perhaps a one-faction mod or something) they aren't forced to. Plus, we could set our own faction icon thing for it that way, and of course, no extra lobby compatibility would be required, since it should already work in theory.
someone make it and ill include it for sure.

Re: Random option

Posted: 12 Jan 2008, 04:51
by Argh
Easy to code. Might get to it over the next few days.