安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题










Load your mod + Vehicles Framework + Wintermute mod + Shelter-style interior patch.
In a new game, build the Wintermute.
Click “Initialize Room” (or it will auto-generate).
Enter the shuttle via the new “Interior” right-click command.
Tips & Troubleshooting
DefName collisions: Pick unique names (prefix with your mod name) to avoid conflicts.
MapGenerators: Try different built-ins (EdgeLayout, SimpleGrid, etc.) for varied layouts.
Editing on the fly: If the comp GUI doesn’t show, verify your compClass is exactly CompPocketDimension.
Capacity vs. Size: A huge innerMapSize may lag on large maps—scale to your needs.
In Defs/ThingDefs_Vehicles.xml, locate the Wintermute <ThingDef> and add a <comps> block or append to it:
xml
<ThingDef ParentName="VehicleBase">
<defName>Wintermute</defName>
<!-- …other settings… -->
<comps>
<!-- existing comps (CompVehicle, CompRefuelable, etc.) stay here -->
<!-- pocket-dimension comp -->
<li Class="CompProperties_PocketDimension">
<compClass>CompPocketDimension</compClass>
<innerMapDefName>Wintermute_Interior</innerMapDefName>
<generateOnSpawn>true</generateOnSpawn>
<!-- optional: <allowEditing>true</allowEditing> to let players reshape after gen -->
</li>
</comps>
</ThingDef>
<generateOnSpawn> ensures the interior appears as soon as the vehicle is built.
<allowEditing> (not always needed) lets you tear down walls/furniture inside the pocket dimension.
Def: Map Generator
In Defs/MapGeneratorDefs.xml add:
xml
<MapGeneratorDef>
<defName>Wintermute_Interior_Generator</defName>
<generatorClass>RimWorld.Scenario.MapGenerator_Scatterer</generatorClass>
<!-- you can swap in any built-in generator: SimpleGrid, EdgeLayout, etc. -->
</MapGeneratorDef>
Def: Interior Map
In Defs/WorldObjectInteriorDefs.xml add:
xml
<WorldObjectInteriorDef>
<defName>Wintermute_Interior</defName>
<innerMapSize>65,39</innerMapSize>
<mapGenerator>Wintermute_Interior_Generator</mapGenerator>
<useFaction>PlayerColony</useFaction>
</WorldObjectInteriorDef>
innerMapSize controls the X,Y tile size of the interior.
useFaction makes it safe from raids/visitors by default.
You give your Wintermute (or any Vehicle Framework–based unit) a “pocket-dimension” interior by copying the core XML bits from the Shelter Shuttle mod:
Define a new interior map (MapGeneratorDef + WorldObjectInteriorDef).
Add a CompProperties_PocketDimension entry to your vehicle’s <comps> section, pointing at that interior.
Build/install your mod alongside Vehicles Framework and reload in Dev mode to test.
1. Set Up Your Mod Structure
Create a folder hierarchy, e.g.:
Code
MyWintermuteInterior/
├── About/
│ └── About.xml
└── Defs/
├── ThingDefs_Vehicles.xml
├── MapGeneratorDefs.xml
└── WorldObjectInteriorDefs.xml
In About.xml, reference Vehicles Framework as a dependency.