OpenRA / OpenRA/OpenRA

HackAI SupportPowers don't have a Z axis check

Open
#13,140 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

AI Bug
Dominant language
C#
Stars
17.4k
Forks
3k
Avg merge
1d 12h
Merged PRs (30d)
14

Description

It's been puzzling me for the longest time wondering why the yaml code that runs perfectly fine in RA1 and TD kills over in TS and I'm thinking it might have to do with the fact the AI doesn't have a check for height when scanning for possible targets. I thought it was rather strange because this shouldn't affect a flat map but for some reason it does. I'm unsure why this is since you'd think a flat map wouldn't have any issues since it doesn't have a Z axis but something is going on that is causing yaml targeting code for support powers to not work the same way.

I'm still hunting for other possible causes but this seems the most likely at the moment.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the YAML support-power targeting difference between RA1/TD and TS on a flat map. Trace how the AI scans possible targets and handles height, then verify that TS behaves consistently with the other games and that flat-map targeting works.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.