Mercurial > rinkhals
annotate docs/Level_structure @ 419:d110d55c8449
Move hatching logic into chickens.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sat, 21 Nov 2009 15:22:41 +0000 |
parents | 02a6de5629d6 |
children |
rev | line source |
---|---|
387
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
1 Levels are stored as two files. |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
2 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
3 The level.tga file provides the tilemap for the starting layout. We use |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
4 two layers of pgu's tilemap - the tile layer, for the objects of interest, |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
5 and the code layer, which indicates the starting chicken positions. |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
6 |
408
02a6de5629d6
Levels can include starting equipment
Neil Muller <drnlmuller@gmail.com>
parents:
387
diff
changeset
|
7 Different codes mean chickens ahve different levels of equipment. |
02a6de5629d6
Levels can include starting equipment
Neil Muller <drnlmuller@gmail.com>
parents:
387
diff
changeset
|
8 |
02a6de5629d6
Levels can include starting equipment
Neil Muller <drnlmuller@gmail.com>
parents:
387
diff
changeset
|
9 01 - chicken with no equipment |
02a6de5629d6
Levels can include starting equipment
Neil Muller <drnlmuller@gmail.com>
parents:
387
diff
changeset
|
10 02 - chicken with helmet |
02a6de5629d6
Levels can include starting equipment
Neil Muller <drnlmuller@gmail.com>
parents:
387
diff
changeset
|
11 03 - chicken with kevlar |
02a6de5629d6
Levels can include starting equipment
Neil Muller <drnlmuller@gmail.com>
parents:
387
diff
changeset
|
12 04 - chicken with knife |
02a6de5629d6
Levels can include starting equipment
Neil Muller <drnlmuller@gmail.com>
parents:
387
diff
changeset
|
13 05 - chicken with rifle |
02a6de5629d6
Levels can include starting equipment
Neil Muller <drnlmuller@gmail.com>
parents:
387
diff
changeset
|
14 06 - chicken with kevlar & helmet |
02a6de5629d6
Levels can include starting equipment
Neil Muller <drnlmuller@gmail.com>
parents:
387
diff
changeset
|
15 07 - chicken with helmet & knife |
02a6de5629d6
Levels can include starting equipment
Neil Muller <drnlmuller@gmail.com>
parents:
387
diff
changeset
|
16 08 - chicken with kevlar & knife |
02a6de5629d6
Levels can include starting equipment
Neil Muller <drnlmuller@gmail.com>
parents:
387
diff
changeset
|
17 09 - chicken with kevlar, helmet & knife |
02a6de5629d6
Levels can include starting equipment
Neil Muller <drnlmuller@gmail.com>
parents:
387
diff
changeset
|
18 10 - chicken with helmet & rifle |
02a6de5629d6
Levels can include starting equipment
Neil Muller <drnlmuller@gmail.com>
parents:
387
diff
changeset
|
19 11 - chicken with kevlar & rifle |
02a6de5629d6
Levels can include starting equipment
Neil Muller <drnlmuller@gmail.com>
parents:
387
diff
changeset
|
20 12 - chicken with kevlar, helmet & rifle |
02a6de5629d6
Levels can include starting equipment
Neil Muller <drnlmuller@gmail.com>
parents:
387
diff
changeset
|
21 |
387
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
22 The level.conf file allows the default game constants to be customised. |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
23 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
24 Example level.conf: |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
25 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
26 [Level] |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
27 Map: farm.tga |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
28 Goal: Survive |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
29 # -1 for unlimited |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
30 Turn limit: 14 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
31 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
32 [Game values] |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
33 Max Foxes: 10 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
34 Starting Cash: 100 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
35 Sell Price Egg: 10 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
36 Sell Price Chicken: 5 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
37 Sell Price Dead Fox: 5 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
38 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
39 [Fox probabilities] |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
40 Fox: 30 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
41 GreedyFox: 30 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
42 NinjaFox: 30 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
43 DemoFox: 9 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
44 Rinkhals: 1 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
45 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
46 |
a0bd30dee476
Add docs describing level conf file format
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
47 |