News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

Recolor already existing vehicles?

Started by emirkir, June 04, 2018, 08:29:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

emirkir

Is it possible in some way recolor already existing vehicles (downloaded .pak and in-game)?
Unfortunaly I haven't got time for learning how Pixel Art works, so I wonder if there's any faster way to like recolor or start from a template?
Sorry for bad description, hope you understand what I mean...

JOIN SIMUTRANS DISCORD-SERVER! https://discord.gg/fpXY772

An_dz

The objects in Simutrans (buildings, vehicles, and others) are a bunch of PNG graphics.

There's a special array of colours (RGB values) that have special meanings in Simutrans, some change colour during the night, others never change the colour (don't darken) and some are player colours. Those player colours change according to the company colour, that you can change under Options -> Player Colours. But the graphic has to have those specific colours to change to the player colours, otherwise the graphic is fixed.

If you want to change the colours of a vehicle beyond what the player colours change or completely modify the livery you must download the source, edit the graphics and recompile with makeobj. Simutrans will replace the object because of the same name.

emirkir

Is there any tutorial about doing that? (makeobj stuff, edit graphics etc.)

JOIN SIMUTRANS DISCORD-SERVER! https://discord.gg/fpXY772

prissi

For downlooding the source, look at sourceforge https://sourceforge.net/p/simutrans/code/HEAD/tree/
For actually painting in these PNGsd, you have to do this with your favorite paint program. It must save PNG files. You also need the dat file that mentiones said PNG filename.
For compilation into a pak, you must download makeobj. Then right click on makeobj, drag it with right mousebutton into the fiolder with you PNG asnd DAT file, Choose "add link" (Verküpfung in German) and add after the program name " pak64", for instance "C:\download\makeobj.exe pak64" If you want  to pak for pak128, wite instead pak128.

emirkir

Okay! I'll check this out.
Thank you!

I reach out again if I find some other trouble.

JOIN SIMUTRANS DISCORD-SERVER! https://discord.gg/fpXY772