Raised This Month: $ Target: $400
 0% 

[L4D] Left FORT Dead builder


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Boikinov
Junior Member
Join Date: May 2009
Plugin ID:
913
Plugin Version:
1.1
Plugin Category:
All
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Spawn items to help you to fortify defense
    Old 06-01-2009 , 08:55   [L4D] Left FORT Dead builder
    Reply With Quote #1

    Description:
    You may already known a plugin called Build_Enabler which removed cheat flag of these commands required to spawn item

    This plugin also allow you build item without cheat enable
    Instead of override system command like Build_Enabler did, my plugin implemented all the function in new console command, so you won't encounter potential plugin conflict
    Additionally, I made the new spawn item command more flexible to use( e.g. a well placed stairs just in front of you and ready to be climbed / a sand bag corner shields you in perfect angle right after spawned )

    Beside general prop_dynamic/prop_physics item, this plugin also support spawn some kind of interactivable item, like the ammo stack, iron door, minigun( love spawnminigun.smx? then try this one)
    And more will be added in future version

    Command:
    leftfortdead_rotate --------------- just like ent_rotate, a self made version
    leftfortdead_remove --------------just like ent_remove, but won't delete players by accident

    leftfortdead_spawnitem <d|p> <a|i> "*.mdl" [-1|1]
    d: spawn as prop_dynamic
    p: spawn as prop_physics
    a: spawn at where you aim( just like prop_dynamic_create)
    i: spawn in front of you
    *.mdl: just go for a prop list and find something interesting
    -1: align the angle of spawned item and show its back to you
    1: same as above, but show the front to you
    without[-1:1]: item will aligned in default angle(similar to prop_dynamic_create)

    leftfortdead_spawnminigun ---------------spawn a minigun at where you aim, aligned to your view direction
    can be properly rotated by leftfortdead_rotate

    leftfortdead_spawnammostack --------------spawn ammo supply at where you aim
    model will randomly chose between ammostack and coffee ammo

    leftfortdead_spawnirondoor -----------------spawn an iron door(unbreakable saferoom door) at where you aim
    the door will face you when spawned, unless you spawn it on wall
    the door will be automatically placed perpendicular to wall, and will align its bottom to floor or top to ceiling

    CVAR:
    leftfortdead_version ------------------version of this plugin
    leftfortdead_enabled -----------------set to 1 will enable all other command, default value is 0, means disabled
    leftfortdead_adminonly ------------------ set to 1 will only allow admin use all the command, default value is 1, means anyone in game can use the commands

    I uploaded a Sample RadialMenu.txt, you can add it to your Radial Menu or create a custom one with anything you want to quickly spawn

    Sorry I didn't publish version 1.0 here, it is published somewhere else and was in other language

    Changelist:
    1.1.0
    removed all overrided command, implemented everything needed in new command
    added command: leftfortdead_rotate, just like ent_rotate
    added command: leftfortdead_spawnirondoor, spawn a interactivable door
    added command: leftfortdead_spawnitem to replace the overrided prop_dynamic_create and prop_physics_create, provide more parameters
    added cvar: leftfortdead_enabled

    1.0.1
    support singleplayer mode and game hosted with "map" command
    change default value of adminonly cvar to 0

    1.0
    Initial release
    Attached Files
    File Type: sp Get Plugin or Get Source (leftfortdead.sp - 11800 views - 24.0 KB)
    File Type: txt Sample RadialMenu.txt (6.5 KB, 6659 views)

    Last edited by asherkin; 05-06-2011 at 11:31. Reason: Removed compiled SMX.
    Boikinov is offline
    zero4u
    Junior Member
    Join Date: Jul 2005
    Old 06-01-2009 , 12:57   Re: [L4D] Left FORT Dead builder
    Reply With Quote #2

    is it posible to add these to a admin menu item instead of a client sided menu?
    __________________
    zero4u is offline
    Boikinov
    Junior Member
    Join Date: May 2009
    Old 06-01-2009 , 22:27   Re: [L4D] Left FORT Dead builder
    Reply With Quote #3

    Quote:
    Originally Posted by zero4u View Post
    is it posible to add these to a admin menu item instead of a client sided menu?
    That is exactly what I want to do, so any new joined player can build some default item without binding shortcut key

    But I don't know what to do yet, some advice?
    Boikinov is offline
    TESLA-X4
    Senior Member
    Join Date: Dec 2008
    Location: $Recycle.Bin
    Old 06-02-2009 , 00:47   Re: [L4D] Left FORT Dead builder
    Reply With Quote #4

    I'm not sure if L4D allows servers to force the 'bind' command on clients by default, but anyway here's a test plugin to allow you to check if it is indeed allowed since I haven't got a L4D server to test it on. Unbind your slot1 - slot10 keys first before joining the server to be sure it it works. If it does, the keys should be bound again.

    Hope this helps
    Attached Files
    File Type: sp Get Plugin or Get Source (keybinder.sp - 2820 views - 902 Bytes)
    TESLA-X4 is offline
    Boikinov
    Junior Member
    Join Date: May 2009
    Old 06-02-2009 , 02:59   Re: [L4D] Left FORT Dead builder
    Reply With Quote #5

    You can create a local dedicated server and join to test as a client
    Boikinov is offline
    TESLA-X4
    Senior Member
    Join Date: Dec 2008
    Location: $Recycle.Bin
    Old 06-02-2009 , 08:58   Re: [L4D] Left FORT Dead builder
    Reply With Quote #6

    If you're talking about setting up a listen server using the maps command, then it's really not going to prove anything - listen servers are different from normal servers because the client itself is the server. Therefore, client commands/convars that are normally not changable from a dedicated server can be changed on a listen server. Scratch that, I'm blind.

    Also, I'm lazy to have to download a full server for it, and my net connection isn't exactly fast either...

    Last edited by TESLA-X4; 06-02-2009 at 09:09.
    TESLA-X4 is offline
    Boikinov
    Junior Member
    Join Date: May 2009
    Old 06-02-2009 , 22:30   Re: [L4D] Left FORT Dead builder
    Reply With Quote #7

    You can download the L4D Dedicated Server Tool in a few minutes if you already downloaded L4D Game.
    They will be put in the same folder and most of the file are shared between them.

    Too bad, The others from internet cannot join my dedicated server, only those in LAN could, and I am the only one behind the router....
    Boikinov is offline
    TESLA-X4
    Senior Member
    Join Date: Dec 2008
    Location: $Recycle.Bin
    Old 06-03-2009 , 03:10   Re: [L4D] Left FORT Dead builder
    Reply With Quote #8

    Checklist:
    1. Got ports 27000-27015 forwarded on the router (if you can't find your exact model, try one with a similar model number, it might be very similar)?
    2. sv_lan 0

    I didn't know about the L4D dedicated server sharing files with the client though, guess I'm too used to the old hldsupdatetool.exe/srcds.exe way...
    TESLA-X4 is offline
    leonil7
    BANNED
    Join Date: May 2009
    Location: GB
    Old 06-03-2009 , 08:56   Re: [L4D] Left FORT Dead builder
    Reply With Quote #9

    anychance you can build a drum with flame on it?
    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
    Boikinov
    Junior Member
    Join Date: May 2009
    Old 06-03-2009 , 22:06   Re: [L4D] Left FORT Dead builder
    Reply With Quote #10

    Quote:
    Originally Posted by leonil7 View Post
    anychance you can build a drum with flame on it?
    Good Idea, try it now
    Boikinov 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 13:23.


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