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

[L4D] Spawn Minigun


Post New Thread Reply   
 
Thread Tools Display Modes
Author
antihacker
Member
Join Date: Feb 2009
Plugin ID:
804
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Spawn a Minigun where ever you want.
    Unapprover:
    Reason for Unapproving:
    reported to not work as intended
    Old 03-08-2009 , 13:12   [L4D] Spawn Minigun
    Reply With Quote #1

    [L4D] Spawn Minigun
    Version 1.0
    Spawn a Minigun where ever you want, seems to work on all maps now!
    The command is sm_minigunspawn, so you can easy spawn a minigun by entering /minigunspawnor !minigunspawn in chat.
    Only works with realy clients not over rcon, and with the adminflag cheats.
    Please Report Bugs
    Commands:
    sm_minigunspawn: Spawns a minigun and return its position (orgin), and entity ID.
    sm_minigunrotate: <Entity ID|-1|-2> <Degree>: Rotate a minigun by a defined Degree with its entity ID, or if -1 the minigun looking at, or if -2 the last minigun created
    sm_minigundelete <Entity ID|-1|-2>: Removes a mingun by its entity id, or if -1 the minigun looking at, or if -2 the last minigun created

    Installation:
    Just copy the spawnminigun.smx in you plugins/ directory.

    Cvars:

    sm_spawnminigun_version = 1.0 the Spawn Minigun Version

    Credits:
    Fyren for helping me alot over irc
    hlstriker for this code.
    Frozenology for his "Direction" Code
    ednomerve for the bugfix

    Changelog:
    Code:
    0.1 Initial Release
    0.2
    - Renamed sm_spawnminigun to sm_minigunspawn
    - Fixed sm_minigunspawn direction bug
    - Added sm_minigunlist, sm_minigunrotate, sm_minigundelet
    0.3
    -Added looking at minigun and last minigun created (-1,-2), as a option of sm_minigunrotate and sm_minigundelet
    -Removed sm_minigunlist
    1.0
    -Hotfix for spawn Origin by ednomerve                                                   
    1.1
    -renamed sm_minigundelet to smminigundelete, thx mikeym9
    Attached Thumbnails
    Click image for larger version

Name:	minigun.jpg
Views:	3072
Size:	95.7 KB
ID:	42792  
    Attached Files
    File Type: sp Get Plugin or Get Source (spawnminigun.sp - 7087 views - 5.4 KB)

    Last edited by antihacker; 06-08-2009 at 09:42.
    antihacker is offline
    ApocalypseDan
    Member
    Join Date: Jan 2009
    Old 03-08-2009 , 14:27   Re: [L4D] Spawn Minigun
    Reply With Quote #2

    Going to try it out with our tank arena game type now we can add more taknks and miniguns ill let you know how it gose
    __________________
    ApocalypseDan is offline
    antihacker
    Member
    Join Date: Feb 2009
    Old 03-08-2009 , 14:43   Re: [L4D] Spawn Minigun
    Reply With Quote #3

    Do this, if you have Problems i will try to answere
    You can change the radius of the weapon and some thing i will try out what its possible tomorrow.
    antihacker is offline
    ApocalypseDan
    Member
    Join Date: Jan 2009
    Old 03-08-2009 , 14:57   Re: [L4D] Spawn Minigun
    Reply With Quote #4


    Update:Sorry Could Not Get It Working Tried in chat with server set to sv cheats 1 !spawnminigun and spawnminigun and nothign happened can you shed some light is there something i am missing

    server ip 83.142.49.27:28016
    __________________
    ApocalypseDan is offline
    The JCS
    AlliedModders Donor
    Join Date: Jan 2007
    Location: Brazil
    Old 03-08-2009 , 15:32   Re: [L4D] Spawn Minigun
    Reply With Quote #5

    Nice. I'd started a plugin like this, but i had no time to work on it =/
    I'll test this soon
    The JCS is offline
    Send a message via MSN to The JCS
    mikercool
    Member
    Join Date: Feb 2009
    Old 03-08-2009 , 23:19   Re: [L4D] Spawn Minigun
    Reply With Quote #6

    What flag is needed for this to work?

    This plugin barely works. Spawns only in one direction and spawns in the floor.
    __________________
    One of the only people here that runs L4D servers, feel free to PM me any questions.

    Last edited by mikercool; 03-08-2009 at 23:26.
    mikercool is offline
    AcidTester
    Senior Member
    Join Date: Jan 2009
    Old 03-09-2009 , 01:50   Re: [L4D] Spawn Minigun
    Reply With Quote #7

    make this with combination l4d buildenabler that allows rotate objects.
    __________________
    AcidTester is offline
    Send a message via ICQ to AcidTester
    antihacker
    Member
    Join Date: Feb 2009
    Old 03-09-2009 , 08:28   Re: [L4D] Spawn Minigun
    Reply With Quote #8

    @mikercool:
    1)You need the Flag "Cheats".
    2)I work on this
    @AcidTester:
    Thanks, i will look for this plugin.


    Can please some help me with the spawn location?
    It would be cool if its spawn like ent_spawn, so its drops to ground at the point you aimed.

    Last edited by antihacker; 03-09-2009 at 09:53.
    antihacker is offline
    x13lade
    New Member
    Join Date: Jul 2005
    Old 03-09-2009 , 15:47   Re: [L4D] Spawn Minigun
    Reply With Quote #9

    Nice plugin, minigun works. The only problems right now are: Minigun can not be rotated to whatever direction you want, and the minigun is somewhat buried in the ground.
    I tried to rotate the minigun with ent_rotate, but it still only let me use it from its default position. Seems like it only rotated the model image thing?.
    x13lade is offline
    Jay Dogg
    Senior Member
    Join Date: Jan 2009
    Old 03-09-2009 , 19:42   Re: [L4D] Spawn Minigun
    Reply With Quote #10

    This plug is buggy for sure, The minigun is half in the floor most of the time I spawn it and you cant use it about half the time for some reason anyway. And even if you use the l4d buildenabler to rotate the minigun it still only shoots the way it was pointed when you spawn it. Needs alot of work before I would put this plug back on my server again. But I sure hope antihacker keeps working on this plug cause I have been waiting for this.
    Jay Dogg 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 20:37.


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