Repair Restrictor

If you liked this item, please rate it up on Steam Workshop page.

Author: Krunch

Last revision: 1 May, 2023 at 08:14 UTC

File size: 626.69 KB

On Steam Workshop

Description:

Repair Restrictor allows you to set a limit to the number of repairs players can do as well as set penalties for when a player goes over that limit. It also includes a player-to-player teleport system and a game timer.

UPDATED! Now compatible with "High Seas"

FEATURES
* Set how many repairs are allowed (from 0 to 99)
* Set how many repair limit breaches (strikes) are allowed (from 1 to 99)
* Set penalties combining timeouts, teleporting and height drops
* Includes an Activation/Deactivation button so that settings can be made and players can be ready before activating restrictor mode
* Includes a Countdown option for Activation which also acts as a race start or battle start countdown
* Includes a Game timer option which will automatically end the game by deactivating restrictor mode after the set amount of time
* The host can set a Penalty Jump Zone which can be used as a more severe penalty
* The host can set a Common Jump Zone (teleport destination) to allow all players to gather together before or after a game
* Each player can set their own Personal Jump Zone by clicking a button.
* Each player can teleport to any other connected player’s position if restrictor mode is not activated
* Repairs are not counted if the player doesn’t have any damage
* Repairs are detected even when a player uses a tranformation slot, respawns or uses build mode to fix damage
* If a player has multiple vehicles loaded then each repair makes the repair count go up by 2 instead of 1
* In multiplayer each player can see every other connected player’s current repair count and more
* Click on your own name button to access the Jump Zone buttons
* Click on another player’s name button to access the ‘jump to player’ button (if restrictor mode is not activated)
* After deactivation repair counts, strike counts and penalty counts remain visible in case you are keeping score (these reset at the next activation)

KNOWN ISSUES
* If a player has multiple vehicles loaded it can sometimes cause errors with damage and repair detection.

NOTE: Use the "F4" key on your keyboard to switch the mouse cursor on and off while mods are loaded.

v0.2.3 Hotfixes
– fixed a "Failed to call update" bug caused by Flashbulb Games removing some spawnable items from the game

v0.2.2 Hotfixes
– fixed a bug with timeout penalties when player is in a spaceship seat

v0.2.1 Hotfixes
– fixed a bug with timeout penalties when player is in an armoured seat

v0.2 Hotfixes
– map/level detection updated to include the "High Seas" map
– in the "High Seas" map only:
—— teleport penalties removed and replaced with ‘hobbling’
—— teleporting to a jump zone requires players to exit their seat
– fixed a few bugs

Repair Restrictor mod v0.2.3 ("Airborne" hotfix 1 May 2023)
————————————
by Krunch
Play testing by RetroCat7 & SirUp
Special thanks to the helpful people on the Trailmakers Discord modding channel
This mod is a work in progress (WIP) and may contain bugs
Use of this mod is entirely at your OWN RISK
Find help & report bugs at the TM Discord modding channel at http://discord.gg/trailmakers
—————————————————————-
SHA-256 checksum for main.lua:
ff64332506fdc4a81ef0b7f47083bd9a8b64787995bf489973a8f7220d757412
—————————————————————-