Enemies Drop Rings

[Open Assets] Enemies Drop Rings 1.3.1

This content may be freely modified and/or maintained by anyone.

AlanGab2k9

Member
AlanGab2009 submitted a new resource:

Enemies Drop Rings - Gain rings by destroying enemies!

I made a LUA script that remakes a feature from Sonic Megamix. If you kill an enemy, a ring will come out of it.

If you don't want your custom enemy to drop a ring when killed, put this in your enemy's script:
Lua:
if not EDR_BanList
    rawset(_G, "EDR_BanList", {})
end

table.insert(EDR_BanList, MT_CUSTOMENEMY)

Read more about this resource...
 
You defeat enemies you get the ring it pops out after defeating it although try not to get hit by Detons and mines, Great mod by the way.
 
@AlanGab2009 you could make an alternative file that, instead of making the badnik drop a ring when defeated, makes the badnik instantly increase the ring counter by 1 when defeated. For me, that'd be a five stars no doubt!
 
AlanGab2009 updated Enemies Drop Rings with a new update entry:

v1.3.1 update

Hello, everyone. If you thought I've forgotten about this addon, then let me tell you that I didn't.

Anyways, this update addresses an issue with the object state check for Big Floating Mines and Detons. In the previous version, I used numbers instead of constants in the script to point to the states where the enemy would explode. This was a bad idea, because as new SRB2 versions arrive, some object states might get added or removed, making those numbers point to a different state rather...

Read the rest of this update entry...
 

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top