Hi,
In my mod Bio Industries, I have two rail types, Wood and Concrete.
I've taken the vanilla rail images and using Pixlr, tinted the sections that have wood to darker to look more like wood and also lighter to look more like concrete.
As a result my mod is not 26MB large and the Wood and Concrete rails take up 20MB of this...
I was wondering how one could just use the vanilla rail and do a in-game tint of them when defining the entities.
The "demo-railpictures.lua" and "demo-remnants.lua" is a little out of my league to edit with these changes.
I've taken these two lua files and created my own -wood.lua and -concrete.lua.
Since you don't want to tint all the images, but probably only the ones that have wood in the images. (That's what I did above)
Help with this would be appreciated.
Thanks.
[Resolved] Tint Rail Help
[Resolved] Tint Rail Help
Last edited by TheSAguy on Mon Aug 14, 2017 5:05 pm, edited 1 time in total.
Re: Tint Rail Help
For those things use .png optimization:
viewtopic.php?f=70&t=30591#p224304
viewtopic.php?f=70&t=30591#p224304
Re: Tint Rail Help
Great,
Using this reduced my mod from 26MB to just over 10MB!!
Using this reduced my mod from 26MB to just over 10MB!!
Re: [Resolved] Tint Rail Help
Another version of tinting, the mod is about 400 KB now.





Re: [Resolved] Tint Rail Help
Very Impressive!
Re: [Resolved] Tint Rail Help
The same mod, but it will be called as function.
- Attachments
-
- GreenTies_0.0.2.zip
- (417.9 KiB) Downloaded 84 times
-
- 2017-08-17 20_21_33.png (120.67 KiB) Viewed 2011 times