Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000138Zandronum[All Projects] Suggestionpublic2010-10-25 10:472016-05-13 00:51
ReporterTen 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000138: Two new voting values: randomcaps and coinflip
DescriptionThis is pretty simple: In ZD, they have voting just like ST, and have two voting values that would be very useful in ST; randomcaps which upon the vote passing, picks two players at random and displays their names in the HUD. My guess this would be pretty easy to accomplish by using their player IDs. This is used for private CTF games for a fair and easy way to pick team captains. The second is coinflip, which is probably pretty obvious; upon the vote passing, it does a heads/tails coinflip and displays the result in the HUD.

I know this might be a bit too specific, however this would be extremely useful for the private CTF scene, and theoretically should only be a couple lines of code, although I'm not a coder so I obviously don't know for sure.
Attached Files

- Relationships

-  Notes
User avatar (0000476)
Eruanna (reporter)
2010-10-28 10:50
edited on: 2010-10-28 10:51

As you said this is fairly specific. However, that being said, it *MAYBE* might be better done with ACS. Although I don't really know. After it's done in ACS we'll see if Torr really wants to hardcode this into Skulltag.

I'll see if I can whip something up in ACS later - as far as the "coinflip" thing goes though you're not very specific on what it does or what it's used for, so I can't help with that until you elaborate a little bit on it.

(0000482)
Twister (viewer)
2010-10-28 21:34

What if someone does not want to be captain? If they spectate, the script should be able to compensate for it by choosing another player ID. Same should go for disconnecting and stuff like that. Also, there should be a script that asks the player if they want to be captain. Like, YOU HAVE BEEN CHOSEN TO BE TEAM CAPTAIN. Response time could be about 5 seconds. If they don't respond, they are automatically chosen.
User avatar (0001565)
HeX9109 (reporter)
2011-05-08 15:33
edited on: 2011-05-08 15:59

sv_enablecaptains
when set true, team captains will be picked when called for by voting (callvote randomcaps)
Players can set themselves available/unavailable via the console command "rp," which stands for "ready player" to keep it short and quick to type. It will print "you are ready to play" and "you are not ready to play" when used.
"callvote coinflip," when called, will determine who calls a player first, then captains take turns selecting their team members. When the captain picks a player via a menu, they are automatically placed on that captain's team.
The game will start when all captains agree to start.

Example of the menu a captain will see:
============================================
Pick your player:
Player1
Player2
Player3

Ready to start!
=============================================

I would really like to see this added soon for IDL compatibility.

User avatar (0001572)
Torr Samaho (administrator)
2011-05-08 18:25

Can't this be done with ACS? Although you would have to recreate Skulltag's voting system in ACS to do so.
User avatar (0006105)
Watermelon (developer)
2013-03-11 04:39

I have made one for ACS, though I'd be much nicer to do a vote. Since every other port has this I started one in the wbuild fork (which is now dedicated to Zandronum fixes). I have a functioning randcaps which is similar to other ports. Coinflip (I chose randnum instead for extention to more than two values) will be coming. This is very useful for people who want to pick a random map


Two new things:

callvote randcaps
callvote randnum [max number inclusive] // Random num from 0 - maxNumInclusive
callvote randnum [minInclusive] [maxInclusive]
User avatar (0014889)
Ru5tK1ng (updater)
2016-05-13 00:51

This will be resolved with VOTEDEF.

'https://zandronum.com/forum/viewtopic.php?t=6193 [^]'

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2010-10-25 10:47 Ten New Issue
2010-10-28 10:50 Eruanna Note Added: 0000476
2010-10-28 10:50 Eruanna Assigned To => Eruanna
2010-10-28 10:50 Eruanna Status new => feedback
2010-10-28 10:51 Eruanna Note Edited: 0000476 View Revisions
2010-10-28 10:52 Eruanna Assigned To Eruanna =>
2010-10-28 20:47 Anonymous Note Added: 0000481
2010-10-28 21:34 Twister Note Added: 0000482
2010-11-12 18:50 Anonymous Note Deleted: 0000481
2011-05-08 15:33 HeX9109 Note Added: 0001565
2011-05-08 15:45 HeX9109 Note Added: 0001566
2011-05-08 15:49 HeX9109 Note Deleted: 0001566
2011-05-08 15:53 HeX9109 Note Edited: 0001565 View Revisions
2011-05-08 15:59 HeX9109 Note Edited: 0001565 View Revisions
2011-05-08 18:25 Torr Samaho Note Added: 0001572
2013-03-11 04:39 Watermelon Note Added: 0006105
2016-05-13 00:51 Ru5tK1ng Note Added: 0014889
2016-05-13 00:51 Ru5tK1ng Status feedback => closed
2016-05-13 00:51 Ru5tK1ng Resolution open => no change required






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker