Attached animation draw offset customizations - #1854
Open
Starkku wants to merge 1 commit into
Open
Conversation
|
Nightly build for this pull request:
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build. |
Starkku
force-pushed
the
feature/attached-anim-drawoffset
branch
from
November 9, 2025 12:57
c354691 to
ada5b05
Compare
Starkku
force-pushed
the
feature/attached-anim-drawoffset
branch
2 times, most recently
from
December 4, 2025 17:33
b7e32d4 to
7f560f7
Compare
Starkku
force-pushed
the
feature/attached-anim-drawoffset
branch
from
December 12, 2025 11:01
7f560f7 to
78384de
Compare
TaranDahl
approved these changes
Jan 12, 2026
Starkku
force-pushed
the
feature/attached-anim-drawoffset
branch
2 times, most recently
from
January 18, 2026 16:05
2bbf9ed to
3b6fb40
Compare
Starkku
force-pushed
the
feature/attached-anim-drawoffset
branch
6 times, most recently
from
February 13, 2026 09:46
cc02778 to
8856643
Compare
Starkku
force-pushed
the
feature/attached-anim-drawoffset
branch
from
April 10, 2026 19:00
8856643 to
4057ac5
Compare
Starkku
force-pushed
the
feature/attached-anim-drawoffset
branch
2 times, most recently
from
May 8, 2026 16:46
84fdc43 to
f55d148
Compare
Starkku
force-pushed
the
feature/attached-anim-drawoffset
branch
from
June 28, 2026 10:15
f55d148 to
a408646
Compare
Starkku
force-pushed
the
feature/attached-anim-drawoffset
branch
2 times, most recently
from
July 30, 2026 12:17
b5c7ca6 to
3e7f6b6
Compare
Starkku
force-pushed
the
feature/attached-anim-drawoffset
branch
2 times, most recently
from
September 2, 2026 15:00
5ed3285 to
4b1b631
Compare
Contributor
|
Going to merge this in 24h since there is no other person willing to test it. |
- Also optimize AE animation drawing logic update
Starkku
force-pushed
the
feature/attached-anim-drawoffset
branch
from
September 3, 2026 18:15
4b1b631 to
46e2699
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draw offset customization
YDrawOffset.ApplyBracketHeightmakes Y axis position follow it's owner object's selection bracket height (for buildings, this is based onHeightandFoundation, for others it is influenced byPixelSelectionBracketDelta) if it is attached to one.YDrawOffset.InvertBracketShiftis set to true, the opposite is true and negative shift is ignored.YDrawOffset.BracketAdjust, overridden byYDrawOffset.BracketAdjust.Buildingsfor buildings only.In
artmd.ini:AttachEffect animation-specific
Animation.DrawOffsetN(where N is integer starting from 0) can be used to define draw offset rules for the animation. These are parsed starting from index 0 until offset with value 0,0 is encountered.Animation.DrawOffsetN.RequiredTypescontains list other AttachEffectTypes that need to be attached on the same techno as the current one for the draw offset rule to apply.In
rulesmd.ini: