SRB2 Message Board  

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

Reply
 
Thread Tools
Gibs for 2.2 Details »»
Gibs for 2.2
Version: v2.1, by TrustyGun (aka. Exoticus) TrustyGun is offline
Developer Last Online: May 2020

Version: SRB2 Rating: (1 votes - 3.00 average)
Released: 12-15-2019 Last Update: Never Installs: 4
Scripts Re-Useable Content Sprites/Graphics

Spoiler:


A port of my 2.1 mod to 2.2 with some new additions, some reworks, and a little bit of mod compatibility (see below).

Basically, this addon adds gibs to the base game. Whenever players, enemies, monitors, and bosses are hit or killed, you see blood and gibs fly everywhere!

In ringslinger modes such as Match and CTF, players bleed their skin color.

CHANGELOG:
Spoiler:

v2
  • The ACZ3, BCZ2, and BCZ3 bosses have special events happen when they die. Be sure to check them out!
  • When a player dies, the player-cam tracks their skull.
  • You can now turn off "organic" gibs - red blood, bones, and skulls. This will also turn off player bleeding and gibbing. Useful for large servers.
  • You can also turn off the death-screams separately if you prefer.
  • Depending on the player skin, different blood types, gibs, and death screams are used.
  • Gib sprites now smoothly rotate when they fly about.
  • Optimizations :)
v2.1
  • Fixed a couple of bugs with custom characters. Custom characters should now work with gibs.
  • Fixed goombas not gibbing


COMMANDS
Spoiler:

Quote:
gibs_help - Tells you all of the available commands for the mod.
Quote:
gibs_liqcooldown [seconds] - Determines how long it will take until blood/oil disappear. Don't set these to high values, they will lag your game!
Quote:
gibs_gibscooldown [seconds] - Determines how long it will take until gibs disappear. Don't set these to high values, they will lag your game!
Quote:
gibs_organic [0/1] - Turns on/off "organic" gibs - such as red blood, and bones. This also turns off player blood and gibbing; you will die like normal.
Quote:
gibs_voice [0/1] - Turns on/off death screams. Do note that turning off gibs_organic already means that death screams won't be played.


MOD COMPATIBILITY
Spoiler:

Some basic mod compatibility has been added, allowing custom things and skins to be affected by the gibs mod. Because of the way it's currently implemented, make sure to load gibs first!

Things
Add something like this to the end of your LUA file - keep it separate, don't put it in a function.
Code:
if gibs then        //check to see if gibs mod is loaded
                    //add our thing to a certain table
	table.insert(gibs.example_table,MT_MYTHING)
end
Whichever table you add it to determines what gibs spawn on death/hit. Here's a list:
  • gibs.organic - red blood, bones and a skull
  • gibs.mechanical - oil, bolts and nuts
  • gibs.monitor - oil, and monitor bits (duh)
  • gibs.boss - same as gibs.mechanical, but up to 11 for extra flashy hits
  • gibs.etheral - white ecotoplasm. spooky!

Skins
This is very similar to how custom things are added.
Code:
if gibs then        //check to see if gibs mod is loaded
                    //add our skin to a certain table
	table.insert(gibs.example_table_but_for_skins,"myskinname")
end
As before, whichever table you add it to changes what color blood you have and what gibs spawn.
  • gibs.skin_male - organic blood and gibs, male death scream
  • gibs.skin_female - same as above, but female death scream
  • gibs.skin_mechanical - oil, bolts, nuts, robotic death scream
  • gibs.skin_pref_color - uses the player's color for the blood, no death scream.

If you have any issues, contact me here or on discord; my username is the same as here, TrustyGun.


Spoiler:
In the event I do not log in for a month and cannot be contacted, I give blanket permission for STJr and its appointed staff to coordinate and approve the porting and maintenance of my releases on the SRB2MB, except where stated otherwise. I reserve the right to ask for those ports to be taken down or replaced if I return. You may not edit my work to create other content (such as Original Characters or Remix Stages) unless specified

Download Now

File Type: 7z VL_gibs-v2.1.wad.7z (54.3 KB, 421 views)

Screenshots

Click image for larger version

Name:	srb20038.gif
Views:	709
Size:	4.89 MB
ID:	23554   Click image for larger version

Name:	srb20039.gif
Views:	730
Size:	6.99 MB
ID:	23555  

Show Your Support

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

Comments
Old 12-15-2019   #2
D00D64
Worst Ranked 'Kart Player
Moderator
 
D00D64's Avatar
Default

Welcome to releases!
__________________
The least skilled player on the Kart Krew dev team, but I try my best. Maybe someday...

My awful Twitter account

My also awful YouTube channel
D00D64 is offline   Reply With Quote
Old 12-15-2019   #3
Zekeram12
Default

Embracing the game's DOOM roots, I see.
Zekeram12 is offline   Reply With Quote
Old 12-15-2019   #4
TrustyGun
aka. Exoticus
 
TrustyGun's Avatar
Default

Fixed a couple of bugs with the mod, including one which stopped custom characters from gibbing/bleeding.
TrustyGun is offline   Reply With Quote
Old 01-03-2020   #5
Frostiikin
"Fuck" -avgn
 
Frostiikin's Avatar
Default

Question: Why?
Frostiikin is offline   Reply With Quote
Old 01-03-2020   #6
QuickWolfPT
 
QuickWolfPT's Avatar
Default

Quote:
Originally Posted by Frostiikin View Post
Question: Why?
The only anwer for that question is: why not?
QuickWolfPT is offline   Reply With Quote
Old 02-09-2020   #7
NAR the Fox
Self-taught Lua Amateur
 
NAR the Fox's Avatar
Default

Say I wanted to make a character have ectoplasm instead of blood or oil or something. How would I do that?
__________________
You can just call me "NARbluebear"
My YouTube Channel

4:3 will get ported to 2.2, so keep an eye out!
NAR the Fox 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 05:51 AM.


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