(0.18) layer transparency?

Place to get help with not working mods / modding interface.
Post Reply
User avatar
Filter Inserter
Filter Inserter
Posts: 392
Joined: Thu Dec 21, 2017 8:02 am

(0.18) layer transparency?

Post by ownlyme »

i had this script:
filename = "__robot_tree_farm__/graphics/dugup2.png",
priority = "extra-high",
width = 51,
height = 38,
scale = 0.5,
frame_count = (variation.trunk.frame_count or 1),
tint= {r=0.7-0.5*i/(TREE_LEVELS/10),g=0.7-0.5*i/(TREE_LEVELS/10),b=0.7-0.5*i/(TREE_LEVELS/10),a=0.7-0.5*i/(TREE_LEVELS/10)},
shift = {0,0.05},

which produced a fading layer of dug up earth as the tree growed in 0.17
but in 0.18 it just makes the sprite darker.
any ideas?
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance

Post Reply

Return to “Modding help”

Who is online

Users browsing this forum: No registered users