Counter-Strike 2

Counter-Strike 2

Destructible Inferno
 此主题已被置顶,因此可能具有重要性
Lion Doge  [开发者] 2021 年 7 月 15 日 上午 11:40
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!
最后由 Lion Doge 编辑于; 2021 年 7 月 15 日 上午 11:41
< >
正在显示第 1 - 2 条,共 2 条留言
Lennsency 2021 年 8 月 8 日 下午 8:56 
what do we paste it in?
Lion Doge  [开发者] 2021 年 8 月 9 日 上午 3:15 
引用自 Lennsency
what do we paste it in?

引用自 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.
最后由 Lion Doge 编辑于; 2021 年 8 月 9 日 上午 3:17
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50