Counter-Strike 2

Counter-Strike 2

Destructible Inferno
 This topic has been pinned, so it's probably important
Lion Doge  [developer] 15 Jul, 2021 @ 11:40am
How to adjust settings for competitive game mode
Hello.
With the recent update I've implemented a shop only for the competitive or wingman game modes where you can purchase charges. The defaults are as follows:
  • A player can buy max of 2 breaching charges per round
  • Breaching charges cost 800$ and 1200$ for Terrorists and Counter-Terrorists respectively.
  • If you kept breaching charges from a previous round they will be replenished and you will not be able to buy more that round

Underlined values can be adjust by adding a file (only the server host (the one who created the lobby) needs to do this!)

  1. Go to the directory where CS:GO is installed and go to csgo -> scripts -> vscripts directory
  2. Create a new file called de_inferno_destruct_settings.nut
  3. Paste the following in:
    _settings <- {} /// You can modify these /// _settings.override <- true // Leave on true for changes made here to take effect. Change to false to use the map defaults regardless of what is set here. _settings.chargesPriceTerrorists <- 800 // How much breaching charges cost for the terrorists. _settings.chargesPriceCounterTerrorists <- 1200 // How much breaching charges cost for the counter-terrorists. _settings.maxChargesPerPlayer <- 2 // The mamximum amount of charges a player can buy per round.
  4. Adjust the variables as you wish, comments to the side will help you understand what every one does.
  5. Load the map and Voilà!


* Make sure to enable file extensions in the view tab at the top in the windows explorer. You need to make sure that the file you created has .nut extenstion!

Thank you for everything and have fun!
Last edited by Lion Doge; 15 Jul, 2021 @ 11:41am
< >
Showing 1-2 of 2 comments
Lennsency 8 Aug, 2021 @ 8:56pm 
what do we paste it in?
Lion Doge  [developer] 9 Aug, 2021 @ 3:15am 
Originally posted by Lennsency:
what do we paste it in?

Originally posted by Lion Doge:
  1. Go to the directory where CS:GO is installed and go to csgo -> scripts -> vscripts directory
  2. Create a new file called de_inferno_destruct_settings.nut

Paste the block of code in the original post in to this file. You need to create it yourself. Remember that you need to do it on the server, or as a host if you're using lobby to play.

Also keep in mind that it is not necessary to do that. It is only in case you want to adjust the prices of breaching charges and how much of them you can purchase per round.
Last edited by Lion Doge; 9 Aug, 2021 @ 3:17am
< >
Showing 1-2 of 2 comments
Per page: 1530 50