Jump to content

Am I able to change accuracy of weapons from within my map?


Recommended Posts

As the title says. I'm looking to make a scoutsknivez map but want to make sure I can edit everything required to make a functional scoutsknivez gamemode from within my map. Im able to change gravity, maxspeed/maxvelocity, airaccel/accel, spawned weapons, but I cant find anything about perhaps making the scout 100% accurate while in the air.


Link to comment
Share on other sites

4 hours ago, Smileytopin said:

I believe the commands for that are

  Hide contents

weapon_accuracy_nospread 1
weapon_recoil_scale 0
weapon_recoil_view_punch_extra 0

I forget the entity you use but you should be able to use the commands to disable weapon inaccuracy on the map.

Thanks for the commands! Now I just need to figure out how to activate them. They don't seem to be functional in the custom gamemode file.

Link to comment
Share on other sites

All commands from CS:GO work in the custom gamemode file

Do these things for them to work:

  • Make sure your .cfg is the same name as the map
  • Make sure the cfg is placed in your ../csgo/maps/cfg folder
  • Run the map with: map yourmapname custom

Here is the valve flying scoutsman commands (you can find them in the normal ../csgo/cfg folder with the ones prefixed with op08_ files:


// Base mode: gamemode_casual.cfg
// Meant to be played on wide open maps including demolition maps like de_lake
// * No cash rewards
// * No buying
// * Start with ssg08 and no pistol
// * Reduced gravity
// * Increased in-air accuracy
// * Movement inaccuracy is still standard

// Weapon config
mp_ct_default_melee                                "weapon_knife"
mp_ct_default_primary                              "weapon_ssg08"
mp_ct_default_secondary                            ""
mp_t_default_melee                                 "weapon_knife"
mp_t_default_primary                               "weapon_ssg08"
mp_t_default_secondary                             ""

// Significantly reduced accuracy penalty for flying through the air.
// (Movement penalty still exists)
// After playtesting (lol sure valve) we decided to remove accuracy penalties completely so you
// can shoot in the air without counter-strafing.

weapon_accuracy_nospread 1
//weapon_air_spread_scale 0.01

// Low gravity
sv_enablebunnyhopping 1
sv_autobunnyhopping 0
sv_gravity 230
sv_airaccelerate 20000
sv_maxspeed 420
sv_friction 4

// Disable money & buying
sv_buy_status_override                                 3    // was 0 (0 = everyone can buy, 1 = ct only, 2 = t only 3 = nobody)
mp_startmoney                                          0    // was 1000
mp_maxmoney                                            0    // was 10000
mp_playercashawards                                    0    // was 1
cash_player_bomb_defused                               0
cash_player_bomb_planted                               0
cash_player_damage_hostage                             0
cash_player_interact_with_hostage                      0
cash_player_killed_enemy_default                       0
cash_player_killed_enemy_factor                        0
cash_player_killed_hostage                             0
cash_player_killed_teammate                            0
cash_player_rescued_hostage                            0
cash_team_elimination_bomb_map                         0
cash_team_elimination_hostage_map_t                    0
cash_team_elimination_hostage_map_ct                   0
cash_team_hostage_alive                                0
cash_team_hostage_interaction                          0
cash_team_loser_bonus                                  0
cash_team_loser_bonus_consecutive_rounds               0
cash_team_planted_bomb_but_defused                     0
cash_team_rescued_hostage                              0
cash_team_terrorist_win_bomb                           0
cash_team_win_by_defusing_bomb                         0
cash_team_win_by_hostage_rescue                        0
cash_team_win_by_time_running_out_hostage              0
cash_team_win_by_time_running_out_bomb                 0


Edited by Terri
Link to comment
Share on other sites

18 hours ago, Terri said:


Huzzah! Thank you very much! I didn't know all commands worked. I thought it was only the ones listed on the developer wiki. I'm excited to get this project started now:) Cheers!

Link to comment
Share on other sites

4 hours ago, Plat said:

Huzzah! Thank you very much! I didn't know all commands worked. I thought it was only the ones listed on the developer wiki. I'm excited to get this project started now:) Cheers!

Yeah, cvars and global settings work perfectly to my knowledge, its just the obvious client side (r_, mat_, cl_, noclip etc) cheats that won't do anything

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • MapCore on Discord

  • Our picks

    • Post in Yanzl's Source Emporium
      Two new asset releases!

      First up is Basalt. Sadly I can't release all of the assets as some of the nature stuff is from Megascans and can't be redistributed. Also only includes the assets I've made.


      Second one is assets I've made for Pitstop. A small release that includes some road and concrete trim textures, a bunch of sponsors and some skybox buildings that might be useful.


      As always, free for non-commercial use with attribution. 
  • Create New...