5 vrs 5 - AI-Bot units clogging question

topic deleted

Discussion about the game and its default mods.
Post Reply
Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

5 vrs 5 - AI-Bot units clogging question

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 8:08 pm, edited 2 times in total.

abcdefg30
Posts: 639
Joined: Mon Aug 18, 2014 6:00 pm

Re: 5 vrs 5 - AI-Bot units clogging question

Post by abcdefg30 »

Some actors on that map are owned by the "Creeps" player. Which means the AI might consider actors it cannot attack as enemies...

Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

Re: 5 vrs 5 - AI-Bot units clogging question

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 7:47 pm, edited 1 time in total.

User avatar
Orb
Posts: 120
Joined: Fri Mar 03, 2017 9:05 pm

Re: 5 vrs 5 - AI-Bot units clogging question

Post by Orb »

Next questions:
1. How can anyone come to this conclusion themselves?
- Does one first need to learn how to decompile and reverse engineer all embedded lua / yaml scripts which come with a certain map ?
- It is possible to strip all custom LUA-scripting, turn this into a regular map, to see if this phenomena continues to happen ?
2021-10-06 14_08_15-OpenRA Resource Center - Map details - Haunted Cliffs - HC — Mozilla Firefox.png
2021-10-06 14_08_15-OpenRA Resource Center - Map details - Haunted Cliffs - HC — Mozilla Firefox.png (2.44 KiB) Viewed 10238 times
2021-10-06 14_08_21-OpenRA Resource Center - Map details - Haunted Cliffs - HC — Mozilla Firefox.png
2021-10-06 14_08_21-OpenRA Resource Center - Map details - Haunted Cliffs - HC — Mozilla Firefox.png (64.96 KiB) Viewed 10238 times
It failed the lint check, which you can see when it's uploaded to the resource center.

To fix, you have to go into the map editor, find the specific creeps (can be a telephone pole or a tree for example), and change what "player" they belong to (creeps are considered enemies, so they need to be changed to the "neutral" faction). Alternatively, you can go into the map.yaml file and manually edit it.

If you want to strip the custom code, just delete every file in the map folder that isn't map.yaml, map.png, and map.bin. Then go into the map.yaml file, scroll to the end, and delete anything that loads those files (such as Weapons: weapons.yaml).

Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

Re: 5 vrs 5 - AI-Bot units clogging question

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 7:47 pm, edited 1 time in total.

User avatar
Orb
Posts: 120
Joined: Fri Mar 03, 2017 9:05 pm

Re: 5 vrs 5 - AI-Bot units clogging question

Post by Orb »

1.
Uh yeah. I mean some Lint errors are harmless, but it doesn't hurt to avoid them. I think next release you won't be able to play maps that fail the lint check anyway.

2. The actors section is where you want to be. c10 is a type of actor in the game (I think it's some kind of house). Otherwise, you want to change the Owner: Creeps to Owner: Neutral

3. There's a map.lua. The Lua file is referenced at the bottom of the map.yaml file (after all the actors).

4. Replacing Owner: Creeps to Owner: Neutral should work.

Post Reply