Jump to content
Sign In to follow this  
pauliaxz

Modify road arrows decals

3 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

I want to modify decals of road arrows in my games so they would be same as in my country. I checked Roads United: Core+ mod and noticed that there are templates for arrow props, I got all the software to open .ai files and etc. 

What I ask is - can I modify road arrows (decals) and bus lane decals without using Roads United? Is there a way to get textures using ModTools and then making decal-only mod?

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Yes.

Download ILSpy

Download Roads United: Core (RUC)

Open up the .dll of RUC with ilspy and look into RoadsUnited_CoreProps > ChangeArrowProp() and ReplacePropTextures()

Study this code, we already know it contains the code for replacing road decals.

Create your own mod using RUC as inspiration. If you want to know how to make the textures, just look at how they look in the RUC mod, there are two textures (128x256) - the regular one and the aci texture, the regular one is the diffuse, and the aci contains the alpha, it has a red (255, 0, 0) background and the decal itself is black. You'll need nvidia photoshop plugin to save the file as .dds.


Ronyx rhymes with electronics...  

Steam  //  Twitch  //  YouTube  //  Twitter  //  CSLModding.INFO

Share this post


Link to post
Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    In the end I decided to make a Roads United dependant mod. 

    Few questions:

    How can I access vanilla road textures? 

    What distance in game is used for 1024x road texture? 2 tiles (16 m) or 1 (8 m)?

    EDIT: Measured it in game, it is 20 meters for 1024x texture. 

    Share this post


    Link to post
    Share on other sites

    Sign In or register to comment...

    To comment in reply, you must be a community member

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account

    Sign In to follow this  

    ×

    Thank You for the Continued Support!

    Simtropolis depends on donations to fund site maintenance costs.
    Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

    But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

    Make a Donation, Get a Gift!

    Expand your city with the best from the Simtropolis Exchange.
    Make a Donation and get one or all three discs today!

    STEX Collections

    By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

    Each donation helps keep Simtropolis online, open and free!

    Thank you for reading and enjoy the site!

    More About STEX Collections