Opened 18 years ago

Last modified 12 years ago

#3 closed enhancement

Implement Technologies — at Initial Version

Reported by: Stuart Walpole Owned by:
Priority: Must Have Milestone: Alpha 10
Component: Core engine Keywords: patch
Cc: Patch:

Description

  • Could be handled by modifying entity's template; when the tech is triggered (eg research is completed), the modifiers detailed in the tech XML are added to the affected entity templates.

o How to reset templates between games; are all entities reloaded from their source files when starting a new game?

  • Each player will have to have its own copy of the entity templates (so that a tech upgrade does not affect all players).
  • To remove techs, could do the same in reverse. eg a player picks up a relic: a tech is triggered to give him a bonus; he loses the relic: an "anti-tech" is triggered that reduces the bonus back to the original value. Conditional techs just rely on having the necessary events to turn them on and off (eg the start and end of a certain season).
  • Some techs are triggered by starting the game with a certain civ (eg civ bonuses).
  • Some techs unlock new content (eg must research City Phase in order to build Fortress).
  • Define and implement tech XML format; there's an attempt in the Wiki; feel free to expand/modify. http://www.wildfiregames.com/users/code/wiki/index.php?title=XML.Tech

o target (list of entity templates entities affected) o prerequisite (list of things that must have already been done in order to be able to research tech) o pair (name of the tech's pair technology; if the player researches this tech, its pair will no longer be available) o list of attributes (property that's modified) and values (the modifier added to that property)

Change History (0)

Note: See TracTickets for help on using tickets.