SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > Outdated Releases (2.1.X) > Lua (2.1.X)

 
 
Thread Tools
Clock - Classic Time Limit! Details »»
Clock - Classic Time Limit!
Version: 1.0, by Lach (nanananananananananananan a) Lach is offline
Developer Last Online: Aug 2020

Category: Version: SRB2 Rating:
Released: 06-29-2019 Last Update: Never Favourites: 0
Scripts Sprites/Graphics

In the original Sonic the Hedgehog saga, failing to beat a level in 10 minutes would result in a Time Over. This addon attempts to replicate that feature in a way that makes sense for SRB2.

Use the console variable clock (named as such because "timelimit" is already taken by SRB2) to change the number of minutes the players have to complete the level. For instance, if you wanted levels to be beaten in 5 minutes, you would run "clock 5". Should the level time exceed this value, the player will lose a life if playing in Single Player, or the level will end if playing in Multiplayer.

Alternatively you can turn on the console variable waitforfinish to have the timer only start after the first player beats the level. This makes the behavior of the time limit act more like the Race/Competition timer. You will probably want to set the clock value to something low if enabling this option.

When a player is almost out of time, their music is set to the drowning theme.

Known issues:
Spoiler:
  • Changing the clock timer value to something higher once the music change occurs will leave those players with silence.
  • The red flash for TIME on the HUD is slightly off-position in OpenGL.
  • The red flash for TIME on the HUD may be off-position in certain resolutions in splitscreen.

Download Now

File Type: pk3 clock.pk3 (1.3 KB, 110 views)

Screenshots

Click image for larger version

Name:	srb20393.gif
Views:	229
Size:	1.24 MB
ID:	20470   Click image for larger version

Name:	srb20395.gif
Views:	243
Size:	4.72 MB
ID:	20471  

Show Your Support

  • This addon may not be copied, reproduced or published elsewhere without the author's permission.

Comments
Old 06-29-2019   #2
D00D64
Probably Responsible
Moderator
 
D00D64's Avatar
Default

Welcome to releases!
D00D64 is offline  
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:12 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.