群星
ParaWikis
Notice
: Undefined index: HTTP_ACCEPT_LANGUAGE in
/data/wwwroot/www.parawikis.com/skins/Liberty/LibertyTemplate.php
on line
185
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
阅读
编辑
编辑源代码
查看历史
讨论
编辑“
模组制作
”(章节)
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
=== File and folder structure === Getting the structure set up correctly when creating a mod is essential for it to run properly. This is the required structure inside the main mod folder: * <code>modname.mod</code> – Includes the information used by the Stellaris launcher * <code>modname</code> – Folder where all the modified files are placed, in the same [[#Game structure|file and folder structure]] as the game folder ** Mod contents ** <code>descriptor.mod</code> – Required for the [[Patch 2.4|new launcher]] added in patch 2.4. Ignored in the old launcher. ** <code>image.ext</code> – PNG and JPEG files are supported. With the new 2.4 launcher, must be a PNG named <code>thumbnail.png</code> <code>modname.mod</code> and <code>descriptor.mod</code> both contain the mod information that the launcher uses when displaying the mod and uploading it.<br> The 2.4 launcher prefers <code>descriptor.mod</code> and will modify <code>modname.mod</code> to match the information in <code>descriptor.mod</code>, however if the file is not found, it'll use the information in <code>modname.mod</code>. The pre-2.4 launcher ignores it.<br> The <code>path="XXX"</code> is not needed in descriptor.mod.<br> Note that folder and file names are case sensitive on Mac OS X and Linux. '''modname.mod structure'''<br> This also applies to <code>descriptor.mod</code>. {| class="wikitable" !Name !Required !Description !Example |- | <code>name</code> | '''Yes''' | Name of your mod. | <code>name="My Stellaris Mod"</code> |- | <code>path</code> | modname.mod: '''Yes'''<br> descriptor.mod: '''No''' (Ignored) | Defines which folder is the mod’s folder. It can be an absolute directory or relative to the <code>…\Documents\Paradox Interactive\Stellaris</code> directory.<br>The Paradox Launcher will automatically correct a relative path to the corresponding absolute path.<br>'''Note:''' Stellaris uses <small>(Unix)</small> slash <code>/</code> instead of <small>(Microsoft)</small> backslash <code>\</code> (or <code>\\</code>). | <code>path="mod/MyStellarisMod"</code> |- | <code>dependencies</code> | No | Specifies if the mod should be loaded after the listed mod(s), if they exist.<br>Very useful for submods or compatibility patches to make sure they overrule certain mods. | <pre> dependencies={ "My Other Stellaris Mod" "Not My Stellaris Mod" } </pre> |- | <code>picture<code> | No | Specifies the mod thumbnail used on [[Steam Workshop]]. With the new 2.4 launcher, this must be a PNG file named <code>thumbnail.png</code>. | <code>picture="thumbnail.png"<code> |- | <code>tags</code> | No | List of tags for [[Steam Workshop]]. Using tags besides the predefined ones may prevent uploading on Paradox Mods.<br>Warning: don't forget quotes for tags that contain spaces. | <pre> tags={ "Tag1" "Tag2" } </pre> |- | <code>version </code> | No | Specifies what the launcher will show as the version of the mod.<br> (Not the version of the game it’s meant for). Any string is accepted. | <code>version="v.4.5"</code> |- | <code>supported_version</code> | Recommended | Specifies what game version the mod supports.<br>The last number can be replaced with the asterisk (*) symbol to tell the launcher that mod supports any value, like 2.4.*.<br>Only the last number supports this. | <code>supported_version="2.4.1"</code> |- | <code>remote_file_id</code> | No | Property added by the launcher that includes the Steam Workshop ID. Ignore it. | <code>remote_file_id="1234567890"</code> |} The data structure is similar to the proprietary Valve Data Format.<ref>VDF is a ad-hoc file format designed by Valve to support storage of hierarchical data, which is also used by [https://developer.valvesoftware.com/wiki/SDK_Installation Steam]. Open VDF parser: https://github.com/rossengeorgiev/vdf-parser/, [https://github.com/shravan2x/Gameloop.Vdf for .NET]</ref> '''Example modname.mod file <code>SomeMod.mod</code>''' <pre> name="SomeMod" path="mod/SomeMod" dependencies={ "othermod" "another mod" } tags={ "Graphics" "Economy" "Overhaul" } picture="thumbnail.png" remote_file_id="1234567890" supported_version="2.4.*" </pre>
摘要:
请注意您对群星百科的所有贡献都被认为是在知识共享署名-非商业性使用-相同方式共享下发布,请查看在
群星百科:版权
的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。
未经许可,请勿提交受版权保护的作品!
为防止机器编辑,请完成下方验证
取消
编辑帮助
(在新窗口中打开)
该页面属于2个隐藏分类:
Category:可能过时的段落
Category:含有受损文件链接的页面
×
登录
密码
记住登录
加入群星百科
忘记密码?
其他方式登录