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

[L4D2] Auto Items Spawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author
V10
Senior Member
Join Date: Jan 2010
Location: Russia
Plugin ID:
1422
Plugin Version:
1.7
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin designed for automatic spawn items on configured origin positions.
    Old 01-22-2010 , 13:01   [L4D2] Auto Items Spawn
    Reply With Quote #1

    This plugin designed for automatic spawn items on configured origin positions.
    Custom items auto spawn on specific origin type.
    Plugin can make visible areas with items (sm_allowitemrings).
    Plugin have feature for add, edit, and delete origins for spawn items.
    Also you can configure items counts and chances.

    CVARS
    sm_allowitemrings - Create Beam Rings on item spawn origins (default = 0)
    l4d2_autospawni_version - Current plugin version

    CMDS
    sm_itemsmenu - Auto spawn items menu (add\edit\delete origin)
    sm_itemsstats - stats about current map origins complete
    sm_allitemsstats - stats about ALL (default) maps origins complete

    Origin types
    Start - Start map origin position (on survivor respawn saferoom)
    Start[0] - must be coordinates start saferoom
    PreCenter - origins on pre center map
    Center - origins on center map
    Final - origins in final map
    Final[0] - must be coordinates in final map saferoom

    Files
    Download AutoSpawnItems_full.zip and unpack to left4dead2 directory

    CONFIG
    AutoSpawnConfig->Options->Items
    Chances - configures items to spawn (get random from it) and items flags
    if flag ==1 item not spawned on start and final origins
    format:
    "name" "chance;flag"
    sample:
    "first_aid_kit" "90;1"
    Counts - minimum and maximum items counts for randomed spawn items counts for every type of origin (Advanced is additionaly items with random origin type).
    Maps->"map_name"->Counts
    As "AutoSpawnConfig->Options->Items->Counts", but for specific MAP

    Maps->"map_name"->"origin_type"
    Origins for specific map and type

    Maps->"map_name"->"origin_type"->SpecialItems
    You can set here items why spawns on given origin type on specific maps.
    format:
    "name" "count"
    sample:
    "first_aid_kit" "6"
    Maps->All->"origin_type"->SpecialItems
    As above, but for a ALL MAPS
    In new version changes items names in your config:
    Sample:
    old => new
    first_aid_kit => weapon_first_aid_kit
    autoshotgun => weapon_autoshotgun
    gascan => weapon_gascan
    Melee weapon not use prefix, sample:
    machete => machete

    About configure chances

    Changelog:
    1.7
    - Fixed spawn errors at first round.
    1.6
    - added m60 support (dlc)
    1.5
    - changed config item names from {name} to weapon_{name}
    - added support to melee weapons
    - fixed weapon ammo count
    - small correct colors for item rings
    - added cvar for version control
    1.4 (beta)
    - Fix bug with adding new origins and save old.
    1.3 (beta)
    - First public release
    Attached Files
    File Type: zip AutoSpawnItems_full.zip (52.2 KB, 2935 views)
    File Type: sp Get Plugin or Get Source (AutoSpawnItems.sp - 4201 views - 30.1 KB)

    Last edited by V10; 12-26-2011 at 12:22. Reason: new version
    V10 is offline
    Bongholio
    Senior Member
    Join Date: Sep 2009
    Old 01-22-2010 , 14:08   Re: [L4D2] Auto Items Spawn (BETA)
    Reply With Quote #2

    Could this be tweeked to set down pre-placed statics automatically?
    (like how you do it with admin menu manually with the modelfun plugin?)

    The idea doesn't sound so far off.
    Bongholio is offline
    Luke Penny
    Senior Member
    Join Date: Jan 2010
    Location: Canada
    Old 01-23-2010 , 20:56   Re: [L4D2] Auto Items Spawn (BETA)
    Reply With Quote #3

    Indeed, I was wondering if it was possible for maps to have a chance to place dynamic props, so you could have a 50% chance of forcing players to take different variable paths in l4d1 or 2.
    Luke Penny is offline
    V10
    Senior Member
    Join Date: Jan 2010
    Location: Russia
    Old 01-26-2010 , 16:57   Re: [L4D2] Auto Items Spawn (BETA)
    Reply With Quote #4

    Quote:
    Originally Posted by Bongholio View Post
    Could this be tweeked to set down pre-placed statics automatically?
    (like how you do it with admin menu manually with the modelfun plugin?)

    The idea doesn't sound so far off.
    Maybe sometime in the future
    V10 is offline
    rek075
    Member
    Join Date: Oct 2009
    Old 01-28-2010 , 10:45   Re: [L4D2] Auto Items Spawn (BETA)
    Reply With Quote #5

    Quote:
    Originally Posted by Luke Penny View Post
    Indeed, I was wondering if it was possible for maps to have a chance to place dynamic props, so you could have a 50% chance of forcing players to take different variable paths in l4d1 or 2.
    This could probably be done with Stripper Source, a script file to generate the configuration files, and a cronjob periodically calling that script.
    rek075 is offline
    REDSCOUT
    Member
    Join Date: Sep 2009
    Old 03-27-2010 , 22:35   Re: [L4D2] Auto Items Spawn (BETA)
    Reply With Quote #6

    This is Cool ☺☺☻☻☻!! I will test this out!!!
    REDSCOUT is offline
    marvel
    BANNED
    Join Date: Dec 2009
    Old 03-31-2010 , 11:15   Re: [L4D2] Auto Items Spawn (BETA)
    Reply With Quote #7

    Nice plugin, I was looking for this. One question though probably a noob question but what means:

    "Start" "10;15"

    What are the 10 and 15 for?

    The other one:

    "first_aid_kit" "90;1"

    Does that mean there's a 90% chance first aid kit spawns but not in saferoom? If I change this to 0 they spawn in the saferoom.

    A little bit more explanation for the noobs like me would be welcome

    Also, can you spawn weapons with this plugin like M16, AK47 etc? Would be nice for maps like c1m1_hotel where you only have an axe or a pistol or is there another way to do this?

    Thanks!
    marvel is offline
    V10
    Senior Member
    Join Date: Jan 2010
    Location: Russia
    Old 03-31-2010 , 18:08   Re: [L4D2] Auto Items Spawn (BETA)
    Reply With Quote #8

    Quote:
    Originally Posted by marvel View Post
    Nice plugin, I was looking for this. One question though probably a noob question but what means:

    "Start" "10;15"

    What are the 10 and 15 for?
    Quote:
    Counts - minimum and maximum items counts for randomed spawn items counts for every type of origin (Advanced is additionaly items with random origin type).
    "Start" "min count;max count"

    Quote:
    The other one:

    "first_aid_kit" "90;1"

    Does that mean there's a 90% chance first aid kit spawns but not in saferoom? If I change this to 0 they spawn in the saferoom.
    Yes, but 9% chance
    Sample:
    1000 = 100% = maximum 1 item
    500 + 500 = 50% + 50% = maximum 2 items
    500 + 250 + 250 = 50% + 25% + 25% = maximum 3 items
    etc

    Quote:
    A little bit more explanation for the noobs like me would be welcome

    Also, can you spawn weapons with this plugin like M16, AK47 etc? Would be nice for maps like c1m1_hotel where you only have an axe or a pistol or is there another way to do this?

    Thanks!
    Yes, you can.
    __________________
    Sry for my english.
    I good speak on russian =)
    V10 is offline
    marvel
    BANNED
    Join Date: Dec 2009
    Old 03-31-2010 , 18:11   Re: [L4D2] Auto Items Spawn (BETA)
    Reply With Quote #9

    Thanks I'll give it a try
    marvel is offline
    marvel
    BANNED
    Join Date: Dec 2009
    Old 04-01-2010 , 03:26   Re: [L4D2] Auto Items Spawn (BETA)
    Reply With Quote #10

    Works perfectly, thanks! One more question, do you maybe have an item list of things you can spawn?

    I was trying to spawn weapons like the autoshutgun and shotgun_spas and they did spawn but they only had 10 bullets of ammo, no backup ammo.

    Any idea?

    Thanks again for the mod! Some maps were far too simple for infected because of the lack of good starting items.
    marvel 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:17.


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