Page 1 of 1
Pass lint check, but map "not compatible"
Posted: Tue Jan 10, 2017 2:34 pm
by OMnom
I uploaded
http://resource.openra.net/maps/18172/, which passes the lint check, but it doesn't work in the lobby.
Is there an easy way to debug the map without having to go through it line by line?
Posted: Tue Jan 10, 2017 2:36 pm
by Sleipnir
The error that makes the map incompatible is written to debug.log in the logs directory.
Posted: Tue Jan 10, 2017 2:53 pm
by OMnom
Sweeet. Thanks!
Posted: Tue Jan 10, 2017 4:26 pm
by Frame_Limiter
Looking at your .yaml it appears you forgot "HP:" after Health for the gap generator.
It should be:
GAP:
+Health:
++HP: 350
^Keep in mind the gap uses wood armor by default so your value of 350 makes it similar to a power plant.
For the Chrono tank:
You need to adjust the valid targets of both the warhead & the weapon itself otherwise it won't target air units.
APTUSK:
+ValidTargets: Ground, Water, Air
+Warhead@1Dam: SpreadDamage
++ValidTargets: Ground, Water, Air
If you wanted crates unchecked by default you need:
World:
+CrateSpawner:
++Enabled: False
(the annotation in the yaml file says it's present)