群星
ParaWikis
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
阅读
编辑
编辑源代码
查看历史
讨论
编辑“
Map modding
”
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
{{Version|2.2}} The maps can be modded in two ways: either create new forms and sizes of generated maps or create a fully static & pre-scripted map. === Directories & Files === Relevant directories and files are the following: * <code>Stellaris/common/solar_system_initializers/*</code> * <code>Stellaris/common/random_names/base/00_random_names.txt</code> * <code>Stellaris/map/galaxy/*</code> * <code>Stellaris/map/setup_scenarios/*</code> * <code>Stellaris/prescripted_countries/*</code> === Add new Galaxy Size === Adding a new galaxy size is the easiest form of modding the map. Simply copy one of the files in <code>./map/setup_scenarios/</code> (for example <code>huge.txt</code>) into your mods <code>map/setup_scenarios/</code> folder. Rename the file to something else (unless you want to overwrite an existing map type. Now you can simply change the options given, which should be self explanatory. Things to be aware of: * Do not put the radius above 500. The galaxy box does not get bigger, so all stars spawned beyond size 500 are simply spawned at the border. * Increasing the number of stars beyond 1000 will reduce performance and make the map unplayable. === Add new Galaxy Form === Adding a new galaxy form can be done by adding a new file in the <code>map/galaxy/</code> folder. Simply edit copy and edit one of the existing files or create a new file. Only a few options are available to actually change the output. Keep in mind that the background of a galaxy makes the core fairly bright, hiding stars there. So it might be good to change this, if a number of stars are in the core. === Add a Static Galaxy === Adding a static galaxy is more involved and requires a number of steps. The most important part: generally if you are making a static galaxy, expect to define close to everything. The reason for this is, that the galaxy generator will break things if some stuff is predefined and other things are generated. For example, a race spawned into a random home world might start with the wrong climate in said home world making the pops very unhappy. To prevent this the home world climate and the climate of the generated world in the solar system initializer must match. A working example: <pre> static_galaxy_scenario = { name = "EvE Online: Amarr Empire (726)" default = no priority = 8 num_empires = { min = 1 max = 3 } num_empire_default = 3 fallen_empire_default = 0 fallen_empire_max = 0 advanced_empire_default = 0 core_radius = 0 # set always 0 unless you don't want to put any stars there. colonizable_planet_odds = 1.0 random_hyperlanes = no # yes | no </pre> [[Category:模组制作]]
摘要:
请注意您对群星百科的所有贡献都被认为是在知识共享署名-非商业性使用-相同方式共享下发布,请查看在
群星百科:版权
的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。
未经许可,请勿提交受版权保护的作品!
为防止机器编辑,请完成下方验证
取消
编辑帮助
(在新窗口中打开)
本页使用的模板:
Template:Version
(
编辑
)
×
登录
密码
记住登录
加入群星百科
忘记密码?
其他方式登录