![]() |
Shadows casted on bridge tiles - Printable Version +- Renegade Projects Network Forums (https://forums.renegadeprojects.com) +-- Forum: Modding (https://forums.renegadeprojects.com/forumdisplay.php?fid=3) +--- Forum: Red Alert 2 & Yuri's Revenge Editing (https://forums.renegadeprojects.com/forumdisplay.php?fid=8) +--- Thread: Shadows casted on bridge tiles (/showthread.php?tid=1326) |
Shadows casted on bridge tiles - zzattack - 22.06.2009 Does anybody know how the game knows which subtiles of a bridge tmp can have shadows casted on them? ![]() In the game, tiles that have a green + on them have shadows casted on them, tiles that are marked with a red - sign on them do not. Does anyone know how this is determined by the game? Can I somehow tell the game not to cast shadows on a certain subtile? Is z-data used at all? Thanks for any answers. RE: Shadows casted on bridge tiles - Blade - 22.06.2009 The first bridge overlay is placed over the centre tile out of the ones you marked green. The overlay is drawn to cover the 5 cells marked and so they get their shadow like all cells under the bridge overlay. RE: Shadows casted on bridge tiles - zzattack - 23.06.2009 Thanks Blade, what you said is entirely correct. In my map rendering tool I need an offset for bridge overlays, however it apperas this offset was reversely applied to the shadows casted by these bridges, resulting in them seemingly being casted on different tiles. I had spent quite some time on this already, but after I read your post I got it figured out in a minute. Thanks again. RE: Shadows casted on bridge tiles - Marshall - 23.06.2009 Completely off topic so I apologise but it's "cast" not "casted". "Casted" isn't a word. RE: Shadows casted on bridge tiles - Tempest - 24.06.2009 lol, you're remindind me of my CPE teacher.. |