Random option

Random option

Requests for features in the spring code.

Moderator: Moderators

Post Reply
PRO_rANDY
Posts: 314
Joined: 17 Jul 2006, 01:06

Random option

Post 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?
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Post by Das Bruce »

Could be interesting.
User avatar
Min3mat
Posts: 3455
Joined: 17 Nov 2004, 20:19

Post by Min3mat »

I like this idea
User avatar
FizWizz
Posts: 1998
Joined: 17 Aug 2005, 11:42

Post by FizWizz »

Wrong Forum.
Right Request.
(+1)
PRO_rANDY
Posts: 314
Joined: 17 Jul 2006, 01:06

Post by PRO_rANDY »

Anyone know if it is possible?
Torrasque
Posts: 1022
Joined: 05 Oct 2004, 23:55

Post by Torrasque »

PRO_rANDY wrote:Anyone know if it is possible?
I think betalord could do it without problem if he has time.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post 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".
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post 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
Silencer
Posts: 16
Joined: 25 Aug 2005, 00:13

Post by Silencer »

good idea, someone implement it
PRO_rANDY
Posts: 314
Joined: 17 Jul 2006, 01:06

Re: Random option

Post by PRO_rANDY »

14 month bump
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Random option

Post by LordMatt »

Bug Satirik about it. ;)
User avatar
ginekolog
Posts: 837
Joined: 27 Feb 2006, 13:49

Re: Random option

Post by ginekolog »

LordMatt wrote:Bug Satirik about it. ;)
yeah, from my programers point of view this is very little work with good result.
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: Random option

Post 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?
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Random option

Post 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.
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Re: Random option

Post 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.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Random option

Post 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.
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Re: Random option

Post 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.
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Re: Random option

Post 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.
User avatar
NOiZE
Balanced Annihilation Developer
Posts: 3984
Joined: 28 Apr 2005, 19:29

Re: Random option

Post 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.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Random option

Post by Argh »

Easy to code. Might get to it over the next few days.
Post Reply

Return to “Feature Requests”