Resource icon

[Open Assets] Rock Shield 2.0

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.
I made sure my file(s) follow the Submissions Guidelines
  1. Yes
I named my file(s) correctly (see Filename Conventions)
  1. Yes
Welcome to...
The Rock Shield from Sonic: Time Twisted!
View attachment srb20606.gif

What does this mod do?
This mod (in it's base form) replaces the Whirlwind Shield with the Rock Shield! The rock shield gives the player two rocks to hurl at enemies! After usage, there's a short cooldown timer (represented by the rock respawning) until the player can use the shield ability again. It also has a passive ability to prevent taking spike damage!

When the player loses their shield, the rocks fall off the player, and are still a threat to anyone who dare touches the rocks!

For modmakers...
Check the lua file in the PK3, you can modify the doomednum so that you can place this in your map! In the lua script, scroll down a little bit and you will find comments that say "REPLACE ME", so simply change them to an unused number. If either of them are modified past -1, the script will no longer replace Whirlwind shields.

Changelog
v2.0
  • Introduced homing system; rocks now home in on locked enemies in full 3D (X/Y/Z), so enemies up in the air or down in pits are tracked.
  • Rocks now restore quicker when it successfully kills a locked on enemy
v1.1
  • Added new HUD element, to make it sit in line with the other power-ups. Thanks to Faye for the help on this!
v1.0
  • Added information for Zone Builder to work with.
  • Added new animation for when rocks are respawning, very similar to how Sonic: Time Twisted does it.
  • Removed the variables used to replace the doomednum info, for it does not work with Zone Builder. You must now change it manually in order to place it.
  • When finishing a level (without MMT enabled!), the rocks will fall onto the ground at the end of the level.
  • Fixed rock shield being able to be used while in PF_THOKKED state.
  • Fixed the shield not working in reverse gravity.

v0.9.2
  • Whoops, didn't replace the whirlwind goldbox variant. Now that's been fixed! Last hotfix before v1.0 I hope!
v0.9.1
  • Fixed validation check bugs in relation to .RSMod

NOTICE TO OPENGL USERS
Since 2.2.7, 3D models have been introduced to the game! However, without fixing it, this mod won't work properly with that. A new zip has been provided that should alleviate this! Download the zip and extract it to where-ever the "srb2win.exe" file is.
Then, edit models.dat in something like Notepad and append this code to the end of it:
Code:
TVRS OBJE/TVRS.md3 1.5 0.0

Do note this will not make the rocks into 3D models, since I lack the skill to do such a thing.


Special Thanks
Thanks to Flame and Faye on the SRB2 Discord for helping out with most of the math stuff, wouldn't have figured out the orbiting pattern without ya.
Thanks to the Sonic: Time Twisted dev team for not only the original idea for the rock shield, but also for the sprites used in this (the rocks, fragments, and part of the shield sprite are ripped from Sonic: Time Twisted)
  • srb21034.jpg
    srb21034.jpg
    73.2 KB · Views: 736
  • srb21036.jpg
    srb21036.jpg
    142.3 KB · Views: 665
Author
EeveeEuphoria
Downloads
1,134
Views
3,566
Extension type
pk3
File size
8.8 KB
MD5 Hash
d734642e3e21ba1f7ec6acf768f93d14
First release
Last update

More resources from EeveeEuphoria

Share this resource

Latest updates

  1. 2.0 - Now it's actually usable!

    Just a quick n simple update, now the Rock Shield is... usable. It uses the regular ol'...

Latest reviews

I feel like this shield doesn't work very well in 3D as aiming the rocks is very difficult. If this had some sort of lock-on it would much more useful. Also, I don't like that there's no indication you still have the shield after tossing both rocks away. While it would be a bit less "faithful", the shield would be far better overall if these issues were addressed.
Upvote 0
Back
Top