[L4D] Pause Game Plugin
would it be possible to make a plugin that pauses a L4D game in progress?
some problems may come up throughout the game that needs the game to be "paused" . such as (i.e. 1 survivor lags out, the rest of the team says wait don't attack, a new infected connects in and doesn't know the survivors are waiting for the lagged out survivor to come back and attacks them. and the survivors become *rawr* >:[) |
Re: [L4D] Pause Game Plugin
Not sure if it works in L4D, but there is a command in TF2 called 'pause'. Set your server to sv_pausable 1, and then any player can type 'pause' in console to pause the command. You might need another plugin to block non-admins from using it.
|
Re: [L4D] Pause Game Plugin
maybe it can be apart of the sourcemod admin , giving admins a simple command to pause the server or game >:D
|
Re: [L4D] Pause Game Plugin
Bump!!! I also myself NEED THIS!!! I cost my team the game during a scrim today because my pc crashed during tank spawn.
|
Re: [L4D] Pause Game Plugin
I second this motion.
Is not only for pause terms, think in clan versus battles it maybe be useful, like a time-out. And the commands sv_pausable 1 and pause doesnīt work. |
Re: [L4D] Pause Game Plugin
I was in a server just last night, where the server was paused.
I don't remember the cvar or command info displayed in chat, but I know it exists. |
Re: [L4D] Pause Game Plugin
Quote:
You can start a lan server for example, set it to sv_pausable 1, and type pause. Nothing happens. |
Re: [L4D] Pause Game Plugin
pause.cfg
sm_cvar z_frustration 0 sm_cvar director_stop 1 sm_freeze @all 1000 sm_cvar god 1 sm_cvar sb_stop 1 say "> Pause <" echo "> Pause <" ----------------------- unpause.cfg sm_cvar z_frustration 1 sm_cvar director_stop 0 sm_freeze @all 0 sm_cvar god 0 sm_cvar sb_stop 0 say "> Pause end <" echo "> Pause end <" -------------------------- to bind a cmd: it's the beggining of the code i can't help you much i'm noob @scripting public OnPluginStart() { RegConsoleCmd("pause", to_pause) RegConsoleCmd("unpause", to_unpause) } -------------------------------------- they're is some problem with that : - if survivor are hanging during the pause, when unpause they will fall - infected aren't invincible, god 1 doesn't afect infected team good points : - witch will be still here after pause/unpause - tank don't loose control (z_frustration 0) -even if an infected is in ghostmod he will be frozen and if he try to spawn for being unstuck he will be frozen instantly |
Re: [L4D] Pause Game Plugin
Thanks Guilty, you are a crack!! :o
I have tested the cfgs, and only a problem. In coop mode on a LAN. Normal infecteds can still move, at least they canīt do damage because survivors are inmune. But the director still makes appears specials infectes and these specials can move at his pleasure. And other bad thing i saw was if you pause and unpause in Coop mode a few times. Survivors bots stay stopped and donīt move anymore. What do you think we can do to solve this? Thanks in advance, youīre helping us a lot. |
Re: [L4D] Pause Game Plugin
pause_coop.cfg
sm_cvar survivor_speed 0 //survivor_speed 210 to back to normal sm_cvar survivor_crawl_speed 0 //survivor_crawl_speed 15 to back to normal sm_cvar survivor_crouch_speed 0 //survivor_crouch_speed 75 to back to normal sm_cvar survivor_walk_speed 0 // survivor_walk_speed 85 to back to normal sm_cvar director_no_bosses 0 // director_no_bosses 1 to back to normal sm_cvar director_no_specials 0 // director_no_specials 1 to back to normal sm_cvar z_tank_speed 0 // z_tank_speed 210 to back to normal sm_cvar z_tank_walk_speed // z_tank_walk_speed 100 to back to normal sm_cvar z_witch_speed 0 // z_witch_speed 300 to back to normal sm_cvar z_witch_speed_inured 0 // z_witch_speed_inured 200 to back to normal sm_cvar hunter_pounce_air_speed 0 // hunter_pounce_air_speed 700 to back to normal sm_cvar tongue_range 0 // tongue_range 750 to back to normal sm_cvar bot_freeze 1 // bot_freeze 0 to back to normal sm_cvar god 1 // god 0 to back to normal sm_cvar sb_stop 1 // sb_stop 0 to back to normal sm_freeze @all 1000 // sm_freeze @all 0 to back to normal sm_cvar z_allow_ai_to_use_abilities 0 // z_allow_ai_to_use_abilities 1 to back to normal say "> Pause <" echo "> Pause <" ------------------------------------------------------------------ unpause_coop.cfg sm_cvar survivor_speed 210 sm_cvar survivor_crawl_speed 15 sm_cvar survivor_crouch_speed 75 sm_cvar survivor_walk_speed 85 sm_cvar director_no_bosses 1 sm_cvar director_no_specials 1 sm_cvar z_tank_speed 210 sm_cvar z_tank_walk_speed 100 sm_cvar z_witch_speed 300 sm_cvar z_witch_speed_inured 200 sm_cvar hunter_pounce_air_speed 700 sm_cvar tongue_range 750 sm_cvar bot_freeze 0 sm_cvar god 0 sm_freeze @all 0 sm_cvar z_allow_ai_to_use_abilities 1 sm_cvar sb_stop 0 say "> Unpause <" echo "> Unpause <" ---------------------------------------- i don't find a way to stop common, because z_speed is on effect with next spawn common not actual spawned. but no body move execpt common, one bug, if you are near the tank when pausing he will continue to attack and to put you in the air so when unpause you'll fly like a bird ^^, i can't help you anymore i search in cvarlist but no command to stop common or to stop tank attack if nearby you |
All times are GMT -4. The time now is 18:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.