Então, 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.
Preparativos
How do you mod a game?
Por esta, você’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, não’t it?
Always included in the game are 2 arquivos: rules.zip (basic game rule) e levels.zip (game levels). Where can you find those?
- Steam library
- Clique com o botão direito em Dwarven Skykeep
- Local Files -> Navegar
Deixar’s start with rules.zip. Find game’s directory. Path to said directory differs depending on the platform of your choice:
- Windows: %APP_DATA\Godos\app_userdata\DS\, ou, C:\Users\hedin\AppData\Roaming\Godot\app_userdata\DS\.
- macOS: ~/Library/Application\ Support/Godot/app_userdata/DS/.
- Linux: ~/.local/share/godot/app_userdata/DS/.
Atenção! Antes de começar, 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. Rules are different config files (ai.cfg, physics.cfg, …). Inside each of the file rules are divided in seções. Inside it rules are written in the following format:
<chave> = <valor>.
Por exemplo, dentro 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 HP, which signifies how many health points said dwarven worker has, with value 10.
Are you ready to get incredibly strong workers?
Before we continue, nós’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, você ganhou’t be left with the outdated basic rules set this way.
Então, 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.
Bom! Now you are ready to mod!
Então, in order to prepare:
- Delete everything except ai.config from the rules folder.
- Delete everything except the [dwarf_normal_worker] seção 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, wasn’t it?
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.
Atenção! All rules are written by professional game designers. Editing any of the rules can cause the game to become unplayable.
Níveis
Agora, after basic modding is learned, deixar’s create new levels!
It is rather simple as well. Level is a folder in the levelslevel_id[/b], a unique identifier of any level. First copy level that you are going to use as a reference from levels.zip para níveis 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: nome, conquistas, points of entry and exit.
- Messages.cfg – File containing simple writing, which is triggered by certain events during the level.
- cutscenes. – Fullscreen cutscenes.
- cinematics. – Cutscenes made using the game’s engine.
- rules. Regras – redefined on a map by map basis..
We won’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).
Deixar’s talk about rules mais uma vez. 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
Então, 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, isn’t it?
99% of all work to create a level is to re-define rules. Para começar, 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’ diretório:
Like we said, it is easy
Reboot your game. What changed?
Debug mode opens up a lot of interesting options (debug console by pressing ~, por exemplo), 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 botão. 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 e 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 ferramenta (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.
Atenção! 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 “Convés” botão
- Make custom set of artifact using “Artefatos” respectivamente
- You are good to go! Launch your new level!
Isso é tudo o que estamos compartilhando hoje para isso Dwarven Skykeep guia. Este guia foi originalmente criado e escrito por G_Gene. Caso não atualizemos este guia, você pode encontrar a atualização mais recente seguindo este link.