RimWorld

RimWorld

Snow Crawler (Continued)
15 Comments
PersonPerson 3 Sep @ 3:48pm 
Go check out the snowcat and the radio and see what I mean.
HaySeuss 2 Sep @ 6:47pm 
thank you
HaySeuss 2 Sep @ 6:47pm 
OHGHDDHGEGD
Sir Luis 31 Aug @ 9:10pm 
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 31 Aug @ 9:09pm 
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 31 Aug @ 9:08pm 
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 31 Aug @ 9:08pm 
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 31 Aug @ 8:59pm 
zaljerem. I dont know how to can you make it for us?
+wnosleep Snail天皇🐌 31 Aug @ 8:14pm 
Glad you're bringing this one to 1.6, this was my main scenario :d
Zaljerem  [author] 31 Aug @ 9:31am 
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 31 Aug @ 9:12am 
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 30 Aug @ 1:02am 
Beautiful stuff, thanks very much.
Zaljerem  [author] 29 Aug @ 8:01pm 
Vehicle Interior Framework:
https://gtm.steamproxy.vip/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://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3342334887
Sir Luis 29 Aug @ 7:54pm 
it needs an interior