SRB2 Message Board  

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

Reply
 
Thread Tools
Nade to Mine Details »»
Nade to Mine
Version: The first-ish, by Rapidgame7 (pressure pressure pressure) Rapidgame7 is offline
Developer Last Online: Dec 2017

Category: Version: SRB2 Rating:
Released: 09-24-2017 Last Update: Never Installs: 0
Scripts Re-Useable Content

It restores the former glory of grenade rings - by turning them into mines!



They will explode early when any player that is considered an enemy comes nearby:
If not in a team game, that is everybody but you.
In a team game, that means everybody not in your team.

They still explode after an amount of time, but they last a little longer than normal grenades.

Spoiler: CVars
All CVars are marked as cheat CVars, and will print a message when they are changed.
All time CVars, when changed, will display the amount of tics you set in seconds.

nadefuse <integer in tics>
Default: 525 tics (15 seconds)
Sets the maximum amount of time a grenade may last before exploding.

nadecheckstart <integer in tics>
Default: 70 tics (2 seconds)
After throwing a grenade, once this amount of time passes, the grenade will be able to explode when tripped by an enemy.
This prevents grenades from detonating too early.

nadecheckdist <integer in fracunits>
Default: 192 fracunits
When an enemy gets this close to a grenade, it will explode.
This does not change the explosion radius.

nadefriendlytrip <0|1|2>
Default: 0
Sets who is considered an enemy, basically.
0 makes the mine trip when an enemy is nearby. (Opposite team in team games, everyone but you in non-team games)
1 acts like 0, but also trips on team members. (Does nothing on non-team games)
2 acts like 1, but also trips on the shooter.

nadedestroy <0|1|2>
Default: 0
This is a little experimental feature.
When a player throws a grenade and disconnects/changes teams, what happens depends on the current value of this CVar:
If 0, grenades from this player will be removed.
If 1, they will all explode at once.
If 2, they will remain in the game, but they will damage anybody (tripping mechanism still follows team rules). (A little buggy though)


Download Now

File Type: lua nadeToMine.lua (3.4 KB, 53 views)

Screenshots

Click image for larger version

Name:	srb20020.gif
Views:	523
Size:	278.1 KB
ID:	11578  

Show Your Support

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

Comments
Old 3 Weeks Ago   #2
MascaraSnake
aka SpiritCrusher
Moderator
 
MascaraSnake's Avatar
Default

Welcome to Releases!
MascaraSnake is offline   Reply With Quote
Old 3 Weeks Ago   #3
ThunderFlame
 
ThunderFlame's Avatar
Default

Wait? The grenade ring was changed? I thought it always acted like a mine and exploded in proximity and on contact?
__________________
I am Predator.
ThunderFlame is offline   Reply With Quote
Old 3 Weeks Ago   #4
MascaraSnake
aka SpiritCrusher
Moderator
 
MascaraSnake's Avatar
Default

It was changed in v2.1. Now it just explodes after 6 seconds regardless of whether a player is nearby or not.
MascaraSnake is offline   Reply With Quote
Old 3 Weeks Ago   #5
MK.exe
Lazy, Lazy and lazy?
 
MK.exe's Avatar
Default

Hahah, this makes the Rails not as OP and anyone can use it and you'll be competing with everyone else.

Heck you can win a match with nades only.
__________________
Done:
Hit a 180 Rail shot
First person to have a map in releases with Slopes
MK.exe 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:05 PM.


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