SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Releases > Lua

Reply
 
Thread Tools
Linedef Executor - Award Rings Details »»
Linedef Executor - Award Rings
Version: 1, by Steel Titanium Steel Titanium is offline
Developer Last Online: Feb 2019

Category: Version: SRB2 Rating:
Released: 12-20-2018 Last Update: Never Installs: 0
Scripts Re-Useable Content

You know, I'm surprised this isn't already a thing in SRB2, and I'm even more surprised no one have ever thought of making something like this, given how long 2.1 has been out for now. This script is the solution to the problem! Custom executor to award rings to the player. A test map is included too.

Set-up instructions:
  • Add the Lua script into a wad for your level, with a lump name like LUA_MAIN, LUA_FUN or LUA_LOL, doesn't matter at all except for the "LUA_" bit.
  • Set up a linedef executor involving linedef type 443 - this should have a front upper texture of name "AWDRINGS".
  • Front x texture offset of the linedef determine how many rings should the player get. Anything in negatives removes that exact amount from the player.
  • Front y texture offset of the linedef determine the delay(in seconds), before giving or removing rings again.

Download Now

File Type: zip awardrings-test.zip (2.1 KB, 21 views)
File Type: lua awardrings.lua (546 Bytes, 28 views)

Screenshots

Click image for larger version

Name:	srb20173.gif
Views:	118
Size:	1.52 MB
ID:	14768   Click image for larger version

Name:	srb20174.gif
Views:	86
Size:	875.2 KB
ID:	14769   Click image for larger version

Name:	srb20175.gif
Views:	87
Size:	313.5 KB
ID:	14770  

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Comments
Old 4 Weeks Ago   #2
Prime 2.0
Grape flavored
Administrator
 
Prime 2.0's Avatar
Default

Sorry for the delay. Welcome to Releases!
__________________
Science tells us that nothing can be proven, only rendered more likely to be true. If we do not question what we already know, how can we know, much less admit, when we're wrong? Such things are vital to progress.
Prime 2.0 is offline   Reply With Quote
Old 3 Weeks Ago   #3
sadcrowprince
 
sadcrowprince's Avatar
Default

Thank you SO much for this!!
sadcrowprince is offline   Reply With Quote
Reply

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 09:11 PM.


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