Hello.
I have problem with default industry tile animations when I change some tile properties.
// Properties for Industry Tiles of Power Plant
! * 00 09 04 01 07 08 07 09 07 0B 01 08 0C 03 08
! * 00 09 04 01 09 08 09 09 09 0B 01 08 0C 03 08
As you can see, I only replace tiles with does NOT have animation or/and sounds.
When I do so, those tiles are no more animated (smoke, bzz effect etc).
I found following code in property copy:
/* A copied tile should not have the animation infos copied too.
* The anim_state should be left untouched, though
* It is up to the author to animate them himself */
tsp->anim_production = INDUSTRYTILE_NOANIM;
tsp->anim_next = INDUSTRYTILE_NOANIM;
The question is? Can I somehow reenable default tile animations? Doing RTFS it seems
I cannot redefine those 2 vars. But doing more RTFS, it seems that enabling bit1 of propery 11 of tile
should actually do the trick as there is code fallback to defaults..
IndustryTile - substitute tile
Moderator: Graphics Moderators
Re: IndustryTile - substitute tile
Okey, after more RTFS and testing I managed to get Power Station tile animation for
spark effect working (with sound!). As for smoke, forget it, this stuff is hardcoded for
built-in Industry.
spark effect working (with sound!). As for smoke, forget it, this stuff is hardcoded for
built-in Industry.
Who is online
Users browsing this forum: No registered users and 3 guests