Jump to content

dead


Gocker
 Share

Recommended Posts

(Forums just ate my reply... sigh)

To extend on Stan's answers a bit

1) Assuming it should be similar to C&C: Generals underground portals (garrison one, can ungarrison from any). Should be doable by having a player component (specified in the player_$civ.xml) with a component that keeps a list of entities, and components for the portals that implement the GarrisonHolder interface and use the list in the player component for garrisoning/ungarrisoning.

2) Possible, and some mod did that some time ago. However the pathfinder will not prefer those roads (and doing so would make it slow, the old pathfinder supported different terrain costs and look where that got it). Might also be slow with lots of auras, dunno.

5) Yes, needs some code. I'm not quite sure what the best way to do this would be. One option would be to use a new component that does the whole list switching itself. Another would be to have one component (or extend Upgrade) to automatically (by using a timer) upgrade the entity into another entity (using Upgrade) with a different unit list.

  • Like 1
Link to comment
Share on other sites

  • Gocker changed the title to Wargate - A Fantasy Mod for 0 A.D.
  • Gocker changed the title to dead

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