边缘世界 RimWorld

边缘世界 RimWorld

Snow Crawler (Continued)
15 条留言
PersonPerson 9 月 3 日 下午 3:48 
Go check out the snowcat and the radio and see what I mean.
HaySeuss 9 月 2 日 下午 6:47 
thank you
HaySeuss 9 月 2 日 下午 6:47 
OHGHDDHGEGD
Sir Luis 8 月 31 日 下午 9:10 
4. Test in Dev Mode
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.
Sir Luis 8 月 31 日 下午 9:09 
3. Patch Your Wintermute Vehicle
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.
Sir Luis 8 月 31 日 下午 9:08 
2. Define the Pocket-Dimension Interior
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.
Sir Luis 8 月 31 日 下午 9:08 
zaljerem. this I found the answer but i need your help.....



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.
Sir Luis 8 月 31 日 下午 9:06 
Sir Luis 8 月 31 日 下午 8:59 
zaljerem. I dont know how to can you make it for us?
+wnosleep Snail天皇🐌 8 月 31 日 下午 8:14 
Glad you're bringing this one to 1.6, this was my main scenario :d
Zaljerem  [作者] 8 月 31 日 上午 9:31 
I don't know, it seems pretty complete from where I'm standing, but if someone had ideas, or wanted to present me with something, I'm open to expand it.
Inrek_Fox 8 月 31 日 上午 9:12 
Will you expand this mod, like adding upgrade system or something, or you just posted it as 1.6 fork and thats it?
Latex Santa 8 月 30 日 上午 1:02 
Beautiful stuff, thanks very much.
Zaljerem  [作者] 8 月 29 日 下午 8:01 
Vehicle Interior Framework:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3184281714
Should be able to add interior from the mod settings

I also have a patch so you can use this mod to do it also that I'll publish in an update
RV with built-in PD:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3342334887
Sir Luis 8 月 29 日 下午 7:54 
it needs an interior