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

[L4D] Flying Survivors Push


Post New Thread Reply   
 
Thread Tools Display Modes
Author
olj
Veteran Member
Join Date: Jun 2009
Plugin ID:
1143
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Survivors flying from tank's punch can push other survivors.
    Old 09-05-2009 , 21:32   [L4D] Flying Survivors Push
    Reply With Quote #1

    This plugin for Left 4 Dead will make any survivors flying from tank's punch to push other survivors.

    Highly untested, but worked for me, though sometimes its very hard to hit someone, and sometimes it wont work (for example if survivor landed too quick).

    Config

    Autoconfig's name: l4d_survivorspushing

    CVARS

    l4d_survivorspushing_distance Collision radius (130 default)
    l4d_survivorspushing_heightvector Height vector (200 default)
    l4d_survivorspushing_sidevectorsmultiplier Movement vectors multiplier (x,y vectors multiplier) (2 default)
    l4d_fsp_version version cvar

    Commands

    None

    Notes on mechanic


    Credits

    Zverina for idea
    Everyone on the alliedmods.net.
    Valve for great game.

    Things to do
    Add some dmg and appropriate cvar.

    Changelog
    09.06.2009 / initial release
    09.15.2009 / added version cvar
    Attached Files
    File Type: sp Get Plugin or Get Source (FlyingSurvivorsPush.sp - 3816 views - 5.2 KB)
    __________________

    Last edited by olj; 09-15-2009 at 06:24.
    olj is offline
    Skorpion1976
    Veteran Member
    Join Date: Jun 2009
    Location: Austria
    Old 09-05-2009 , 21:52   Re: [L4D[ Flying Survivors Push
    Reply With Quote #2

    I have absolutely NO CLUE what this plugin is actually doing . Your pills plugin explains itself , but what does this thing here do ? Can you give me an example please ?
    Skorpion1976 is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 09-05-2009 , 21:57   Re: [L4D[ Flying Survivors Push
    Reply With Quote #3

    "Survivors flying from tank's punch can push other survivors."

    You got punched by tank, you fly, you fly near other survivor, that other survivor got pushed away.

    See cvars for tuning.
    __________________
    olj is offline
    LTR.2
    Veteran Member
    Join Date: Aug 2009
    Old 09-05-2009 , 23:50   Re: [L4D[ Flying Survivors Push
    Reply With Quote #4

    i'll try it and i tell you what i think (i'll use sb_move set to 0 duh)

    EDIT: this plugin works on all gamemodes? because doesn't make much or any difference on co-op.

    Last edited by LTR.2; 09-06-2009 at 00:35.
    LTR.2 is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 09-06-2009 , 05:42   Re: [L4D[ Flying Survivors Push
    Reply With Quote #5

    I didnt include any gamemode checks.
    __________________
    olj is offline
    LTR.2
    Veteran Member
    Join Date: Aug 2009
    Old 09-06-2009 , 15:37   Re: [L4D[ Flying Survivors Push
    Reply With Quote #6

    question: when they fly to another survivor, how can i make their "hitbox" more "fat" so the tank has more chances to punch both survivors.
    LTR.2 is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 09-06-2009 , 16:50   Re: [L4D[ Flying Survivors Push
    Reply With Quote #7

    PHP Code:
        CheckingTimer[VictimID] = CreateTimer(0.07CheckingFunction,any:VictimID,TIMER_FLAG_NO_MAPCHANGE|TIMER_REPEAT); 
    Im curious, isn't the minimal valid time 0.1 seconds?
    AtomicStryker is offline
    Dragonshadow
    BANNED
    Join Date: Jun 2008
    Old 09-06-2009 , 21:59   Re: [L4D[ Flying Survivors Push
    Reply With Quote #8

    Quote:
    Originally Posted by AtomicStryker View Post
    PHP Code:
        CheckingTimer[VictimID] = CreateTimer(0.07CheckingFunction,any:VictimID,TIMER_FLAG_NO_MAPCHANGE|TIMER_REPEAT); 
    Im curious, isn't the minimal valid time 0.1 seconds?
    Yea it is.
    Dragonshadow is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 09-07-2009 , 02:48   Re: [L4D[ Flying Survivors Push
    Reply With Quote #9

    Didnt know that, lol.
    __________________
    olj is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 09-07-2009 , 05:56   Re: [L4D[ Flying Survivors Push
    Reply With Quote #10

    Quote:
    Originally Posted by LTR.2 View Post
    question: when they fly to another survivor, how can i make their "hitbox" more "fat" so the tank has more chances to punch both survivors.
    l4d_survivorspushing_distance
    __________________
    olj 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 19:42.


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