警告:您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您登录创建一个账户,您的编辑将归属于您的用户名,且将享受其他好处。

该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。

最后版本 您的文本
第1,018行: 第1,018行:
|}
|}


== Overwriting specific elements ==
== Overwriting Specific Elements ==
{{anchor|Mod_Load_Order|Overwriting Specific Elements}}{{See also|#Mod load order}}
{{anchor|Mod_Load_Order}}{{See also|#Mod load order}}
Occasionally, it is possible to overwrite a specific game element without needing to replace the entire vanilla file. In some cases adding an element with a similar identifier (id or key) into another file will duplicate that element for the game. But in other cases, the version that comes first (First In, Only Served; '''FIOS''')/last (Last In, Only Served; '''LIOS''') will be used instead.<ref>[[forum:990537]]</ref> The order in which files are processed is based on [[commons:Media:ASCII-Table-wide.svg|ASCIIbetical order]] of the filenames. If the names are the same, they'll be processed based on the displayed order in the launcher (or loading template). Before [[patch 2.5]] the load order was the reverse-ASCIIbetical order of the mod display name, with vanilla always being first (if it’s at the ''top'' of the mod list, it'll be loaded ''last''). Note that if there are multiple mods with the same display name, only the one whose mod file comes first, will be used.
Occasionally, it is possible to overwrite a specific game element without needing to replace the entire vanilla file. In some cases adding an element with a similar identifier (id or key) into another file will duplicate that element for the game. But in other cases, the version that comes first (First In, Only Served; '''FIOS''')/last (Last In, Only Served; '''LIOS''') will be used instead.<ref>[[forum:990537]]</ref> The order in which files are processed is based on [[commons:Media:ASCII-Table-wide.svg|ASCIIbetical order]] of the filenames. If the names are the same, they'll be processed based on the displayed order in the launcher (or loading template). Before [[patch 2.5]] the load order was the reverse-ASCIIbetical order of the mod display name, with vanilla always being first (if it’s at the ''top'' of the mod list, it'll be loaded ''last''). Note that if there are multiple mods with the same display name, only the one whose mod file comes first, will be used.


第1,031行: 第1,031行:
<!--{| class="mw-collapsible wikitable" style="float: left; margin-left: -5px; margin-top: -5px; min-width:40%; max-width:50%;"-->
<!--{| class="mw-collapsible wikitable" style="float: left; margin-left: -5px; margin-top: -5px; min-width:40%; max-width:50%;"-->
{| class="mw-collapsible wikitable" style="float: left; margin-left: -5px; margin-top: -5px"
{| class="mw-collapsible wikitable" style="float: left; margin-left: -5px; margin-top: -5px"
|+ A-N (Agendas – Notification<br>Modifiers)
|-
|-
! <!--style="min-width:12%;max-width:22%;"--> rowspan=2 | Folder !! colspan=3 | Overwrite !! rowspan=2 | Contents
! <!--style="min-width:12%;max-width:22%;"--> rowspan=2 | Folder !! colspan=3 | Overwrite !! rowspan=2 | Contents
第1,060行: 第1,061行:
| {{icon|unknown}}
| {{icon|unknown}}
|
|
| None (all content in subfolders)
|-
|-
| ├───operations
| ├───operations
第1,106行: 第1,107行:
| ascension_perks
| ascension_perks
| LIOS
| LIOS
| [None]<br><small>since 3.X</small>
| [NONE in 3.x] (Object key already exists)
| Pre version 3.X: [Error log] Object key already exists
|
| {{iconify|Ascension Perk}} definitions.
| {{iconify|Ascension Perk}} definitions.
|-
|-
第1,129行: 第1,130行:
|-
|-
| buildings
| buildings
| LIOS<br><small>since 3.3</small>
| LIOS
| Object key already exists
| Object key already exists
| Pre version 3.3: Breaks auto-generated modifiers
| Breaks auto-generated modifiers if game version is <3.3
| {{iconify|Building}} definitions.
| {{iconify|Building}} definitions.
|-
|-
第1,192行: 第1,193行:
| {{icon|unknown}}
| {{icon|unknown}}
|
|
| {{icon|component}} List of referenceable tags assignable to ship [[component]]s.
| List of referenceable tags assignable to ship [[component]]s.
|-
|-
| component_templates
| component_templates
第1,210行: 第1,211行:
| {{icon|unknown}}
| {{icon|unknown}}
|
|
| Which capital building types and robot portraits empires use.
| Which capital types and robot portraits empires use.
|-
|-
| country_types
| country_types
| LIOS
| LIOS
| [None]<br><small>since 3.X</small>
| [NONE in 3.X] (Object key already exists)
| Pre version 3.X: [Error log] Object key already exists
|
| Rules for empires, enclaves, and other country types.
| Rules for empires, enclaves, and other country types.
|-
|-
第1,233行: 第1,234行:
| LIOS/DUPL
| LIOS/DUPL
| Object key already exists
| Object key already exists
| Entire override ONLY.
|Entire override ONLY.
| {{iconify|Decision}} definitions and AI weights.
| {{iconify|Decision}} definitions and AI weights.
|-
|-
第1,239行: 第1,240行:
| LIOS
| LIOS
| {{small|''[none]''}}
| {{small|''[none]''}}
| The block the define is in must be included as well.
| The block the define is in must be included as well.<br>E.g.: <small><code>NGameplay = { POLICY_YEARS = 10 }</code></small>
:E.g.: <small><code>NGameplay = { POLICY_YEARS = 10 }</code></small>
| Global variables and settings.
| Global variables and settings.
|-
|-
第1,259行: 第1,259行:
| {{icon|unknown}}
| {{icon|unknown}}
|
|
| [[File:Diplomacy_alliance.png|24px|link=Diplomatic agreement]] Diplomatic phrase keys and conditions for diplomatic actions.
| Diplomatic phrase keys and conditions for diplomatic actions.
|-
|-
| diplomatic_economy
| diplomatic_economy
第1,265行: 第1,265行:
| Object key already exists
| Object key already exists
|
|
| [[File:Diplomacy_alliance.png|24px|link=Diplomatic agreement]] [[Diplomatic agreement]] costs.
| {{icon|diplomacy}} [[Diplomatic agreement]] costs.
|-
|-
| diplomatic_actions
| diplomatic_actions
第1,271行: 第1,271行:
| Object key already exists
| Object key already exists
| Entire override ONLY.
| Entire override ONLY.
| [[File:Diplomacy_alliance.png|24px|link=Diplomatic agreement]] [[Diplomatic action]] conditions.
| {{icon|diplomacy}} [[Diplomatic action]] conditions.
|-
|-
| style="height: 45px" | districts
| style="height: 45px" | districts
| LIOS<br><small>since 3.3</small>
| LIOS
| Object key already exists
| Object key already exists
| Pre version 3.3: Breaks auto-generated modifiers
| Breaks auto-generated modifiers if game version is <3.3
| {{iconify|District}} definitions.
| {{iconify|District}} definitions.
|-
|-
第1,289行: 第1,289行:
| Object key already exists
| Object key already exists
|
|
| [[File:Empire_economy.png|24px|link=Economy]] Definitions and modifier generation for [[Modifiers#Economic_Categories|economic categories]] used by [[Economy_modding#Economy_Units|resource blocks]] and AI budgets.
| [[Modifiers#Economic_Categories|Economic categories]] used by [[Economy_modding#Economy_Units|resource blocks]] and AI budgets.
* {{icon|job}} Includes job categories and subcategories which determine which modifiers apply to which jobs
|-
|-
| economic_plans
| economic_plans
第1,307行: 第1,306行:
| LIOS
| LIOS
| {{icon|unknown}}
| {{icon|unknown}}
| Entire override : ''PASS''
|Entire override : ''PASS''
| {{iconify|infiltration}} [[Espionage asset]] definitions.
| {{iconify|infiltration}} [[Espionage asset]] definitions.
|-
|-
第1,319行: 第1,318行:
| LIOS
| LIOS
| {{icon|unknown}}
| {{icon|unknown}}
| Entire override : ''PASS''
|Entire override : ''PASS''
| {{iconify|infiltration}} Espionage operation definitions.
| {{iconify|infiltration}} Espionage operation definitions.
|-
|-
第1,409行: 第1,408行:
| LIOS
| LIOS
| Object key already exists
| Object key already exists
| Includes origins
| [[Civic]] and [[origin]] definitions.
| [[Civic]] and [[origin]] definitions.
|-
|-
第1,439行: 第1,438行:
| {{icon|unknown}}
| {{icon|unknown}}
| {{icon|unknown}}
| {{icon|unknown}}
| Unused
| Unused
|-
|-
| leader_classes
| leader_classes
第1,501行: 第1,500行:
|<small>DUPL/LIOS</small>
|<small>DUPL/LIOS</small>
| {{icon|unknown}}
| {{icon|unknown}}
| Entire override ONLY.
|Entire override ONLY.
| [[Observation post]] mission definitions and AI weights.
| [[Observation post]] mission definitions and AI weights.
|-
|-
| on_actions
| on_actions
| NO/MERGE
| NO
| {{small|''[none]''}}
| {{small|''[none]''}}
| Cannot modify existing entries; new entries will be merged with the existing entry with the same NAME={}.
| Cannot modify existing entries.<br>Load order is top first.
: Load order is top first.
All new event ID will be Merge to same NAME={} you signed in.
| Assigns [[events]] to be triggered when certain game actions happen.
| Assigns events to be triggered when certain game actions happen.
|-
|-
| opinion_modifiers
| opinion_modifiers
第1,524行: 第1,523行:
|-
|-
| planet_classes
| planet_classes
| LIOS<br><small>since 3.3</small>
| LIOS
| {{small|''[none]''}}
| {{small|''[none]''}}
| Pre version 3.3: DUPL – breaks habitability modifiers if individually overwritten.
| Possibly DUPL – breaks habitability modifiers if game version is <3.3.
| [[Celestial body]] graphics and definitions.
| [[Celestial body]] graphics and definitions.
|-
|-
第1,554行: 第1,553行:
|-
|-
| pop_jobs
| pop_jobs
| LIOS<br><small>since 3.3</small>
| NO
| Object key already exists
| {{small|''[none]''}}
| Pre version 3.3: [Type] NO – Breaks auto-generated modifiers if overwriting a specific job and not the whole file.
| Breaks auto-generated modifiers if game version is <3.3.
| {{iconify|Job}} definitions and auto-assignment weights.
| {{iconify|Job}} definitions and auto-assignment weights.
|-
|-
第1,571行: 第1,570行:
| Components for randomly generated Empire, Federation, Faction, First Contact, and War names.
| Components for randomly generated Empire, Federation, Faction, First Contact, and War names.
|-
|-
| └── ─base
| └── ─Base
| {{icon|unknown}}
| {{icon|unknown}}
| {{icon|unknown}}
| {{icon|unknown}}
第1,587行: 第1,586行:
| {{icon|unknown}}
| {{icon|unknown}}
| {{icon|galactic community}} Defines which category individual resolutions are in and the category icon.
| Defines which category individual resolutions are in and the category icon.
|-
|-
| resolution_groups
| resolution_groups
第1,593行: 第1,592行:
| Object with key already exists
| Object with key already exists
| {{icon|galactic community}} Assigns frames and text colors to resolution categories.
| Assigns frames and text colors to resolution categories.
|-
|-
| resolutions
| resolutions
第1,599行: 第1,598行:
| Object with key already exists
| Object with key already exists
| {{icon|galactic community}} [[Resolution]] definitions and AI weights.
| [[Resolution]] definitions and AI weights.
|-
| script_values
| {{icon|unknown}}
| {{icon|unknown}}
|
| Dynamically calculated referenceable value.
|-
|-
| scripted_effects
| scripted_effects
第1,611行: 第1,604行:
| Object key already exists
| Object key already exists
|
|
| [[Dynamic_modding#Scripted_effects|Scripted effects]].
| [[Dynamic_modding#Scripted_effects|Sripted effects]].
|-
|-
| scripted_loc
| scripted_loc
第1,660行: 第1,653行:
| {{icon|ship class}} [[Ship_designer#Types|Ship chassis]] definitions, including {{iconify|Starbase}}s and [[spaceborne aliens]].
| {{icon|ship class}} [[Ship_designer#Types|Ship chassis]] definitions, including {{iconify|Starbase}}s and [[spaceborne aliens]].
|-
| situations
| {{icon|unknown}}
| {{icon|unknown}}
|
| [[Situation]] definitions.
|-
|-
| solar_system_initializers
| solar_system_initializers
第1,671行: 第1,658行:
| Initializer already exists
| Initializer already exists
|
|
| [[Unique_systems|Predefined solar systems]], some including country, colony, and/or fleet generation.
| Predefined solar systems, some including country, colony, and/or fleet generation.
|-
|-
| special_projects
| special_projects
第1,680行: 第1,667行:
|-
|-
| species_archetypes
| species_archetypes
| LIOS<br><small>since 3.3</small>
| LIOS
| Object key already exists
| Object key already exists
| Pre version 3.3: Breaks auto-generated modifiers.
| Breaks auto-generated modifiers if game version is <3.3.
| Assigns {{iconify|Trait Point}}s and [[Trait]] sets to [[Species]] archetypes.
| Assigns {{iconify|Trait Point}}s and [[Trait]] sets to [[Species]] archetypes.
|-
|-
第1,688行: 第1,675行:
| LIOS
| LIOS
| Object key already exists
| Object key already exists
| Assigns portraits, species archetype, and graphical culture to [[Species#List_of_species_classes|species classes]].
| Assigns portraits, species archetype, and graphical culture to [[Species#List_of_species_classes|species classes]].
|-
|-
| species_names
| species_names
第1,712行: 第1,699行:
| DUPL/LIOS
| DUPL/LIOS
| Object key already exists
| Object key already exists
| Entire override ONLY.
|Entire override ONLY.
| {{icon|starbase}} [[Starbase#Buildings|Starbase building]] definitions and AI weight modifiers.
| {{icon|starbase}} [[Starbase#Buildings|Starbase building]] definitions and AI weight modifiers.
|-
|-
第1,740行: 第1,727行:
|-
|-
| static_modifiers
| static_modifiers
| FIOS
| LIOS
| {{small|''[none]''}}
| {{small|''[none]''}}
|
|
第1,753行: 第1,740行:
| subjects
| subjects
| LIOS
| LIOS
| [None]
| [none]
| Functions are limited/restricted by:<br><small><code>diplomatic_actions</code> and <code>game_rules</code></small>
| Functions are limited/restricted by:<br><small><code>diplomatic_actions</code> and <code>game_rules</code></small>
| {{icon|vassal}} [[Subject empire]] type definitions.
| {{icon|vassal}} [[Subject empire]] type definitions.
|-
|-
| system tooltips
| system tooltips
| {{icon|unknown}}
| {{icon|unknown}}
| {{icon|unknown}}
| {{icon|unknown}}
|
|
| Tooltips displayed when hovering over a system.
| Tooltips displayed when hovering over a system.
第1,770行: 第1,757行:
|-
|-
| technology
| technology
| LIOS*
| LIOS
| Duplicate technology: [''tech'']
| Duplicate technology: [''tech'']
| LIOS overrides mostly still work despite the DUPL-type error entry. However, if the overwriting tech lacks a "potential" block, it will inherit the "potential" block from the overwritten tech.
| LIOS overrides mostly still work despite the DUPL-type error entry. However, if the overwriting tech lacks a "potential" block, it will inherit the "potential" block from the overwritten tech.
第1,778行: 第1,765行:
| {{icon|unknown}}
| {{icon|unknown}}
| {{icon|unknown}}
| {{icon|unknown}}
| List of [[Technology#Research_areas_&_fields|research categories]] and icon assignments.
| List of [[Technology#Research_areas_&_fields|research categories]] and icon assignments.
|-
|-
| └───tier
| └───tier
第1,820行: 第1,807行:
| LIOS
| LIOS
| Object key already exists
| Object key already exists
|
| {{icon|casus belli}} [[War goal]] definitions, conditions, and AI weights.
| {{icon|casus belli}} [[War goal]] definitions, conditions, and AI weights.
|}
|}
第1,895行: 第1,881行:
Check if non-ASCII characters exist in the address of the mod folder.
Check if non-ASCII characters exist in the address of the mod folder.


Verify integrity of Stellaris installation files (for Steam right click on Stellaris > Properties > Local files > Verify). Warning: Verification tool does not check for any additional files put into the installation folder, and those might still alter the checksum. Check [[Patches|patch notes]] and compare your unmodded game (vanilla) with reference checksum.
Verify integrity of Stellaris installation files (for Steam right click on Stellaris > Properties > Local files > Verify). Warning: Verification tool deos not check for any additional files put into the installation folder, and those might still alter the checksum. Check [[Patches|patch notes]] and compare your unmodded game (vanilla) with reference checksum.


Make sure your antivirus is not blocking the launcher. It might do so silently without a warning.
Make sure your antivirus is not blocking the launcher. It might do so silently without a warning.
第1,989行: 第1,975行:
* [[forum:1508908|Stellaris Dev Diary #240: Scripting Improvements in 3.3]]
* [[forum:1508908|Stellaris Dev Diary #240: Scripting Improvements in 3.3]]


== 另见 ==
== See also ==


* [[ 模组]]
* [[Mods]]


== 参考资料 ==
== References ==
<references />
<references />


{{ModdingNavbox}}
{{ModdingNavbox}}
[[Category: 模组制作|#]]
[[Category:Modding|#]]
[[en:Modding]]
请注意您对群星百科的所有贡献都被认为是在知识共享署名-非商业性使用-相同方式共享下发布,请查看在群星百科:版权的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。 未经许可,请勿提交受版权保护的作品!

为防止机器编辑,请完成下方验证

取消 编辑帮助(在新窗口中打开)