AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:S] Hide and seek - (Version 1.4.1 - Updated 03.09.2011) (https://forums.alliedmods.net/showthread.php?t=124979)

selax 04-23-2010 12:28

[CS:S] Hide and seek - (Version 1.4.1 - Updated 03.09.2011)
 
2 Attachment(s)
SM: Hide and Seek

What's this?
--------------------------------
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 everytime they get shot - or both. Seekers gain hp by hurting or killing a hider.


Requirements
--------------------------------
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!)

Google Source Code

--------------------------------
You can follow future developement of this project and grab the latest fixes on google code:
http://code.google.com/p/smhideandseek/


Changelog
--------------------------------
Spoiler


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 the SDKHooks extension to compile, so you have to do it manually, since the webcompiler is missing the include file.

Molli 04-27-2010 12:30

Re: Hide and seek
 
Good start.
But is the rus lang by default?

gaissi 04-27-2010 12:46

Re: Hide and seek
 
Nice plugin but you should at a few function:
- Blind CT at base
- CT should loose hp when they shot and when they "destroy" a T they should get HP.
- Add the function that T doesn't block each other...


But anyway nice plugin...

selax 04-28-2010 07:07

Re: Hide and seek
 
Quote:

Originally Posted by Molli (Post 1162299)
Good start.
But is the rus lang by default?

This is determined by you configuration of Sourcemod.

Now in plugin english and Russian langs.

Molli 04-28-2010 09:52

Re: Hide and seek
 
Quote:

Originally Posted by SelaX (Post 1163175)
This is determined by you configuration of Sourcemod.

Now in plugin english and Russian langs.

I have 5 servers and never change it.still its rus...

selax 04-28-2010 12:11

Re: Hide and seek
 
Quote:

Originally Posted by Molli (Post 1163302)
I have 5 servers and never change it.still its rus...

In my server all normal, en users have en lang

Molli 04-29-2010 08:30

Re: Hide and seek
 
There is only rus available this plugin:

My core:

/**
* Language that multilingual enabled plugins and extensions will use to print messages.
* Only languages listed in languages.cfg are valid.
*
* The default value is "en"
*/
"ServerLang" "en"


Your /configs/hide_and_seek/maps:

"Models"
{
"1"
{
"name" "Системный блок"
"path" "props/cs_office/computer_caseb"
}

"2"
{
"name" "Кустик"
"path" "props_foliage/shrub_01a"
}

bigbrain911 04-29-2010 09:11

Re: Hide and seek
 
Well done, good job, but:
1. Increase your running speed for those who hides
2. Each shot must be numb 5hp that would not shoot at all that chance to be before
3. There was a case when a suicide has become a fire extinguisher and picked up the gun and shot
4. Also there should be more little things such as telephone and so on
5. There should not be heard steps in those who hid
6. For those who are looking for the murder of hiding to be added to 100hp


Молодец, хорошая работа, но :
1. Нужно увеличить скорость бега у тех кто прячется
2. При каждом выстреле должно отниматься 5hp что бы не стреляли во все что попадется
3. Был случай когда терорист стал огнетушителем и подобрал автомат и стрелял
4. Так же должно быть больше маленьких вещей таких как телефон и т.д.
5. Не должно быть слышно шагов у тех кто прячется
6. У тех кто ищет при убийстве прячущегося должно добавляться 100hp

selax 04-29-2010 12:12

Re: Hide and seek
 
Quote:

Originally Posted by bigbrain911 (Post 1164324)
Well done, good job, but:
1. Increase your running speed for those who hides
2. Each shot must be numb 5hp that would not shoot at all that chance to be before
3. There was a case when a suicide has become a fire extinguisher and picked up the gun and shot
4. Also there should be more little things such as telephone and so on
5. There should not be heard steps in those who hid
6. For those who are looking for the murder of hiding to be added to 100hp


Молодец, хорошая работа, но :
1. Нужно увеличить скорость бега у тех кто прячется
2. При каждом выстреле должно отниматься 5hp что бы не стреляли во все что попадется
3. Был случай когда терорист стал огнетушителем и подобрал автомат и стрелял
4. Так же должно быть больше маленьких вещей таких как телефон и т.д.
5. Не должно быть слышно шагов у тех кто прячется
6. У тех кто ищет при убийстве прячущегося должно добавляться 100hp

1. Эта функция реализована у меня на сервере, но отключена, скоро выложу плагин.
2. Тоже самое, что и в п.1
3. Не нужно перезагружать плагин и всё будет нормально.
4. Их там и нет...
5. sv_footsteps 0
6. Тоже самое, что и в п.1

1. This function realised on my server, but disabled, in some time i put plugin to this topic.
2. Some of 1.
3. Do not restart a plugin and all ok. :D
4. Do not have
5. sv_footsteps 0
6. Some of 1.

selax 04-29-2010 12:14

Re: Hide and seek
 
Quote:

Originally Posted by Molli (Post 1164288)
There is only rus available this plugin:

My core:

/**
* Language that multilingual enabled plugins and extensions will use to print messages.
* Only languages listed in languages.cfg are valid.
*
* The default value is "en"
*/
"ServerLang" "en"


Your /configs/hide_and_seek/maps:

"Models"
{
"1"
{
"name" "Системный блок"
"path" "props/cs_office/computer_caseb"
}

"2"
{
"name" "Кустик"
"path" "props_foliage/shrub_01a"
}

had not thought about it, soon will put the English version


All times are GMT -4. The time now is 12:37.

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