有冇人識用依個插件 d教學英文我唔明
DESCRIPTIONbebop auto handles the spawning and kicking of bots when a client enters or leaves the server that is needed make additional players in coop mode possible.
INFORMATION
- the plugin does only handle coop mode.
- spawns a bot when a client is entering the game
- kicks a bot when a client disconnects
- it will deactivate it's functions when the gamemode is changed to non coop.
- it will activate when it got changed back to coop again.
there is only 1 cvar, bebop_version, which tells the current version.
you need another mod that allows to set the playerlimit on a server and removes the human survivor limit.
if you want to use connecting though lobby and connecting through the +connect command you need another mod that removes the lobby reservation.
if you're server is runnin on windows i'd suggest to use L4DToolz.
its available for l4d1 and l4d2.
( if youre on linux you should use this ->
Left 4 Downtown Extension (0.3.2.0) (The new L4D2 Linux only version) thanks to chickenside for report )
grab l4dtoolz here:
http://forums.alliedmods.net/showthread.php?t=93600
when using l4dtoolz you only need to add the following stuff to your server.cfg
Code:
sv_maxplayers "whateveryouwant"sv_visiblemaxplayers "-1"sv_removehumanlimit "1"sv_force_unreserved "1"
note that sv_maxplayers is also the limit for human survivor players in your game!
for example: if you want bebop to manage 8 human survivor players you have to set sv_maxplayers "8"
INSTALLATION
- download l4dtoolz (or any other plugin that does the stuff i described further)
- set l4dtools cvars in your server.cfg (see INFORMATION)
- download bebop and compile
- put it to the sourcemod plugin dir
- restart server or change map ("sm plugins refresh / load" wont work when there is any human player connected to the server)
- youre done
KNOWN BUGS
- when one of the first 4 survivors that entered the game disconnects andt he number of active players is above 5 (sometimes) only 3 players appear when you press tab
- when one of the first 4 survivors that entered the game presses the "take a break" button or gehts afk the l4d jointeam panel is shown
ADDITIONAL INFO
i'd suggest you to enhance the difficulty in your server.cfg
have a look at the following cvars if you want to:
Code:
z_mob_population_densityz_mob_min_notify_count"z_common_limitz_zombie_lunge_push z_mob_spawn_min_sizez_mob_spawn_max_sizez_mob_spawn_finale_sizez_mega_mob_size z_mega_mob_spawn_min_intervalz_mega_mob_spawn_max_interval z_mob_spawn_min_interval_normalz_mob_spawn_max_interval_normalz_mob_spawn_min_interval_hardz_mob_spawn_max_interval_hardz_mob_spawn_min_interval_expertz_mob_spawn_max_interval_expert director_tank_min_intervaldirector_tank_max_interval z_special_spawn_interval z_hunter_limitz_charger_limitz_jockey_limitz_boomer_limit"z_smoker_limitz_spitter_limit z_tank_rock_radius z_tank_speedz_speedz_hunter_speedz_jockey_speed z_charger_healthz_hunter_healthz_jockey_healthz_witch_healthz_tank_health sm_cvar z_health
i've used sourcemod-1.3.0-hg2865.zip snapshot to compile the plugin.
when you want to compile yourself theres a #define that is called LOG_ENABLE. set it to false and recompile if you want no logging. the plugin is still beta status thats why i recommend you to activate the logging for a better bug report when weird shit happens.
the log is stored in addons\sourcemod\logs
THANKS:
- to Kaiser who helped me testing alot :-)
- thx to all other coders of plugins especially Jerrith and Whosat,
their neat sources really got me into sourcemod
would be nice to have some feedback
best regards
~frool
CHANGELOG
********************************************* ***********/
* -> 0.1 beta
* -----------
* - initial release
*
* -> 0.2 beta
* -----------
* - FIXED BUG: where bebop unnhooks events twice when changing from non coop gamemode to another non coop gamemode
*
* - FIXED BUG: in l4d1 mp_gamemode cvar flag got set to protected because it is not protected by default like in l4d1