|
|
本帖最后由 英仙座街溜子 于 2025-4-25 00:32 编辑
这个帖子是关于如何配置战俘营地mod来实现打捞任意地方指挥官或者是副官的功能的,比如捞高贵无比的船长lee。
首先是要找到想捞的副官它所处的势力id,可以使用控制台mod列出游戏内所有势力的id,具体方法这里就不再赘述了,见其他大佬的帖子[0.97a]控制台常用代码记录。
首先找到mod的配置文件夹“mods\TakeNoPrisoners\data\config”。
mod配置文件夹结构如下:
modSettings文件里面存的是mod的UI里俘虏官数量的上限和支持的势力id的集合。
如果势力id不在该集合内则默认为不会俘虏任何船员。
- {
- "TakeNoPrisoners": {
- "maxPrisoners": 16, //俘虏上限
- "factionsWithConfigs": [ //势力id集合
- "tritachyon",
- "hegemony",
- ...
- "famous_bounty"
- ]
- }
- }
复制代码 在takenoprisonersFactionConfig里存的是每一个势力的配置文件,文件名以势力名命名。
这里以英仙座高精度AI核心嗅探器(霸主)为例:
其配置文件hegemony.json内如如下
- {
- "capturesOfficers": true,
- "capturesCommanders": true,
- "acceptsRansoms": true,
- "captureChance": 0.05,
- "sendsVengeanceFleets": true
- }
复制代码 直接把标签放到花括号里就可以了,下面是我根据标签意思和在游戏里测试得到的对应功能(因为我没看mod源码,所以可能会有错)
| 标签 | 类型 | 作用 | | capturesOfficers | 布尔 | 是否捕获副官(不包括指挥官) | | capturesCommanders | 布尔 | 是否捕获指挥官(就是对面开旗舰的那个) | | acceptsRansoms | 布尔 | 是否接受赎金 | | sendsVengeanceFleets | 布尔 | 处决后是否会势力方是否会发出复仇舰队 | | commanderForcedCapture | 布尔 | 是否强制捕获指挥官,如果这个标签值不为真的话,那么指挥官和副官一样根据捕获概率来判断是否捕获成功。 | | captureChance | 浮点 | 捕获概率0.0~1.0 | 这里拿SWP的埋着更好赏金举例,首先在游戏内遇到幽灵版Lee的时候选择通信,根据势力旗帜判断它不属于任何一方在游戏内显示的势力。
为了找到势力id,现在去swp的mod配置文件“mods\Ship and Weapon Pack\data\config”
打开“mods\Ship and Weapon Pack\data\config\modFiles\magicBounty_data.json",也就是swp的magic赏金配置文件,根据job_name找到指定赏金,并列的“fleet_faction”标签的内容即为势力id。
- "swp_excelsior_bounty":{
- "trigger_marketFaction_any": ["pirates", "independent", "tritachyon"],
- "trigger_marketFaction_alliedWith": false,
- "trigger_player_minLevel": 5,
- #"trigger_weight_mult": 100,
- "job_name": "Better Left Buried",
- ...
- "job_comm_reply": "",
- "job_intel_success": "The anomaly has been neutralized. Tri-Tachyon is pleased with this outcome.",
- "job_forFaction": "tritachyon",
- ...
- "target_first_name":"???",
- "target_last_name":" ",
- "target_portrait":"graphics/swp/portraits/swp_lee_ghost.png",
- "target_gender":"MALE",
- "target_rank": "swp_unknown",
- "target_post": "swp_unknown",
- "target_personality": "reckless",
- "target_level": 12,
- "target_elite_skills":12,
- "target_skill_preference": "YES_ENERGY_NO_BALLISTIC_YES_MISSILE_YES_DEFENSE",
- ...
- "fleet_name":"???",
- "fleet_faction": "ML_bounty", //我们要找的势力id
- "fleet_flagship_variant":"swp_excelsior_boss",
- "fleet_flagship_name":"TTS Aperioris",
- "fleet_flagship_recoverable": false,
- "fleet_flagship_autofit": false,
- "fleet_scaling_multiplier": 0,
- "fleet_min_FP": 0,
- "fleet_composition_faction": "remnant",
- "fleet_composition_quality": 2,
- "fleet_transponder": false,
- "fleet_no_retreat": true,
- "fleet_behavior": "AGGRESSIVE",
- "fleet_musicSetId": "swp_captain_tannen",
- ...
- "location_prioritizeUnexplored": true,
- "location_defaultToAnyEntity": false,
- }
复制代码 现在我们知道了赏金的势力id后去战俘营地的modSettings文件内加上该势力id,并在takenoprisonersFactionConfig文件夹内添加”ML_bounty.json“文件并配置内容,详情如下:
modSettings.json
- {
- "TakeNoPrisoners": {
- "maxPrisoners": 16, //俘虏上限
- "factionsWithConfigs": [ //势力id集合
- "tritachyon",
- "hegemony",
- ...
- "famous_bounty",
- "ML_bounty" //新添加的势力id
- ]
- }
复制代码 ML_bounty.json
- {
- "capturesOfficers": true,
- "capturesCommanders": true,
- "commanderForcedCapture": true,
- "acceptsRansoms": false,
- "captureChance": 0.02,
- "sendsVengeanceFleets": false
- }
复制代码 然后使用典范的
深渊大光束狠狠干爆 后就能在捞人界面里找到被汲取出来的机魂lee。
12级的逆天副官,啊不,超级机魂就到手了。
|
|