Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

Customizable Rocker Amplitude & Wake Anim

Open Coronia opened this issue 1 year ago • 3 comments

Help TwinkleStar to finish his 2 pull requests, with proper docs this time https://github.com/Phobos-developers/Phobos/pull/1080 https://github.com/Phobos-developers/Phobos/pull/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

Coronia avatar May 09 '24 06:05 Coronia

rebase/force push the branch plz

I already merged the latest dev and fixed the build.

Metadorius avatar May 14 '24 12:05 Metadorius

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.

github-actions[bot] avatar May 14 '24 12:05 github-actions[bot]

TwinkleStar has completed the customized wake settings for Squid parasite and sinking as well

In rulesmd.ini:

[SOMETECHNO]         ; TechnoType
Wake.Grapple=        ; Anim (played when Techno being parasited on the water), default to [General] Wake
Wake.Sinking=        ; Anim (played when Techno sinking), default to [General] Wake

Coronia avatar Jun 18 '24 04:06 Coronia

Took the liberty of splitting off mergeable changes and merging them with correct credit.

As for the Rocker, I think there are some improvements to be done.

[SOMEWH]                        ; WarheadType
Rocker.AmplitudeMultiplier=1.0  ; float
Rocker.FixedAmplitude=          ; integer

The first tag would multiply the regular damage if the user wants it to scale with damage, the second one would just override the damage with a fixed one. Also better naming.

Metadorius avatar Jul 07 '24 16:07 Metadorius

GH screw off, I didn't want to close this

Metadorius avatar Jul 07 '24 16:07 Metadorius

Took the liberty of splitting off mergeable changes and merging them with correct credit.

As for the Rocker, I think there are some improvements to be done.

[SOMEWH]                        ; WarheadType
Rocker.AmplitudeMultiplier=1.0  ; float
Rocker.FixedAmplitude=          ; integer

The first tag would multiply the regular damage if the user wants it to scale with damage, the second one would just override the damage with a fixed one. Also better naming.

added the suggested change. The second tag is named as Rocker.AmplitudeOverride

Coronia avatar Aug 10 '24 07:08 Coronia