Raised This Month: $51 Target: $400
 12% 

How do I set up a deagle + only hs game?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Obyboby
Veteran Member
Join Date: Sep 2013
Old 04-04-2018 , 06:37   How do I set up a deagle + only hs game?
Reply With Quote #1

Let me explain what I mean:

let's say we're playing a regular game, I mean community competitive mode.
Players on the server drop to a small number, let's say 6 players.
The admin/mod decides to have some fun and toggles the "Deagle + Only HS" mode.
The map and objectives don't change, it's just that every weapon is restricted (except the "basic" ones: knife, defuser, C4 for Ts, kevlar, vesthelm, and grenades maybe) and HS only is triggered.
So far I've made this CFG, using the sm commands available via Weapon restrict:

PHP Code:
mp_damage_headshot_only 1
sm_restrict all
;
sm_unrestrict knife;
sm_unrestrict deagle;
sm_unrestrict defuser;
sm_unrestrict c4;
sm_unrestrict grenades;
sm_unrestrict kevlar;
sm_unrestrict vesthelm;
sm_give @all deagle;
sm_say !!!!HS ONLY!!!!;
sm_say !!DEAGLE ONLY!!; 

I'm wondering if this one is the right approach.
The only issue is that the sm_give command can't be triggered at every round start with this method.
I tried to install the round exec plugin which is supposed to send commands at each round start but it doesn't seem to be working... perhaps I'm doing something wrong, idk..
But even If I managed to get it to work, the sm_give command should be enabled at each round start ONLY if the deagle + hs round is triggered! Is there a way to achieve that?
Thanks for any help!!
__________________

Last edited by Obyboby; 04-04-2018 at 06:38.
Obyboby is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 04-04-2018 , 06:49   Re: How do I set up a deagle + only hs game?
Reply With Quote #2

You could try using mp_ct_default_secondary "weapon_deagle" and mp_t_default_secondary "weapon_deagle"
__________________
Boycott ESEA
My servers
ghostofmybrain is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 04-04-2018 , 13:38   Re: How do I set up a deagle + only hs game?
Reply With Quote #3

Quote:
Originally Posted by ghostofmybrain View Post
You could try using mp_ct_default_secondary "weapon_deagle" and mp_t_default_secondary "weapon_deagle"
Damn, totally missed those commands. Adding them right now, and will test later. Thanks!
__________________
Obyboby is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 04-04-2018 , 14:36   Re: How do I set up a deagle + only hs game?
Reply With Quote #4

No problem. Hope it works for what you're trying!
__________________
Boycott ESEA
My servers
ghostofmybrain is offline
[email protected]
Junior Member
Join Date: Apr 2018
Location: UE,PL
Old 04-08-2018 , 13:57   Re: How do I set up a deagle + only hs game?
Reply With Quote #5

on not all maps command works

https://forums.alliedmods.net/showthread.php?p=2091135



ps.edit zeusround.phrases.txt what you want to see on yours srv : )

https://forums.alliedmods.net/showthread.php?p=2479316

on Weapon Restrict in cfg add

sm_restrict_awp_ct "0"
sm_restrict_awp_t "0"

https://forums.alliedmods.net/showthread.php?p=950174


Last edited by [email protected]; 04-08-2018 at 14:23.
linux.user.xyz@gmail.com is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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