Raised This Month: $32 Target: $400
 8% 

[CS:GO] how do you configure AWP only server?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jeffrie7
New Member
Join Date: Jan 2014
Location: Arizona, US
Old 01-18-2014 , 20:33   [CS:GO] how do you configure AWP only server?
Reply With Quote #1

I have a dedicated FFA CS:GO Server on CentOS 6.5 running and playable. However,when I join I only have a knife until I kill someone.

So...how do I configure a human player to spawn with a chosen weapon?

I've tried changing cvars in my gamemode_deathmatch.cfg, but no worky.
I thought the values for mp_ct and mp_t_default_primary would work, but no.
Bot_sniper_only works like a charm for bots.

Thank you for your time on this as I am stuck and tired of googlin' and trial-and-error running.
Jeffrie7 is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 01-19-2014 , 07:53   Re: [CS:GO] how do you configure AWP only server?
Reply With Quote #2

This should work:
mp_ct_default_primary weapon_awp
mp_t_default_primary weapon_awp
h3bus is offline
Jeffrie7
New Member
Join Date: Jan 2014
Location: Arizona, US
Old 01-19-2014 , 10:04   Re: [CS:GO] how do you configure AWP only server?
Reply With Quote #3

Thank you for your speedy reply. I appreciate having a 2nd set of eyes on this.

However, I've tried your recommended cvars in the gamemode_deathmatch.cfg and thought it should work too. I've tried it with and without quotes around the variable; both results are a no-go.


So, my thoughts were any of the following:
  1. There is a map config or config that overrides my gamemode_deathmatch.cfg
  2. I've completely hosed up my gamemode_deathmatch.cfg and my answer is in the details.
  3. I'm simply putting these cvars in the wrong place.

Maybe you can see something I am doing wrong:
  • Here's a posting of my current deathmatch.cfg
  • I launch the server with this command: "./srcds_run -game csgo -console -usercon +game_type 1 +game_mode 2 +mapgroup mg_fragfest +map de_nuke"

Notes/Ponderings that may indicate a config is setup wrong:
  • I don't have any cvars in my gamemodes_server.txt other than pointers to the "deathmatch.cfg" file and in-file map definition block.
  • I notice that my server still pops up random weapon choices during game. I'll turn that off when I figure it out.
  • Map voting still occurs or it randomly picks after the match is done. I'll turn that off too once I figure out how.

Again thanks for your eyes on this.

If there's a guide on setup best-practices for CS:GO, please let me know. I felt I've done my best for RTFM, but I am stuck in a painful point where: sure it works, but not the way I want.

I'd rather not use a plugin until I understand what goes where/what does what first on the server.





Quote:
Originally Posted by h3bus View Post
This should work:mp_ct_default_primary weapon_awpmp_t_default_primary weapon_awp

Last edited by Jeffrie7; 01-19-2014 at 10:05.
Jeffrie7 is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 01-19-2014 , 18:24   Re: [CS:GO] how do you configure AWP only server?
Reply With Quote #4

Well if you're in deathmatch mode, anyone can get any weapon... or you should use a plugin!

Second, you should not edit gamemode_deathmatch.cfg, use gamemode_deathmatch_server.cfg
h3bus is offline
Jeffrie7
New Member
Join Date: Jan 2014
Location: Arizona, US
Old 01-19-2014 , 21:32   Re: [CS:GO] how do you configure AWP only server?
Reply With Quote #5

Thanks H3bus for the reply.

I wasn't aware deathmatch mode locked in all weapons.
  • Where can I read more on how the deathmatch mode is setup?
  • Where can I find out to manually restrict the weapons to the AWP only?
  • Should I be defining a new custom game type if deathmatch mode doesn't allow single weapons?

Noted on the gamemode_deathmatch.cfg. My intention was to get an understanding of the file mechanics. This is a private, non-production server for learning.

Thank you for the feedback.


Quote:
Originally Posted by h3bus View Post
Well if you're in deathmatch mode, anyone can get any weapon... or you should use a plugin!

Second, you should not edit gamemode_deathmatch.cfg, use gamemode_deathmatch_server.cfg
Jeffrie7 is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 01-20-2014 , 03:11   Re: [CS:GO] how do you configure AWP only server?
Reply With Quote #6

Quote:
Originally Posted by Jeffrie7 View Post
Where can I find out to manually restrict the weapons to the AWP only?
There is the plugin way.
Mine does that: https://forums.alliedmods.net/showthread.php?t=233685

Or you could disable completely weapon buy then set the default primary cvars to weapon_awp
Code:
mp_buytime 0
mp_buy_during_immunity 0

Last edited by h3bus; 01-20-2014 at 03:41.
h3bus is offline
jackson25me
Junior Member
Join Date: Sep 2017
Old 09-25-2017 , 16:27   Re: [CS:GO] how do you configure AWP only server?
Reply With Quote #7

Can you make it so if there are other weapons such as ak's around the map to be disabled/not able to pickup?
jackson25me is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 09-26-2017 , 02:40   Re: [CS:GO] how do you configure AWP only server?
Reply With Quote #8

Quote:
Originally Posted by jackson25me View Post
Can you make it so if there are other weapons such as ak's around the map to be disabled/not able to pickup?
why did you make your own post about this same topic??
https://forums.alliedmods.net/showthread.php?t=301545
hamilton5 is offline
servers.csgo.cfg
BANNED
Join Date: Sep 2016
Old 09-29-2017 , 14:46   Re: [CS:GO] how do you configure AWP only server?
Reply With Quote #9

https://forums.alliedmods.net/showpo...82&postcount=6
servers.csgo.cfg 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 07:50.


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