Raised This Month: $51 Target: $400
 12% 

[TF2] Funny Class Gibs (0.4)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Plugin ID:
1909
Plugin Version:
0.4
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Shows class specific item gibs.
    Unapprover:
    Reason for Unapproving:
    Conflicts with other plugins that alter notify cvar flag on tf_playergib, see post #11
    Old 08-24-2010 , 05:43   [TF2] Funny Class Gibs (0.4)
    Reply With Quote #1

    [TF2] Funny Class Gibs (0.4)


    Description:

    This plugin is a recoded version of an old TF2 Funny Gibs plugin. The credit for the idea and base goes to him.

    The plugin basically spawns class specific models as gibs upon death. The plugin can be configured to create gibs on either blast damage(rockets, grenades, etc), headshot, backstab or sentrygun kills. Gibs are NOT spawned by normal weapon damage, with the exceptions listed above.


    Class Gibs Descriptions:
    Each class with exceptions to spy have their own gib models.

    Scout Gibs = Randomizes between baseballs and energydrinks. (I couldnt decide)
    Sniper Gibs = Jarates
    Soldier Gibs = Bugles
    Demoman Gibs = Bottles
    Medic Gibs = Bonesaws
    Heavy Gibs = Sandwiches
    Pyro Gibs = Fire particles
    Spy Gibs = N/A. I decided on excluding spies from gibbing due to few models to pick from and dead ringer conflicts.
    Engineer Gibs = Random machine parts(springs, gears, bolts, pda, etc)


    Install/Configs:

    - Place .smx into plugins folder
    - Config is auto-created --> cfg\sourcemod\plugin.funnyclassgibs.cfg
    (all cvars are there)

    Cvar Notes:
    sm_funnyclassgibs_gibcount "5" - I gave this cvar to change # of gibs created, but id advise against changing it much. This can and will cause more lag upon deaths the higher you go. I suggest keeping this value under 10.


    **NOTE:**
    This plugin has potential to cause 'blips' of lag on player death due to loops its doing to spawn the gibs. The original plugin was very bad at this and I think I did improve it quite a bit, but I wanted to make people aware of this. Its fine for individual player kills, but if there were a large group of people killed at the same time, it "might" cause a split second of "stutter".

    If I figure out any more efficient ways to improve the plugin, I will of course do so.


    Changelog:

    Code:
    8/27/10 - v0.4 - Added cvar for backstab gibbing. Added cvar for headshot gibbing. Added cvar to toggle blast damage gibbing. Changed name of sentrygun cvar.
    8/25/10 - v0.3 - Fixed few things. Added bonesaw for medic model. Raised default max zaxis velocity to 500. Changed default gibcount cvar to 5 instead of 6.
    8/24/10 - v0.2 - Removed the fadeout on gibs code. More efficient to just remove the models instead of worrying about a few millaseconds of fade effect. Moved the removeragdoll code to under each class in the 'switch' so models arnt removed if cvars are disabled.
    8/23/10 - v0.1 - Too many to list...see top of .sp file...


    Attached Files
    File Type: sp Get Plugin or Get Source (funnyclassgibs.sp - 948 views - 18.9 KB)
    __________________

    Last edited by retsam; 10-09-2010 at 12:27. Reason: new version
    retsam is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 08-25-2010 , 02:46   Re: [TF2] Funny Class Gibs (0.2)
    Reply With Quote #2

    Could do some ubersaws for the medic.
    __________________
    DarthNinja is offline
    retsam
    Veteran Member
    Join Date: Aug 2008
    Location: so-cal
    Old 08-25-2010 , 04:37   Re: [TF2] Funny Class Gibs (0.2)
    Reply With Quote #3

    I think thats the last option. I was trying to avoid any weapons cause it might confuse people, since you can actually pick up an weapon that dropped for ammo if they were killed with it. Unfortunately, theres like no medic related models so I guess ill do bonesaw maybe.

    I tried to do a bunch of needles models, but they dont work with prop_physics. I also tried the medic "glasses" model, but you can hardly see them they are so small.
    __________________
    retsam is offline
    retsam
    Veteran Member
    Join Date: Aug 2008
    Location: so-cal
    Old 08-25-2010 , 14:18   Re: [TF2] Funny Class Gibs (0.3)
    Reply With Quote #4

    Update v0.3:

    - Fixed couple small things.
    - Enabled medic gibbing.
    - Added bonesaw for medic gib model. Removed glasses model.
    - Raised default max zaxis velocity to 500.
    - Changed default gibcount cvar to 5 instead of 6.
    __________________
    retsam is offline
    xomp
    BANNED
    Join Date: Jul 2008
    Old 08-25-2010 , 18:30   Re: [TF2] Funny Class Gibs (0.3)
    Reply With Quote #5

    If this could be done, but with hats... sheer awesome
    xomp is offline
    Send a message via Skype™ to xomp
    msleeper
    Veteran Member
    Join Date: May 2008
    Location: Atlanta, Jawjuh
    Old 08-25-2010 , 19:47   Re: [TF2] Funny Class Gibs (0.3)
    Reply With Quote #6

    What an insane coincidence, we were in #sourcemod and I had written basically this exact same plugin and people were telling me to release it today.
    __________________
    msleeper is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 08-25-2010 , 22:08   Re: [TF2] Funny Class Gibs (0.3)
    Reply With Quote #7

    Quote:
    Originally Posted by msleeper View Post
    What an insane coincidence, we were in #sourcemod and I had written basically this exact same plugin and people were telling me to release it today.
    To bad for you...
    Sammy-ROCK! is offline
    retsam
    Veteran Member
    Join Date: Aug 2008
    Location: so-cal
    Old 08-25-2010 , 22:12   Re: [TF2] Funny Class Gibs (0.3)
    Reply With Quote #8

    Quote:
    Originally Posted by xomp View Post
    If this could be done, but with hats... sheer awesome
    I can look into it, but I highly doubt it. They gotta be prop_physics related models.

    Quote:
    Originally Posted by msleeper View Post
    What an insane coincidence, we were in #sourcemod and I had written basically this exact same plugin and people were telling me to release it today.
    Hum..if that is true, that would be a pretty crazy coincidence....
    __________________
    retsam is offline
    retsam
    Veteran Member
    Join Date: Aug 2008
    Location: so-cal
    Old 08-27-2010 , 15:49   Re: [TF2] Funny Class Gibs (0.4)
    Reply With Quote #9

    Update v0.4:

    - Added cvar for gibbing on headshots. (disabled by default)
    - Added cvar for gibbing on backstabs. (disabled by default)
    - Added cvar to toggle blast damage gibbing.
    - Renamed the sentry gib cvar. (disabled by default)
    __________________

    Last edited by retsam; 08-27-2010 at 15:52.
    retsam is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 08-28-2010 , 07:15   Re: [TF2] Funny Class Gibs (0.3)
    Reply With Quote #10

    Quote:
    Originally Posted by msleeper View Post
    What an insane coincidence, we were in #sourcemod and I had written basically this exact same plugin and people were telling me to release it today.
    We still eagerly await your facehugger madness!
    __________________
    DarthNinja is offline
    Reply



    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 -4. The time now is 14:05.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode