Timer/Round Template | Sandbox Time Extented
A simple Sandbox roundup system. What could be better for playing with friends? It adds a timer and console commands that will help make the gameplay in the company of friends more fun and better. Check out all the console commands to know how they work (For admins only).
—————————————————–
rs_hud_enable 0/1
– Responsible for displaying the addon interface. Initially 1.
—————————————————–
rs_timer_style "1/2" "Text to timer"
1 – Makes a simple timer in seconds only.
2 – Makes the usual timer in the format (Minutes : Seconds), as FNaF.
– The second argument is optional, but if you want, you can add a note to the timer. For example, "AM".
—————————————————–
rs_timer_start "Speed" "How much to select"
– The first argument sets the timer speed. If you don’t want to bother, write 1.
– The second argument of the command sets the value to be subtracted from the timer. It is also recommended to set 1.
– Examples for unusual games:
Lethal Company "4 and -4"
FNaF "70 and -60" (the timer cannot be started from zero seconds, please note this)
, etc.
– You can set the negative number of the second argument to add to the timer, rather than decrease it.
—————————————————–
rs_timer_pause
– Enables or temporarily stops the timer
—————————————————–
rs_timer_reset
– Deactivates the timer and sets it to the base time
—————————————————–
rs_timer_base "Time"
– Sets the initial amount of time that is set when the timer is activated or deactivated.
—————————————————–
rs_timer_color "Name"
– Sets the color to one of: red, green, blue, white, black, pink, purple, yellow, orange.
– All players are allowed to use this command (Simply because)
—————————————————–
rs_timer_add "Number"
rs_timer_remove "Number"
rs_timer_set "Number"
– Subtracts time from the timer, adds time from the timer, and sets the time exactly to the one specified. Everything is simple.
—————————————————–
rs_timer_speed "Speed" "Value"
– The same as rs_timer_start, but it does not reset the time and can change the speed of its flow without consequences.
—————————————————–
rs_team_plyadd "ID Player" "Team number"
– Set team for N player. (1 – Spectator, 2 – Blue team/Victims, 3 – Red team/Killers)
– Other teams dont use in visual part
=====================================
There are also several optional factors that will help improve the gameplay in terms of teams. Don’t touch them if you don’t need it or if it’s difficult for you.
=====================================
rs_poskiller
rs_posvictim
– Sets coordinates at the beginning of the round for player team red and blue(Red – Killer, Blue – Victim)
– Please note that these coordinates are recorded in a table and you can make at least a hundred of them!
—————————————————–
rs_posreset
– Deletes all position data
—————————————————–
rs_rouns_stop
– Reset timer and sets text for lobby to waiting.
—————————————————–
rs_round_victimset "#1" "#2" "#3" "#4" "#5" "#6"
rs_round_killerset "#1" "#2" "#3" "#4" "#5" "#6"
– Sets the data for the players of the desired side, depending on original health.
– It’s important! Data with a value of "0" is not edited in the command, and "nil" is reset to its original value in the game! In arguments #5 and #6, in order not to touch the player, just leave them alone/write "nil".
– #1: Sets the player’s walk speed
– #2:Sets the player’s running speed
– #3:Sets the jump height for the player
– #4:Primordial Health
– #5:Issued weapons
– #6:Install the player model
—————————————————–
rs_round_start "Any arg" "After Starts’
– Activates the timer with arguments 1 and 1
– Resets the time to the base time
– Teleports players to their positions
– Gives players their classes assigned by the higher team (if they are assigned).
– Sets text as lobby games and waiting N seconds for start timer.
– First args dont use after new update(He must freeze killer)
===============================
This addon have spectate system.
—————————————————–
rs_respawnall "Number"
– Respawn all or args[1] number players.
—————————————————–
rs_autorespawn "Number"
– Can player respawn to any button or block this function
=================================
These are all the commands that exist in the addon at the moment. If you have a desire to create an addon / suggest an idea to improve it, please like and write a review to the addon. It forces you to work on your work and improve it.
Check out my other addons related to this topic as well: https://steamcommunity.com/sharedfiles/filedetails/?id=3594664732