Realtime

If you liked this item, please rate it up on Steam Workshop page.

Authors: Ronyx69, Simon Ryr

Last revision: 28 Aug, 2017 at 11:57 UTC

File size: 53.25 KB

On Steam Workshop

Description:

Allows replacing textures and meshes ingame in realtime for testing purposes.

FOR ASSET CREATORS

d/a/c/i/n/s and mesh for buildings/props/vehicles(reimported mesh wheels won’t spin)

d/a/c/n and mesh for trees (LODs update once camera is moved)

Imports files from the local asset import folder.
Textures are PNG just like normally, mesh must be OBJ format.

SHIFT + ALT + R to open UI

Thank you to:

Simon Royer for the UI and help.
boformer for the initial mesh replacement code and help.

Known issues:

LODs can’t be replaced, except for trees, which are rendered realtime.
Wheels will not spin for replaced vehicle meshes.
Object must be placed at 0,0,0 before exporting OBJ. (In 3ds Max at least, also possibly X flipped?)
Textures which are shared because of Loading Screen Mod will all get replaced.

I can’t test every possible scenario with every possible prefab type, so maybe something may import incorrectly.

Source Code:
https://gist.github.com/ronyx69/280e5695b3caeac7ef8b356cc36e0a7c

Twitch[twitch.tv]
YouTube
Twitter
Simtropolis (Assets/Mods)[community.simtropolis.com]
Simtropolis (Tutorials/Scripts/Help)[community.simtropolis.com]

Asset Requests[docs.google.com]

My Discord[discord.gg]

Donate (Ronyx)[paypal.me]
Donate (Simon)[www.paypal.com]

http://cslmodding.info