![]() The only thing I had to adjust was converting the multi-map model into a single-map. Previously I worked at an architectural office so have a nice collection of local builds. I made a little test using an old model of a building in Trondheim where I live. In order to avoid having to adjust the scaling in the game’s asset editor every time the export units from SketchUp needs to be in centimetres. As it turned out, this is a Unity quirk where it’s default import scale is 0.01 because some modelling applications have a default up-scale of 100. In my testing I found that if I exported the model in meters the asset would be 100 times too small in the game. But the units deviate from what I described earlier. ![]() The axis swap is described in the wiki, so no surprise there. The two bottom ones are probably the most notable, making sure the axes are swapped and the units. The extension also takes care of configuring the FBX exporter correctly for the game: Once the model has been verified the FBX file is exported and the extension will attempt to patch it.Īt the moment it doesn’t extract the diffuse texture, so you must do that yourself until I add the option for this. Backside materials are ignored – so make sure you keep track of the front and back side of your faces when you model. When you use the Export Asset functionality it will verify your SketchUp model first, such that you have a flat model hierarchy and only one material applied to all the faces. It’s currently a beta tool, supporting only SketchUp Pro 2014 and newer. ![]() But I wanted to automate the process, so I wrote a small SketchUp extension: This sounded like a challenge! With good help from other modders I found out that SketchUp export FBX using the ASCII variant, which allowed me to easily see the model hierarchy.īy manually patching the FBX file the model would load. Unfortunately there is bad news for the Pro users as well: even if you have no hierarchy in the SketchUp model an extra node is injected upon export and the game fails to load the mesh. ![]() Bad news for Make users – no FBX exporter for you. Good news for SketchUp Pro users – it includes a FBX exporter. The wiki page gives a brief overview over the asset requirements: The concept feels very familiar to the components system in SketchUp where you can create reusable items. What also intrigued me was it’s reported good support for user modding.Ĭreating assets from existing game items is a really nice feature. I was really impressed to how well it simply “just worked” – especially given how fresh it was. I recently started playing Cities: Skylines, Colossus’ recent city builder game. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |