Customizable disguised target evaluation behaviour in new ScriptType attack actions - #1169
Customizable disguised target evaluation behaviour in new ScriptType attack actions#1169FS-21 wants to merge 23 commits into
Conversation
Customizable disguised target evaluation behaviour in new ScriptType attack actions. - By default, any unit with `DetectDisguise=yes` seeking targets via new [attack team missions introduced in Phobos](AI-Scripting-and-Mapping.md#10000-10049-attack-actions) always detects the disguised units. The probability to detect a disguised object now can be customized. - `DetectDisguise.Percent` values represent the probabilities in hard, medium & easy difficulty, in that order. In rulesmd.ini: [SOMETECHNO] ; TechnoType DetectDisguise.Percent=1.0, 1.0, 1.0 ; float, percents or absolute
|
Similar behaviour of the YR tag From rulesmd.ini comments:
So 6 units in a AI team capable to detect disguised units with the new |
|
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. |
2128644 to
799ea22
Compare
b429215 to
280b1c8
Compare
…etect-disguises # Conflicts: # CREDITS.md # docs/Fixed-or-Improved-Logics.md # src/Ext/Script/Mission.Attack.cpp # src/Ext/TechnoType/Body.cpp # src/Ext/TechnoType/Body.h
…etect-disguises # Conflicts: # docs/Whats-New.md
| ### Customizable disguised target evaluation behaviour in new ScriptType attack actions | ||
|
|
||
| - By default, any unit with `DetectDisguise=yes` seeking targets via new [attack team missions introduced in Phobos](AI-Scripting-and-Mapping.md#10000-10049-attack-actions) always detects the disguised units. The probability to detect a disguised object now can be customized. | ||
| - `DetectDisguise.Percent` values represent the probabilities in hard, medium & easy difficulty, in that order. |
There was a problem hiding this comment.
Why reinvent the wheel here? Doesn't vanilla have that logic?
DetectDisguise=yesseeking targets via new attack team missions introduced in Phobos always detects the disguised units (100% probability). The probability to detect a disguised object now can be customized.DetectDisguise.Percentvalues represent the probabilities in hard, medium & easy difficulty, in that order.In rulesmd.ini:
[SOMETECHNO] ; TechnoType
DetectDisguise.Percent=1.0, 1.0, 1.0 ; float, percents or absolute