Page 1 of 1

5 vrs 5 - AI-Bot units clogging question

Posted: Tue Oct 05, 2021 11:48 am
by Ronald
.

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

Posted: Tue Oct 05, 2021 7:25 pm
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...

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

Posted: Wed Oct 06, 2021 9:45 am
by Ronald
.

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

Posted: Wed Oct 06, 2021 6:13 pm
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 14060 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 14060 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).

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

Posted: Wed Oct 06, 2021 9:03 pm
by Ronald
.

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

Posted: Thu Oct 07, 2021 3:37 pm
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.