Need a gadget/widget that auto resigns a player that leaves?

Need a gadget/widget that auto resigns a player that leaves?

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Need a gadget/widget that auto resigns a player that leaves?

Post by Forboding Angel »

Or something? Basically so that if the player has left the game, it will end instead of forcing the opponents to kill all of the remaining units.

Does such a thing already exist?
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Need a gadget/widget that auto resigns a player that lea

Post by Jools »

Yes, the requirement of controlled players is part of the end game gadgets of some games. But consider that if you also kill inactive players, then players who drop will also be killed and cannot rejoin.

I wonder if it can be made a widget?

Then there is also the spads plugin "Resign"
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Need a gadget/widget that auto resigns a player that lea

Post by Forboding Angel »

I can't get it to work. It's installed but apparently I don't understand this format string:

http://planetspads.free.fr/spads/doc/sp ... oadPlugins
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Need a gadget/widget that auto resigns a player that lea

Post by Jools »

Semprini has it working and it's just this way:

Code: Select all

autoLoadPlugins:DownloadArchives;Resign
And then you just put the conf files in /etc and the rest in your plugins dir, as per http://springrts.com/wiki/SPADS_plugin_install_notes

The resign plugin enables a !resign command, but it doesn't autoresign any people.
Post Reply

Return to “Lua Scripts”