6 -----------------------------------
7 MAPDEF.PAS ВЕРСИЯ ОТ 22.03.09
9 Поддержка карт версии 1
10 -----------------------------------
30 PANEL_CLOSEDOOR
= 1024;
31 PANEL_BLOCKMON
= 2048;
32 PANEL_LIFTLEFT
= 4096;
33 PANEL_LIFTRIGHT
= 8192;
35 PANEL_FLAG_BLENDING
= 1;
37 PANEL_FLAG_WATERTEXTURES
= 4;
45 ITEM_MEDKIT_SMALL
= 1;
46 ITEM_MEDKIT_LARGE
= 2;
47 ITEM_MEDKIT_BLACK
= 3;
51 ITEM_SPHERE_WHITE
= 7;
56 ITEM_WEAPON_SHOTGUN1
= 12;
57 ITEM_WEAPON_SHOTGUN2
= 13;
58 ITEM_WEAPON_CHAINGUN
= 14;
59 ITEM_WEAPON_ROCKETLAUNCHER
= 15;
60 ITEM_WEAPON_PLASMA
= 16;
62 ITEM_WEAPON_SUPERPULEMET
= 18;
63 ITEM_AMMO_BULLETS
= 19;
64 ITEM_AMMO_BULLETS_BOX
= 20;
65 ITEM_AMMO_SHELLS
= 21;
66 ITEM_AMMO_SHELLS_BOX
= 22;
67 ITEM_AMMO_ROCKET
= 23;
68 ITEM_AMMO_ROCKET_BOX
= 24;
70 ITEM_AMMO_CELL_BIG
= 26;
71 ITEM_AMMO_BACKPACK
= 27;
75 ITEM_WEAPON_KASTET
= 31;
76 ITEM_WEAPON_PISTOL
= 32;
82 ITEM_MAX
= 36; // store the last item's id in here
83 // use this in for loops
85 ITEM_OPTION_ONLYDM
= 1;
89 AREA_PLAYERPOINT1
= 1;
90 AREA_PLAYERPOINT2
= 2;
95 AREA_REDTEAMPOINT
= 7;
96 AREA_BLUETEAMPOINT
= 8;
122 TRIGGER_TELEPORT
= 2;
123 TRIGGER_OPENDOOR
= 3;
124 TRIGGER_CLOSEDOOR
= 4;
127 TRIGGER_CLOSETRAP
= 7;
132 TRIGGER_LIFTDOWN
= 12;
134 TRIGGER_TEXTURE
= 14;
139 TRIGGER_SPAWNMONSTER
= 19;
140 TRIGGER_SPAWNITEM
= 20;
144 TRIGGER_MESSAGE
= 24;
151 TRIGGER_SHOT_PISTOL
= 0;
152 TRIGGER_SHOT_BULLET
= 1;
153 TRIGGER_SHOT_SHOTGUN
= 2;
154 TRIGGER_SHOT_SSG
= 3;
155 TRIGGER_SHOT_IMP
= 4;
156 TRIGGER_SHOT_PLASMA
= 5;
157 TRIGGER_SHOT_SPIDER
= 6;
158 TRIGGER_SHOT_CACO
= 7;
159 TRIGGER_SHOT_BARON
= 8;
160 TRIGGER_SHOT_MANCUB
= 9;
161 TRIGGER_SHOT_REV
= 10;
162 TRIGGER_SHOT_ROCKET
= 11;
163 TRIGGER_SHOT_BFG
= 12;
164 TRIGGER_SHOT_EXPL
= 13;
165 TRIGGER_SHOT_BFGEXPL
= 14;
166 TRIGGER_SHOT_MAX
= 14;
168 TRIGGER_SHOT_TARGET_NONE
= 0;
169 TRIGGER_SHOT_TARGET_MON
= 1;
170 TRIGGER_SHOT_TARGET_PLR
= 2;
171 TRIGGER_SHOT_TARGET_RED
= 3;
172 TRIGGER_SHOT_TARGET_BLUE
= 4;
173 TRIGGER_SHOT_TARGET_MONPLR
= 5;
174 TRIGGER_SHOT_TARGET_PLRMON
= 6;
176 TRIGGER_EFFECT_PARTICLE
= 0;
177 TRIGGER_EFFECT_ANIMATION
= 1;
179 TRIGGER_EFFECT_SLIQUID
= 0;
180 TRIGGER_EFFECT_LLIQUID
= 1;
181 TRIGGER_EFFECT_DLIQUID
= 2;
182 TRIGGER_EFFECT_BLOOD
= 3;
183 TRIGGER_EFFECT_SPARK
= 4;
184 TRIGGER_EFFECT_BUBBLE
= 5;
185 TRIGGER_EFFECT_MAX
= 5;
187 TRIGGER_EFFECT_POS_CENTER
= 0;
188 TRIGGER_EFFECT_POS_AREA
= 1;
190 ACTIVATE_PLAYERCOLLIDE
= 1;
191 ACTIVATE_MONSTERCOLLIDE
= 2;
192 ACTIVATE_PLAYERPRESS
= 4;
193 ACTIVATE_MONSTERPRESS
= 8;
195 ACTIVATE_NOMONSTER
= 32;
196 ACTIVATE_CUSTOM
= 255;
204 TEXTURE_NAME_WATER
= '_water_0';
205 TEXTURE_NAME_ACID1
= '_water_1';
206 TEXTURE_NAME_ACID2
= '_water_2';
208 TEXTURE_SPECIAL_WATER
= DWORD(-1);
209 TEXTURE_SPECIAL_ACID1
= DWORD(-2);
210 TEXTURE_SPECIAL_ACID2
= DWORD(-3);
211 TEXTURE_NONE
= DWORD(-4);
214 TPoint
= packed record
218 TTriggerData
= record
220 0: (Default
: Byte128
);
221 TRIGGER_EXIT
: (MapName
: Char16
);
222 TRIGGER_TELEPORT
: (TargetPoint
: TPoint
;
223 d2d_teleport
: Boolean;
224 silent_teleport
: Boolean;
234 TRIGGER_LIFT
: (PanelID
: Integer;
240 TRIGGER_ONOFF
: (tX
, tY
: Integer;
241 tWidth
, tHeight
: Word;
247 TRIGGER_TEXTURE
: (ActivateOnce
: Boolean;
249 TRIGGER_SOUND
: (SoundName
: Char64
;
254 SoundSwitch
: Boolean);
255 TRIGGER_SPAWNMONSTER
: (MonPos
: TPoint
;
265 TRIGGER_SPAWNITEM
: (ItemPos
: TPoint
;
273 TRIGGER_MUSIC
: (MusicName
: Char64
;
275 TRIGGER_PUSH
: (PushAngle
: Word;
278 TRIGGER_SCORE
: (ScoreAction
: Byte;
283 TRIGGER_MESSAGE
: (MessageKind
: Byte;
285 MessageText
: Char100
;
287 TRIGGER_DAMAGE
: (DamageValue
: Word;
288 DamageInterval
: Word);
289 TRIGGER_HEALTH
: (HealValue
: Word;
292 HealSilent
: Boolean);
293 TRIGGER_SHOT
: (ShotPos
: TPoint
;
298 ShotPanelID
: Integer;
304 ShotIntReload
: Word);
305 TRIGGER_EFFECT
: (FXCount
: Byte;