Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

Restored ScritType action 24 - Play speech with index...

Open FS-21 opened this issue 2 months ago • 6 comments

RA2/YR doesn't have implemented the Tiberian Sun action "24" (Play Speech). It just marks the action ended and then jumps to the next action from the script list.

  • Given a speech index, the game will play it. Just like action 24 from Tiberian Sun.

In aimd.ini:

[SOMESCRIPTTYPE]  ; ScriptType
x=24,n

Already tested in my mod and very simple action.

FS-21 avatar Oct 08 '25 09:10 FS-21

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 Oct 08 '25 09:10 github-actions[bot]

Why not restore action 24 if it exists in YR?

Metadorius avatar Oct 08 '25 18:10 Metadorius

I'm a bit ashamed, I always though lower numbers used by the game or Ares couldn't be readed by Phobos (I don't know why I was thinking that) but I just renamed the 19000 to 24 of this new action and put some breakpoints and efectively the code was executed. Since the original RA2/YR action 24 only does a "pTeam->StepCompleted = true;" all is fine -_-'

Updated with value 24 instead of 19000.

FS-21 avatar Oct 09 '25 10:10 FS-21

Nothing to be ashamed of friend, we all do those silly mistakes sometimes.

Metadorius avatar Oct 09 '25 10:10 Metadorius

I don't mind renaming this but I only use the naming commonly used in FinalSun, FinalAlert2, WAE and all knowledge pages like ModEnc.

FS-21 avatar Oct 30 '25 10:10 FS-21

I don't mind renaming this but I only use the naming commonly used in FinalSun, FinalAlert2, WAE and all knowledge pages like ModEnc.

I see. No problem then.

TaranDahl avatar Oct 30 '25 11:10 TaranDahl