Skip to content

Cloak Enchancement - #1095

Open
NetsuNegi wants to merge 14 commits into
Phobos-developers:developfrom
NetsuNegi:cloak_enhancement
Open

Cloak Enchancement#1095
NetsuNegi wants to merge 14 commits into
Phobos-developers:developfrom
NetsuNegi:cloak_enhancement

Conversation

@NetsuNegi

@NetsuNegi NetsuNegi commented Jul 4, 2023

Copy link
Copy Markdown
Contributor
  • When unit start cloak or stop cloaking, an animation can play on his location
    • You can also set whether cloak units kick out parasites

In rulesmd.ini:

[General]
Cloak.KickOutParasite=true    ; boolean

[AudioVisual]
CloakAnims=                   ; List of Animation
DecloakAnims=                 ; List of Animation

[SOMETECHNO]
CloakAnims=                   ; List of Animation, default to [AudioVisual] -> CloakAnims
DecloakAnims=                 ; List of Animation, default to [AudioVisual] -> DecloakAnims
Cloak.KickOutParasite=        ; boolean, default to [General] -> Cloak.KickOutParasite

@github-actions

github-actions Bot commented Jul 4, 2023

Copy link
Copy Markdown

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.

@NetsuNegi

Copy link
Copy Markdown
Contributor Author

did someone test this ?

@mevitar

mevitar commented Jul 8, 2023

Copy link
Copy Markdown

Animations seem to work fine, for inherent and warhead-induced cloak. Haven't tried parasites.

@MortonPL MortonPL left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please add a credits, documentation and "What's New" entry. I've already edited the description to match the current INI documentation standard.

Left a few comments and one question about a peculiar pointer access.

Comment thread src/Ext/Techno/Hooks.cpp Outdated
Comment thread src/Ext/Techno/Hooks.cpp Outdated
Comment thread src/Ext/Techno/Hooks.cpp Outdated
Comment thread src/Ext/Techno/Hooks.cpp Outdated
@NetsuNegi

Copy link
Copy Markdown
Contributor Author

Please add a credits, documentation and "What's New" entry. I've already edited the description to match the current INI documentation standard.

Left a few comments and one question about a peculiar pointer access.

I'll fix docs tomorrow

@NetsuNegi
NetsuNegi requested a review from MortonPL July 9, 2023 00:46
@mevitar

mevitar commented Jul 9, 2023

Copy link
Copy Markdown

A minor nitpick: in the documentation, the comments about tag entries aren't perfectly aligned like they are for other tags.

@NetsuNegi

Copy link
Copy Markdown
Contributor Author

A minor nitpick: in the documentation, the comments about tag entries aren't perfectly aligned like they are for other tags.

fixed

@mevitar

mevitar commented Jul 9, 2023

Copy link
Copy Markdown

fixed

Not for the english version, though. :P

@mevitar

mevitar commented Jul 9, 2023

Copy link
Copy Markdown

Maybe my browser simply didn't update its cache last time, but now it looks properly even for the english version.

@mevitar

mevitar commented Sep 17, 2024

Copy link
Copy Markdown

Does something here needs testing or is it waiting for fixes?

@NetsuNegi

Copy link
Copy Markdown
Contributor Author

Does something here needs testing or is it waiting for fixes?

Probably not, it just seems like it's just forgotten.

@NetsuNegi

Copy link
Copy Markdown
Contributor Author

Looks like OK to merge, is something need improve or fix?

@mevitar

mevitar commented Sep 18, 2024

Copy link
Copy Markdown

Everything seems to be working fine.

@mevitar

mevitar commented Sep 18, 2024

Copy link
Copy Markdown

Documentation needs more info, specifically, the tags applicable to TechnoTypes, what value they default to.

[SOMETECHNO]
CloakAnim=                   ; Animation
DecloakAnim=                 ; Animation
Cloak.KickOutParasite=       ; boolean

should be:

[SOMETECHNO]
CloakAnim=                   ; Animation, defaults to [AudioVisual]->CloakAnim
DecloakAnim=                 ; Animation, defaults to [AudioVisual]->DecloakAnim
Cloak.KickOutParasite=       ; boolean, defaults to [CombatDamage]->Cloak.KickOutParasite

@NetsuNegi NetsuNegi closed this Feb 2, 2025
# Conflicts:
#	CREDITS.md
#	docs/New-or-Enhanced-Logics.md
#	docs/Whats-New.md
#	src/Ext/Rules/Body.cpp
#	src/Ext/Rules/Body.h
#	src/Ext/Techno/Hooks.cpp
#	src/Ext/TechnoType/Body.cpp
#	src/Ext/TechnoType/Body.h
@Coronia Coronia reopened this Aug 25, 2026
@Coronia Coronia added Needs testing ⚙️T1 T1 maintainer review is sufficient labels Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs testing ⚙️T1 T1 maintainer review is sufficient

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants