该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。
最后版本 | 您的文本 | ||
第1行: | 第1行: | ||
== | == Creating the bookmark == | ||
Create a new file or edit a already existing one in the folder mods/yourmod/common/bookmarks with a corresponding name of your choice. Make sure the labeling stays coherent and is referenced in other files with the same ID. For example bm_3000_wotr. | |||
Make sure to bracket the file lines correctly. | |||
Start by deciding a startdate, which is written in the year.month.day format like start_date = 3000.5.12 for the 12th of May, year 3000. Next add a is_playable = yes to indicate that it is, in fact, undoubtly, playable by a human being. | |||
Next you decide on the selectable special characters and start defining him/her. For example: | |||
<pre> | <pre> | ||
# | # Halfdan Whiteshirt (York) ID: 163112 | ||
character = { | character = { | ||
name = "bookmark_northmen_halfdan_whiteshirt" # | name = "bookmark_northmen_halfdan_whiteshirt" #name has to be localized | ||
dynasty = 7514 # | dynasty = 7514 #dynasty ID | ||
dynasty_splendor_level = 1 # | dynasty_splendor_level = 1 #splendor level | ||
type = male # | type = male #gender | ||
birth = 828.1.1 # | birth = 828.1.1 #birthdate - defines the age | ||
title = d_york # | title = d_york #held primary title | ||
government = feudal_government # | government = feudal_government #government type | ||
culture = norse # | culture = norse #culture | ||
religion = norse_pagan # | religion = norse_pagan #religion | ||
difficulty = "BOOKMARK_CHARACTER_DIFFICULTY_EASY" # | difficulty = "BOOKMARK_CHARACTER_DIFFICULTY_EASY" #difficulty shown on screen | ||
history_id = 163112 # | history_id = 163112 #ID | ||
position = { 765 590 } # | position = { 765 590 } #where it will be located | ||
animation = disapproval # | animation = disapproval #pose | ||
# | # Gudfrid, son who became Duke of Frisia, ID: 168336 | ||
character = { # | character = { #same thing for the son | ||
name = "bookmark_northmen_halfdan_whiteshirt_alt_gudfrid" | name = "bookmark_northmen_halfdan_whiteshirt_alt_gudfrid" | ||
relation = "BOOKMARK_RELATION_SON" | relation = "BOOKMARK_RELATION_SON" | ||
第43行: | 第41行: | ||
} | } | ||
# | # Eldest child and favorite, Saga, ID: 306010 | ||
character = { | character = { | ||
name = "bookmark_northmen_halfdan_whiteshirt_alt_saga" | name = "bookmark_northmen_halfdan_whiteshirt_alt_saga" | ||
第60行: | 第58行: | ||
Character stats and traits are found in the history folder. | |||
== | == Portraits == | ||
Another folder needed will be bookmark_portraits, which includes the files for the characters selectable in the bookmark screen. They are auto generated files and do not have to be edited. | |||
You use the console via dump_bookmark_portraits. If you instead intend on creating the characters personally, then check out the character modding page. | |||
== | == Bookmark screen == | ||
\gfx\interface\bookmarks | \gfx\interface\bookmarks Files here are .dds and are custom made. The positions part in the bookmark file looks at this file for where to put a character. Positions can be found ingame via enabling debug mode. | ||
What can be done is just screenshotting the map then putting it in a .dds file. Won't be as pretty as what Paradox did but it works<sup>[1]</sup> | |||
== Localization == | |||
== | A bookmark ''will not load'' if it has any character/title history errors.<ref>More Bookmarks by Leviathonix [https://steamcommunity.com/sharedfiles/filedetails/?id=2216670956], Credits to Leviathonix [https://steamcommunity.com/sharedfiles/filedetails/?id=2216670956&searchtext=].</ref> | ||
== References == | |||
<references /> | <references /> | ||
第87行: | 第82行: | ||
{{Modding navbox}} | {{Modding navbox}} | ||
[[Category:模组制作]] | [[Category:模组制作]] | ||