Skip to content

Make individualized configuration files for each map, or connect them all to a common prefix configuration.

License

Notifications You must be signed in to change notification settings

criskkky/swiftly_mapconfigs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 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 facilitates the search for your desired configuration file located in /game/csgo/cfg/MapConfigs/HERE.cfg. It apply these 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.

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. Setup your personal maps/prefixes configurations in /game/csgo/cfg/MapConfigs/HERE.cfg, ensuring that the filename fits your chosen map/prefix.

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 ✅

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

About

Make individualized configuration files for each map, or connect them all to a common prefix configuration.

Topics

Resources

License

Stars

Watchers

Forks

Languages