External Publication
Visit Post

NewGRF Technical Discussions • Re: apply transparency

Transport Tycoon Forums - Index page [Unofficial] March 3, 2026
Source

thx. after digging in some more time i could solve it with "sprite: GROUNDSPRITE_NORMAL" followed by building. it was quite a hustle to find this example i needed...

my updated code is:

Code:

grf { grfid: "QD\01\01"; name: string(STR_GRF_NAME); desc: string(STR_GRF_DESC); version: 1; min_compatible_version: 1;}template tmpl_static_tile() { [ 0, 0, 64, 31, -31, 0 ]}spriteset(set_l_tile_0, "images/stdBlanc-Object_C0ZpthL000#00FF00.png") { tmpl_static_tile() }spritelayout layout_l_tile_0 { ground { sprite: GROUNDSPRITE_NORMAL; } building { sprite: set_l_tile_0; }}item(FEAT_OBJECTS, obj_l_tile_rotierbar) { property { class: "F246"; classname: string(STR_CLASS_BLANC); name: string(STR_OBJ_BLANCOBJECT); climates_available: ALL_CLIMATES; size: [1, 1]; build_cost_multiplier: 1; remove_cost_multiplier: 1; introduction_date: date(1,1,1); end_of_life_date: date(10000,1,1); object_flags: bitmask(OBJ_FLAG_ANYTHING_REMOVE, OBJ_FLAG_REMOVE_IS_INCOME, OBJ_FLAG_NO_FOUNDATIONS, OBJ_FLAG_ALLOW_BRIDGE); height: 0; num_views: 1; } graphics { layout_l_tile_0; }}

Statistics: Posted by AskingForAFriend — 03 Mar 2026 21:40


Discussion in the ATmosphere

Loading comments...