#2679 closed defect (fixed)
Visible Garrisoning in animated gate bug
Reported by: | Stan | Owned by: | wraitii |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 24 |
Component: | Simulation | Keywords: | |
Cc: | Patch: | Phab:D2775 |
Description (last modified by )
It would be nice to to have animated meshes like boats with units on them, without losing the animation.
This currently works with siege towers however it doesn't work well with things like gates.
To reproduce this download the terra magna mod and play around garrisoning the Chinese gate. If it's not locked and you garrison units inside it the gate will stay open. If it's locked, it'll stay closed, and correctly switch to the right anim when opening then it won't close anymore.
Another story happens with garrison flags. If the gate is garrisoned the flags will appear. They'll have their Idle animation set. What will happen is if you try to move units near the gate the same bugs as before will occur and also the flags will freeze as they will be set to an anim they do not have, such as gate_opening, gate_closing, gate_closed, gate_opened. They ought to play Idle in this case.
Change History (12)
comment:1 by , 8 years ago
comment:2 by , 6 years ago
Description: | modified (diff) |
---|---|
Summary: | Garisonnable Units in Animated meshes → Visible Garrisoning in animated gate bug |
comment:4 by , 6 years ago
Milestone: | Backlog → Work In Progress |
---|
comment:5 by , 5 years ago
Component: | UI & Simulation → Simulation |
---|
Move tickets to Simulation
as UI & Simulation
got some sub components.
comment:6 by , 5 years ago
I think this also has a visual component: if gates receive contradictory orders on the same turn (ie. they start closed, then open, then close again on the same turn) they'll 'reset' their animation.
I don't really see a very good fix for that except if only actually open/close in "Update-End" to sorta make sure that all messages have gone through.
comment:8 by , 4 years ago
Patch: | → Phab: D2775 |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Changes reverted, reopened at D2775
comment:9 by , 4 years ago
Patch: | Phab: D2775 → Phab:D2775 |
---|
comment:11 by , 4 years ago
Milestone: | Work In Progress → Alpha 24 |
---|
Should we open another ticket for gates resetting each time you have a new unit in them?
comment:12 by , 4 years ago
I think so, it's rather unrelated. It happens because the garrisonHolder sets the garrisoned flag, which sets the animation, which then reruns from scratch.
In 18266: