RimWorld

RimWorld

296 ratings
Rimworld Map to Source Engine VMF Exporter
15
13
12
9
7
6
3
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4
File Size
Posted
Updated
15.887 MB
Nov 25, 2023 @ 12:56pm
Nov 25, 2023 @ 1:18pm
2 Change Notes ( view )

Subscribe to download
Rimworld Map to Source Engine VMF Exporter

Description
Exports stuff? Yeah.

This was just created so I could learn how to make Rimworld mods, I never made one before.

It doesn't export every single thing, but the terrain and walls and trees and rocks mountains and such are exported, basically most of the environment. Also, bodies of water are also exported (that was tough to implement).

INSTRUCTIONS:

There are two ways to access it: In the bottom right corner of the screen (which will also let you adjust some settings (WHICH I RECOMMEND LEAVING AT THE DEFAULT BTW UNLESS YOU KNOW WHY TO CHANGE THEM (also half of them haven't really been implemented yet)), or in the developer menu under "Map" as can be seen in a screenshot above.

It will export a .vmf file to the documents folder, which you can then simply compile using hammer or some other compiler if you don't use hammer (compilepal is one), and it should work right off of the bat. They should compile for every single source engine game just fine, the settings to change the game to SFM or GMOD are deprecated and don't work.

That's about it, remember this is just for fun and it could theoretically be improved immensely, however it works so that's good enough for now.

Quick explanation of how it works (only read if you're interested in that)

Basically, it just gets every tile, every object, and all the pawn locations, and makes a list, then writes the vmf data of the world, then the objects, and finally ever pawn location is used as spawn points, and the first one is used as a light_environment location.

Known Issues (ignore unless you have issues)

When the tile size is set too low, too many brushes are made so an algorithm should be made to merge ones that can be merged, in the meantime just increase it.

No cubemaps, place them manually if needed

If people are too close to walls, spawn points may be made inside walls, delete those if needed


Source code is included, edit it if you want (you don't need to ask me or anything do whatever you want it's just a mod)
89 Comments
Garry :з Jun 22, 2024 @ 9:25am 
yey
i will thrive
King Sans  [author] Jun 22, 2024 @ 5:12am 
yes ill get around to it soon
Garry :з Jun 21, 2024 @ 11:19pm 
Will you port this to 1.5
how will my rimworld vmf abondant desert existance go otherwise?
Oddbase Feb 21, 2024 @ 11:21pm 
this is incredibly impressive as someone who does a lot of source engine modding.
Lorrdy Feb 21, 2024 @ 8:49am 
The idea of turning your colony into a TTT map sounds cool
obsidian29 Feb 13, 2024 @ 5:13am 
All the best things are. :D
Shar Feb 12, 2024 @ 8:49am 
Well this is ridiculous
pleb Feb 10, 2024 @ 7:17am 
I love that this exists.
King Sans  [author] Feb 9, 2024 @ 3:30pm 
at least one person out of eight billion was probably desperately searching for this their entire life in a computer in the middle of the desert with their only hope of escape being making their rimworld map a half life map or they would face certain death for lack of water and vmf files, other than that guy though idk
Chancesoul Feb 9, 2024 @ 3:00pm 
who needed this?! its funny but like... WHO NEEDS THIS