1// Mapster32 tile grouping configuration file
2// Press T on the tile selection screen to access the tileset selection menu
3
4#include "names.h"
5
6// NOTE: See the end of the tile group declarations [OLD_COLOR_SCHEME] for how
7// one can create a color scheme similar to earlier Mapster32 builds
8// (non-blocking sprites have an orange tint, blocking ones are purple).
9
10tilegroup "Actors"
11{
12	hotkey "A"
13
14    colors 31 31
15
16	tiles
17	{
18		LIZTROOP LIZTROOPRUNNING LIZTROOPSTAYPUT LIZTROOPSHOOT LIZTROOPJETPACK
19		LIZTROOPONTOILET LIZTROOPJUSTSIT LIZTROOPDUCKING
20		PIGCOP PIGCOPSTAYPUT PIGCOPDIVE
21		LIZMAN LIZMANSTAYPUT LIZMANSPITTING LIZMANFEEDING LIZMANJUMP
22		COMMANDER COMMANDERSTAYPUT
23		OCTABRAIN OCTABRAINSTAYPUT
24		ORGANTIC
25	DRONE
26		NEWBEAST NEWBEASTSTAYPUT NEWBEASTHANG NEWBEASTJUMP
27		EGG GREENSLIME ROTATEGUN RECON TANK BOUNCEMINE
28		FLOORFLAME
29		// FEMS
30		FEM1 FEM2 FEM3 FEM4 FEM5 FEM6 FEM7 FEM8 FEM9 FEM10 NAKED1
31		// Lil' critters
32		SHARK
33		// BIG critters
34		BOSS1 BOSS1STAYPUT BOSS1SHOOT BOSS1LOB
35		BOSS2
36		BOSS3
37		BOSS4 BOSS4STAYPUT
38	}
39}
40
41tilegroup "Doors"
42{
43	hotkey "D"
44
45	tiles
46	{
47		DOORTILE1 DOORTILE2 DOORTILE3 DOORTILE4 DOORTILE5
48		DOORTILE6 DOORTILE7 DOORTILE8 DOORTILE9 DOORTILE10
49		312 313 314 345
50		DOORTILE22 DOORTILE18 DOORTILE19 DOORTILE20
51		450 455 457 458 459 469 470 477
52		DOORTILE14
53		719 735 771
54		DOORTILE16
55		843 858 883
56		DOORTILE15 DOORTILE21
57		1173
58		DOORTILE11 DOORTILE12
59		353 355
60		// Related items
61		DOORSHOCK ACCESSCARD
62	}
63}
64
65tilegroup "Effectors"
66{
67	hotkey "E"
68
69	colors 15 15
70
71	tilerange 1 10
72}
73
74tilegroup "Items"
75{
76	hotkey "I"
77
78	colors 24 24
79
80	tiles
81	{
82		// Ammo
83		AMMO SHOTGUNAMMO BATTERYAMMO RPGAMMO HEAVYHBOMB FREEZEAMMO GROWAMMO CRYSTALAMMO
84		DEVISTATORAMMO HBOMBAMMO
85
86		// Items (healthetc)
87		COLA SIXPAK FIRSTAID SHIELD STEROIDS AIRTANK JETPACK HEATSENSOR ACCESSCARD
88		BOOTS ATOMICHEALTH HOLODUKE
89
90		// Weapons
91		FIRSTGUNSPRITE CHAINGUNSPRITE RPGSPRITE FREEZESPRITE SHRINKERSPRITE
92		TRIPBOMBSPRITE SHOTGUNSPRITE DEVISTATORSPRITE
93	}
94}
95
96tilegroup "Letters and numbers"
97{
98	hotkey "L"
99
100	tilerange 2822 2915
101	tilerange 2929 3022
102	tilerange 3072 3135
103	tilerange 3162 3165
104	tilerange 640 649
105	tilerange 2472 2481
106}
107
108tilegroup "Player"
109{
110	hotkey "P"
111
112	// Colors are the colors for Blocking OFF and Blocking ON.
113	colors 2 2
114
115	tile APLAYER
116}
117
118tilegroup "Respawn triggers"
119{
120	hotkey "R"
121
122	tiles
123	{
124		CANWITHSOMETHING CANWITHSOMETHING2 CANWITHSOMETHING3 CANWITHSOMETHING4
125		// FEMS
126		FEM1 FEM2 FEM3 FEM4 FEM5 FEM6 FEM7 FEM8 FEM9 FEM10 NAKED1
127	}
128}
129
130tilegroup "Switches"
131{
132	hotkey "S"
133
134	tiles
135	{
136		ACCESSSWITCH ACCESSSWITCH2 ACCESSCARD SLOTDOOR  LIGHTSWITCH  SPACEDOORSWITCH  SPACELIGHTSWITCH
137		FRANKENSTINESWITCH  MULTISWITCH
138		DIPSWITCH  DIPSWITCH2  DIPSWITCH3  TECHSWITCH
139		LIGHTSWITCH2  713 // LIGHTSWITCH2+1
140		POWERSWITCH1  LOCKSWITCH1  POWERSWITCH2  HANDSWITCH  PULLSWITCH
141		ALIENSWITCH  HANDPRINTSWITCH  NUKEBUTTON
142		TARGET
143		4083  4954 // Busted switches (Atomic)
144	}
145}
146
147tilegroup "Exploding stuff"
148{
149	hotkey "X"
150
151	tiles
152	{
153		CRACK1 CRACK2 CRACK3 CRACK4
154		FIREEXT SEENINE OOZFILTER
155		EXPLODINGBARREL EXPLODINGBARREL2 FIREBARREL GUNPOWDERBARREL
156		REACTOR2SPARK BOLT1 SIDEBOLT1
157		CEILINGSTEAM
158		FIREVASE 2066 BURNING FIRE BURNING2 FIRE2
159	}
160}
161
162/*
163// Uncomment this group to get the [OLD_COLOR_SCHEME].
164tilegroup "All"
165{
166    tilerange 0 30704  // MAXUSERTILES
167
168    // NOTE: no hotkey, this group will not show up in the 'T' menu.
169
170    // NOTE: colors specified here (as well as in the first argument to the DEF
171    // commands '2dcol' and '2dcolidxrange') refer to Mapster32's editorcolor[]
172    // index. They can be viewed with "do set showpal 1" assuming that a.m32
173    // has been loaded.
174    //
175    // The actual color indices will be offset in the range [0 .. 4] when the
176    // mouse hovers near them.
177    //
178    // For example, under the Duke3D palette, one can create a color scheme
179    // similar to earlier Mapster32 builds (non-blocking sprites have an orange
180    // tint, blocking ones are purple) by first putting in your m32_autoexec.cfg
181    // file the lines
182    //
183    //  // do gamevar i 0 1  // only if a.m32 is not loaded
184    //  script_expertmode 1
185    //  do for i range 256 ifge i 33 { set editorcolors[i] i }
186    //  script_expertmode 0
187    //
188    // which maps editorcolor[] indices 33 through 255 to the same actual color
189    // indices, and then setting here one of the alternatives:
190    colors 139 231  // reddish orange / purple
191//    colors 208 64  // brighter orange / sky blue
192    // This sets tile colors for all sprites excluding those which have been
193    // assigned a color by the above tile group declarations.
194}
195*/
196
197// Alphabet configuration for text entry tool in 3D mode
198// (press Ctrl-T on a wall-aligned letter)
199// 32 alphabets max.
200
201alphabet  // blue font
202{
203	maprange 33 126 STARTALPHANUM
204
205	offseta "^" 0 2
206	offseta "qQ;" 0 -1
207}
208
209alphabet
210{
211	maprange 33 126 MINIFONT
212	maprangea "a" "z" 3104
213
214//	offset "\\" 0 3 doesn't work
215	offset 92 0 3
216	offseta "qQ" 0 -1
217	offseta ":" 0 1
218	offseta "'\"" 0 3
219}
220
221alphabet  // red font
222{
223	maprangea "0" "9" 2930
224	maprangea "A" "Z" BIGALPHANUM
225	maprangea "a" "z" BIGALPHANUM
226	mapa "-" 2929
227	mapa ".,!?;:/%" 3002
228	mapa "'" 3022
229}
230
231alphabet  // silver font
232{
233	maprangea "0" "9" 2992
234	maprangea "A" "Z" 2966
235	maprangea "a" "z" 2966
236}
237
238alphabet  // yellow numbers 3x5
239{
240	maprangea "0" "9" THREEBYFIVE
241	mapa ":/" 3020
242	offseta ":" 0 1
243}
244
245alphabet  // silver numbers
246{
247	maprangea "1" "9" W_NUMBERS
248	mapa "0" 649
249}
250
251alphabet
252{
253	maprangea "0" "9" DIGITALNUM
254}
255