模组制作:修订间差异

本页面讲述的内容长期有效
(en)
无编辑摘要
第1行: 第1行:
{{Version|timeless}}
{{Version|timeless}}{{ 需要翻译}}
{{evt
Modding, or creating mods, is the act of modifying the behavior of the game either for personal use, or to release publicly to other players, for instance via [https://mods.paradoxplaza.com/games/ck3 Paradox Mods] or the [https://steamcommunity.com/app/1158310/workshop/ Steam Workshop].
| service= youtube
| id= uu_Zxf4ul2g
| description= CK3 Modding #1 -Brief introduction to modding. ''Roll1D2 Games'' guide on useful tools and how-to mod beginner's guide.
| alignment= right
| container=frame
| dimensions=320
}}
'''模组制作'''(Modding)或者叫创作模组,是修改游戏行为的活动,无论个人使用,还是公开发布给其他玩家,譬如通过 [https://mods.paradoxplaza.com/games/ck3 Paradox Mods] 或者 [https://steamcommunity.com/app/1158310/workshop/ Steam 创意工坊]


As with all Paradox games, Crusader Kings III is moddable to a great extent. Motivations of modders may vary widely; better translation to native language, more events or decisions, better map, major overhaul, cheating, etc.
As with all Paradox games, Crusader Kings III is moddable to a great extent. Motivations of modders may vary widely; better translation to native language, more events or decisions, better map, major overhaul, cheating, etc.
第30行: 第22行:


[[Exporters]] (Maya and Photoshop)
[[Exporters]] (Maya and Photoshop)
== Creating a mod ==
*Open the Crusader Kings III launcher.
*Navigate to the "Mods" section.
*Press "Mod Tools" to open the mod creation screen.
*In the mod creation screen, you can enter your mod name, version, directory and any tags.
*When done, press "Create Mod".
*Once created, the relevant mod files will appear in the game's mod folder (Default on Windows: <code>C:\Users\%USERPROFILE%\Documents\Paradox Interactive\Crusader Kings III\mod</code>)


== Creating immortal traits ==
== Creating immortal traits ==

2020年9月10日 (四) 16:12的版本

Modding, or creating mods, is the act of modifying the behavior of the game either for personal use, or to release publicly to other players, for instance via Paradox Mods or the Steam Workshop.

As with all Paradox games, Crusader Kings III is moddable to a great extent. Motivations of modders may vary widely; better translation to native language, more events or decisions, better map, major overhaul, cheating, etc.

This guide is intended to lower the entry barriers to the world of Crusader Kings III modding. However, there is still a learning curve to it, and it cannot replace the need to read some working vanilla code and do lots of trial and error experimentation.

Tips & guidelines

  • Create a mod for your modifications: use a personal mod even for minor changes, and never directly modify the game files in the CK3 game folder as they may be overwritten without warning.
  • Use a good text editor to edit files and search into multiple files.
  • Use the error.log file to get execution errors. ...\Documents\Paradox Interactive\Crusader Kings III\logs
  • The directory for the CK3 folder on Linux is /.local/share/Paradox Interactive/Crusader Kings III

Localization Files

  • *.yml files in the localization folder must be saved with UTF-8 + BOM encoding to be read properly by the game.

Tags for Mods

Overhaul

Cosmetic

Exporters (Maya and Photoshop)

Creating a mod

  • Open the Crusader Kings III launcher.
  • Navigate to the "Mods" section.
  • Press "Mod Tools" to open the mod creation screen.
  • In the mod creation screen, you can enter your mod name, version, directory and any tags.
  • When done, press "Create Mod".
  • Once created, the relevant mod files will appear in the game's mod folder (Default on Windows: C:\Users\%USERPROFILE%\Documents\Paradox Interactive\Crusader Kings III\mod)

Creating immortal traits

As with the previous game, traits that grant immortality are not present in the game at launch but are already programmed and can be easily created. It only requires adding the following parameter to a trait: immortal = yes

For your immortals to look forever young, you can use the effect immortal age. Such as, set_immortal_age = 30

Save game editing

To edit a manual save:

PC:

  1. Right-click, select "7-Zip: extract here"
  2. Rename the extracted 'gamestate' file to something with a .ck3 extension
  3. Edit this plain-text save
  4. Load it directly in the game (no need to re-compress)

Mac:

  1. Open Terminal
  2. Ensure that the directory is set to the correct folder
  3. Type in "unzip FileName.ck3"
  4. Rename the extracted 'gamestate' file to something with a .ck3 extension
  5. Edit this plain-text save
  6. Load it directly in the game (no need to re-compress)

Autosaves use a different format and cannot be edited the same way.

OS Save type Location
Windows Local C:\Users\%USERPROFILE%\Documents\Paradox Interactive\Crusader Kings III\save games
Windows Steam Cloud C:\Program Files (x86)\Steam\userdata\####\1158310\remote\save games
Mac Local $HOME/Documents/Paradox Interactive/Crusader Kings III/save games
Linux Local $HOME/.local/share/Paradox Interactive/Crusader Kings III/save games

Tools & utilities

External links