ID:163557
![]() Aug 18 2007, 7:16 pm
|
|
Is there a way to make turfs work with mouse_opacity? Because they always merge with whatever's under them as underlays or overlays, so if there's an opaque turf underneath the turf, the mouse_opacity being set to 1 still is as though it's set to 2.
|
I've overlapped turfs before. I don't know why I would want to, though. All I needed was to fill in an icon with at least one transparent pixel, and you can put that anywhere.
|
Kaiochao2536 wrote:
I've overlapped turfs before. I don't know why I would want to, though. All I needed was to fill in an icon with at least one transparent pixel, and you can put that anywhere. But as I was saying, overlapping turfs still leaves you with just one turf per tile, and only that turf gets considered for things like density and opacity. Any other "turfs" under that tile are just underlayed visuals. If your map isn't very active, as in, the turfs won't ever change at all, then there's nothing wrong with doing this. But if you try loading/saving maps or modifying turfs at all, you can't be overlapping turfs. |
Well, for one thing, there is only ever one turf on any given tile. If you place another turf that has transparent sections over another turf in the editor, then the new turf replaces the old turf, which gets added as an underlay. The only turf properties are actually get considered are those of the turf you placed last.
If you want overlapping stuff in the map editor, you need to place objs or mobs on to of the turf.