AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] PropHunt (v1.0.5.1, 04/02/16) (https://forums.alliedmods.net/showthread.php?t=277864)

statistician 01-18-2016 12:27

[CS:GO] PropHunt (v1.0.5.1, 04/02/16)
 
1 Attachment(s)
PropHunt

The game begins with a countdown: Counter-Terrorists, the seekers, are blinded and cannot move. During this time Terrorists, the hiders,
choose a world model and try to hide themselves amongst the rubble of de_dust2 the map being played.

Once the countdown is over, the seekers try to find and kill the hiders. Much like regular old hide and seek from our youth,
if not for all the ungodly transforming into toilets and murdering.

Although this plugin has essentially been written from scratch, many snippets originate from the Hide and Seek plugin
written (and abandoned) by SelaX.


Chat Commands
  • /rules - Show instructions on how to play.
  • /hide /prop /model - Opens a menu with different models to choose as a hider.
  • /tp /third /thirdperson - Toggles thirdperson view for hiders
  • /whistle - Plays a random sound from the hider's position to give the seekers a hint.
  • /whoami - Displays the current model description in chat.
  • /freeze - Toggles freezed state for hiders.
  • /ct - Requests a switch to the seeking side.

Cvars
  • ph_freezects - Freeze and blind seekers on round start
  • ph_freezetime - Amount of time the seekers are freezed
  • ph_changelimit - Number of times a hider is allowed to change his model
  • ph_changelimittime - Amount of time a hider is allowed to change his model
  • ph_autochoose - Choose random models for hiders at round start
  • ph_whistle - Allow hiders to whistle
  • ph_whistle_times - Number of times a hider is allowed to whistle (per round)
  • ph_whistle_seeker - Allow seekers to enforce hiders to whistle
  • ph_hider_win_fargs - Number of kills surviving hiders receive on round end
  • ph_slay_seekers - Slay all seekers on round end if alive hiders remain
  • ph_hp_seeker_enable - Seekers lose damage when firing anything not-hider
  • ph_hp_seeker_dec - Amount of hp a seeker loses on shooting
  • ph_hp_seeker_inc - Amount of hp a seeker gains when shooting a hider
  • ph_hp_seeker_inc_shotgun - Amount of hp a seeker gains when shooting a hider with a shotgun
  • ph_hp_seeker_bonus - Amount of hp a seeker gains when killing a hider
  • ph_hiderspeed - Hiders' movement speed
  • ph_disable_ducking - Disable ducking (crouching)
  • ph_auto_thirdperson - Set thirdperson view for hiders automatically on round start
  • ph_hider_freeze_mode - Set the /freeze command behaviour
  • ph_hide_blood - Hide hiders' blood when taking damage
  • ph_show_help - Show helpmenu explaining the game on first player spawn
  • ph_ct_ratio - The ratio of hiders to 1 seeker
  • ph_disable_use - Disable seekers' use key
  • ph_hider_freeze_inair - Allow hiders to freeze in the air
  • ph_hide_player_locations - Hide location shown next to a player's name on voice chat and teamsay
  • ph_auto_freeze_time - Amount of time after which stationary players should freeze automatically. 0 disables automatic freezing
  • ph_guaranteed_ct_turns - Number of turns after which seekers might be switched to the hiders' side
  • ph_knifespeed - Running speed when holding a knife (multiplier)
  • ph_limitspec - Restrict spectating - 0: Anyone, 1: Own team only, 2: CT only
  • ph_include_default_models - 0: Include default model list when one for current map doesn't exist, 1: Always include default model list
  • ph_force_periodic_whistle - Periodically, every x seconds, force a random hider to whistle - 0: disable periodic whistles.
  • ph_periodic_whistle_delay - Number of seconds for the first periodic whistle, if they are enabled.
  • ph_turns_to_scramble - Scramble teams every x turns. 0: disable scrambling. Disables the /ct command if enabled.
Further Information

See the project's GitHub pages for source code and further information on cvars, installation, configuring model lists and whistles, and compiling from source!

https://github.com/tilastokeskus/sm-PropHunt


Changelog

  • Version 1.0.5.1
    • Fixed CTs not being unfreezed.
    • Fixed scoring and winner announcement.
    • Fixed some teambalancing issues.
    • Fixed some issues with periodic whistles.
    • New phrases in the translation file.
  • Version 1.0.5
    • Quick fixes from last release.
    • New cvar: ph_turns_to_scramble
  • Version 1.0.4
    • Fixed teambalancing issues.
    • Fixed team scoring when terrorists win by time.
    • Fixed terrorist frags resetting on round start when they win by time.
    • New cvar: ph_force_periodic_whistle
    • New cvar: ph_periodic_whistle_delay
  • Version 1.0.3.1
    • Fixed players being invisible after switching from the hiding team to the seeking one.
  • Version 1.0.3
    • Introduced includes to model lists. Further information in the Configuring model lists section on the project's GitHub pages.
    • New cvar: ph_include_default_models
  • Version 1.0.2
    • Fixed hiders not dying.
    • New cvar: ph_limitspec - Restrict spectating to: Anyone (0), own team (1) or CT (2).
  • Version 1.0.1
    • Configurable whistles - see project's GitHub pages for further info.
    • Modified the addons/sourcemod/configs folder structure.
  • Version 1.0
    • Initial release.

Plans
  • Add a cooldown option for whistling, so that spamming it can be prevented.
  • Add an option to make the prop selection menu not disappear after selecting a model.
  • Make it possible to disable crouching only for the hiders (can't disable only for seekers, since hiders would be able to hide in places the seekers wouldn't be able to go)

The plugin is in its early stages, so problems are prone to surface. I accept all the help I can get!

mazdarx8 01-18-2016 13:09

Re: [CS:GO] PropHunt (v1.0, 18/01/16)
 
Hi, which maps are available for this mode?

statistician 01-18-2016 13:31

Re: [CS:GO] PropHunt (v1.0, 18/01/16)
 
Quote:

Originally Posted by mazdarx8 (Post 2384375)
Hi, which maps are available for this mode?

All and every map. However, I haven't made specific model listings to any maps apart from de_dust2 (and that too is minimal). The default model listing, which is modifiable, applies to all maps, though. You can make your own listings if you know the paths to the props you want to have included. I got the paths using the Hammer editor. If you need further instructions, let me know.

Also, if you indeed do make your own listings, I'd appreciate it if you shared them with me, so that I can make them available to the public.

Hallucinogenic Troll 01-18-2016 13:53

Re: [CS:GO] PropHunt (v1.0, 18/01/16)
 
The whistles can be custom mades, without any need of re-compiling the plugin?
At least in GMOd we could do that :(

EDIT: nevermind, I just saw the sound folder, which means I can do in this current folder, without a config file.

statistician 01-18-2016 14:14

Re: [CS:GO] PropHunt (v1.0, 18/01/16)
 
At the moment whistles are hardcoded, but don't worry, configurable whistles are taking top priority now.

Hallucinogenic Troll 01-18-2016 14:42

Re: [CS:GO] PropHunt (v1.0, 18/01/16)
 
Yeah, I could see that

Quote:

char whistle_sounds[][] = {
"prophunt/whistles/ave_maria.mp3",
"prophunt/whistles/baby.mp3",
"prophunt/whistles/bad_boys.mp3",
"prophunt/whistles/boink.mp3",
"prophunt/whistles/calhau.mp3",
"prophunt/whistles/call_on_me.mp3",
"prophunt/whistles/cant_touch_this.mp3",
"prophunt/whistles/caralho.mp3",
"prophunt/whistles/carne_de_cona.mp3",
"prophunt/whistles/cheeese.mp3",
"prophunt/whistles/cheiro_a_bacalhau.mp3",
"prophunt/whistles/darude_sandstorm.mp3",
"prophunt/whistles/deez_nutz.mp3",
"prophunt/whistles/diebitch.mp3",
"prophunt/whistles/ez_pz.mp3",
"prophunt/whistles/fdp_n_se_lavou.mp3",
"prophunt/whistles/foda_se.mp3",
"prophunt/whistles/foguetinhos.mp3",
"prophunt/whistles/gangnam_style.mp3",
"prophunt/whistles/ganza_na_areia.mp3",
"prophunt/whistles/hellmans_maionese.mp3",
"prophunt/whistles/indo_eu.mp3",
"prophunt/whistles/ja_chega.mp3",
"prophunt/whistles/lavar_cu.mp3",
"prophunt/whistles/lol.mp3",
"prophunt/whistles/me_coma.mp3",
"prophunt/whistles/merdas_no_cu.mp3",
"prophunt/whistles/mofo.mp3",
"prophunt/whistles/muhaha.mp3",
"prophunt/whistles/narwhals.mp3",
"prophunt/whistles/nein.mp3",
"prophunt/whistles/nyan_cat.mp3",
"prophunt/whistles/peter_griffin_fart.mp3",
"prophunt/whistles/puta_de_pinheiro.mp3",
"prophunt/whistles/puta_verde.mp3",
"prophunt/whistles/quero_cagar.mp3",
"prophunt/whistles/rick_roll.mp3",
"prophunt/whistles/stfu.mp3",
"prophunt/whistles/surprise_motherfucker.mp3",
"prophunt/whistles/tetas_da_filha.mp3",
"prophunt/whistles/trololol.mp3",
"prophunt/whistles/vader.mp3",
"prophunt/whistles/whatsup.mp3",
"prophunt/whistles/who_the_hell_cares.mp3",
"prophunt/whistles/yakety_sax.mp3",
"prophunt/whistles/ymca.mp3"
};
Well, if is the top priority, I just hope it goes ok.

Really nice plugin, I've enjoyed a lot this mod on CS:S (on CS:GO the abandoned plugin is kinda buggy).

statistician 01-18-2016 18:22

Re: [CS:GO] PropHunt (v1.0.1, 19/01/16)
 
New version uploaded: v1.0.1

Features:
  • Configurable whistles. Further instructions on the project's GitHub page (see OP for link)

TheDiamant953 01-20-2016 07:17

Re: [CS:GO] PropHunt (v1.0.1, 19/01/16)
 
I have problems.

Hidders are invincible and when we shoot them in seeker, we won 65hp per hit, but can't kill them.

statistician 01-20-2016 07:45

Re: [CS:GO] PropHunt (v1.0.1, 19/01/16)
 
Quote:

Originally Posted by TheDiamant953 (Post 2384841)
I have problems.

Hidders are invincible and when we shoot them in seeker, we won 65hp per hit, but can't kill them.

I will investigate ASAP (in ~3 hours). In the meantime, do you get any relevant server console output when the victim is supposed to die?

statistician 01-20-2016 11:21

Re: [CS:GO] PropHunt (v1.0.1, 19/01/16)
 
New version uploaded: v1.0.2 - IMPORTANT UPDATE!

Features:
  • New cvar: ph_limitspec - Restrict spectating to: Anyone (0), own team (1) or CT (2).
Fixes:
  • Fixed hiders not dying.


All times are GMT -4. The time now is 18:31.

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