Opened 18 years ago
Last modified 12 years ago
#18 closed enhancement
[PATCH] Entity - Attack - Area Ranged — at Version 3
Reported by: | Stuart Walpole | Owned by: | Jonathan Waller |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 11 |
Component: | Core engine | Keywords: | patch |
Cc: | Patch: |
Description (last modified by )
- Archers should have inaccurate area (non-focused-fire) attacks (not guaranteed to hit target).
- Splash damage should be implemented
Change History (5)
comment:1 by , 14 years ago
Milestone: | Advanced Playability Demo |
---|
comment:2 by , 14 years ago
Milestone: | → Backlog |
---|
comment:3 by , 12 years ago
Description: | modified (diff) |
---|---|
Keywords: | review added |
Milestone: | Backlog → Alpha 9 |
Owner: | set to |
Status: | new → assigned |
Summary: | Entity - Attack - Area Ranged → [PATCH] Entity - Attack - Area Ranged |
I have attached a patch. The graphical arrow collision is not a perfect match for the gameplay one but it should be close enough.
The code uses a Gaussian distribution and defines spread which determines the scaling of the gaussian. The Gaussian will have width Spread at distance 40m from the archer. This means about 2/3 of the missiles will hit a target of size spread at 40m. The spread is linearly proportional to distance.
Issues: If the entity being attacked dies before the missile arrives then the missile has no effect.
I consider these to be minor
by , 12 years ago
Attachment: | advanced_attack.diff added |
---|
by , 12 years ago
Attachment: | advanced_attack-220212.diff added |
---|
Note:
See TracTickets
for help on using tickets.
Milestone Advanced Playability Demo deleted