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

[TF2] Fake Death


Post New Thread Reply   
 
Thread Tools Display Modes
Author
codename-G-
SourceMod Donor
Join Date: Feb 2005
Location: Japan
Plugin ID:
487
Plugin Version:
1.1.2
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    TF2 Fake Death
    Unapprover:
    Reason for Unapproving:
    added to game
    Old 08-02-2008 , 05:44   [TF2] Fake Death
    Reply With Quote #1

    http://jp.youtube.com/watch?v=kskVhx0nABM&fmt=18
    http://jp.youtube.com/watch?v=3xEHHU8dQjM&fmt=18
    http://jp.youtube.com/watch?v=2TZJUcrhPt8&fmt=18
    NEW!!
    http://www.youtube.com/watch?v=F5IXnAw2__Q&fmt=18

    ※I used tf2_player.inc. Thank you for naris

    Installation
    Copy FakeDeath.smx to addons/sourcemod/plugins
    Copy fake_death.phrases.txt to addons/sourcemod/translations

    Cvars

    sm_rmf_allow_fakedeath //default:1 (0 = disabled | 1 = enabled)
    sm_rmf_fake_cloak_use //default:10 (0-100)
    sm_rmf_fake_wait // default.0 (0.0-10.0)
    sm_rmf_fake_dissolve //default:1 (0 = disabled | 1 = enabled)
    sm_rmf_fake_dissolve_time //default:8.0 (1.0-50.0)
    sm_rmf_fake_dissolve_type //default:1 (0-3)
    sm_rmf_fake_dissolve_uncloak //default:1 (0 = disabled | 1 = enabled)

    this plugin made by [RMF] RIKUSYO

    Change log
      
    * 08-02-08
    o Initial release
    * 08-08-18
    o added explosion fake death
    * 09-05-15
    o Base code is changed substantially.
    Attached Files
    File Type: smx FakeDeath.smx (12.8 KB, 738 views)
    File Type: txt fakedeath.phrases.txt (593 Bytes, 719 views)
    File Type: sp Get Plugin or Get Source (FakeDeath.sp - 705 views - 15.4 KB)
    File Type: zip rmf.zip (6.2 KB, 596 views)
    __________________


    Last edited by codename-G-; 05-17-2009 at 00:12.
    codename-G- is offline
    MaKTaiL
    Senior Member
    Join Date: Jul 2008
    Location: Brazil
    Old 08-02-2008 , 07:12   Re: TF2 Fake Death
    Reply With Quote #2

    Nice plugin. Good Job!!

    Put some descriptions in the first post, as well as changelogs updates.

    Last edited by MaKTaiL; 08-05-2008 at 09:17.
    MaKTaiL is offline
    ifx
    Senior Member
    Join Date: Apr 2008
    Old 08-02-2008 , 07:40   Re: TF2 Fake Death
    Reply With Quote #3

    haha, this is funny, thanks!
    ifx is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 08-02-2008 , 12:19   Re: TF2 Fake Death
    Reply With Quote #4

    He He nice plugin
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 08-02-2008 , 13:15   Re: TF2 Fake Death
    Reply With Quote #5

    It looks like it's just a feign death kind of feature for the spy. If they're invisible and they press their attack button, a corpse will spawn and fall to the ground. The way he does it though it looks like it will be pretty resource intensive.
    bl4nk is offline
    r3dh3adkid
    Senior Member
    Join Date: Apr 2008
    Location: Georgia
    Old 08-02-2008 , 13:17   Re: TF2 Fake Death
    Reply With Quote #6

    "sm_rmf_use_cloak_meter" has a default of 10, not 0.

    I like how he added conditions to drop a burning spy if you were on fire.

    Well thought out
    __________________
    r3dh3adkid is offline
    [AiF] Biggs
    Member
    Join Date: Jan 2008
    Location: Statesboro, GA
    Old 08-02-2008 , 14:35   Re: TF2 Fake Death
    Reply With Quote #7

    Sweet, thanks for releasing it. I've been wanting to try this out since I saw the video on youtube.
    __________________
    [AiF] Biggs is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 08-02-2008 , 15:47   Re: TF2 Fake Death
    Reply With Quote #8

    I only took a quick look over the source, but it looked like you made it so a spy could drop a body every .5 seconds. If I'm right, couldn't that be abused?

    [edit]

    Nevermind, I completely missed the wait time cvar.

    Last edited by bl4nk; 08-02-2008 at 15:58.
    bl4nk is offline
    Durzel
    Member
    Join Date: Aug 2008
    Old 08-02-2008 , 17:19   Re: TF2 Fake Death
    Reply With Quote #9

    Hi,

    First off, great mod! I was going to try and have a go at writing this for my first TF2 SourceMod but you've beaten me to it

    A couple of suggestions:

    - When the ragdoll drops the same death sound is played every time. I'm pretty sure there is at least one other Spy death sound. Would be better if it was randomised.

    - Needs a fake death message to be at all convincing. The game keeps track of the last person (people?) to damage you in order to award assists, so it would be good if it could fake a message to the effect of "<would-be assister> killed Spy using <weapon assister is carrying>"

    - Ideally it should be something that doesn't require the user to be in cloak to activate. Having to be cloaked to do it will ultimately result in people learning not to trust any Spy who appears to die whilst in cloak. In the version I tried to make I temporarily set the cloaking delay to 0 (instant) with a view to making it so that a seperate bind would drop a ragdoll and instantly cloak you at the same time (if you weren't cloaked already).

    I couldn't see a way of forcing the user into cloak though, SM seems to only allow you to pull them out of it, i tried:

    SetEntProp(client, Prop_Data, "m_nPlayerCond", 16)

    ...but this didn't work (16 is the bit flag for being cloaked), though if you set this to 0 or whatever it does drop them out of cloak.

    Great mod though
    Durzel is offline
    Alex2501
    New Member
    Join Date: Aug 2008
    Old 08-02-2008 , 17:26   Re: TF2 Fake Death
    Reply With Quote #10

    Dumb question: Does this work on any server, or just a server with mod enabled?

    One other dumb question: I placed the fakedeath.smx file in the sourcemods/plugin folder but I couldn't find a translations folder. Do I have to make a new folder, or something else?

    Last edited by Alex2501; 08-02-2008 at 17:34.
    Alex2501 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 12:07.


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