Skip to content

Commit 47abd10

Browse files
authored
Merge pull request #31 from Flux3on/patch-1
Added documentation for keys used before 1.9
2 parents f55547c + 97345ca commit 47abd10

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docs/resources/client/level-components/inner-level-string.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,31 @@ The following keys were valid prior to 2.0 and are deprecated, since they are in
4949
| kS36 | Color 4 | 4 |
5050
| kS37 | 3DL Color | 1003 |
5151

52+
***Pre-1.9 Keys***
53+
54+
The following keys were valid prior to 1.9 and were deprecated as of 1.9, since they were included in the keys `kS29`-`kS33`. Each color, instead of using one key, used 3 keys to represent Red, Green, and Blue values, respectively. In 1.7 and 1.8, the game used a fourth key to determine if a color channel used a player color, and which player color it would use.
55+
56+
| Key(s) | Name | Key in 1.9 |
57+
|:----------|:--------------------|:-----------|
58+
| kS1-kS3 | BG Color | kS29 |
59+
| kS4-kS6 | Ground Color | kS30 |
60+
| kS7-kS9 | Line Color | kS31 |
61+
| kS10-kS12 | Object Color | kS32 |
62+
| kS13-kS15 | Obj-2 Color | kS33 |
63+
| kS16 | BG Player Color | kS29 |
64+
| kS17 | Ground Player Color | kS30 |
65+
| kS18 | Line Player Color | kS31 |
66+
| kS19 | Object Player Color | kS32 |
67+
| kS20 | Obj-2 Player Color | kS33 |
68+
69+
Keys `kS16`-`kS20` used to determine the player color that was being used and their values were interpreted according to the following table:
70+
71+
| Value | Color |
72+
|:------|:---------------|
73+
| 0 | Neither |
74+
| 1 | Player Color 1 |
75+
| 2 | Player Color 2 |
76+
5277
### Start Pos Object
5378
The Start Pos object has the same special properties the level start object has, with a few not working. `kA9` must be set to `1` in the case that the object is indeed a Start Pos.
5479

0 commit comments

Comments
 (0)