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

[L4D & L4D2] Missile System


Post New Thread Reply   
 
Thread Tools Display Modes
Author
panxiaohai
Senior Member
Join Date: Mar 2010
Plugin ID:
1904
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 08-22-2010 , 00:44   [L4D & L4D2] Missile System
    Reply With Quote #1

    Description:
    You can launch tracing missile by killing infected;
    The spaciel infected have chance to launch missile when it is using ability or locking by a missile;


    Video:
    http://v.youku.com/v_show/id_XMzIxOTk4NjU2.html

    1. Missile (+use+fire)
    2. Tracking Missile (+use+duck+fire)


    Convars:
    "l4d_missile_radius", "250.0", "missile explode radius"
    "l4d_missile_damage", "800.0", "damage"
    "l4d_missile_push", "1200", "push forece"
    "l4d_missile_safe", "1", "0:normal , 1:less chance to hurt survivor"

    "l4d_missile_infected_smoker", "5.0", "launch missile when smoker drag[0.0, 30.0]%"
    "l4d_missile_infected_charger", "5.0", "launch missile when charger charge[0.0, 30.0]%"
    "l4d_missile_infected_spitter", "10.0", "spitter [0.0, 30.0]%"
    "l4d_missile_infected_witch", "10.0", "witch harasser[0.0, 30.0]%"
    "l4d_missile_infected_tank_dead", "10.0", "[0.0, 30.0]%"
    "l4d_missile_infected_tank_throw", "10.0", "[0.0, 30.0]%"
    "l4d_missile_infected_anti", "15.0", "infected launch missile when survivor launch missile [0.0, 30.0]%"

    "l4d_missile_weapon_rifle", "1", "enable or disable for rifle {0, 1}"
    "l4d_missile_weapon_sniper", "1", "enable or disable for sniper {0, 1}"
    "l4d_missile_weapon_shotgun", "1", "enable or disable for shotgun {0, 1}"
    "l4d_missile_weapon_magnum", "1", "enable or disable for magnum {0, 1}"
    "l4d_missile_weapon_smg", "0", "enable or disable for smg{0, 1}"
    "l4d_missile_weapon_pistol", "0", "enable or disable for pistol{0, 1}"

    "l4d_missile_limit", "30", "missile limit"

    "l4d_missile_kills", "8", "how many kills reward a missile"


    "l4d_missile_radar_range", "1500.0", "radar scan range,missile do not lock on target if out of range [500.0, -]"

    Command:
    !miss

    Update:

    version 1.2
    Carefully modify the algorithm, fix the crashing problem.

    version 1.3
    Add convar: l4d_missile_radar_range ;
    Missile
    will fly around you if it have no target;

    Requirement: SDK Hooks
    Attached Thumbnails
    Click image for larger version

Name:	l4d_smalltown01_caves0253.jpg
Views:	3624
Size:	78.8 KB
ID:	95161   Click image for larger version

Name:	c2m1_highway0216.jpg
Views:	2704
Size:	75.8 KB
ID:	95162  
    Attached Files
    File Type: smx missile_l4d.smx (26.4 KB, 1701 views)
    File Type: sp Get Plugin or Get Source (missile_l4d.sp - 1690 views - 47.8 KB)

    Last edited by panxiaohai; 11-14-2011 at 20:24.
    panxiaohai is offline
    ghosthunterfool
    Senior Member
    Join Date: Mar 2010
    Old 08-22-2010 , 00:47   Re: [L4D & L4D2] Grenade launcher for shotgun
    Reply With Quote #2

    i think it would better for a GL attachment to a M16 or Scar?
    ghosthunterfool is offline
    leonil7
    BANNED
    Join Date: May 2009
    Location: GB
    Old 08-22-2010 , 03:07   Re: [L4D & L4D2] Grenade launcher for shotgun
    Reply With Quote #3

    thxs pan good stuff, but it is not working.
    the .sp file will not even compile. reporting errors.

    Last edited by leonil7; 08-22-2010 at 03:17.
    leonil7 is offline
    Send a message via ICQ to leonil7 Send a message via AIM to leonil7 Send a message via Yahoo to leonil7 Send a message via Skype™ to leonil7
    hksjun
    Member
    Join Date: May 2010
    Old 08-22-2010 , 06:29   Re: [L4D & L4D2] Grenade launcher for shotgun
    Reply With Quote #4

    can change shotgun_chrome & pumpshotgun?
    hksjun is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 08-22-2010 , 07:12   Re: [L4D & L4D2] Grenade launcher for shotgun
    Reply With Quote #5

    deleted
    __________________

    Last edited by alexip121093; 08-22-2010 at 20:41. Reason: fixed
    alexip121093 is offline
    Send a message via MSN to alexip121093
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 08-22-2010 , 08:36   Re: [L4D & L4D2] Grenade launcher for shotgun
    Reply With Quote #6

    Quote:
    Originally Posted by alexip121093 View Post
    it requires sdkhooks
    Thanks.
    It is my fault, please remove "#include <sdkhooks>" in file's head, it will be ok.
    panxiaohai is offline
    Danny_l4d
    Senior Member
    Join Date: Feb 2010
    Old 09-23-2010 , 17:24   Re: [L4D & L4D2] Grenade Launcher & Missile
    Reply With Quote #7

    tank tank tank
    __________________
    Danny_l4d is offline
    louane
    New Member
    Join Date: Dec 2008
    Old 09-23-2010 , 19:25   Re: [L4D & L4D2] Grenade Launcher & Missile
    Reply With Quote #8

    i maked one shot for you :

    http://www.youtube.com/watch?v=uJ9h30Z_7n0
    louane is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 09-23-2010 , 23:16   Re: [L4D & L4D2] Grenade launcher for shotgun
    Reply With Quote #9

    Quote:
    Originally Posted by ghosthunterfool View Post
    i think it would better for a GL attachment to a M16 or Scar?
    Yes, It could be changed.

    Code:
    decl String:item[65];
                GetEventString(event, "weapon", item, 65);
                if( StrContains(item, "shot")>=0 )  //here
                {
                    new Float:time=GetEngineTime();
                    Grenade(client, time);
                }
    panxiaohai is offline
    blitzzz
    Member
    Join Date: Mar 2010
    Old 09-24-2010 , 04:11   Re: [L4D & L4D2] Grenade Launcher & Missile
    Reply With Quote #10

    Can you add a Cvar to let us choose whether survivors will be damaged by the grenades?

    Last edited by blitzzz; 09-24-2010 at 05:19.
    blitzzz 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 00:51.


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