-
-
Notifications
You must be signed in to change notification settings - Fork 105
New EVA voice after deploying a building #1682
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
base: develop
Are you sure you want to change the base?
New EVA voice after deploying a building #1682
Conversation
…CanChangeEvaVoice
2025-05-28.09-02-10.mp4 |
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The EVA voice change logic should be generalized and put in a separate function from buildings, probably in SideExt
or something. Firestorm has a map trigger for this purpose and I suppose someone might want to reimplement that here as well.
Some smaller things to take note of as well.
NewEVAVoice= ; boolean | ||
NewEVAVoice.Index=0 ; integer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get rid of the bool and use Nullable
or negative default value index.
namespace EVAIndexListTemp | ||
{ | ||
std::vector<std::string> EVAIndexList; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this namespace actually used anywhere?
NewEVAVoice.Index
is the index of the new EVA voice. Ares is hightly recomended because these indexes are readed the new section[EVATypes]
atevamd.ini
created by Ares. Look at Ares documentation for more information.NewEVAVoice.Priority
establish a priority queue, being the highest value the selected one.NewEVAVoice.RecheckOnDeath
re-checks a new EVA voice after the destruction/undeployment of of of these buildings.NewEVAVoice.InitialMessage
plays an EVA message to the player when a different EVA has been selected.In
rulesmd.ini
: