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

[L4D/L4D2]Realish_Tank_Physx


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Plugin ID:
5258
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    117 
    Plugin Description:
    Enables Realish tank physics for tank.
    Old 06-23-2016 , 05:09   [L4D/L4D2]Realish_Tank_Physx
    Reply With Quote #1

    Hello, well this starting off optimising deathchaos25 Allow the Tank to send incap survivors flying plugin because i did not like the code but i am a fan of the plugin really cool, but well this happened

    Features:
    Allow Tank to Puch incapped survivor's flying
    Allow Tank to Puch people flying who would of been incapped from the punch, then incap
    Allow TankRock to sendpeople flying like a TankPunchish and rock will send people flying even if they are about to be incapped muhahaha

    YouTubeVideo[LINK]
    Please mind my friend talking in the video

    Also i'm rubbish at maths

    ConVars/CFG:
    PHP Code:
    config nameRealish_Tank_Phyx.cfg

    rtp_rockphyx 
    "1"(DefEnable or Disable RockPhyx,

    rtp_incapknockBack "1"(DefEnable or Disable Incapped slap,

    rtp_KnockBackPreIncap "1"(DefEnable or Disable Pre incapped flying,

    rtp_rockforce "800.0"(DefForce of the rockvery high values send you flying very fast&far (MIN 1.0 MAX 2147483647.0), 
    Please besure to remove [L4D2] Incap Tank punch fix.smx, because this will cause problems!!!

    Enjoy

    Log:
    (Release 1.0)
    Thanks to Dominatez for l4d1 testing

    (Update 1.1)
    Fixed Invalid Entity Error of getting classname
    Add Convar for Rock Radius
    Besure to remove Config or Add convar in the config

    (Update 1.2)
    fixed entprop offset m_bIsOnTHirdStrike using m_IsGoingToDie for l4d1 instead thanks P00kster

    recoded the client physics force from using an entity to push to angle calculation then pushing the entity in said angle suggested by timocop.
    should feel more real

    (Update 1.3)
    Changed the way incap tank puch works it no longer, takes you out of incap to punch you rather uses entity push instead (i found it annoying)
    I will keep 1.2 on OP if anyone like's the old way better.

    optmized code somemore.


    removed rtp_rockradius convar as it was unneeded
    Either remove convar or remove config and let it auto create.
    NOTE:
    rtp_rockforce is effects stuff differently in version 1.2
    Attached Files
    File Type: sp Get Plugin or Get Source (Realish_Tank_Physx.sp - 1927 views - 13.4 KB)
    File Type: sp Get Plugin or Get Source (Realish_Tank_Physx_1.3.sp - 3834 views - 11.7 KB)
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D

    Last edited by Lux; 05-08-2020 at 17:02. Reason: Update
    Lux is offline
    LoneBat
    Senior Member
    Join Date: Dec 2013
    Location: China
    Old 06-23-2016 , 14:01   Re: [L4D/L4D2]Realish_Tank_Phyx
    Reply With Quote #2

    Quote:
    L 06/24/2016 - 008:53: SourceMod error session started
    L 06/24/2016 - 008:53: Info (map "c5m1_waterfront") (file "errors_20160624.log")
    L 06/24/2016 - 008:53: [SM] Native "GetEntPropString" reported: Entity 2 (2) is invalid
    L 06/24/2016 - 008:53: [SM] Displaying call stack trace for plugin "Realish_Tank_Physx.smx":
    L 06/24/2016 - 008:53: [SM] [0] Line 737, /groups/sourcemod/compiler-1.6/include/entity.inc::GetEntityClassname()
    L 06/24/2016 - 008:53: [SM] [1] Line 241, /home/forums/content/files/2/5/7/8/4/1/155661.attach::OnEntityDestroyed()
    L 06/24/2016 - 008:56: Error log file session closed.
    LoneBat is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 06-23-2016 , 22:01   Re: [L4D/L4D2]Realish_Tank_Phyx
    Reply With Quote #3

    Fixed error, besure to download new version on Main Post
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    bazrael
    Senior Member
    Join Date: Jan 2010
    Location: Where Lucy became superw
    Old 08-01-2016 , 15:27   Re: [L4D/L4D2]Realish_Tank_Phyx
    Reply With Quote #4

    PHP Code:
    rtp_incapknockBack "1"(DefEnable or Disable Incapped slap
    rtp_KnockBackPreIncap 
    "1"(DefEnable or Disable Pre incapped flying 
    What's the difference of above 2 cvars? What's pre incapacitated?
    --edit--
    I tested for a while and realize its difference. Thanks for reply.

    Last edited by bazrael; 08-21-2016 at 04:44. Reason: Reply
    bazrael is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 08-01-2016 , 16:02   Re: [L4D/L4D2]Realish_Tank_Phyx
    Reply With Quote #5

    This Part https://youtu.be/pL1f5aTZDAM?t=132
    because death did not have this where when you get incapped from a hit you dont go flying that cvar enables it.
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    Dominatez
    Senior Member
    Join Date: Oct 2009
    Location: Birmingham, UK
    Old 12-12-2016 , 14:11   Re: [L4D/L4D2]Realish_Tank_Phyx
    Reply With Quote #6

    Confirming that this indeed works on L4D1
    Dominatez is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 02-10-2017 , 07:13   Re: [L4D/L4D2]Realish_Tank_Phyx
    Reply With Quote #7

    Quote:
    Originally Posted by Dominatez View Post
    Confirming that this indeed works on L4D1
    Thanks Alot 3Witches for you
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    P00kster
    Member
    Join Date: Aug 2015
    Old 02-22-2017 , 19:21   Re: [L4D/L4D2]Realish_Tank_Phyx
    Reply With Quote #8

    This plugin has an issue with L4D1. The netprop "m_bIsOnThirdStrike" is only valid for L4D2 and does not exist in L4D1. In L4D1, you need to use the netprop "m_isGoingToDie" instead.
    P00kster is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 02-23-2017 , 19:19   Re: [L4D/L4D2]Realish_Tank_Phyx
    Reply With Quote #9

    Quote:
    Originally Posted by P00kster View Post
    This plugin has an issue with L4D1. The netprop "m_bIsOnThirdStrike" is only valid for L4D2 and does not exist in L4D1. In L4D1, you need to use the netprop "m_isGoingToDie" instead.
    Fixed this issue.

    recoded the client physics force from using an entity to push to angle calculation then pushing the entity in said angle suggested by timocop.

    removed rtp_rockradius convar as it was unneeded


    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 03-10-2017 , 10:47   Re: [L4D/L4D2]Realish_Tank_Phyx
    Reply With Quote #10

    (Update 1.3)
    Changed the way incap tank puch works it no longer, takes you out of incap to punch you rather uses entity push instead (i found it annoying)
    I will keep 1.2 if anyone like's the old way better.

    optmized code somemore.

    1.3 has a much steeper angles and uses the client eye anges to push client in the direction and up and down angels are capped
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    Reply


    Thread Tools
    Display Modes

    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:22.


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