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

[L4D2]CI with melee


Post New Thread Reply   
 
Thread Tools Display Modes
Author
LinLinLin
Senior Member
Join Date: Sep 2021
Plugin ID:
8009
Plugin Version:
1.0.2
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A plugins which attach melee to the CI
    Old 03-18-2022 , 22:39   [L4D2]CI with melee
    Reply With Quote #1

    Just a funny plugins,make your CI look more terrible.

    1111/true.jpg" rel="nofollow noopener">

    Cvar


    L4D2_Scale_NZweapon "1.2" "Scale the weapon in CI,1.2 is good"
    L4D2_Switch_InfectedType "1" "Choose which type of CI can have melee 1-all, 2-only CI, 3-only specials CI"
    L4D2_Random_CreateMeleeInfected "100" "Random of create melee CI, 40 is equal to 40%"


    Update

    -1.0.2 Add knife,shove,pitchfork for CI.
    -1.0.1 Add two cvar for choose random and CI type.
    -1.0.0 Update plugins

    Thanks

    Dragokas give the solution about attachment!

    FIXED

    Using ref to pass the parama instead of using entity itself.

    Warning:

    Too much CI may cause high lose in server because one CI has 3 entity totally.
    Althought entity will quickly remove when CI dead,it is recommended that make your CI counts under 30.
    Attached Thumbnails
    Click image for larger version

Name:	54`714VOZ}8MCP5{{3M7H29.png
Views:	669
Size:	11.5 KB
ID:	194322  
    Attached Files
    File Type: sp Get Plugin or Get Source (CI_equip_melee.sp - 427 views - 9.0 KB)

    Last edited by LinLinLin; 03-21-2022 at 14:26. Reason: use url for image
    LinLinLin is offline
    Toranks
    Senior Member
    Join Date: Dec 2021
    Location: Spain
    Old 03-19-2022 , 01:00   Re: [L4D2]CI with melee
    Reply With Quote #2

    It would look amazing with this mod.
    https://steamcommunity.com/sharedfil...?id=2778755021

    Could you add a cvar so that only a % of the common infected have a weapon? That would also help with potential crashes

    Last edited by Toranks; 03-19-2022 at 04:44.
    Toranks is offline
    Wizards
    Junior Member
    Join Date: Oct 2021
    Old 03-19-2022 , 04:03   Re: [L4D2]CI with melee
    Reply With Quote #3

    Quote:
    Originally Posted by Toranks View Post
    It would look amazing with this mod.
    https://steamcommunity.com/sharedfil...?id=2778755021

    Could you add a cvar so that only a % of the common people have a weapon? That would also help with potential crashes
    yeah, that's an idea i think when i saw this plugin. Maybe only apply melee for special CI (Ceda, Riotcop, Clown, GimyGib, worker, Mudman,...) that prevent crash too.
    Wizards is offline
    LinLinLin
    Senior Member
    Join Date: Sep 2021
    Old 03-19-2022 , 19:16   Re: [L4D2]CI with melee
    Reply With Quote #4

    yes,nice suggestion.
    now it can control the random of creating melee infected.
    and you can choose only equip for special CI or just CI or all of them.
    LinLinLin is offline
    ddd123
    Senior Member
    Join Date: May 2021
    Old 03-20-2022 , 07:35   Re: [L4D2]CI can be equipped with melee in there hand.
    Reply With Quote #5

    Does this also include shovel, pitchfork and knife?
    ddd123 is offline
    Toranks
    Senior Member
    Join Date: Dec 2021
    Location: Spain
    Old 03-20-2022 , 08:13   Re: [L4D2]CI can be equipped with melee in there hand.
    Reply With Quote #6

    Yeaaaah, Uruks with my own custom weapons! This is amazing!

    It would be cool to add shovel, pitchfork and knife too, and being able to select which among them, because an orc with a guitar looks weird xD
    Attached Images
    File Type: jpg Captura.JPG (41.9 KB, 310 views)

    Last edited by Toranks; 03-20-2022 at 08:18.
    Toranks is offline
    Iizuka07
    Senior Member
    Join Date: Aug 2018
    Location: Underground
    Old 03-20-2022 , 14:21   Re: [L4D2]CI can be equipped with melee in there hand.
    Reply With Quote #7

    Oh boy, the infected are more dangerous as they now posses melees. XD
    __________________
    死が待っている
    Iizuka07 is offline
    Sev
    Veteran Member
    Join Date: May 2010
    Old 03-21-2022 , 04:40   Re: [L4D2]CI can be equipped with melee in there hand.
    Reply With Quote #8

    L 03/20/2022 - 19:082: [SM] Exception reported: Entity 428 (42 is invalid
    L 03/20/2022 - 19:082: [SM] Blaming: common_melee.smx
    L 03/20/2022 - 19:082: [SM] Call stack trace:
    L 03/20/2022 - 19:082: [SM] [0] DispatchKeyValue
    L 03/20/2022 - 19:082: [SM] [1] Line 181, /home/forums/content/files/3/1/5/3/2/4/194339.attach::CreateWeaponForNZ
    Sev is offline
    Marttt
    Veteran Member
    Join Date: Jan 2019
    Location: Brazil
    Old 03-21-2022 , 04:55   Re: [L4D2]CI can be equipped with melee in there hand.
    Reply With Quote #9

    Since you are using RequestFrame, this runs later, so you should pass the entityRef to the function cause sometimes the entity may become invalid (because was destroyed but some other plugin for example). I usually do that below:
    Spoiler
    __________________

    Last edited by Marttt; 03-21-2022 at 04:56.
    Marttt is offline
    NoroHime
    Veteran Member
    Join Date: Aug 2016
    Location: bed
    Old 03-21-2022 , 08:42   Re: [L4D2]CI can be equipped with melee in there hand.
    Reply With Quote #10

    title a little bit long, my advice you change it to "Common Infected Melee" etc
    __________________
    NoroHime 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 20:52.


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