Flags are defined in the XML level files and can be positioned using tiled (where they appear as little triangular flags) or by hand-editing the level file. You can attach Java plugins to them and reference them within other plugins using the getObjectHandle/getX/getY/getZ/getH methods.
Each flag has a colour (Red, Green, Blue, Cyan, Magenta, Yellow, Black, White, Orange or Grey), a name (which must be unique or may be left blank) and a position. So far, we have not used specific flag colours for specific things - however, the following flag names are significant:
- MokeStart, SeaplaneStart, JeepStart
- Set the position and initial heading of the corresponding vehicle models. If these flags are not present, the vehicle's Java plugin will position it a million miles away - effectively removing it from the game.
- JeepTrack0, JeepTrack1...JeepTrackN
- If the JeepTrack0 flag exists, the Jeep's Java plugin will cause the Jeep to drive around a 'racetrack' defined by these flags. It starts at the JeepStart flag - then drives around each flag in turn, slowing down as it approaches each flag and speeding up inbetween. When it reaches a flag, it looks for one with a one-higher number - if that flag doesn't exist then it'll steer back towards JeepTrack0 and start over when it gets there.
|Wikiid Pages relating to Lemur of Lima (edit)|
|Lemur of Lima - Main page|
|Lemur of Lima - Controls|
|Lemur of Lima - Levels :|
|Lemur of Lima - Java Plugins :|
|Lemur of Lima - Source Code Documentation :|
|Wikiid Pages relating to gameTools (edit)|
|gameTools - Main page|
|gameTools - Support Tools :|
|gameTools - File Formats :|
| gameTools - Source Code :