Author Topic: Shrubbot commands being put into a custom QVM  (Read 2889 times)

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Shrubbot commands being put into a custom QVM
« on: December 12, 2006, 12:21:55 am »
Could someone add some of the shrubbot cvars and commands to g_admin? There are quite a few ones that have potential uses.
Tjw is hosting a complete list of shrubbot cvars and commands:
Listing of the stuff
There are a number of commands and cvars that i have been wanting for a LONG time, particularly these:
Cvars
  • g_floodProtect: I think something like this was already implemented in R1admin, but i dont see much of it anymore. Pretty much, it makes it so if a player sends too many messages at a time, set by g_floodthreshold, they are muted.
  • g_ATB: Automatic Team Balance. Not as complicated as this version, would just move players with no credits or something similar to the other team, instead of relying on all kinds of other cvars, like this one does.
  • g_intermissionTime and g_intermissionReadyPercent: These 2 commands would be quite usefull, to eliminate the need for players to wait at the end of a game after chat has finished, or to lower the times !allready is exicuted. Time sets a time after intermission begins, so if you set it to 60, 60 seconds after intermission begins, nomatter the ready percentage, the game moves forward. Percent makes it so that when X percent of players is ready, it advances, even if the time has not elapsed
  • g_teamDamageRestriction and g_minHits: R1 has this, I believe. What it is is that when anyone who has a percentage of teamdamage done to other teammates above g_teamDamageRestriction, they are kicked. Players must get above g_minHits to have amount of damage hits calculated.
  • g_tyranny: This is the one i want the most  :D . It enables a set of commands, ill list them later, that admins can use to deal with misbehaving players. Sure, abuse could rise, but the pros outnumber the cons.
  • g_reflectFriendlyFire: Someone brought something like this up in the Feedback thread. What it is is a setting, where you adjust the amount of friendly fire damage done to another player reflected back to the player doing the damage. What that means is that if you set it to .5, if one player shoots another player dead, the player doing the shooting would have 1/2 health. 1 is full damage of shots, and anything above it is multiples, so 10 is 10x damage.
  • g_staminaRecharge: This is a floating point that multiplies the rate at which stamina is regenerated. 0 means stamina cannot be regenerated, and 1 is normal regen. In trem, this would only affect humans
  • g_dropMsg: Adds this text to a kick or ban screen, in addition to the reason, duration, and banner. For example  you could have it as "Oops! You did something wrong!". It would display that, and then the normal message data.
  • g_inactivity and g_spectatorInactivity: I know g_inactivity already exists, but this is an improvement on it. What this version does is it moves inactive players to spectators after X amount of time, unless the server is full, then it kicks. g_spectatorInactivity is the amount of time a player is allowed to remain inactive on spectator until they are kicked. It only kicks when a server is full
Server Console Commands (and RCON):
  • forcecvarForces all clients to have this cvar set to a specific value
New admin commands:
For commands, see the admin command table at the site. Since there are no anchors in the table, i cant provide links to it :(
Without g_tyranny set;
  • !balance: Runs one ATB command on server
  • !warn [PLAYER] [MESSAGE]: Plays a sound to player and center prints warning on screen of player
With g_tyranny set:
  • !kill [PLAYER]: Like !gib, but doesn't gib a player, seeing as tremulous doesn't have a gib setting.
  • !slap [PLAYER] [DAMAGE] [REASON]: Does a specific amount of damage to player, damage is set via [DAMAGE] on time of entering, default 20. [REASON], if center printed, is center printed to the player
  • !throw [PLAYER]: Shoves player specified out of way
Commands of my own invention:
  • !give [PLAYER] [CREDITS]: Gives the player specified the amount of credits. Credits are specified for the players team, so giving a human 9 would give them nothing, where giving a human or alien 2000 will give them max.
  • !take [PLAYER] [CREDITS]: Subtracts amount of credits from a players total, same way as !give
Hopefully, something like this could be added to Avengers custom QVM, because that has !designate and !denybuild, among other fixes. Also, a way of calling votes to change cvars would be good, but it should have a limiting cvar, like g_cvarVotes "cvar 1, cvar 2, etc ".
« Last Edit: May 13, 2014, 06:23:14 am by Undeference »

∧OMG ENTROPY∧

Lava Croft

  • Guest
Shrubbot commands being put into a custom QVM
« Reply #1 on: December 12, 2006, 06:59:41 pm »
Tremulous is open-source, so better start coding Paradox!

techhead

  • Posts: 1496
  • Turrets: +77/-73
    • My (Virtually) Infinite Source of Knowledge (and Trivia)
Shrubbot commands being put into a custom QVM
« Reply #2 on: December 12, 2006, 07:13:05 pm »
The only question I have is, is friendly fire reflect based on thier armor, your armor, or base damage?
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
Shrubbot commands being put into a custom QVM
« Reply #3 on: December 12, 2006, 07:46:52 pm »
I may well start working on it, starting with a version of avengers qvm.
As far as i know, FF is just points. If the xgun does 10 damage with every shot hit, if you shoot someone 30 times, you get however much of the ff setting set, if it were 1, you would get 30 damage too. It doesnt matter if they had full armor, it is still the bullets. I also dont believe that it works on buildables.

∧OMG ENTROPY∧

Mwa

  • Posts: 117
  • Turrets: +0/-0
    • http://www.mwaness.com
Shrubbot commands being put into a custom QVM
« Reply #4 on: December 13, 2006, 03:53:35 pm »
!warn, !lol, !disorentate and !flinga would also be good addittions.
Especially !lol. 8)
awr.

techhead

  • Posts: 1496
  • Turrets: +77/-73
    • My (Virtually) Infinite Source of Knowledge (and Trivia)
Shrubbot commands being put into a custom QVM
« Reply #5 on: December 13, 2006, 05:16:20 pm »
!fling sounds like fun.

What is your favorite color?
Red! No, Blu-- Ahhhhh!!!!!!!!!!
I'm playing Tremulous on a Mac!
MGDev fan-club member
Techhead||TH
/"/""\"\
\"\""/"/
\\:.V.://
Copy and paste Granger into your signature!