Skip to content

Fix ordos-04 to use internal bot names#21708

Merged
PunkPun merged 1 commit into
OpenRA:bleedfrom
JovialFeline:ordos-04-name-mismatch
Jan 16, 2025
Merged

Fix ordos-04 to use internal bot names#21708
PunkPun merged 1 commit into
OpenRA:bleedfrom
JovialFeline:ordos-04-name-mismatch

Conversation

@JovialFeline

@JovialFeline JovialFeline commented Jan 16, 2025

Copy link
Copy Markdown
Contributor

Fixes #21706

The script on bleed/playtest expects certain names from bot players but those are different ("Smugglers" -> "Campaign Player AI 2") since bot names were exposed to localization. This PR changes the script to use the internal names.

There is something similar happening with the tooltip for the modified Outpost here and in harkonnen-05. I'm less certain how that should be handled.

d2k-2025-01-15T232224028Z
d2k-2025-01-15T231805945Z

The shellmap script makes use of localized bot names, but not in a way that seems to cause problems.

@PunkPun PunkPun 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.

This fix works, but ideally, we should change these datastructures to not use faction names as table keys, instead have a table per faction

@PunkPun
PunkPun merged commit 94f2ce4 into OpenRA:bleed Jan 16, 2025
@PunkPun

PunkPun commented Jan 16, 2025

Copy link
Copy Markdown
Member

changelog

@PunkPun

PunkPun commented Jan 16, 2025

Copy link
Copy Markdown
Member

a4641be

@PunkPun PunkPun added this to the Next Release milestone Jan 16, 2025
@MustaphaTR

Copy link
Copy Markdown
Member

instead have a table per faction

I don't think that would work as a good chunk of the later missions has multiple AI players per faction.

@JovialFeline
JovialFeline deleted the ordos-04-name-mismatch branch March 21, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

D2k - Ordos 4 gives lua error at the start of the game.

3 participants