SRB2 Message Board  

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

Reply
 
Thread Tools
Liquid and Inferno Shields Details »»
Liquid and Inferno Shields
Version: 1.0, by Joat (Gum Phoenix) Joat is offline
Developer Last Online: Sep 2017

Category: Version: SRB2 Rating: (2 votes - 3.60 average)
Released: 10-25-2016 Last Update: Never Installs: 0
Scripts Re-Useable Content Sprites/Graphics

The Elemental Shield was once two separate shields: the Liquid and Inferno Shields. For those who have need of them for their mod, here is a script that restores those shields. It includes shield graphics (made from the Elemental Shield sprites and the old Inferno Shield sprites) and monitor graphics.

My thanks to Goldenhog and RedEnchilada, whose Gravity Shield script has shown me that new shields can be done and gave me a template on how to do it, even if my implementation ultimately ended up differing considerably. Speaking of the Gravity Shield, this mod is compatible with that one.

Thanks also to Sapheros, for contributing some code directly to this project, to handle ignoring bubbles when using the Liquid Shield.

The map thing numbers for the Liquid and Inferno Shield monitors are 422 and 423, respectively.

Download Now

File Type: zip shieldsplit.zip (9.3 KB, 248 views)

Screenshots

Click image for larger version

Name:	srb20015.png
Views:	771
Size:	34.6 KB
ID:	9157   Click image for larger version

Name:	srb20016.png
Views:	747
Size:	32.2 KB
ID:	9158  

Supporters / CoAuthors

Show Your Support

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

Comments
Old 10-25-2016   #2
TehRealSalt
Ya Gal Sal Here (σᴥσ)
Developer
 
TehRealSalt's Avatar
Default

Works like a charm; my only suggestion is to make bubbles unable to be grabbed by anyone wearing the Aqua Shield, like how the Elemental Shield does it.

Welcome to releases!
__________________
THZ Discord | Twitter | Avatar Source
TehRealSalt is offline   Reply With Quote
Old 10-25-2016   #3
Sapheros
That guy that ports
 
Sapheros's Avatar
Default

Can I hire you to make P_Attract in lua for meh pls

These shields work great! If you want, I can PM you a code for TehRealSalt's comment.
__________________
Hiyo all! Underground Website
Sapheros is offline   Reply With Quote
Old 10-25-2016   #4
Joat
Gum Phoenix
 
Joat's Avatar
Default

Such would be appreciated, Sapheros. Plan A, overriding P_TouchSpecialThing, seems to be impossible, and though I have a plan B, if you've already typed something out, I certainly shan't argue with that.

On P_Attract, on cursory glance, it looks doable. I can at least try, on that.
__________________
"Your friend is that man who knows all about you, and still likes you." - Elbert Hubbard
Joat is offline   Reply With Quote
Old 10-25-2016   #5
toaster
トースタちゃん
Developer
 
toaster's Avatar
Default

Missed opportunity to make the inferno shield mapthingnum 420. Clearly it's not blazing it properly.

ANYWAYS GOOD WORK
__________________
Quote:
<MonsterIestyn> surely it's good ass though
Quote:
<MonsterIestyn> watch porm to keep warm
toaster is offline   Reply With Quote
Old 10-25-2016   #6
Lilac
 
Lilac's Avatar
Default

Nicely done! I like it!
Lilac is offline   Reply With Quote
Old 10-25-2016   #7
Prime 2.0
Actually a decent lazy bum
Moderator
 
Prime 2.0's Avatar
Default

Fun fact: I worked on something similar (but didn't finish) during 2.1's development to test mod-accessible shield layers and lua and maybe put them in the Mystic Realm port, but since I didn't understand checking sector specials with Lua at the time, I reached for far more hacky methods of figuring out which element a given instance of environmental damage was.

Namely, checking the map number because Mystic Realm is consistent about which stages have which hazards! If you're in Flame Rift Zone after all, you can be pretty confident that damage came from lava if a mobj wasn't responsible. :P

Heh.

I'm glad that somebody finally did it properly. My stab at it made for a good story, but not so much for a good wad.
__________________
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.

Last edited by Prime 2.0; 10-25-2016 at 05:28 PM.
Prime 2.0 is offline   Reply With Quote
Old 10-26-2016   #8
Joat
Gum Phoenix
 
Joat's Avatar
Default

Code to have the Liquid Shield ignore breathable bubbles has been added.
__________________
"Your friend is that man who knows all about you, and still likes you." - Elbert Hubbard
Joat is offline   Reply With Quote
Old 10-26-2016   #9
Prime 2.0
Actually a decent lazy bum
Moderator
 
Prime 2.0's Avatar
Default

Quote:
Originally Posted by Joat View Post
Code to have the Liquid Shield ignore breathable bubbles has been added.
Relevant to this, you can add coauthors in "Edit Addon Settings".
__________________
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 05-19-2017   #10
Aquatic Hinote
iDragon, new Apple device
 
Aquatic Hinote's Avatar
Default

"Bug": In RVZ, the lavafalls fizzle the Inferno. Less of a bug than a property mixup. This happens because you can go into them and they are water sectors.

---------- Post added at 09:58 PM ---------- Previous post was at 09:45 PM ----------

Actually, I'm doing "SRB2 but it has these shields", could be fun.
__________________
Quote:
Originally Posted by Yoshirocks90 View Post
Quote:
Originally Posted by MK.exe View Post
Techie Valley
I think this is a GREAT name. I fully approve of this.
Aquatic Hinote is offline   Reply With Quote
Old 05-20-2017   #11
Sapheros
That guy that ports
 
Sapheros's Avatar
Default

Right, that issue in general was really fucking picky for the Fire Shield, I'll be able to provide what was done for my Fire Shield for Joat when he's available again.
__________________
Hiyo all! Underground Website
Sapheros is offline   Reply With Quote
Old 05-31-2017   #12
Simon_T
Pyro the Hedgehog
 
Simon_T's Avatar
Default

Can you add a code for replacing the regular Elemental Shields in Vanilla? Something like Saph's S3&K Shields
__________________
O kurwa!
Simon_T 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 03:41 AM.


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