RSSy MYGO.pl Opublikowano Kwiecień 12, 2019 o 11:23 RSSy Udostępnij Opublikowano Kwiecień 12, 2019 o 11:23 [CS:S] Hide and Seek What's this? -------------------------------- This plugin is a fork from this plugin: https://forums.alliedmods.net/showthread.php?t=124979 Thanks to the original creator and dev for their great work! Terrorists "Hiders" choose a random model on spawn, like a chair, plant or a sign, which is common on the played map and search a place, where they blend in best. The CTs "Seekers" wait a specified time to give the hiders a chance to find their spot. They have to search for the hiders and shoot them. Seekers either lose some health (default 5 hp) on every shot or hiders get more invisible every time they get shot - or both. Seekers gain hp by hurting or killing a hider. Requirements -------------------------------- SourceMod latest stable release Player Commands -------------------------------- /hide /hidemenu - Opens the menu with the list of available models if still enabled /tp /third /thirdperson /+3rd /-3rd - Switches to the thirdperson view so hiders see how they fit into the environment /whistle - Hiders play a random sound to give the seekers a hint /freeze - Toggles freezing for hiders /whoami - Shows hiders their current model name again /hidehelp - Displays a panel with informations how to play. Plugin Cvars -------------------------------- sm_hns_version - ... sm_hns_enable - Enable the Hide and Seek mod? (Default: 1) sm_hns_freezects - Should CTs get freezed and blinded on spawn? (Default: 1) sm_hns_freezetime - How long should the CTs are freezed after spawn? (Default: 25.0) sm_hns_changelimit - How often a T is allowed to choose his model ingame? (Default: 2) sm_hns_changelimittime - How long should a T be allowed to change his model again after spawn? (Default: 30.0) sm_hns_autochoose - Should the plugin choose models for the hiders automatically? (Default: 0) sm_hns_whistle - Are terrorists allowed to whistle? (Default: 1) sm_hns_whistle_times - How many times a hider is allowed to whistle per round? (Default: 5) sm_hns_hider_win_frags - How many frags should surviving hiders gain? (Default: 5) sm_hns_hp_seeker_enable - Should CT lose HP when shooting, 0 = off/1 = on. (Default 1) sm_hns_hp_seeker_dec - How many HP should a CT lose on shooting? (Default 5) sm_hns_hp_seeker_inc - How many hp should a CT gain when hitting a hider? (Default 15) sm_hns_hp_seeker_bonus - How many hp should a CT gain when killing a hider? (Default 50) sm_hns_opacity_enable - Should T get more invisible on low hp, 0 = off/1 = on. (Default 0) sm_hns_hidersspeed - Hiders speed (Default: 1.00) sm_hns_disable_rightknife - Disable rightclick for CTs with knife? Prevents knifing without losing heatlh. (Default: 1) sm_hns_disable_ducking - Disable ducking. (Default: 0) sm_hns_auto_thirdperson - Enable thirdperson view for hiders automatically (Default: 1) sm_hns_slay_seekers - Slay seekers on round end, if there are still hiders alive? (Default: 0) sm_hns_hider_freeze_mode - What to do with the /freeze command? (Default: 2) 0: Disables /freeze command for hiders 1: Only freeze on position, be able to move camera 2: Freeze completely (no cameramovents) sm_hns_hide_blood - Hide blood on hider damage. (Default: 1) sm_hns_show_hidehelp - Show helpmenu explaining the game on first player spawn. (Default: 1) sm_hns_ct_ratio - The ratio of hiders to 1 seeker. 0 to disables teambalance. (Default: 3:1) sm_hns_show_progressbar - Show progressbar for last 15 seconds of freezetime. (Default: 1) sm_hns_disable_use - Disable CTs pushing things. (Default: 1) sm_hns_hider_freeze_inair - Are hiders allowed to freeze in the air? (Default: 0) sm_hns_anticheat - Check player cheat convars, 0 = off/1 = on. (Default: 0) sm_hns_whistle_delay - How long after spawn should we delay the use of whistle? (Default: 25.0) sm_hns_cheat_punishment - How to punish players with wrong cvar values after 15 seconds? (Default: 1) 0: Disabled 1: Switch to Spectator 2: Kick sm_hns_remove_shadows - Remove shadows from players and physic models? (Default: 1) sm_hns_use_taxed_in_random - Include taxed models when using random model choice? (Default: 0) Protected Server Cvars -------------------------------- There are some protected server convars, which are enforced by the plugin to enable the mod to operate properly: mp_flashlight 0 sv_footsteps 0 mp_limitteams 0 mp_autoteambalance 0 mp_freezetime 0 sv_nonemesis 1 sv_nomvp 1 sv_nostats 1 mp_playerid 1 sv_allowminmodels 0 mp_teams_unbalance_limit 0 sv_turbophysics 1 It's recommend to set mp_forcecamera to 1 in your server.cfg! Admin commands -------------------------------- sm_hns_force_whistle <#userid|steamid|name> - Force a player to whistle disregarding his whistle limit. (chat flag) sm_hns_reload_models - Reload the modellist from the map config file. (rcon flag) Adding new maps -------------------------------- By default the plugin currently comes with a choice of models for all default maps for CS:S, but it's really easy to add support for any other map. You should only use maps with lot's of props, so hiders aren't that obvious to find. Just create a new textfile in the /configs/hide_and_seek/maps folder named the same as the map you want to support. Check the existing files for the format - you're allowed to add as many models and languages as you want. Make sure to set the file encoding to UTF-8 without BOM (more info). I'd always appreciate it if you would share your model configs so they get added to the package by default. There are some special keys to set: "heightfix" "[addheight]" (e.g. "heightfix" "80") Some models are bugged and halfway in the ground. You're able to add this key to get them showing up over the ground when standing still. Hiders using a bugged model will be teleported up regularly while running, so they can't hide by constantly running against a wall staying in the ground. "tax" "[money]" (e.g. "tax" "600") You're able to put taxes on some models to prevent everyone from using it every round. Useful for small models. Since Hiders don't get that much money during gameplay, don't set the tax too high. (If you've got some ideas for events to give hiders money for, let me know!) Source Code -------------------------------- You can follow future development of this project and grab the latest fixes on GitHub:https://github.com/blackdevil72/-Cs-S-SM-Hide-and-SeekBug and Suggestion Tracker --------------------------------https://github.com/blackdevil72/-Cs-...nd-Seek/issuesChangelog -------------------------------- Spoiler 1.5.1.1 06 April 2019 (blackdevil72) Cleaning compilation error and warnings from the code Fixed Whistle Command only Working once every two rounds 1.4.1 03. September 2011 (Peace-Maker release) Added sm_hns_remove_shadows to disable shadows on props. Thanks to Barcardi and Leonardo! Added taxes on models. Just add the "tax" key into the model config and the money as value Added random model option to menu Added swedish translation by dataviruset Added greek translation by bobis Added new models to cs_militia, cs_office, de_inferno, de_nuke and cs_italy (Thanks to Scirocco) Fixed radar hiding completely. Thanks to GoD-Tony! Fixed randomly unblinded CTs if other plugins send a Fade usrmsg by forcing them to look at the ground and reblind them every 2 seconds. Fixed freezing and changing issues with heightfixed models Fixed some anticheat issues with the teambalancer Fixed some timer issues Fixed T don't get stripped of weapons after teamswitch Fixed CTs stay blinded and Ts stay frozen when joining spectator Checking CTs to have a knife now and give them one if necassary Removed the $16000 for CTs on spawn due to the taxes. 1.4.0 25. December 2010 (Peace-Maker release) Added fix for bugged models floating into the ground. Teleports the player up when standing still. Added "heightfix" key to bugged models in map configs. Pushes the player up constantly while running. Added teambalancer with cvar sm_hns_ct_ratio to adjust the ratio of hiders to 1 seeker. (Default: 3) Added option to disable players from pushing things (disable +use command) and opens all doors on the map by default (sm_hns_disable_use 1) Added cheat convar checking code to block "cl_radaralpha" and "r_shadows". Disabled with sm_hns_anticheat 0 by default. Added sm_hns_show_progressbar cvar to toggle showing the progressbar for the last 15 seconds of freezetime (Default: 1) Added sm_hns_whistle_delay to delay the use of /whistle after spawn (Default: 25.0 seconds) Added sm_hns_hider_freeze_inair (Default: 0) to allow hiders to freeze in the air while jumping Added +3rd/-3rd to enable/disable thirdperson Added Exit button to hider model menu Giving CTs $16000 at spawn Added french prop translations (excluding cs_office) (thanks to shyriu42) Added restriction for nightvision Fixed freezed hiders can't move when dead Fixed roundtimer/freezecountdown being inaccurate Fixed protecting cvars when plugin is disabled Fixed removing bombspots/hostage rescue zones when plugin is disabled Fixed hiders sometimes don't die, but run around in default terrorist model when shot Fixed bug with wrong array indexes on full server Handling mp_restartgame correctly now Forcing mp_teams_unbalance_limit 0 to address some bot issues? Unprotected sv_alltalk, since it's not necassary to run the mod. Fixed not showing seekers' guns when dead hider is spectating him Removing hiders buyzone 1.3.1 17. October 2010 (Peace-Maker release) Fixed hiding enemies on radar Added /hidehelp command to explain the game and Added sm_hns_show_hidehelp cvar to show the hidemenu on first spawn (Default: 1) Added /freeze command to freeze in place as hider Added sm_hns_freeze_mode (Default: 2) 0: Disables /freeze command for hiders 1: Only freeze on position, still able to move camera 2: Freeze completely (no cameramovents) Added sm_hns_hide_blood to stop hiders from bleeding when shot. (Default: 1) Added progressbar until seekers start to seek (like bomb defuse) Removed buggy models out of mapconfig files (Thanks udtoto) Fixed wrong language code in german translation 1.3.0 11. September 2010 (Peace-Maker release) Multilingual model descriptions in configs/hide_and_seek/maps Requires SDKHooks 1.3 or higher now. Added sm_hns_enable convar Added sm_hns_auto_thirdperson cvar to put hiders in thirdperson view at spawn Removed cl_radaralpha checks and just hide all enemys on radar. Clients don't have to set any cvars before playing anymore. Added roundtime countdown in thirdperson view using the new env_hudhint entity Added command sm_hns_reload_models to reload the the menu from the config file Added sm_hns_slay_seekers cvar - Set to 1 to slay all seekers on hiders win Added godmode for hiders and no health decreasing for seekers on round end Fixed sm_hns_changelimittime 0.0 doesn't disable the limit Don't show "Did not choose model" message on auto choose 1.2.3. (Peace-Maker release) Added /whoami command to show the current model name in chat again. 1.2.2. (Peace-Maker release) Removed check for "r_shadows", since it's not that important. You can readd it yourself easily by modifing the cheat_commands array. Fixed minor KillTimer() and PrintToChat problems. Added sm_hns_autochoose convar to let the plugin choose the model randomly instead of showing the menu. 1.2.1. 26 July 2010 (Peace-Maker release) Added sv_allowminmodels 0 to enforced cvars and removed checks for cl_minmodels Optimized transparentation on hider hurt 1.2. 09 July 2010 (Peace-Maker release) Blocking more cheat cvars Handling mp_forcecamera 1 now individually. Hiders are still able to use the thirdperson view Limited cheat convar chat spam to 1 in 5 seconds Added sm_hns_disable_rightclick cvar to disable CTs to use rightclick on knife Added convar to control ducking. Allow ducking by default now. Fixed thirdperson "Cannot be found" error in console Fixed spectators happen to drop to the floor 1.1. (Peace-Maker release) Added protection for mp_playerid 1 and mp_forcecamera 0 Added own weapon stripper if SDKHooks isn't loaded Added Cvar to disable Anticheat Now kicking immediately on cl_minmodels violation Enabled unlimited modelchanging. Just set sm_hns_changelimit 0 and sm_hns_changelimittime 0.0 Added hider walkingspeed modification from SelaX' code Optionally decrease seekers health when they shoot and increase if they hit or kill a hider Optionally fade the visibility of hiders depending on their health (Experimental) Added french translation thanks for sAnd57. Added russian translation. 1.0. (Peace-Maker release) Blinded CT's at spawn Removed map objectives. Round_End Is working on all map types. Alive hiders get points if round time is over. !whistle feature to play a random sound loudly as T Autoassign a model if player didn't assign a model after a specified time Specify a time after spawn and an amount of times a hider is allowed to change his model again via "!hide" Added some command advertising to teach players Players can't duck anymore Autosetting and protecting some needed server cvars Added check for "r_shadows 1" cvar on client Option to kick a "cheater" with bad cvar values or switch to spectator after a given time Some minor command usage fixes Fixed english model names Added lot's of new phrases and german translation 0.1.2 (Selax) Jointeam protect. Freeze CT on spawn. Third person. 0.1.1 (Selax) Check for cl_minmodels and cl_radaralpha (thx for exvel and Afronanny for help) 0.1.0 - First release [Selax) Installation -------------------------------- Download the sm_hideandseekxxx.zip and extract it into your cstrike folder. Restart the server. A config file has been generated in cfg/sourcemod/plugin.hideandseek.cfg which you can edit as you like. Switch to a map, which is supported by the plugin (config file in sourcemod/configs/hideandseek/maps/)Notice -------------------------------- This plugin requires SMLib extension to compile, so you have to do it manually, since the webcompiler is missing the include file. Attached Files css_hns_1.5.1.1.zip (98.6 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się