Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customizable Rocker Amplitude & Wake Anim #1258

Open
wants to merge 25 commits into
base: develop
Choose a base branch
from

Conversation

Coronia
Copy link
Contributor

@Coronia Coronia commented May 9, 2024

Help TwinkleStar to finish his 2 pull requests, with proper docs this time
#1080
#1082

The rocker amplitude of warheads with Rocker=yes used to be determined by Damage value of the weapon. You can now specify it separately.

In rulesmd.ini:

[SOMEWARHEAD]       ; WarheadType
Rocker.Damage=      ; integer

You can now specify the Wake anim per TechnoType to override default rules value.

In rulesmd.ini:

[SOMETECHNO]         ; TechnoType
Wake=                ; Anim (played when Techno moving on the water), default to [General] Wake

Copy link
Member

@Metadorius Metadorius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No complaints about code style, probably would be better to use Nullable here tho.

Comment on lines 194 to 195
Valueable<AnimTypeClass*> Wake;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be better to use Nullable here too?

Copy link
Contributor

@chaserli chaserli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently you missed the wakes for squids and crashed units.
rebase/force push the branch plz
Do not abuse sanity check when it's pointless

@Metadorius
Copy link
Member

rebase/force push the branch plz

I already merged the latest dev and fixed the build.

Copy link

github-actions bot commented May 14, 2024

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.

src/Ext/TechnoType/Body.cpp Outdated Show resolved Hide resolved
# Conflicts:
#	docs/Whats-New.md
#	src/Ext/TechnoType/Body.cpp
#	src/Ext/TechnoType/Body.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants