AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D & L4D2] Missile System (https://forums.alliedmods.net/showthread.php?t=136019)

panxiaohai 08-22-2010 00:44

[L4D & L4D2] Missile System
 
17 Attachment(s)
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

ghosthunterfool 08-22-2010 00:47

Re: [L4D & L4D2] Grenade launcher for shotgun
 
i think it would better for a GL attachment to a M16 or Scar?

leonil7 08-22-2010 03:07

Re: [L4D & L4D2] Grenade launcher for shotgun
 
thxs pan good stuff, but it is not working.
the .sp file will not even compile. reporting errors.

hksjun 08-22-2010 06:29

Re: [L4D & L4D2] Grenade launcher for shotgun
 
can change shotgun_chrome & pumpshotgun?

alexip121093 08-22-2010 07:12

Re: [L4D & L4D2] Grenade launcher for shotgun
 
deleted

panxiaohai 08-22-2010 08:36

Re: [L4D & L4D2] Grenade launcher for shotgun
 
Quote:

Originally Posted by alexip121093 (Post 1278603)
it requires sdkhooks

Thanks.
It is my fault, please remove "#include <sdkhooks>" in file's head, it will be ok.

Danny_l4d 09-23-2010 17:24

Re: [L4D & L4D2] Grenade Launcher & Missile
 
tank tank tank :P

louane 09-23-2010 19:25

Re: [L4D & L4D2] Grenade Launcher & Missile
 
i maked one shot for you :

http://www.youtube.com/watch?v=uJ9h30Z_7n0

panxiaohai 09-23-2010 23:16

Re: [L4D & L4D2] Grenade launcher for shotgun
 
Quote:

Originally Posted by ghosthunterfool (Post 1278440)
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);
            }


blitzzz 09-24-2010 04:11

Re: [L4D & L4D2] Grenade Launcher & Missile
 
Can you add a Cvar to let us choose whether survivors will be damaged by the grenades?


All times are GMT -4. The time now is 20:21.

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