Так, my little modders, are you ready to completely change how Dwarven Skykeep plays? It is not harder than accidentally lighting up your tower while casting fireball. We are sure you’ll do it just fine.
Препараты
How do you mod a game?
Для этого, ты’ll need to modify existing rules, which are used to determine how the game works, looks and plays. Rules are text documents that look like that:
For advanced modders: it is a completely standard ini-format.
It looks intuitive, не делает’не так ли?
Always included in the game are 2 файлы: rules.zip (basic game rule) и levels.zip (game levels). Where can you find those?
- Библиотека Steam
- Щелкните правой кнопкой мыши Dwarven Skykeep
- Local Files -> Просматривать
Позволять’s start with rules.zip. Find game’s directory. Path to said directory differs depending on the platform of your choice:
- Окна: %APP_DATA\Godos\app_userdata\DS\, или, С:\Users\hedin\AppData\Roaming\Godot\app_userdata\DS\.
- macOS: ~/Library/Application\ Support/Godot/app_userdata/DS/.
- Линукс: ~/.local/share/godot/app_userdata/DS/.
Внимание! Прежде чем начать, do create a backup of your game folder to not lose any progress in the vanilla version!
Now extract rules.zip and create rules folder in game’s root directory:
And you are ready to roll!
Basic Modding
To mod the game,you need to change one or more правила. Rules are different config files (ai.cfg, physics.cfg, …). Inside each of the file rules are divided in разделы. Inside it rules are written in the following format:
<ключ> = <ценить>.
Например, внутри ai.cfg (Artificial Idiot config) there is a section named [dwarf_normal_worker], which groups settings for a common dwarf worker. Inside this section, there is a key called л.с., which signifies how many health points said dwarven worker has, with value 10.
Are you ready to get incredibly strong workers?
Прежде чем мы продолжим, мы’d like to point out an important moment!
We recommend you delete unused rules from the custom rules directory. It will help you to avoid the need to re-define every single rule and only edit and re-do the ones you need.
Whenever there is a new game update, ты выиграл’t be left with the outdated basic rules set this way.
Так, in order to prepare:
Delete everything except ai.config from the rules folder.
Delete everything except the [dwarf_normal_worker] section from file ai.cfg.
Delete all key/value pairs from[dwarf_normal_worker] except hp.
Хороший! Now you are ready to mod!
Так, in order to prepare:
- Delete everything except ai.config from the rules folder.
- Delete everything except the [dwarf_normal_worker] раздел from file ai.cfg.
- Delete all key/value pairs from [dwarf_normal_worker] except hp.
We bet your only goal is to cheat.
It wasn’t that difficult, был’не так ли?
Improved Dwarf looks like the default one.
You can change hundreds of values inside the rules of the game. Every rule is meticulously commented on. If you still have questions – feel free to contact us.
Внимание! All rules are written by professional game designers. Editing any of the rules can cause the game to become unplayable.
Уровни
Сейчас, after basic modding is learned, позволять’s create new levels!
It is rather simple as well. Level is a folder in the levelslevel_id[/б], a unique identifier of any level. First copy level that you are going to use as a reference from levels.zip к уровни folder in game’s directory.
Such a method was used to create most of Dwarven Skykeep levels.
What can be inside a level?
- Meta.cfg – it contains basic information about the level: имя, достижения, points of entry and exit.
- Messages.cfg – File containing simple writing, which is triggered by certain events during the level.
- ролики. – Fullscreen cutscenes.
- кинематография. – Cutscenes made using the game’s engine.
- правила. Правила – redefined on a map by map basis..
Мы выиграли’t stop in detail on the first out of four of the sections. Anybody who wants to create cutscenes and scripts is referenced to tutorial levels (tutorialXXX).
Позволять’s talk about правила еще раз. Every level re-define rules inside it akin to modders changing it globally.
Rules have the following priority:
default rules < game-wide modified rules < custom level rules
Так, in order to make the dwarven worker significantly more sturdy, all you need is to create my_great_level/rules/ai.config with the following content:
100 hp is not nearly enough, нет’не так ли?
99% of all work to create a level is to re-define rules. Для начала, we suggest you use gw8 level and its rules. It is a good starting point. We would be most happy to resolve any issues you might have with creating levels!
Testing level
You created a level, how do you test it?
First you need to enable debug mode. It is not harder than drinking a pint of beer.
You just need to create beer.mug file in games’ каталог:
Like we said, it is easy
Reboot your game. Что изменилось?
Debug mode opens up a lot of interesting options (debug console by pressing ~, например), but we are more interested in extra buttons we got ourselves in the bottom part of the main menu. We are especially interested in the Level select кнопка. It allows us to selectively load any level we want.
Including custom made ones:
Perfect name for a level
Firstly you should try changing tower’s initial config in gw8/rules/level.cfg. Hit us with any questions that you might have regarding this!
Metagame Debugger
Levels in Dwarven Skykeep do not exist in vacuum. Players access a certain level with his deck of cards и set of artifacts. Players get extra cards after beating level, doing quests in the city, and buying them in shops.
It means that single Level can be played differently depending on whether the player accessed it with the starting deck or late game one.
In order to edit deck in debug mode you can use Metagame Debugger инструмент (button called Meta Progress in the initial debug menu):
Looks rather intimidating.
This tool allows you to launch the levels as if you have already beaten everything else, allowing you to fine-tune your deck and set of artifacts.
Внимание! The following action will NULLIFY your current playthrough. Make sure you have made a backup of your game.
In order to set game in needed state:
- Reset everything by clicking “reset metagame”
- Tick checkboxes that you need before accessing your level
- Make a custom deck using “Палуба” кнопка
- Make custom set of artifact using “Артефакты” соответственно
- ты готов идти! Launch your new level!
Это все, чем мы делимся сегодня для этого. Dwarven Skykeep гид. Это руководство было первоначально создано и написано G_Gene. На случай, если нам не удастся обновить это руководство, вы можете найти последнее обновление, следуя этому связь.