Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] Intelligent Machine Gun


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
panxiaohai
Senior Member
Join Date: Mar 2010
Plugin ID:
2491
Plugin Version:
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    the intelligent machine guntry to find the enemy and fire automatically
    Old 08-12-2011 , 20:08   [L4D & L4D2] Intelligent Machine Gun
    Reply With Quote #1

    Credits
    alexip121093
    hihi1210
    Descriptions
    You can spawn an intelligent machine gun ( mini gun), the gun is automatically controlled, you can not use it to shot, but you can carry it on your back or put it down, when you put it down , the gun try to find the enemy and fire automatically .

    Health: If a gun's health go zero, it will go to sleep.
    Sleep: If a gun not attack a enemy for a long time , it go to sleep.
    Wake up:
    Survivor can wake up a gun by shoving it. Infected can wake up a gun by attacking it.
    Team: The gun belong to a team , If it is survivor team, it will attack infected, if it is infected team, it will attack survivors.
    Betray to infected team : If a gun being attcked, it will betray to infected.
    Betray to survivor team : If a gun being shoved by survivor, it will betray to survivor.
    Ammo: you can refill a gun's ammo by using a ammo stack when carry it.

    Video:

    http://v.youku.com/v_show/id_XMjk0NDIyNzI0.html

    How to use (default key):
    !machine , !machine 0 !machine 1, : spawn a machine gun with different type.
    !removemachine : remove a machine gun.
    duck+mouse right button : carry the gun on your back .
    use button : put the gun down.

    Convars:
    "l4d_machine_enable", "2", " 0:disable, 1:enable in coop mode, 2: enable in all mode "
    "l4d_machine_damage_to_infected", "25.0", "bullet damage"
    "l4d_machine_damage_to_survivor", "2.0", "bullet damage"

    "l4d_machine_maxuser", "5", "maximum count of machine gun"
    "l4d_machine_range", "1000.0", "maxmum scan range of machine gun"
    "l4d_machine_voerheat", "10.0", " how many seconds did the gun overheat."

    "l4d_machine_adminonly", "0", "1:admin use only"
    "l4d_machine_msg", "1", "how many times to display usage information , 0 disable "
    "l4d_machine_ammo_count", "1000", "ammo count"
    "l4d_machine_ammo_refill", "1", "0:disable, 1:enable"
    "l4d_machine_allow_carry", "1", "0:disable carray 1:every one, 2: only gun's creator, l4d1 should set to 2 otherwise will crash"
    "l4d_machine_sleep_time", "300", ""how many seconds does a gun goto sleep while no enemy, must >0"
    "l4d_machine_fire_rate", "20", "rate of fire, how many shot per soncods [5, 30]"

    "l4d_machine_health", "100.0", "gun's health"

    "l4d_machine_betray_chance", "10.0", "betray chance"
    "l4d_machine_ammo_type", "0", "0: normal , 1:incendiary 2:explosive"

    Requirement: SDK Hooks

    ChangeLog:

    version 1.07
    Improve
    algorithm consume fewer resources, the gun is more responsive.
    fix some hidden bugs.
    duck+shove to carry machine.
    Add convers:
    "l4d_machine_betray_chance", "10.0", "betray chance"

    "l4d_machine_ammo_type", "0", "0: normal , 1: incendiary 2: explosive"

    Attached Thumbnails
    Click image for larger version

Name:	c2m1_highway0019.jpg
Views:	9743
Size:	85.0 KB
ID:	90500   Click image for larger version

Name:	c2m1_highway0041.jpg
Views:	7180
Size:	87.7 KB
ID:	90501   Click image for larger version

Name:	l4d_smalltown01_caves0034.jpg
Views:	6611
Size:	71.2 KB
ID:	90502  
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_machine.sp - 4615 views - 44.2 KB)
    File Type: smx l4d_machine.smx (24.9 KB, 6327 views)

    Last edited by panxiaohai; 10-17-2011 at 16:35.
    panxiaohai is offline
     


    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 01:34.


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