Opened 15 years ago

Last modified 3 years ago

#252 assigned enhancement

Gameplay Scripting: Secondary Attacks — at Version 1

Reported by: Michael D. Hafer Owned by:
Priority: Should Have Milestone: Work In Progress
Component: Core engine Keywords: design, patch, rfc
Cc: mimo, Lionkanzen Patch:

Description (last modified by Michael D. Hafer)

This could (should?) be separated into multiple tasks.

Essentially some units, usually Super Units and Heroes, have the ability to use a "secondary" attack. For instance, the Persian Super Unit 1 "The Immortal" has a melee (spear) primary attack and a ranged (bow) secondary attack. What I suggest is that we use the 'Alt' key to toggle between attack types, similar to Rome:Total War. What we will need (that I can foresee) are these changes/features:

  • Actor support for this. A way to dictate in the actor when to switch between animations and props for each attack type (I suspect very similar to the way we now tell the actor how to switch animations and props for various resource gathering methods).
  • Entity code support. A way to dictate in the unit's entity XML file the difference between the primary and secondary attacks (the stats, as well as which attack is which).

Change History (1)

comment:1 by Michael D. Hafer, 15 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.