Skip to content

criskkky/sw-mapconfigs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[Swiftly] MapConfigs

Make individualized configuration files for each map, or connect them all to a common prefix configuration.
Report Bug - Request Feature - Contribute Code

Downloads Contributors Issues
Made by: @criskkky (Me 🤪) ✦ Special thanks to: @skuzzis (API teaching 💜)

How it works? 🤨

This CS2 plugin applies configurations to the current map, initiating the search from longer configurations to shorter ones. This approach allows you to set up specific map configurations or connect them all using a common prefix.

Your specific map configurations must be located in /game/csgo/cfg/MapConfigs/HERE.cfg where HERE is the map name or prefix.

For example, given the following maplist:

aim_deagle_lego :: aim_redline_s2 :: aim_awp_lego :: aim_headshot_kill :: de_dust2 :: de_mirage

And assuming your configuration files are named:

aim_deagle.cfg :: aim_awp.cfg :: aim_.cfg :: de_dust2.cfg

The plugin will operate as follows:

  • ✔ If the current map is aim_deagle_lego, it will execute aim_deagle.cfg.
  • ✔ If the current map is aim_awp_lego, it will execute aim_awp.cfg.
  • ✔ If the current map is aim_redline_s2, it will execute aim_.cfg.
  • ✔ If the current map is aim_headshot_kill, it will execute aim_.cfg.
  • ✔ If the current map is de_dust2, it will execute de_dust2.cfg.
  • ❌ If the current map is de_mirage, it will execute nothing 'cos you don't made a de_.cfg or de_mirage.cfg.

Requeriments 📄

  1. CS2 Server 🤡
  2. Metamod 2.X
  3. Swiftly

Installation 📦

  1. Download latest release.
  2. Everything is drag & drop, so i think you can do it!
  3. Do an initial plugin load to generate the necessary files or manually create the /game/csgo/cfg/MapConfigs/ directory.
  4. Setup your configurations per map inside the generated directory ensuring that the file name matches the map name or prefix.
  5. Ready!

Example 👨🏻‍🏫

// Config for de_.cfg
mp_freezetime 3
mp_autoteambalance 0
mp_autokick 0
exec otherconfigmaybe.cfg

👀 Don't forget to set the correct filename; for example, in this case, the file must be named de_.cfg.

Configuring the plugin 👨🏻‍💻

  • Doesn't need additional config than the one explained above ✅

Todo List 🎯

Problems using this? 😔

If you really need help with something that isn't explained here reach me through:

  1. @crisky Discord / GitHub
  2. Opening an issue