Garry's Mod

Garry's Mod

Not enough ratings
War timer (MilitaryRP)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
File Size
Posted
617.206 KB
20 Jul, 2018 @ 12:01am
1 Change Note ( view )

Subscribe to download
War timer (MilitaryRP)

Description
This is an addon that adds a timer
- 30 minutes until war starts (Siren plays)
- 15 until war ends (tv glitch noise)
-------------------------------------------------------
Keep in mind this addon is just the purge addon edited you can find
the original addon here - https://steamproxy.net/sharedfiles/filedetails/?id=300326355&searchtext=purge
-------------------------------------------------------
This addon was edited for my post-apocalypse MilitaryRP server
named "Downfall" but anyone who wants it can use it.
8 Comments
Coolchillen 6 Jul, 2020 @ 6:42pm 
it is, i can show the code i used:
PURGEMODE = true
PURGE = PURGE or {} -- If The Purge should be enabled [Default: true]
PURGE.CountdownTimer = 60 * 30 -- Time until The Purge will start [Default: 60 * 60] 60 Minutes
PURGE.EndCountdownTimer = 60 * 20 -- Time until The Purge will end [Default: 60 * 12] 12 minutes
PURGE.PlayPurgeSoundStart = 52 -- Seconds before The Purge starts, when it should play the starting sound [Default: 52] 52 Seconds
PURGE.PlayPurgeSoundEnd = 1 -- Seconds before The Purge ends, when it should play the end sound [Default: 1] 1 second
PURGE.StartSound = "purge/reveille.mp3" -- The Sound that should play before The Purge starts [Default: "purge/thepurge.mp3"]
PURGE.EndSound = "purge/retreat.mp3" -- The Sound that should play when The Purge ends [Default: "purge/thepurge.mp3"]
db4ks  [author] 6 Jul, 2020 @ 6:25pm 
PURGE.StartSound = "YOURSOUND.MP3" <---- the name of the mp3 file for your custom sound needs to there and it needs to be the exact same.
Coolchillen 6 Jul, 2020 @ 5:19pm 
I put the mp3 files in the sound folder, changed the settings, but there is no noise, do you know why that is?
db4ks  [author] 8 May, 2020 @ 12:54pm 
PURGE.EndCountdownTimer = 60 * 15 -- Time until The Purge will end [Default: 60 * 12] 12 minutes
PURGE.CountdownTimer = 60 * 30 -- Time until The Purge will start [Default: 60 * 60] 60 Minutes
PURGE.StartSound = "YOURSOUND.MP3" -- The Sound that should play before The Purge starts [Default: "purge/thepurge.mp3"]
PURGE.EndSound = "YOURSOUNDFILE.MP3" -- The Sound that should play when The Purge ends [Default: "purge/thepurge.mp3"]
db4ks  [author] 7 May, 2020 @ 11:16am 
i don't remember exactly how you change the time and sound effects but if you look around inside the addon long enough you'll find out. thats how i found out.
9Rounds 1 Apr, 2019 @ 6:34am 
wow thanks :)
db4ks  [author] 30 Jan, 2019 @ 12:57pm 
Extract the .GMA and edit the lua file.
Lertas_AltShow 30 Jan, 2019 @ 9:56am 
How do you shorten the timer?