Jump to content

Gaia (Trees) + GarrisonHolder


Recommended Posts

Yes, trees are just entities like anything else, but currently, you can only garrison in allied buildings, and gaia is considered to be hostile.

Since gaia will fire arrows non-discriminatory to all who are near, it's probably best to make those trees capturable, or let them convert to the territory owner (like farm fields).

But, as there are so many trees on the map, you should watch out to make the tree code not too heavy. When you add a buildingAI to every tree, every tree will have its own range check. Looping over all trees every turn and doing range tests will be bad for performance.

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...