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

[L4D2]MiniEvents


Post New Thread Reply   
 
Thread Tools Display Modes
Author
rekcah
Member
Join Date: Jun 2019
Plugin ID:
6824
Plugin Version:
1
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    spawns mini events around the map to slow player progression.
    Old 11-25-2019 , 21:44   [L4D2]MiniEvents
    Reply With Quote #1

    Introduction

    ive noticed on my versus server that a good team can easily rush to the end while the infected barely have a chance to do any real damage so i created this plugin to not only give the infected more time to do damage but to also add a tiny bit more variety to the maps.

    Purpose

    spawns mini events around the map to slow player progression.

    Features

    - allows you to store up to 10 possible event locations per map.
    - 1-3 events will be spawned per map.
    - events will spawn in the same location for both versus teams.
    - convars for hoard duration and barrier burn time.
    - uses https://forums.alliedmods.net/showthread.php?t=147542
    - including my config folder with multiple events already positioned.
    - if for some reason the cans don't ignite the barrier you can shove the barrier to get a molotov to burn them.

    Convars

    -"mini_event_burn_time" how long until the barrier disappears
    -"mini_event_hoard_time" how long the hoard lasts for
    -"mini_event_can_glow" 1 for glows on, anything else = off
    -"mini_event_on" 1 events will spawn otherwise they wont

    [U]Installation[U]

    - minievent folder goes in sourcemod/configs folder.
    - minievents.smx goes in plugins folder.
    - the minievents.sp and spawnpoints.inc files go in sourcemod/scripting

    commands

    - "minievent_add" add a spwn point
    - "minievent_del" delete a spawn point
    - "sm_testbar" spawns a barrier where you are looking
    - "minievent_mark" temporarily shows all mini event locations and saves the config

    to create an event stand where you want to place it facing towards the direction the survivours will approach from and use the command "minievent_add".

    to remove a position stand near it and use "minievent_del".

    in the console it will say if it as added/deleted successfully.

    after you have placed them use "minievent_mark" to save the positions.

    [U] Update [U]

    - events are now wider and can fit better in more locations.

    known issues

    when my config folder was first created, I'm not sure why but it was created where the server didn't have access to it so i had to manually change its permissions, that might be an issue for some people. other then that i don't think theirs any game breaking issues.

    this plugin uses the "player_left_start_area" event to spawn the events, any plugins that blocks that event will likely break this plugin.

    it works perfectly on my versus server, i have tried to make it work with campaign however i have not tested it in campaign at all.
    Attached Files
    File Type: zip MIniEvents.zip (50.7 KB, 507 views)

    Last edited by rekcah; 04-14-2021 at 20:27.
    rekcah is offline
    login101
    Senior Member
    Join Date: Sep 2017
    Old 11-25-2019 , 23:21   Re: [L4D2]MiniEvents
    Reply With Quote #2

    Quote:
    Originally Posted by rekcah View Post
    Introduction

    ive noticed on my server that a good team can easily rush to the end while the infected barely have a chance to do any real damage so i created this plugin to not only give the infected more time to do damage but to also add a tiny bit more variety to the maps.

    Purpose

    spawns mini events around the map to slow player progression.

    Features

    - allows you to store up to 10 possible event locations per map.
    - can have up to 3 events per map
    - convars for hoard duration and barrier burn time.
    - uses https://forums.alliedmods.net/showthread.php?t=147542
    - including my config folder with a few events already positioned on some maps.

    Convars

    -"mini_event_burn_time" how long until the barrier disapears
    -"mini_event_hoard_time" how long the hoard lasts for

    commands

    - "minievent_menu" display menu
    - "minievent_add" add a spwn point
    - "minievent_del" delete a spawn point
    - "minieventshow" shows all locations

    to create an event stand where you want to place it facing towards the direction the survivours will approach from and use the command "minievent_add".

    to remove a position stand near it and use "minievent_del".

    the show command dosn't always work the best.

    known issues

    when my config folder was first created, im not sure why but it was created where the server didnt have access to it so i had to manually change its permissions, that might be an issue for some people. other then that i dont think theres any game breaking issues.

    Where should I install the minievent folder?
    login101 is offline
    rekcah
    Member
    Join Date: Jun 2019
    Old 11-26-2019 , 01:18   Re: [L4D2]MiniEvents
    Reply With Quote #3

    it just goes in the configs folder
    rekcah is offline
    sonic155
    Senior Member
    Join Date: Mar 2019
    Old 11-26-2019 , 02:34   Re: [L4D2]MiniEvents
    Reply With Quote #4

    the gascans do not reach nor break the barriers and having to reload the map just to see if they worked its eh I mean I like the idea but it seems like it needs more work o.o
    sonic155 is offline
    sonic155
    Senior Member
    Join Date: Mar 2019
    Old 11-26-2019 , 03:50   Re: [L4D2]MiniEvents
    Reply With Quote #5

    how do you remove the red glowing showing the gascans?
    sonic155 is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 11-26-2019 , 09:39   Re: [L4D2]MiniEvents
    Reply With Quote #6

    //SourceMod Batch Compiler
    // by the SourceMod Dev Team


    //// minievents.sp
    //
    // E:\1L4D2\left4dead2\addons\sourcemod\scriptin g\minievents.sp(44) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
    //
    //
    // E:\1L4D2\left4dead2\addons\sourcemod\scriptin g\minievents.sp(45) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
    //
    //
    // E:\1L4D2\left4dead2\addons\sourcemod\scriptin g\minievents.sp(94) : warning 217: loose indentation
    // E:\1L4D2\left4dead2\addons\sourcemod\scriptin g\minievents.sp(94) : warning 213: tag mismatch
    // E:\1L4D2\left4dead2\addons\sourcemod\scriptin g\minievents.sp(96) : warning 213: tag mismatch
    // E:\1L4D2\left4dead2\addons\sourcemod\scriptin g\minievents.sp(100) : warning 217: loose indentation
    // E:\1L4D2\left4dead2\addons\sourcemod\scriptin g\minievents.sp(119) : warning 213: tag mismatch
    // E:\1L4D2\left4dead2\addons\sourcemod\scriptin g\minievents.sp(121) : warning 213: tag mismatch
    // Code size: 16996 bytes
    // Data size: 5980 bytes
    // Stack/heap size: 16384 bytes
    // Total requirements: 39360 bytes
    //
    // 8 Warnings.
    //
    // Compilation Time: 0.22 sec
    // ----------------------------------------

    Press enter to exit ...
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    login101
    Senior Member
    Join Date: Sep 2017
    Old 11-28-2019 , 19:57   Re: [L4D2]MiniEvents
    Reply With Quote #7

    Quote:
    Originally Posted by rekcah View Post
    Introduction

    ive noticed on my versus server that a good team can easily rush to the end while the infected barely have a chance to do any real damage so i created this plugin to not only give the infected more time to do damage but to also add a tiny bit more variety to the maps.

    Purpose

    spawns mini events around the map to slow player progression.

    Features

    - allows you to store up to 10 possible event locations per map.
    - can have up to 3 events per map
    - convars for hoard duration and barrier burn time.
    - uses https://forums.alliedmods.net/showthread.php?t=147542
    - including my config folder with a few events already positioned on some maps.

    Convars

    -"mini_event_burn_time" how long until the barrier disapears
    -"mini_event_hoard_time" how long the hoard lasts for
    -"mini_event_can_glow" 1 for glows on, anything else = off

    commands

    - "minievent_menu" display menu
    - "minievent_add" add a spwn point
    - "minievent_del" delete a spawn point
    - "minieventshow" shows all locations
    - "sm_testbar" spawns a barrier where you are looking
    - "sm_savebar" saves the spawn point locations without having to end the map

    to create an event stand where you want to place it facing towards the direction the survivours will approach from and use the command "minievent_add".

    to remove a position stand near it and use "minievent_del".

    the show command doesn't always work the best.

    the best way to use test bar would be to no clip yourself, look all the way down, then use "sm_testbar" and have a friend verify that its in the correct location, if it is then place a proper spawn point with "minievent_add".

    known issues

    when my config folder was first created, I'm not sure why but it was created where the server didn't have access to it so i had to manually change its permissions, that might be an issue for some people. other then that i don't think theirs any game breaking issues.

    it can be difficult getting the spawn points correct

    Update
    after testing on a friends campaign server it wasn't working very well so i have created a second version that works better for campaign, i also tried making it a little more user friendly in the configuration process. adding both versions to the download, i don't recommend using the campaign version for versus however the versus version should work for both, i believe it wasn't working properly for my friend because he had a plugin that was blocking the "player_left_start_area" event. if you use any plugins that do that the versus version probably wont work for you.

    - Added convar to turn glows on/off
    - Added command "sm_savebar" to save configs without having to end the map
    - Added command "sm_testbar" to create events on the fly
    Can I add more event types?
    login101 is offline
    Alex101192
    Senior Member
    Join Date: Aug 2018
    Old 11-28-2019 , 20:08   Re: [L4D2]MiniEvents
    Reply With Quote #8

    Quote:
    Originally Posted by login101 View Post
    Can I add more event types?
    No, there is only this one event as of now. By the way, if the command to save does not work, make sure to end the map after you are done setting spawn. This will save it.
    Alex101192 is offline
    Alex101192
    Senior Member
    Join Date: Aug 2018
    Old 12-02-2019 , 14:02   Re: [L4D2]MiniEvents
    Reply With Quote #9

    For everybody who wants to use this plugin but is too lazy to set up the barriers manually, here's already made configs by me for most valve maps. Barriers are set on all l4d2 maps but cold stream, and no mercy and dead air. I made them as fair as possible and I had to remove some which were put right at a tank spawn, and thus blocking the tank path. They are much better than the ones included by the author.
    Attached Files
    File Type: zip minievents.zip (9.7 KB, 437 views)

    Last edited by Alex101192; 12-02-2019 at 14:03.
    Alex101192 is offline
    Aya Supay
    Member
    Join Date: Nov 2015
    Old 12-02-2019 , 20:41   Re: [L4D2]MiniEvents
    Reply With Quote #10

    nice plugin

    add support for l4d1 and new sintaxys
    Attached Files
    File Type: sp Get Plugin or Get Source (minievents_capain.sp - 337 views - 6.3 KB)
    File Type: sp Get Plugin or Get Source (minievents_versus.sp - 306 views - 6.6 KB)
    File Type: inc spawnpoints.inc (12.8 KB, 334 views)
    Aya Supay is offline
    Reply



    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 06:39.


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