Raised This Month: $ Target: $400
 0% 

[L4D2] Versus Style Boss Spawn in Coop Mode


Post New Thread Reply   
 
Thread Tools Display Modes
Author
BRU7US
Member
Join Date: Jul 2020
Location: Tatarstan, Kazan
Plugin ID:
8520
Plugin Version:
2.0.0
Plugin Category:
All
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Bosses will start to spawn by percentage of map completion by Survivors
Old 07-29-2023 , 15:45   [L4D2] Versus Style Boss Spawn in Coop Mode
Reply With Quote #1

About:
This plugin is a reworked version of the original plugin that allows you to set the spawn place of Bosses based on the percentage of passing the map. Works only in coop mode!

Additional Requirements and dependencies:
-> SourceScramble

How this works?
Bosses (Tank or Witch) will start to spawn when the furthest survivor will reach a percentage of map completion that's labeled as the place of their spawn.
On the maps with a finale event this plugin returns default algorithm for Boss spawning!

For example:
-> Tank spawn place is 41%
-> Witch spawn place is 70%
this means that when furthest survivor will reach 41% of map completion the Tank will be spawned. Same algorithm for Witch.

Commands:
sm_current - shows a current map completion by survivors.
sm_boss - shows a percentages of spawn for Tank and Witch with displaying a current completion of map.

ConVars:
l4d2_cbs_show_boss_percent_difficulties - Show a Bosses spawn percents for difficulties.
-> Default value: 3
-> Available values:
0 - Don't show for any difficulty.
1 - Easy
2 - Normal and lower.
3 - Advanced and lower.
4 - Expert and lower.

Installing:
Put l4d2_coop_boss_spawning.smx in sourcemod/plugins folder.
Put l4d2_coop_boss_spawning.cfg in sourcemod/data folder.
Put coop_boss_spawning.txt in sourcemod/gamedata folder.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_coop_boss_spawning.sp - 278 views - 15.4 KB)
File Type: cfg l4d2_coop_boss_spawning.cfg (1.8 KB, 368 views)
File Type: txt coop_boss_spawning.txt (2.6 KB, 262 views)

Last edited by BRU7US; 07-29-2023 at 15:55. Reason: Update
BRU7US is offline
joyist
Member
Join Date: Apr 2018
Old 07-31-2023 , 05:12   Re: [L4D2] Versus Style Boss Spawn in Coop Mode
Reply With Quote #2

can't compile
__________________
http://chdong.top/motd

L4D2 CN CloudsSky Server group。
My WebLabWebOS
joyist is offline
BRU7US
Member
Join Date: Jul 2020
Location: Tatarstan, Kazan
Old 07-31-2023 , 15:25   Re: [L4D2] Versus Style Boss Spawn in Coop Mode
Reply With Quote #3

Quote:
Originally Posted by joyist View Post
can't compile
Write a compilation error here, pls.
BRU7US is offline
Krufftys Killers
Senior Member
Join Date: Jan 2014
Old 07-31-2023 , 16:14   Re: [L4D2] Versus Style Boss Spawn in Coop Mode
Reply With Quote #4

compiled for me. you need Source Scramble and colors.inc to compile
Krufftys Killers is offline
WhiteSails
Junior Member
Join Date: Sep 2022
Old 08-20-2023 , 08:46   Re: [L4D2] Versus Style Boss Spawn in Coop Mode
Reply With Quote #5

Plugin compilation failed
WhiteSails is offline
BRU7US
Member
Join Date: Jul 2020
Location: Tatarstan, Kazan
Old 08-20-2023 , 14:59   Re: [L4D2] Versus Style Boss Spawn in Coop Mode
Reply With Quote #6

Quote:
Originally Posted by WhiteSails View Post
Plugin compilation failed
Can you write a compilation error here?
BRU7US is offline
Jasonex
Junior Member
Join Date: Aug 2023
Old 08-31-2023 , 21:53   Re: [L4D2] Versus Style Boss Spawn in Coop Mode
Reply With Quote #7

The SourceScramble has finished downloading everything has been applied to the file but this is what appears

Plugin failed to compile! Please try contacting the author.
SourcePawn Compiler 1.11
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2021 AlliedModders LLC

201243.attach(6) : error 417: cannot read from file: "sourcescramble"

3 Errors.
Jasonex is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 08-31-2023 , 23:29   Re: [L4D2] Versus Style Boss Spawn in Coop Mode
Reply With Quote #8

means that you are not compiling with the "sourcescramble" include.
if you are compiling in the web make sure to add the "sourcescramble.inc" file
if compiling locally check if you have the "sourcescramble.inc" file in your "/sourcemod/scripting/include" folder
(file available in the sourcescramble github repo)
__________________

Last edited by Marttt; 08-31-2023 at 23:30.
Marttt is offline
kooper990
Member
Join Date: Jan 2021
Old 09-22-2023 , 09:21   Re: [L4D2] Versus Style Boss Spawn in Coop Mode
Reply With Quote #9

I don't play versus, so fill me in on this; does this make every map of a campaign to always have a tank OR witch spawn?
kooper990 is offline
liquidplasma
Junior Member
Join Date: May 2023
Old 09-22-2023 , 15:13   Re: [L4D2] Versus Style Boss Spawn in Coop Mode
Reply With Quote #10

Quote:
Originally Posted by kooper990 View Post
I don't play versus, so fill me in on this; does this make every map of a campaign to always have a tank OR witch spawn?
Yes, but you can tweak the percentages. I feel like the defaults are good enough.
liquidplasma 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 23:18.


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