War Timer

[Open Assets] War Timer v1

What permissions do you give others to modify and/or maintain your submission?
Modify: YES - Maintain: YES - I give permission for my entire submission to be modified by others or used in their own work. I give permission for my entire submission to be maintained by others as well.
The War timer from the WAR level from Pizza Tower.

I made this mod some time ago and it was just laying in my folder so now i decided to actually post it.
This mod has 2 downloads, L_WarTimer-v1.pk3 and V_WarTimerLevels.wad

L_WarTimer-v1.pk3 is the actual mod with all the lua and stuff, this is the one you want to add in your mod mappers.

V_WarTimerLevels.wad is just a big map header for nearly every map in the game so you can play this mod yourself or with friends.


Anyway this war timer has special visuals to look more SRB2ish.
If the map doesnt use the timer and you enable the timer then it will look like the Pizza Tower war timer.

i dont have much to say than that its basically the Pizza Tower one just with extra features

If you are a mapper then i suggest you to read this spoiler, this has all the stuff you need.

Linedefs:
START TI | MER - Start the timer (Sets the time to the start)
STOP TIM | ER - Stop the timer (Also hides it)
PAUSE TI | MER - Pauses the timer
CONTI TI | MER - Continues the time
ADD TIME - Add base amount of time.
SET TIME - Set amount of time (seconds based on floor height)


Lua.WarTimer = true/false (def:true,turned on at the start?)
Lua.WarStartTime = 1-... (def:30, how much time you start with)
Lua.WarAddTime = 1-... (def:30, how much time you get from monitors)
Lua.WarTimerDeath = true (def:true, die if timer hits 00:00)

Lua.WarPanicTime = 30 (def:0, when the panic music starts)
Lua.WarPanicMusic = GFZ2 (def:none, which music plays when timer is below panictime)
Lua.WarKeepMonitors = false (def:false, monitors get replaced if true)
Lua.WarTimerTag = 0 (def:none, which tag to execute for a linedef execute when timer ends.)

Lua.WarCustomTimer = false (def:false, is custom timer enabled)
Lua.WarRedNum = SKNNUMR (def:WARNUMR, which number graphic to use when timer counts)
Lua.WarGreenNum = SKNNUMG (def:WARNUMG, which number graphic to use when timer is stopped)
Lua.WarRedTimer = WARTIMERR (def:WARTIMERR, which graphic to use when the timer counts)
Lua.WarGreenTimer = WARTIMERG (def:WARTIMERG, which graphic to use when the timer is stopped)
Lua.WarAnimFrames = 1 (def:1, how many frames for numbers, cope if you want it for the timer)

(X and Y coordinates for minutes and seconds)
Lua.WarMinX = ?
Lua.WarMinY = ?
Lua.WarSecX = ?
Lua.WarSecY = ?

(Space between numbers)
Lua.WarMinO = ?
Lua.WarSecO = ?

Notes:
Check SOC_HEAD to know how to put it.

Beeping sound is DSWARDWN
Time add sound is DSWARADD

Bosses give seconds based on Lua.WarAddTime (Lua.WarAddtime = 5, then gives 5 Seconds)
There is a gold variant but its unused.

Credits:
Clairebun - HUD Objects

Jon - Sprites for the Bomb Timer
  • srb24945.gif
    srb24945.gif
    5.5 MB · Views: 737
Author
BuggieTheBug
Downloads
3,992
Views
8,385
First release
Last update
Rating
4.71 star(s) 7 ratings

More resources from BuggieTheBug

Share this resource

Latest reviews

2 thing

1.made me better at pizza tower

2. got me ready for robotpoils
Upvote 0
Very fun to stress about being on a timer!
Upvote 0
Very cool!, although for some reason when i use wartimer. Pk3 it doesnt actually kill me when i turn it on, could you fix this?
Upvote 0
It scared me as hell when i turned on both files and i started hearing some timer sounds in menu
-Russian guy from SRB2 discord, МАКСосиска
Upvote 0
How i enable the timer?
BuggieTheBug
BuggieTheBug
Either load the V_WarTimerLevels.wad included as a download to enable it on all maps, or use command wartimer
Upvote 0
When the SRB2 timer actually has a limit
Upvote 0
Welcome to releases!
Upvote 0
Back
Top