Attached animation draw offset customizations#1854
Open
Starkku wants to merge 1 commit intoPhobos-developers:developfrom
Open
Attached animation draw offset customizations#1854Starkku wants to merge 1 commit intoPhobos-developers:developfrom
Starkku wants to merge 1 commit intoPhobos-developers:developfrom
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. |
c354691 to
ada5b05
Compare
b7e32d4 to
7f560f7
Compare
7f560f7 to
78384de
Compare
TaranDahl
approved these changes
Jan 12, 2026
2bbf9ed to
3b6fb40
Compare
470f9a1 to
cc02778
Compare
- Also optimize AE animation drawing logic update
cc02778 to
8856643
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: