DrawnMapFormat.wiki
changeset 2120 2e561c57e750
parent 2119 d0b95475744d
child 2121 c79a36615390
equal deleted inserted replaced
2119:d0b95475744d 2120:2e561c57e750
    46 ----
    46 ----
    47 
    47 
    48 == Appendix: Usage of special points in scripts ==
    48 == Appendix: Usage of special points in scripts ==
    49 This section explains how the special points are used in various official scripts.
    49 This section explains how the special points are used in various official scripts.
    50 
    50 
    51 === !HedgeEditor ===
       
    52 !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.
       
    53 
       
    54 === Racer ===
    51 === Racer ===
    55 The special points are used to store coordinates of waypoints. This is utilized by the Official Racer Challenge on the official server.
    52 The special points are used to store coordinates of waypoints. This is utilized by the Official Racer Challenge on the official server.
    56 
    53 
    57 If `flags` is set to exactly 99, it's a coordinate for the “best racer ghost” or smoke trace. This is also used for Official Racer Challenge.
    54 If `flags` is set to exactly 99, it's a coordinate for the “best racer ghost” or smoke trace. This is also used for Official Racer Challenge.
    58 
    55 
    59 === !TechRacer ===
    56 === !TechRacer ===
    60 
    57 
    61 Depending on the value of `flags`, a special point means …
    58 !TechRacer is similar to Racer, but has more features. Depending on the `flags` value, different things happen when a special point is read:
    62 
    59 
    63  * `flags == 0`: Waypoint
    60 || *Value* || *Action* ||
    64  * `flags == 99`: A position of the best racer ghost (like in Racer)
    61 || 0 || Place waypoint ||
    65  * Otherwise: Place a gear or girder (see script source code for reference)
    62 || 98 || Read portal distance from X coordinate and flying saucer fuel from Y coordinate ||
       
    63 || 99 || A coordinate for the smoke trace of the best racer. Used in Official Racer Challenge ||
       
    64 
       
    65 Additionally, with one of these values, a gear is spawned:
       
    66 
       
    67 || *Value* || *Object* ||
       
    68 || 1 || Mine (0s) ||
       
    69 || 2 || Mine (1s) ||
       
    70 || 3 || Mine (2s) ||
       
    71 || 4 || Mine (3s) ||
       
    72 || 5 || Mine (4s) ||
       
    73 || 6 || Mine (5s) ||
       
    74 || 7 || Sticky mine ||
       
    75 || 8 || Air mine ||
       
    76 || 9 || Health crate (25 HP) ||
       
    77 || 10 || Health crate (50 HP) ||
       
    78 || 11 || Health crate (75 HP) ||
       
    79 || 12 || Health crate (100 HP) ||
       
    80 || 13 || Cleaver ||
       
    81 || 14 || Target ||
       
    82 || 15 || Barrel (1 HP) ||
       
    83 || 16 || Barrel (25 HP) ||
       
    84 || 17 || Barrel (50 HP) ||
       
    85 || 18 || Barrel (75 HP) ||
       
    86 || 19 || Barrel (100 HP) ||
       
    87 || 20-82 || Weapon/utility crate (different number give different ammo type) ||
       
    88 || 100-107 || Girder ||
       
    89 || 108-115 || Indestructible girder ||
       
    90 || 116-123 || Icy girder ||
       
    91 || 124-127 || Rubber ||
       
    92 
       
    93 === !HedgeEditor ===
       
    94 !HedgeEditor uses special points to spawn gears and other things. It supports the same `flags` values as in !TechRacer, except 99.