Garry's Mod

Garry's Mod

评价数不足
War timer (MilitaryRP)
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 角色扮演, 写实
文件大小
发表于
617.206 KB
2018 年 7 月 20 日 上午 12:01
1 项改动说明 ( 查看 )

订阅以下载
War timer (MilitaryRP)

描述
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://psteamcommunity.yuanyoumao.com/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 条留言
Coolchillen 2020 年 7 月 6 日 下午 6:42 
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"]
db  [作者] 2020 年 7 月 6 日 下午 6:25 
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 2020 年 7 月 6 日 下午 5:19 
I put the mp3 files in the sound folder, changed the settings, but there is no noise, do you know why that is?
db  [作者] 2020 年 5 月 8 日 下午 12:54 
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"]
db  [作者] 2020 年 5 月 7 日 上午 11:16 
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 2019 年 4 月 1 日 上午 6:34 
wow thanks :)
db  [作者] 2019 年 1 月 30 日 下午 12:57 
Extract the .GMA and edit the lua file.
Lertas_AltShow 2019 年 1 月 30 日 上午 9:56 
How do you shorten the timer?