Configuration
Every option in STG Poison System config.lua, from the poison timer and death on timeout to the target marker, antidote time and single use syringes.
All settings live in stg-poison/config.lua. The file stays editable in the escrow version. Restart the resource after a change.
Poison timer
Config.Cooldown = 3 * 60000
Config.DeathOnTimeout = trueProp
Type
While poisoned, the player stays in ragdoll, the screen fades in and out with a screen effect and a looping sound plays. All of it stops when the antidote is given or the timer ends.
Target marker
Config.ShowMarker = trueProp
Type
Antidote
Config.AntidoteDuration = 7000Prop
Type
Remove after use
Config.RemoveAfterUse = {
Poison = true,
Antidote = true,
}Prop
Type
Weapon names
AddTextEntry("WEAPON_STGPOISON_1", "STG Poison Syringe")
AddTextEntry("WEAPON_STGPOISON_2", "STG Antidote Syringe")The names the game shows for the two weapons, for example on the weapon wheel. Change the second text in stg-poison/client/cl_weaponNames.lua to rename them. This file also stays editable in the escrow version.
Still having trouble?
Open a ticket on our Discord. Our team answers around 15 hours a day.