asmartgoat Posted March 28, 2011 Report Share Posted March 28, 2011 (edited) Is it possible to give an unit a boat attribute and a soldier attribute, for the purpose of flying units would this work? I know that a possible problem would be not being able to cross over from water -> land and visa versa. Edited March 28, 2011 by asmartgoat Quote Link to comment Share on other sites More sharing options...
WhiteTreePaladin Posted March 28, 2011 Report Share Posted March 28, 2011 Passability classes are defined in C:\0ad\binaries\data\mods\public\simulation\data\pathfinder.xml. There is also a vertical offset xml tag that lets you adjust the unit's vertical position (only aesthetic though). It is based on the water plane if ship passability, or land otherwise. Fish use it, so you can find it there. Also, farms don't have collision like other objects, so check out some of its attributes. I'm not sure that you will be able to get it to work "acceptably" without some significant changes, but those tags are a place to start. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.