Author Topic: New way to do votes  (Read 7994 times)

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
New way to do votes
« on: January 13, 2007, 04:37:21 am »
I was thinking about how other games handle the vote system, and how the vote system in tremulous is a little hard to expand if you so wished. So i thought up this idea. Why not have a mod that let you specify votes in a fashon similar to that of custom commands in g_admin. You could then have the vote type, vote call name, vote command, vote printed message (with paramiters), syntax (with a paramiter option)?

∧OMG ENTROPY∧

whitebear

  • Posts: 659
  • Turrets: +35/-20
New way to do votes
« Reply #1 on: January 13, 2007, 09:40:27 am »
There should be something like custom votes that would be seperatedly setted by operator in text file (like admin levels) to prevent abusing of this.

If voting would allow any command the servers would be messed up by people seting rcon password to what ever they want. Also could be abused to set stage or build points only on side with more players (can vote to positive no matter what)

so basicly something like this
[option]
tittle="unlimited build points game"
command="g_alienbuildpoints 999;g_humanbuildpoints 999"

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
New way to do votes
« Reply #2 on: January 13, 2007, 07:57:58 pm »
yea, thats what i was thinking.
a cvar of g_votesettings
then a votesettings.dat file that had vote info.

∧OMG ENTROPY∧

Risujin

  • Posts: 739
  • Turrets: +33/-13
    • http://risujin.org
New way to do votes
« Reply #3 on: January 14, 2007, 04:17:33 am »
A good idea. This would mod TJW's admin.

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
New way to do votes
« Reply #4 on: January 15, 2007, 03:48:54 am »
Here is an example of how a vote block in the votes.dat file could be:
Code: [Select]
[vote]
name       = Adjust Gravity
callname  = grav
callsyntax = grav {PARAM1}
display     = gravity vote for {PARAM1} gravity.

That is how it could look.

∧OMG ENTROPY∧

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
New way to do votes
« Reply #5 on: January 15, 2007, 05:46:47 am »
Enemy Territory has additional voting options like "Enable Friendly Fire" as well as other game altering options. The current options we have are playing kicking. We need more.

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
New way to do votes
« Reply #6 on: January 15, 2007, 06:23:22 am »
With this type of system, it would be easy for the operator to add their own settings, even one like high knockback.

The possibilities are endless.

∧OMG ENTROPY∧

techhead

  • Posts: 1496
  • Turrets: +77/-73
    • My (Virtually) Infinite Source of Knowledge (and Trivia)
New way to do votes
« Reply #7 on: January 15, 2007, 12:48:12 pm »
I am trying to experiment with knock-back so that I bounce to the exact height that I fell from.
10000 is too much, I can tell you that.
I'm playing Tremulous on a Mac!
MGDev fan-club member
Techhead||TH
/"/""\"\
\"\""/"/
\\:.V.://
Copy and paste Granger into your signature!

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
New way to do votes
« Reply #8 on: January 15, 2007, 07:45:41 pm »
There could even be one to have next map load with a mod! all that needs to have in the command field is fs_base= mod directory.

∧OMG ENTROPY∧