]> Dogcows Code - chaz/carfire/blob - CarFire/CarFire/CarFire/Content/Maps/sandbox.cfmap
Entity loading implemented.
[chaz/carfire] / CarFire / CarFire / CarFire / Content / Maps / sandbox.cfmap
1 ; Comments can be made with a semicolon as the first character of a line.
2 ; Blank lines are also ignored.
3 ; This is my sandbox level I will use to test against while building the
4 ; level-loading code.
5
6 [metadata]
7 author = Chaz McGarvey
8 levelname = Sandbox
9 type = campaign
10 dimensions = [80,21]
11 tileset = FuturisticBuilding
12 numplayers = <1,4>
13
14 [A]
15 type = SaberMonster
16 path = [1,1] [5,6] wait(5) [45,2]
17 loop = true
18 create = [5,7] [2,3]
19 [B]
20 condition = has(key)
21 event = wait(2) remove([2,6]) remove([2,7])
22
23 ; Function ideas:
24 ; has(entity) Player has given entity in his inventory.
25 ; wait(seconds) Pause for some number of seconds.
26 ; remove(entity) Remove entities of a certain type from the game.
27 ; remove(coord) Remove whatever is at the given coordinates.
28 ; create(entity, coord) Create an entity at some location.
29 ; play(soundname) Play a sound.
30
31 [maptable]
32 +------------------------------------------------------------------------------+
33 | |
34 | 1 |
35 | B |
36 | 2 +---- |
37 | | |
38 | 3 | A |
39 | | |
40 | 4 | |
41 | | |
42 +-------------+----+ |
43 | | |
44 | | |
45 | | |
46 | | |
47 | +-------+ |
48 | |
49 | |
50 | |
51 | |
52 +------------------------------------------------------------------------------+
53
54 ; Character representations:
55 ; [-+|] Place wall segments.
56 ; [1-4] Identify the player starting positions.
57 ; [A-Za-z] Place a defined game entity.
58
59 ; vi:ft=dosini
This page took 0.034306 seconds and 4 git commands to generate.