Jump to content

Is It Possible To Give An Unit A Boat Attribute And A Soldier Attribute


asmartgoat
 Share

Recommended Posts

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 by asmartgoat
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...