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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...