DrawnMapFormat.wiki
changeset 2120 2e561c57e750
parent 2119 d0b95475744d
child 2121 c79a36615390
--- a/DrawnMapFormat.wiki	Thu Dec 05 17:40:02 2019 +0000
+++ b/DrawnMapFormat.wiki	Thu Dec 05 17:56:45 2019 +0000
@@ -48,9 +48,6 @@
 == Appendix: Usage of special points in scripts ==
 This section explains how the special points are used in various official scripts.
 
-=== !HedgeEditor ===
-!HedgeEditor uses special points to spawn various gears and other things such as mines, crates or waypoints. Consult the script file to find out how they work.
-
 === Racer ===
 The special points are used to store coordinates of waypoints. This is utilized by the Official Racer Challenge on the official server.
 
@@ -58,8 +55,40 @@
 
 === !TechRacer ===
 
-Depending on the value of `flags`, a special point means …
+!TechRacer is similar to Racer, but has more features. Depending on the `flags` value, different things happen when a special point is read:
+
+|| *Value* || *Action* ||
+|| 0 || Place waypoint ||
+|| 98 || Read portal distance from X coordinate and flying saucer fuel from Y coordinate ||
+|| 99 || A coordinate for the smoke trace of the best racer. Used in Official Racer Challenge ||
+
+Additionally, with one of these values, a gear is spawned:
 
- * `flags == 0`: Waypoint
- * `flags == 99`: A position of the best racer ghost (like in Racer)
- * Otherwise: Place a gear or girder (see script source code for reference)
+|| *Value* || *Object* ||
+|| 1 || Mine (0s) ||
+|| 2 || Mine (1s) ||
+|| 3 || Mine (2s) ||
+|| 4 || Mine (3s) ||
+|| 5 || Mine (4s) ||
+|| 6 || Mine (5s) ||
+|| 7 || Sticky mine ||
+|| 8 || Air mine ||
+|| 9 || Health crate (25 HP) ||
+|| 10 || Health crate (50 HP) ||
+|| 11 || Health crate (75 HP) ||
+|| 12 || Health crate (100 HP) ||
+|| 13 || Cleaver ||
+|| 14 || Target ||
+|| 15 || Barrel (1 HP) ||
+|| 16 || Barrel (25 HP) ||
+|| 17 || Barrel (50 HP) ||
+|| 18 || Barrel (75 HP) ||
+|| 19 || Barrel (100 HP) ||
+|| 20-82 || Weapon/utility crate (different number give different ammo type) ||
+|| 100-107 || Girder ||
+|| 108-115 || Indestructible girder ||
+|| 116-123 || Icy girder ||
+|| 124-127 || Rubber ||
+
+=== !HedgeEditor ===
+!HedgeEditor uses special points to spawn gears and other things. It supports the same `flags` values as in !TechRacer, except 99.
\ No newline at end of file