LoL Flags

From Wikiid
Revision as of 21:40, 23 October 2007 by SteveBaker (Talk | contribs) (New page: '''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 lev...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 :
List of Levels, Level design, Screen shots, Models
Lemur of Lima - Java Plugins :
Java plugin API, Event handling, Flags, GameInterface API , Alphabetical Index
Lemur of Lima - Source Code Documentation :
Initialisation, Main Loop, gameTools


Wikiid Pages relating to gameTools (edit)
gameTools - Main page
gameTools - Support Tools :
plb_to_ac3d, mklevel, mktile, mktree, tiled, autogen_java, mk3dgallery
gameTools - File Formats :
title_screen.rgb, ultimate.xml, material.xml, decoration.xml, physics.xml
tiled.xml, tiled_autotiles.xml, Level files, Tile naming scheme, PLB files
gameTools - Source Code :
Game functions: gameCamera, gameClock, gameChecksum/gameHashTable, gameHTTP,
gameIsect, gameJoystick, gameParticleManager, gameScreen/gameMouse,
gameSky, gameStarter, gameStrokeFont, gameUtils
Material database: MatList/MatEntry
Tile map handling: TileObject/MapFlag/MapEntry/Map
Java Interfacing: JavaLink
Image file loading: liImage/liImageFactory
3D Model file loading: loadPLB, PLB exporter
Physics: Sabot, Bullet, gameTools - Use with Blender, PLB exporter
Object management: Object