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

[L4D2 & L4D] Airdrop


Post New Thread Reply   
 
Thread Tools Display Modes
Author
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Plugin ID:
6620
Plugin Version:
0.6
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Admin can call airdrop
    Old 06-27-2019 , 01:19   [L4D2 & L4D] Airdrop
    Reply With Quote #1

    Commands
    PHP Code:
    sm_airdrop <- calls airdrop with random configuration 
    sm_airdrop_specific 
    <- calls airdrop with specific configuration (sm_airdrop_specific <airplane conf name> <airdrop conf name>)
    sm_airdrop_reload_config <- reloads config
    sm_airdrop_info_dump 
    <- Dumps some config info 
    Notes
    • Config must me placed at sourcemod/data/
    • Please report about any bugs or errors
    • l4d2_airdrop_on_tank is optional plugin. Install only when you want to airdrop will be called after tank death
    • Plugin preview by sonic155

    Requires
    Credits
    • Silvers for his Flare plugin
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_airdrop_on_tank.sp - 1300 views - 697 Bytes)
    File Type: cfg l4d2_airdrop_info.cfg (6.6 KB, 938 views)
    File Type: sp Get Plugin or Get Source (l4d2_airdrop.sp - 340 views - 56.0 KB)
    __________________
    cry

    Last edited by BHaType; 05-27-2023 at 23:08.
    BHaType is offline
    Send a message via AIM to BHaType
    Mr. Man
    Veteran Member
    Join Date: Mar 2011
    Location: Huh?
    Old 06-27-2019 , 02:05   Re: [L4D2] Airdrop
    Reply With Quote #2

    Could be cool if you can set it to drop supplies with a % chance on tank/witch kill.
    __________________
    Mr. Man is offline
    Leayal
    New Member
    Join Date: May 2024
    Old Yesterday , 22:46   Compiler syntax error
    Reply With Quote #3

    In case you get a lot of syntax errors on SM 1.12 or later
    E.g:
    Code:
    error 001: expected token: ")", but found ","
    With the following of LOG macro function.

    You can either delete all those LOG macro caller lines.
    Or edit the part
    Code:
    #if defined _DEBUG
    	#define LOG(%0) LogMessage(%0)
    #else
    	stock void LogMessageEx() {}
    	#define LOG(%0) LogMessageEx()
    #endif
    Into
    Code:
    #if defined _DEBUG
    	#define LOG(%0) LogMessage(%0)
    #else
    	stock void LogMessageEx() {}
    	// #define LOG(%0) LogMessageEx()
    	stock void LOG(any ...) {}
    #endif
    Too workaround all the wrong argument count when calling the macro function when compiling locally.

    Great plugin, btw~
    No longer feeling lonely with just 4+ idiots against the world when you know there's someone sending out supplies for your lives~
    __________________
    Leayal is offline
    KRUTIK
    Senior Member
    Join Date: Feb 2019
    Location: Мос
    Old 06-27-2019 , 08:01   Re: [L4D2] Airdrop
    Reply With Quote #4

    When a grenade launcher falls out of the box, for some reason only one charge, so it should be?
    KRUTIK is offline
    Aya Supay
    Member
    Join Date: Nov 2015
    Old 06-27-2019 , 08:20   Re: [L4D2] Airdrop
    Reply With Quote #5

    here I have some ideas for you in my video so I would like to take this idea of lux.

    https://www.youtube.com/watch?v=Ra5l...ature=youtu.be

    this does not work not in l4d1

    SetEntProp(entity, Prop_Send, "m_nGlowRange", 500);
    SetEntProp(entity, Prop_Send, "m_iGlowType", 3);
    SetEntProp(entity, Prop_Send, "m_glowColorOverride", GetColor(sColor));
    Aya Supay is offline
    luis enrique
    Member
    Join Date: Oct 2017
    Location: peru
    Old 10-03-2019 , 19:18   Re: [L4D2] Airdrop
    Reply With Quote #6

    Quote:
    Originally Posted by Aya Supay View Post
    here I have some ideas for you in my video so I would like to take this idea of lux.

    https://www.youtube.com/watch?v=Ra5l...ature=youtu.be

    this does not work not in l4d1

    SetEntProp(entity, Prop_Send, "m_nGlowRange", 500);
    SetEntProp(entity, Prop_Send, "m_iGlowType", 3);
    SetEntProp(entity, Prop_Send, "m_glowColorOverride", GetColor(sColor));
    would someone be so kind as to replace the boxes, with those that break and put aura red?
    luis enrique is offline
    AK978
    Senior Member
    Join Date: Jun 2018
    Old 06-27-2019 , 08:57   Re: [L4D2] Airdrop
    Reply With Quote #7

    Thanks, can you set the number of delivery?

    weapon_vomitjar

    Last edited by AK978; 06-27-2019 at 16:30.
    AK978 is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 06-27-2019 , 14:46   Re: [L4D2] Airdrop
    Reply With Quote #8

    If the airdrop can join the parachute in the C3M2, it will be cool.
    Then the box slowly drops.


    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    AK978
    Senior Member
    Join Date: Jun 2018
    Old 06-27-2019 , 16:28   Re: [L4D2] Airdrop
    Reply With Quote #9

    1. if(GetRandomInt(1, 100) <= GetConVarInt(cTankChance))
    maybe 0 change 1

    2. map c5m1 box stuck in the sky.

    Last edited by AK978; 06-27-2019 at 18:12.
    AK978 is offline
    sonic155
    Senior Member
    Join Date: Mar 2019
    Old 06-27-2019 , 19:10   Re: [L4D2] Airdrop
    Reply With Quote #10

    ooooo I like this idea ill test it =D
    sonic155 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 11:26.


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