| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | ///////////////////////////////////////////////////////////////////// |
| 20 | // D.A.L.L.A.S. Generated Level Script - DLL Source File |
| 21 | // |
| 22 | // Filename: SewerRat.cpp |
| 23 | // Version: 3 |
| 24 | ///////////////////////////////////////////////////////////////////// |
| 25 | #include <stdio.h> |
| 26 | #include <stdlib.h> |
| 27 | #include <string.h> |
| 28 | #include <ctype.h> |
| 29 | #include "osiris_import.h" |
| 30 | #include "osiris_common.h" |
| 31 | #include "DallasFuncs.cpp" |
| 32 | |
| 33 | #include "module.h" |
| 34 | |
| 35 | #ifdef __cplusplus |
| 36 | extern "C" { |
| 37 | #endif |
| 38 | DLLEXPORT char STDCALL InitializeDLL(tOSIRISModuleInit *func_list); |
| 39 | DLLEXPORT void STDCALL ShutdownDLL(void); |
| 40 | DLLEXPORT int STDCALL GetGOScriptID(const char *name, uint8_t is_door); |
| 41 | DLLEXPORT void STDCALLPTR CreateInstance(int id); |
| 42 | DLLEXPORT void STDCALL DestroyInstance(int id, void *ptr); |
| 43 | DLLEXPORT int16_t STDCALL CallInstanceEvent(int id, void *ptr, int event, tOSIRISEventInfo *data); |
| 44 | DLLEXPORT int STDCALL GetTriggerScriptID(int trigger_room, int trigger_face); |
| 45 | DLLEXPORT int STDCALL GetCOScriptList(int **list, int **id_list); |
| 46 | DLLEXPORT int STDCALL SaveRestoreState(void *file_ptr, uint8_t saving_state); |
| 47 | #ifdef __cplusplus |
| 48 | } |
| 49 | #endif |
| 50 | |
| 51 | // ================= |
| 52 | // Script ID Numbers |
| 53 | // ================= |
| 54 | #define ID_LEVEL_0000 0x000 |
| 55 | |
| 56 | // ======================== |
| 57 | // Script Class Definitions |
| 58 | // ======================== |
| 59 | |
| 60 | class BaseScript { |
| 61 | public: |
| 62 | BaseScript(); |
| 63 | ~BaseScript(); |
| 64 | virtual int16_t CallEvent(int event, tOSIRISEventInfo *data); |
| 65 | }; |
| 66 | |
| 67 | class LevelScript_0000 : public BaseScript { |
| 68 | public: |
| 69 | int16_t CallEvent(int event, tOSIRISEventInfo *data); |
| 70 | }; |
| 71 | |
| 72 | // ====================== |
| 73 | // Global Action Counters |
| 74 | // ====================== |
| 75 | |
| 76 | #define MAX_ACTION_CTR_VALUE 100000 |
| 77 | |
| 78 | int ScriptActionCtr_000 = 0; |
| 79 | int ScriptActionCtr_001 = 0; |
| 80 | |
| 81 | // ======================================== |
| 82 | // Function to Clear Global Action Counters |
| 83 | // ======================================== |
| 84 | void ClearGlobalActionCtrs(void) { |
| 85 | ScriptActionCtr_000 = 0; |
| 86 | ScriptActionCtr_001 = 0; |
| 87 | } |
| 88 | |
| 89 | // ======================================== |
| 90 | // Function to Save Global Action Counters |
| 91 | // ======================================== |
| 92 | void SaveGlobalActionCtrs(void *file_ptr) { |
| 93 | File_WriteInt(ScriptActionCtr_000, file_ptr); |
| 94 | File_WriteInt(ScriptActionCtr_001, file_ptr); |
| 95 | } |
| 96 | |
| 97 | // =========================================== |
| 98 | // Function to Restore Global Action Counters |
| 99 | // =========================================== |
| 100 | void RestoreGlobalActionCtrs(void *file_ptr) { |
| 101 | ScriptActionCtr_000 = File_ReadInt(file_ptr); |
| 102 | ScriptActionCtr_001 = File_ReadInt(file_ptr); |
| 103 | } |
| 104 | |
| 105 | // =============================================================== |
| 106 | // Start of Custom Script Block - DO NOT EDIT ANYTHING BEFORE THIS |
| 107 | // =============================================================== |
| 108 | /**{CUSTOM_SCRIPT_BLOCK_START}** DO NOT EDIT! **/ |
| 109 | |
| 110 | // Enter your custom script code here |
| 111 | |
| 112 | /**{CUSTOM_SCRIPT_BLOCK_END}**** DO NOT EDIT! **/ |
| 113 | // ============================================================ |
| 114 | // End of Custom Script Block - DO NOT EDIT ANYTHING AFTER THIS |
| 115 | // ============================================================ |
| 116 | |
| 117 | // ================= |
| 118 | // Message File Data |
| 119 | // ================= |
| 120 | |
| 121 | #define MAX_SCRIPT_MESSAGES 256 |
| 122 | #define MAX_MSG_FILEBUF_LEN 1024 |
| 123 | #define NO_MESSAGE_STRING "*Message Not Found*" |
| 124 | #define INV_MSGNAME_STRING "*Message Name Invalid*" |
| 125 | #define WHITESPACE_CHARS " \t\r\n" |
| 126 | |
| 127 | // Structure for storing a script message |
| 128 | struct tScriptMessage { |
| 129 | char *name; // the name of the message |
| 130 | char *message; // the actual message text |
| 131 | }; |
| 132 | |
| 133 | // Global storage for level script messages |
| 134 | tScriptMessage *message_list[MAX_SCRIPT_MESSAGES]; |
| 135 | int num_messages; |
| 136 | |
| 137 | // ====================== |
| 138 | // Message File Functions |
| 139 | // ====================== |
| 140 | |
| 141 | // Initializes the Message List |
| 142 | void InitMessageList(void) { |
| 143 | for (int j = 0; j < MAX_SCRIPT_MESSAGES; j++) |
| 144 | message_list[j] = NULL; |
| 145 | num_messages = 0; |
| 146 | } |
| 147 | |
| 148 | // Clear the Message List |
| 149 | void ClearMessageList(void) { |
| 150 | for (int j = 0; j < num_messages; j++) { |
| 151 | free(message_list[j]->name); |
| 152 | free(message_list[j]->message); |
| 153 | free(message_list[j]); |
| 154 | message_list[j] = NULL; |
| 155 | } |
| 156 | num_messages = 0; |
| 157 | } |
| 158 | |
| 159 | // Adds a message to the list |
| 160 | int AddMessageToList(char *name, char *msg) { |
| 161 | int pos; |
| 162 | |
| 163 | // Make sure there is room in the list |
| 164 | if (num_messages >= MAX_SCRIPT_MESSAGES) |
| 165 | return false; |
| 166 | |
| 167 | // Allocate memory for this message entry |
| 168 | pos = num_messages; |
| 169 | message_list[pos] = (tScriptMessage *)malloc(sizeof(tScriptMessage)); |
| 170 | if (message_list[pos] == NULL) |
| 171 | return false; |
| 172 | |
| 173 | // Allocate memory for the message name |
| 174 | message_list[pos]->name = (char *)malloc(strlen(name) + 1); |
| 175 | if (message_list[pos]->name == NULL) { |
| 176 | free(message_list[pos]); |
| 177 | return false; |
| 178 | } |
| 179 | strcpy(message_list[pos]->name, name); |
| 180 | |
| 181 | // Allocate memory for the message name |
| 182 | message_list[pos]->message = (char *)malloc(strlen(msg) + 1); |
| 183 | if (message_list[pos]->message == NULL) { |
| 184 | free(message_list[pos]->name); |
| 185 | free(message_list[pos]); |
| 186 | return false; |
| 187 | } |
| 188 | strcpy(message_list[pos]->message, msg); |
| 189 | num_messages++; |
| 190 | |
| 191 | return true; |
| 192 | } |
| 193 | |
| 194 | // Removes any whitespace padding from the end of a string |
| 195 | void RemoveTrailingWhitespace(char *s) { |
| 196 | int last_char_pos; |
| 197 | |
| 198 | last_char_pos = strlen(s) - 1; |
| 199 | while (last_char_pos >= 0 && isspace(s[last_char_pos])) { |
| 200 | s[last_char_pos] = '\0'; |
| 201 | last_char_pos--; |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | // Returns a pointer to the first non-whitespace char in given string |
| 206 | char *SkipInitialWhitespace(char *s) { |
| 207 | while ((*s) != '\0' && isspace(*s)) |
| 208 | s++; |
| 209 | |
| 210 | return (s); |
| 211 | } |
| 212 | |
| 213 | // Read in the Messages |
| 214 | int ReadMessageFile(const char *filename) { |
| 215 | void *infile; |
| 216 | char filebuffer[MAX_MSG_FILEBUF_LEN + 1]; |
| 217 | char *line, *msg_start; |
| 218 | int line_num; |
| 219 | bool next_msgid_found; |
| 220 | |
| 221 | // Try to open the file for loading |
| 222 | infile = File_Open(filename, "rt"); |
| 223 | if (!infile) |
| 224 | return false; |
| 225 | |
| 226 | line_num = 0; |
| 227 | next_msgid_found = true; |
| 228 | |
| 229 | // Clear the message list |
| 230 | ClearMessageList(); |
| 231 | |
| 232 | // Read in and parse each line of the file |
| 233 | while (!File_eof(infile)) { |
| 234 | |
| 235 | // Clear the buffer |
| 236 | strcpy(filebuffer, ""); |
| 237 | |
| 238 | // Read in a line from the file |
| 239 | File_ReadString(filebuffer, MAX_MSG_FILEBUF_LEN, infile); |
| 240 | line_num++; |
| 241 | |
| 242 | // Remove whitespace padding at start and end of line |
| 243 | RemoveTrailingWhitespace(filebuffer); |
| 244 | line = SkipInitialWhitespace(filebuffer); |
| 245 | |
| 246 | // If line is a comment, or empty, discard it |
| 247 | if (strlen(line) == 0 || strncmp(line, "//", 2) == 0) |
| 248 | continue; |
| 249 | |
| 250 | if (!next_msgid_found) { // Parse out the last message ID number |
| 251 | |
| 252 | // Grab the first keyword, make sure it's valid |
| 253 | line = strtok(line, WHITESPACE_CHARS); |
| 254 | if (line == NULL) |
| 255 | continue; |
| 256 | |
| 257 | // Grab the second keyword, and assign it as the next message ID |
| 258 | line = strtok(NULL, WHITESPACE_CHARS); |
| 259 | if (line == NULL) |
| 260 | continue; |
| 261 | |
| 262 | next_msgid_found = true; |
| 263 | } else { // Parse line as a message line |
| 264 | |
| 265 | // Find the start of message, and mark it |
| 266 | msg_start = strchr(line, '='); |
| 267 | if (msg_start == NULL) |
| 268 | continue; |
| 269 | msg_start[0] = '\0'; |
| 270 | msg_start++; |
| 271 | |
| 272 | // Add the message to the list |
| 273 | AddMessageToList(line, msg_start); |
| 274 | } |
| 275 | } |
| 276 | File_Close(infile); |
| 277 | |
| 278 | return true; |
| 279 | } |
| 280 | |
| 281 | // Find a message |
| 282 | const char *GetMessage(const char *name) { |
| 283 | // Make sure given name is valid |
| 284 | if (name == NULL) |
| 285 | return INV_MSGNAME_STRING; |
| 286 | |
| 287 | // Search message list for name |
| 288 | for (int j = 0; j < num_messages; j++) |
| 289 | if (strcmp(message_list[j]->name, name) == 0) |
| 290 | return (message_list[j]->message); |
| 291 | |
| 292 | // Couldn't find it |
| 293 | return NO_MESSAGE_STRING; |
| 294 | } |
| 295 | |
| 296 | //====================== |
| 297 | // Name List Arrays |
| 298 | //====================== |
| 299 | |
| 300 | #define NUM_DOOR_NAMES 0 |
| 301 | const char **Door_names = NULL; |
| 302 | int *Door_handles = NULL; |
| 303 | |
| 304 | #define NUM_OBJECT_NAMES 27 |
| 305 | const char *Object_names[NUM_OBJECT_NAMES] = {"FallC10", "DamB10", "3FallsA3", "3FallsB3", "3FallsC3", "MainC3", "MainE3", |
| 306 | "BowlFat3", "DamFat4", "RingA2", "RingB2", "RingE2", "RingF3", "MainB5", |
| 307 | "MainA5", "MainD5", "RingC5", "RingD5", "RingG5", "RingH5", "BowlA5", |
| 308 | "bowlB7", "BowlE4", "BowlD1", "BowlC1", "BowlF2", "BowlG2"}; |
| 309 | int Object_handles[NUM_OBJECT_NAMES]; |
| 310 | |
| 311 | #define NUM_ROOM_NAMES 0 |
| 312 | const char **Room_names = NULL; |
| 313 | int *Room_indexes = NULL; |
| 314 | |
| 315 | #define NUM_TRIGGER_NAMES 0 |
| 316 | const char **Trigger_names = NULL; |
| 317 | int *Trigger_indexes = NULL; |
| 318 | int *Trigger_faces = NULL; |
| 319 | int *Trigger_rooms = NULL; |
| 320 | |
| 321 | #define NUM_SOUND_NAMES 0 |
| 322 | const char **Sound_names = NULL; |
| 323 | int *Sound_indexes = NULL; |
| 324 | |
| 325 | #define NUM_TEXTURE_NAMES 0 |
| 326 | const char **Texture_names = NULL; |
| 327 | int *Texture_indexes = NULL; |
| 328 | |
| 329 | #define NUM_PATH_NAMES 0 |
| 330 | const char **Path_names = NULL; |
| 331 | int *Path_indexes = NULL; |
| 332 | |
| 333 | #define NUM_MATCEN_NAMES 6 |
| 334 | const char *Matcen_names[NUM_MATCEN_NAMES] = {"Matcen 1", "Matcen 2", "Matcen 3", "Matcen 4", "Matcen 5", "Matcen 6"}; |
| 335 | int Matcen_indexes[NUM_MATCEN_NAMES]; |
| 336 | |
| 337 | #define NUM_GOAL_NAMES 0 |
| 338 | const char **Goal_names = NULL; |
| 339 | int *Goal_indexes = NULL; |
| 340 | |
| 341 | #define NUM_MESSAGE_NAMES 0 |
| 342 | const char **Message_names = NULL; |
| 343 | const char **Message_strings = NULL; |
| 344 | |
| 345 | // =============== |
| 346 | // InitializeDLL() |
| 347 | // =============== |
| 348 | char STDCALL InitializeDLL(tOSIRISModuleInit *func_list) { |
| 349 | osicommon_Initialize((tOSIRISModuleInit *)func_list); |
| 350 | if (func_list->game_checksum != CHECKSUM) { |
| 351 | mprintf(0, "Game-Checksum FAIL!!! (%ul!=%ul)\n", func_list->game_checksum, CHECKSUM); |
| 352 | mprintf(0, "RECOMPILE YOUR SCRIPTS!!!\n"); |
| 353 | return 0; |
| 354 | } |
| 355 | |
| 356 | ClearGlobalActionCtrs(); |
| 357 | dfInit(); |
| 358 | InitMessageList(); |
| 359 | |
| 360 | // Build the filename of the message file |
| 361 | char filename[_MAX_PATH + 32]; |
| 362 | int lang_type; |
| 363 | if (func_list->script_identifier != NULL) { |
| 364 | _splitpath(func_list->script_identifier, NULL, NULL, filename, NULL); |
| 365 | lang_type = Game_GetLanguage(); |
| 366 | if (lang_type == LANGUAGE_FRENCH) |
| 367 | strcat(filename, "_FRN"); |
| 368 | else if (lang_type == LANGUAGE_GERMAN) |
| 369 | strcat(filename, "_GER"); |
| 370 | else if (lang_type == LANGUAGE_ITALIAN) |
| 371 | strcat(filename, "_ITN"); |
| 372 | else if (lang_type == LANGUAGE_SPANISH) |
| 373 | strcat(filename, "_SPN"); |
| 374 | strcat(filename, ".msg"); |
| 375 | } else { |
| 376 | strcpy(filename, "SewerRat.msg"); |
| 377 | lang_type = LANGUAGE_ENGLISH; |
| 378 | } |
| 379 | if (!ReadMessageFile(filename)) { |
| 380 | mprintf(0, "ERROR: Could not load message file - %s\n", filename); |
| 381 | } |
| 382 | |
| 383 | int j; |
| 384 | |
| 385 | // Do Door Index lookups |
| 386 | for (j = 0; j < NUM_DOOR_NAMES; j++) |
| 387 | Door_handles[j] = Scrpt_FindDoorName(Door_names[j]); |
| 388 | |
| 389 | // Do Object Index lookups |
| 390 | for (j = 0; j < NUM_OBJECT_NAMES; j++) |
| 391 | Object_handles[j] = Scrpt_FindObjectName(Object_names[j]); |
| 392 | |
| 393 | // Do Room Index lookups |
| 394 | for (j = 0; j < NUM_ROOM_NAMES; j++) |
| 395 | Room_indexes[j] = Scrpt_FindRoomName(Room_names[j]); |
| 396 | |
| 397 | // Do Trigger Index lookups |
| 398 | for (j = 0; j < NUM_TRIGGER_NAMES; j++) { |
| 399 | Trigger_indexes[j] = Scrpt_FindTriggerName(Trigger_names[j]); |
| 400 | Trigger_faces[j] = Scrpt_GetTriggerFace(Trigger_indexes[j]); |
| 401 | Trigger_rooms[j] = Scrpt_GetTriggerRoom(Trigger_indexes[j]); |
| 402 | } |
| 403 | |
| 404 | // Do Sound Index lookups |
| 405 | for (j = 0; j < NUM_SOUND_NAMES; j++) |
| 406 | Sound_indexes[j] = Scrpt_FindSoundName(Sound_names[j]); |
| 407 | |
| 408 | // Do Texture Index lookups |
| 409 | for (j = 0; j < NUM_TEXTURE_NAMES; j++) |
| 410 | Texture_indexes[j] = Scrpt_FindTextureName(Texture_names[j]); |
| 411 | |
| 412 | // Do Path Index lookups |
| 413 | for (j = 0; j < NUM_PATH_NAMES; j++) |
| 414 | Path_indexes[j] = Scrpt_FindPathName(Path_names[j]); |
| 415 | |
| 416 | // Do Matcen Index lookups |
| 417 | for (j = 0; j < NUM_MATCEN_NAMES; j++) |
| 418 | Matcen_indexes[j] = Scrpt_FindMatcenName(Matcen_names[j]); |
| 419 | |
| 420 | // Do Goal Index lookups |
| 421 | for (j = 0; j < NUM_GOAL_NAMES; j++) |
| 422 | Goal_indexes[j] = Scrpt_FindLevelGoalName(Goal_names[j]); |
| 423 | |
| 424 | // Do Message Name lookups |
| 425 | for (j = 0; j < NUM_MESSAGE_NAMES; j++) |
| 426 | Message_strings[j] = GetMessage(Message_names[j]); |
| 427 | |
| 428 | return 1; |
| 429 | } |
| 430 | |
| 431 | // ============= |
| 432 | // ShutdownDLL() |
| 433 | // ============= |
| 434 | void STDCALL ShutdownDLL(void) { ClearMessageList(); } |
| 435 | |
| 436 | // =============== |
| 437 | // GetGOScriptID() |
| 438 | // =============== |
| 439 | int STDCALL GetGOScriptID(const char *name, uint8_t isdoor) { return -1; } |
| 440 | |
| 441 | // ================ |
| 442 | // CreateInstance() |
| 443 | // ================ |
| 444 | void STDCALLPTR CreateInstance(int id) { |
| 445 | switch (id) { |
| 446 | case ID_LEVEL_0000: |
| 447 | return new LevelScript_0000; |
| 448 | break; |
| 449 | default: |
| 450 | mprintf(0, "SCRIPT: Illegal ID (%d)\n", id); |
| 451 | break; |
| 452 | } |
| 453 | return NULL; |
| 454 | } |
| 455 | |
| 456 | // ================= |
| 457 | // DestroyInstance() |
| 458 | // ================= |
| 459 | void STDCALL DestroyInstance(int id, void *ptr) { |
| 460 | switch (id) { |
| 461 | case ID_LEVEL_0000: |
| 462 | delete ((LevelScript_0000 *)ptr); |
| 463 | default: |
| 464 | mprintf(0, "SCRIPT: Illegal ID (%d)\n", id); |
| 465 | break; |
| 466 | } |
| 467 | } |
| 468 | |
| 469 | // =================== |
| 470 | // CallInstanceEvent() |
| 471 | // =================== |
| 472 | int16_t STDCALL CallInstanceEvent(int id, void *ptr, int event, tOSIRISEventInfo *data) { |
| 473 | switch (id) { |
| 474 | case ID_LEVEL_0000: |
| 475 | return ((BaseScript *)ptr)->CallEvent(event, data); |
| 476 | break; |
| 477 | default: |
| 478 | mprintf(0, "SCRIPT: Illegal ID (%d)\n", id); |
| 479 | break; |
| 480 | } |
| 481 | return CONTINUE_CHAIN | CONTINUE_DEFAULT; |
| 482 | } |
| 483 | |
| 484 | // ================== |
| 485 | // SaveRestoreState() |
| 486 | // ================== |
| 487 | int STDCALL SaveRestoreState(void *file_ptr, uint8_t saving_state) { return 0; } |
| 488 | |
| 489 | // ==================== |
| 490 | // GetTriggerScriptID() |
| 491 | // ==================== |
| 492 | int STDCALL GetTriggerScriptID(int trigger_room, int trigger_face) { return -1; } |
| 493 | |
| 494 | // ================= |
| 495 | // GetCOScriptList() |
| 496 | // ================= |
| 497 | int STDCALL GetCOScriptList(int **list, int **id_list) { |
| 498 | static int *cust_handle_list = NULL; |
| 499 | static int *cust_id_list = NULL; |
| 500 | |
| 501 | *list = cust_handle_list; |
| 502 | *id_list = cust_id_list; |
| 503 | |
| 504 | return 0; |
| 505 | } |
| 506 | |
| 507 | //======================= |
| 508 | // Script Implementation |
| 509 | //======================= |
| 510 | |
| 511 | BaseScript::BaseScript() {} |
| 512 | |
| 513 | BaseScript::~BaseScript() {} |
| 514 | |
| 515 | int16_t BaseScript::CallEvent(int event, tOSIRISEventInfo *data) { |
| 516 | mprintf(0, "BaseScript::CallEvent()\n"); |
| 517 | return CONTINUE_CHAIN | CONTINUE_DEFAULT; |
| 518 | } |
| 519 | |
| 520 | int16_t LevelScript_0000::CallEvent(int event, tOSIRISEventInfo *data) { |
| 521 | switch (event) { |
| 522 | case EVT_SAVESTATE: { |
| 523 | tOSIRISEVTSAVESTATE *event_data = &data->evt_savestate; |
| 524 | |
| 525 | SaveGlobalActionCtrs(event_data->fileptr); |
| 526 | dfSave(event_data->fileptr); |
| 527 | #ifdef ENABLE_CUSTOM_SAVE_AND_RESTORE |
| 528 | dsCustomSave(event_data->fileptr); |
| 529 | #endif |
| 530 | } break; |
| 531 | case EVT_RESTORESTATE: { |
| 532 | tOSIRISEVTRESTORESTATE *event_data = &data->evt_restorestate; |
| 533 | |
| 534 | RestoreGlobalActionCtrs(event_data->fileptr); |
| 535 | dfRestore(event_data->fileptr); |
| 536 | #ifdef ENABLE_CUSTOM_SAVE_AND_RESTORE |
| 537 | dsCustomRestore(event_data->fileptr); |
| 538 | #endif |
| 539 | } break; |
| 540 | case EVT_LEVELSTART: { |
| 541 | tOSIRISEVTLEVELSTART *event_data = &data->evt_levelstart; |
| 542 | |
| 543 | ClearGlobalActionCtrs(); |
| 544 | dfInit(); |
| 545 | |
| 546 | // Script 000: Start Spewers |
| 547 | if (1) { |
| 548 | aTurnOnSpew(Object_handles[0], -1, 7, 0.000000f, 0.000000f, 65536, 0, 7.000000f, 0.500000f, -1.000000f, |
| 549 | 19.000000f, 24.000000f, 1, -1); |
| 550 | aTurnOnSpew(Object_handles[1], -1, 7, 0.000000f, 0.000000f, 65536, 0, 5.000000f, 0.500000f, -1.000000f, |
| 551 | 12.000000f, 20.000000f, 1, -1); |
| 552 | aTurnOnSpew(Object_handles[2], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.000000f, 0.200000f, -1.000000f, 2.000000f, |
| 553 | 8.000000f, 1, -1); |
| 554 | aTurnOnSpew(Object_handles[3], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.000000f, 0.200000f, -1.000000f, 2.000000f, |
| 555 | 8.000000f, 1, -1); |
| 556 | aTurnOnSpew(Object_handles[4], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.000000f, 0.200000f, -1.000000f, 2.000000f, |
| 557 | 8.000000f, 1, -1); |
| 558 | aTurnOnSpew(Object_handles[5], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.000000f, 0.200000f, -1.000000f, 2.000000f, |
| 559 | 8.000000f, 1, -1); |
| 560 | aTurnOnSpew(Object_handles[6], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.000000f, 0.200000f, -1.000000f, 2.000000f, |
| 561 | 8.000000f, 1, -1); |
| 562 | aTurnOnSpew(Object_handles[7], -1, 7, 0.000000f, 0.000000f, 65536, 0, 4.000000f, 0.500000f, -1.000000f, 9.000000f, |
| 563 | 8.000000f, 1, -1); |
| 564 | aTurnOnSpew(Object_handles[8], -1, 7, 0.000000f, 0.000000f, 65536, 0, 5.000000f, 0.100000f, -1.000000f, 9.000000f, |
| 565 | 9.000000f, 1, -1); |
| 566 | aTurnOnSpew(Object_handles[9], -1, 7, 0.000000f, 0.000000f, 65536, 0, 2.000000f, 0.200000f, -1.000000f, 2.000000f, |
| 567 | 8.000000f, 1, -1); |
| 568 | aTurnOnSpew(Object_handles[10], -1, 7, 0.000000f, 0.000000f, 65536, 0, 2.000000f, 0.200000f, -1.000000f, |
| 569 | 2.000000f, 8.000000f, 1, -1); |
| 570 | aTurnOnSpew(Object_handles[11], -1, 7, 0.000000f, 0.000000f, 65536, 0, 2.000000f, 0.200000f, -1.000000f, |
| 571 | 2.000000f, 8.000000f, 1, -1); |
| 572 | aTurnOnSpew(Object_handles[12], -1, 7, 0.000000f, 0.000000f, 65536, 0, 2.000000f, 0.200000f, -1.000000f, |
| 573 | 2.000000f, 8.000000f, 1, -1); |
| 574 | aTurnOnSpew(Object_handles[13], -1, 7, 0.000000f, 0.000000f, 65536, 0, 4.000000f, 0.200000f, -1.000000f, |
| 575 | 2.000000f, 8.000000f, 1, -1); |
| 576 | aTurnOnSpew(Object_handles[14], -1, 7, 0.000000f, 0.000000f, 65536, 0, 4.000000f, 0.200000f, -1.000000f, |
| 577 | 2.000000f, 8.000000f, 1, -1); |
| 578 | aTurnOnSpew(Object_handles[15], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.200000f, 0.200000f, -1.000000f, |
| 579 | 2.500000f, 8.000000f, 1, -1); |
| 580 | aTurnOnSpew(Object_handles[16], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.800000f, 0.200000f, -1.000000f, |
| 581 | 2.500000f, 8.000000f, 1, -1); |
| 582 | aTurnOnSpew(Object_handles[17], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.800000f, 0.200000f, -1.000000f, |
| 583 | 2.500000f, 8.000000f, 1, -1); |
| 584 | aTurnOnSpew(Object_handles[18], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.800000f, 0.200000f, -1.000000f, |
| 585 | 2.500000f, 8.000000f, 1, -1); |
| 586 | aTurnOnSpew(Object_handles[19], -1, 7, 0.000000f, 0.000000f, 65536, 0, 3.800000f, 0.200000f, -1.000000f, |
| 587 | 2.500000f, 8.000000f, 1, -1); |
| 588 | aTurnOnSpew(Object_handles[20], -1, 7, 0.000000f, 0.000000f, 65536, 0, 4.000000f, 0.200000f, -1.000000f, |
| 589 | 2.500000f, 8.000000f, 1, -1); |
| 590 | aTurnOnSpew(Object_handles[21], -1, 7, 0.000000f, 0.000000f, 65536, 0, 6.000000f, 0.200000f, -1.000000f, |
| 591 | 2.200000f, 8.000000f, 1, -1); |
| 592 | aTurnOnSpew(Object_handles[22], -1, 7, 0.000000f, 0.000000f, 65536, 0, 2.500000f, 0.200000f, -1.000000f, |
| 593 | 4.200000f, 8.000000f, 1, -1); |
| 594 | aTurnOnSpew(Object_handles[23], -1, 7, 0.000000f, 0.000000f, 65536, 0, 1.900000f, 0.200000f, -1.000000f, |
| 595 | 2.800000f, 4.000000f, 1, -1); |
| 596 | aTurnOnSpew(Object_handles[24], -1, 7, 0.000000f, 0.000000f, 65536, 0, 1.800000f, 0.200000f, -1.000000f, |
| 597 | 2.800000f, 3.000000f, 1, -1); |
| 598 | aTurnOnSpew(Object_handles[25], -1, 7, 0.000000f, 0.000000f, 65536, 0, 2.700000f, 0.200000f, -1.000000f, |
| 599 | 2.800000f, 4.000000f, 1, -1); |
| 600 | aTurnOnSpew(Object_handles[26], -1, 7, 0.000000f, 0.000000f, 65536, 0, 2.000000f, 0.200000f, -1.000000f, |
| 601 | 2.400000f, 4.000000f, 1, -1); |
| 602 | |
| 603 | // Increment the script action counter |
| 604 | if (ScriptActionCtr_000 < MAX_ACTION_CTR_VALUE) |
| 605 | ScriptActionCtr_000++; |
| 606 | } |
| 607 | |
| 608 | // Script 001: Start Matcens |
| 609 | if (1) { |
| 610 | aMatcenSetState(1, Matcen_indexes[0]); |
| 611 | aMatcenSetState(1, Matcen_indexes[1]); |
| 612 | aMatcenSetState(1, Matcen_indexes[2]); |
| 613 | aMatcenSetState(1, Matcen_indexes[3]); |
| 614 | aMatcenSetState(1, Matcen_indexes[4]); |
| 615 | aMatcenSetState(1, Matcen_indexes[5]); |
| 616 | |
| 617 | // Increment the script action counter |
| 618 | if (ScriptActionCtr_001 < MAX_ACTION_CTR_VALUE) |
| 619 | ScriptActionCtr_001++; |
| 620 | } |
| 621 | } break; |
| 622 | } |
| 623 | return CONTINUE_CHAIN | CONTINUE_DEFAULT; |
| 624 | } |
| 625 | |
| 626 | /********************************************************* |
| 627 | Script Save Block: DO NOT TOUCH ANYTHING IN THIS BLOCK!!! |
| 628 | ********************************************************** |
| 629 | $$SCRIPT_BLOCK_START |
| 630 | |
| 631 | VERSION 3 |
| 632 | NEXT_ID 2 |
| 633 | |
| 634 | // UserType value blocks |
| 635 | $$UTYPE_VALS_START UserVar |
| 636 | $$UTYPE_VALS_END |
| 637 | |
| 638 | $$UTYPE_VALS_START UserFlag |
| 639 | $$UTYPE_VALS_END |
| 640 | |
| 641 | $$UTYPE_VALS_START SpewHandle |
| 642 | $$UTYPE_VALS_END |
| 643 | |
| 644 | $$UTYPE_VALS_START TimerID |
| 645 | $$UTYPE_VALS_END |
| 646 | |
| 647 | $$UTYPE_VALS_START SavedObjectSlot |
| 648 | $$UTYPE_VALS_END |
| 649 | |
| 650 | $$UTYPE_VALS_START GoalID |
| 651 | $$UTYPE_VALS_END |
| 652 | |
| 653 | |
| 654 | // Name Lists |
| 655 | $$DOOR_LIST_START |
| 656 | $$DOOR_LIST_END |
| 657 | |
| 658 | $$OBJECT_LIST_START |
| 659 | FallC10 |
| 660 | DamB10 |
| 661 | 3FallsA3 |
| 662 | 3FallsB3 |
| 663 | 3FallsC3 |
| 664 | MainC3 |
| 665 | MainE3 |
| 666 | BowlFat3 |
| 667 | DamFat4 |
| 668 | RingA2 |
| 669 | RingB2 |
| 670 | RingE2 |
| 671 | RingF3 |
| 672 | MainB5 |
| 673 | MainA5 |
| 674 | MainD5 |
| 675 | RingC5 |
| 676 | RingD5 |
| 677 | RingG5 |
| 678 | RingH5 |
| 679 | BowlA5 |
| 680 | bowlB7 |
| 681 | BowlE4 |
| 682 | BowlD1 |
| 683 | BowlC1 |
| 684 | BowlF2 |
| 685 | BowlG2 |
| 686 | $$OBJECT_LIST_END |
| 687 | |
| 688 | $$ROOM_LIST_START |
| 689 | $$ROOM_LIST_END |
| 690 | |
| 691 | $$TRIGGER_LIST_START |
| 692 | $$TRIGGER_LIST_END |
| 693 | |
| 694 | $$SOUND_LIST_START |
| 695 | $$SOUND_LIST_END |
| 696 | |
| 697 | $$TEXTURE_LIST_START |
| 698 | $$TEXTURE_LIST_END |
| 699 | |
| 700 | $$SPECNAME_LIST_START |
| 701 | $$SPECNAME_LIST_END |
| 702 | |
| 703 | $$PATH_LIST_START |
| 704 | $$PATH_LIST_END |
| 705 | |
| 706 | $$MATCEN_LIST_START |
| 707 | Matcen 1 |
| 708 | Matcen 2 |
| 709 | Matcen 3 |
| 710 | Matcen 4 |
| 711 | Matcen 5 |
| 712 | Matcen 6 |
| 713 | $$MATCEN_LIST_END |
| 714 | |
| 715 | $$GOAL_LIST_START |
| 716 | $$GOAL_LIST_END |
| 717 | |
| 718 | $$STRM_AUDIO_LIST_START |
| 719 | $$STRM_AUDIO_LIST_END |
| 720 | |
| 721 | |
| 722 | // Script Tree Dump |
| 723 | 00:0:Start Spewers |
| 724 | $$CHILD_BLOCK_START |
| 725 | 01:2:0 |
| 726 | 02:6 |
| 727 | 03:0 |
| 728 | $$CHILD_BLOCK_START |
| 729 | 05:0 |
| 730 | $$CHILD_BLOCK_END |
| 731 | 04:0:0:0 |
| 732 | $$CHILD_BLOCK_START |
| 733 | 08:aTurnOnSpew |
| 734 | $$CHILD_BLOCK_START |
| 735 | 10:1:0:0:Object |
| 736 | 10:4:-1:GunNum |
| 737 | 10:10:0:7:SpewType |
| 738 | 10:6:0.000000:Mass |
| 739 | 10:6:0.000000:Drag |
| 740 | 10:15:65536:PhysicsFlags |
| 741 | 10:5:0:IsRealObject |
| 742 | 10:6:7.000000:BlobLifetime |
| 743 | 10:6:0.500000:BlobInterval |
| 744 | 10:6:-1.000000:SpewLife |
| 745 | 10:6:19.000000:BlobSize |
| 746 | 10:6:24.000000:BlobSpeed |
| 747 | 10:5:1:Randomize |
| 748 | 10:10:0:-1:SpewHandle |
| 749 | $$CHILD_BLOCK_END |
| 750 | 08:aTurnOnSpew |
| 751 | $$CHILD_BLOCK_START |
| 752 | 10:1:0:1:Object |
| 753 | 10:4:-1:GunNum |
| 754 | 10:10:0:7:SpewType |
| 755 | 10:6:0.000000:Mass |
| 756 | 10:6:0.000000:Drag |
| 757 | 10:15:65536:PhysicsFlags |
| 758 | 10:5:0:IsRealObject |
| 759 | 10:6:5.000000:BlobLifetime |
| 760 | 10:6:0.500000:BlobInterval |
| 761 | 10:6:-1.000000:SpewLife |
| 762 | 10:6:12.000000:BlobSize |
| 763 | 10:6:20.000000:BlobSpeed |
| 764 | 10:5:1:Randomize |
| 765 | 10:10:0:-1:SpewHandle |
| 766 | $$CHILD_BLOCK_END |
| 767 | 08:aTurnOnSpew |
| 768 | $$CHILD_BLOCK_START |
| 769 | 10:1:0:2:Object |
| 770 | 10:4:-1:GunNum |
| 771 | 10:10:0:7:SpewType |
| 772 | 10:6:0.000000:Mass |
| 773 | 10:6:0.000000:Drag |
| 774 | 10:15:65536:PhysicsFlags |
| 775 | 10:5:0:IsRealObject |
| 776 | 10:6:3.000000:BlobLifetime |
| 777 | 10:6:0.200000:BlobInterval |
| 778 | 10:6:-1.000000:SpewLife |
| 779 | 10:6:2.000000:BlobSize |
| 780 | 10:6:8.000000:BlobSpeed |
| 781 | 10:5:1:Randomize |
| 782 | 10:10:0:-1:SpewHandle |
| 783 | $$CHILD_BLOCK_END |
| 784 | 08:aTurnOnSpew |
| 785 | $$CHILD_BLOCK_START |
| 786 | 10:1:0:3:Object |
| 787 | 10:4:-1:GunNum |
| 788 | 10:10:0:7:SpewType |
| 789 | 10:6:0.000000:Mass |
| 790 | 10:6:0.000000:Drag |
| 791 | 10:15:65536:PhysicsFlags |
| 792 | 10:5:0:IsRealObject |
| 793 | 10:6:3.000000:BlobLifetime |
| 794 | 10:6:0.200000:BlobInterval |
| 795 | 10:6:-1.000000:SpewLife |
| 796 | 10:6:2.000000:BlobSize |
| 797 | 10:6:8.000000:BlobSpeed |
| 798 | 10:5:1:Randomize |
| 799 | 10:10:0:-1:SpewHandle |
| 800 | $$CHILD_BLOCK_END |
| 801 | 08:aTurnOnSpew |
| 802 | $$CHILD_BLOCK_START |
| 803 | 10:1:0:4:Object |
| 804 | 10:4:-1:GunNum |
| 805 | 10:10:0:7:SpewType |
| 806 | 10:6:0.000000:Mass |
| 807 | 10:6:0.000000:Drag |
| 808 | 10:15:65536:PhysicsFlags |
| 809 | 10:5:0:IsRealObject |
| 810 | 10:6:3.000000:BlobLifetime |
| 811 | 10:6:0.200000:BlobInterval |
| 812 | 10:6:-1.000000:SpewLife |
| 813 | 10:6:2.000000:BlobSize |
| 814 | 10:6:8.000000:BlobSpeed |
| 815 | 10:5:1:Randomize |
| 816 | 10:10:0:-1:SpewHandle |
| 817 | $$CHILD_BLOCK_END |
| 818 | 08:aTurnOnSpew |
| 819 | $$CHILD_BLOCK_START |
| 820 | 10:1:0:5:Object |
| 821 | 10:4:-1:GunNum |
| 822 | 10:10:0:7:SpewType |
| 823 | 10:6:0.000000:Mass |
| 824 | 10:6:0.000000:Drag |
| 825 | 10:15:65536:PhysicsFlags |
| 826 | 10:5:0:IsRealObject |
| 827 | 10:6:3.000000:BlobLifetime |
| 828 | 10:6:0.200000:BlobInterval |
| 829 | 10:6:-1.000000:SpewLife |
| 830 | 10:6:2.000000:BlobSize |
| 831 | 10:6:8.000000:BlobSpeed |
| 832 | 10:5:1:Randomize |
| 833 | 10:10:0:-1:SpewHandle |
| 834 | $$CHILD_BLOCK_END |
| 835 | 08:aTurnOnSpew |
| 836 | $$CHILD_BLOCK_START |
| 837 | 10:1:0:6:Object |
| 838 | 10:4:-1:GunNum |
| 839 | 10:10:0:7:SpewType |
| 840 | 10:6:0.000000:Mass |
| 841 | 10:6:0.000000:Drag |
| 842 | 10:15:65536:PhysicsFlags |
| 843 | 10:5:0:IsRealObject |
| 844 | 10:6:3.000000:BlobLifetime |
| 845 | 10:6:0.200000:BlobInterval |
| 846 | 10:6:-1.000000:SpewLife |
| 847 | 10:6:2.000000:BlobSize |
| 848 | 10:6:8.000000:BlobSpeed |
| 849 | 10:5:1:Randomize |
| 850 | 10:10:0:-1:SpewHandle |
| 851 | $$CHILD_BLOCK_END |
| 852 | 08:aTurnOnSpew |
| 853 | $$CHILD_BLOCK_START |
| 854 | 10:1:0:7:Object |
| 855 | 10:4:-1:GunNum |
| 856 | 10:10:0:7:SpewType |
| 857 | 10:6:0.000000:Mass |
| 858 | 10:6:0.000000:Drag |
| 859 | 10:15:65536:PhysicsFlags |
| 860 | 10:5:0:IsRealObject |
| 861 | 10:6:4.000000:BlobLifetime |
| 862 | 10:6:0.500000:BlobInterval |
| 863 | 10:6:-1.000000:SpewLife |
| 864 | 10:6:9.000000:BlobSize |
| 865 | 10:6:8.000000:BlobSpeed |
| 866 | 10:5:1:Randomize |
| 867 | 10:10:0:-1:SpewHandle |
| 868 | $$CHILD_BLOCK_END |
| 869 | 08:aTurnOnSpew |
| 870 | $$CHILD_BLOCK_START |
| 871 | 10:1:0:8:Object |
| 872 | 10:4:-1:GunNum |
| 873 | 10:10:0:7:SpewType |
| 874 | 10:6:0.000000:Mass |
| 875 | 10:6:0.000000:Drag |
| 876 | 10:15:65536:PhysicsFlags |
| 877 | 10:5:0:IsRealObject |
| 878 | 10:6:5.000000:BlobLifetime |
| 879 | 10:6:0.100000:BlobInterval |
| 880 | 10:6:-1.000000:SpewLife |
| 881 | 10:6:9.000000:BlobSize |
| 882 | 10:6:9.000000:BlobSpeed |
| 883 | 10:5:1:Randomize |
| 884 | 10:10:0:-1:SpewHandle |
| 885 | $$CHILD_BLOCK_END |
| 886 | 08:aTurnOnSpew |
| 887 | $$CHILD_BLOCK_START |
| 888 | 10:1:0:9:Object |
| 889 | 10:4:-1:GunNum |
| 890 | 10:10:0:7:SpewType |
| 891 | 10:6:0.000000:Mass |
| 892 | 10:6:0.000000:Drag |
| 893 | 10:15:65536:PhysicsFlags |
| 894 | 10:5:0:IsRealObject |
| 895 | 10:6:2.000000:BlobLifetime |
| 896 | 10:6:0.200000:BlobInterval |
| 897 | 10:6:-1.000000:SpewLife |
| 898 | 10:6:2.000000:BlobSize |
| 899 | 10:6:8.000000:BlobSpeed |
| 900 | 10:5:1:Randomize |
| 901 | 10:10:0:-1:SpewHandle |
| 902 | $$CHILD_BLOCK_END |
| 903 | 08:aTurnOnSpew |
| 904 | $$CHILD_BLOCK_START |
| 905 | 10:1:0:10:Object |
| 906 | 10:4:-1:GunNum |
| 907 | 10:10:0:7:SpewType |
| 908 | 10:6:0.000000:Mass |
| 909 | 10:6:0.000000:Drag |
| 910 | 10:15:65536:PhysicsFlags |
| 911 | 10:5:0:IsRealObject |
| 912 | 10:6:2.000000:BlobLifetime |
| 913 | 10:6:0.200000:BlobInterval |
| 914 | 10:6:-1.000000:SpewLife |
| 915 | 10:6:2.000000:BlobSize |
| 916 | 10:6:8.000000:BlobSpeed |
| 917 | 10:5:1:Randomize |
| 918 | 10:10:0:-1:SpewHandle |
| 919 | $$CHILD_BLOCK_END |
| 920 | 08:aTurnOnSpew |
| 921 | $$CHILD_BLOCK_START |
| 922 | 10:1:0:11:Object |
| 923 | 10:4:-1:GunNum |
| 924 | 10:10:0:7:SpewType |
| 925 | 10:6:0.000000:Mass |
| 926 | 10:6:0.000000:Drag |
| 927 | 10:15:65536:PhysicsFlags |
| 928 | 10:5:0:IsRealObject |
| 929 | 10:6:2.000000:BlobLifetime |
| 930 | 10:6:0.200000:BlobInterval |
| 931 | 10:6:-1.000000:SpewLife |
| 932 | 10:6:2.000000:BlobSize |
| 933 | 10:6:8.000000:BlobSpeed |
| 934 | 10:5:1:Randomize |
| 935 | 10:10:0:-1:SpewHandle |
| 936 | $$CHILD_BLOCK_END |
| 937 | 08:aTurnOnSpew |
| 938 | $$CHILD_BLOCK_START |
| 939 | 10:1:0:12:Object |
| 940 | 10:4:-1:GunNum |
| 941 | 10:10:0:7:SpewType |
| 942 | 10:6:0.000000:Mass |
| 943 | 10:6:0.000000:Drag |
| 944 | 10:15:65536:PhysicsFlags |
| 945 | 10:5:0:IsRealObject |
| 946 | 10:6:2.000000:BlobLifetime |
| 947 | 10:6:0.200000:BlobInterval |
| 948 | 10:6:-1.000000:SpewLife |
| 949 | 10:6:2.000000:BlobSize |
| 950 | 10:6:8.000000:BlobSpeed |
| 951 | 10:5:1:Randomize |
| 952 | 10:10:0:-1:SpewHandle |
| 953 | $$CHILD_BLOCK_END |
| 954 | 08:aTurnOnSpew |
| 955 | $$CHILD_BLOCK_START |
| 956 | 10:1:0:13:Object |
| 957 | 10:4:-1:GunNum |
| 958 | 10:10:0:7:SpewType |
| 959 | 10:6:0.000000:Mass |
| 960 | 10:6:0.000000:Drag |
| 961 | 10:15:65536:PhysicsFlags |
| 962 | 10:5:0:IsRealObject |
| 963 | 10:6:4.000000:BlobLifetime |
| 964 | 10:6:0.200000:BlobInterval |
| 965 | 10:6:-1.000000:SpewLife |
| 966 | 10:6:2.000000:BlobSize |
| 967 | 10:6:8.000000:BlobSpeed |
| 968 | 10:5:1:Randomize |
| 969 | 10:10:0:-1:SpewHandle |
| 970 | $$CHILD_BLOCK_END |
| 971 | 08:aTurnOnSpew |
| 972 | $$CHILD_BLOCK_START |
| 973 | 10:1:0:14:Object |
| 974 | 10:4:-1:GunNum |
| 975 | 10:10:0:7:SpewType |
| 976 | 10:6:0.000000:Mass |
| 977 | 10:6:0.000000:Drag |
| 978 | 10:15:65536:PhysicsFlags |
| 979 | 10:5:0:IsRealObject |
| 980 | 10:6:4.000000:BlobLifetime |
| 981 | 10:6:0.200000:BlobInterval |
| 982 | 10:6:-1.000000:SpewLife |
| 983 | 10:6:2.000000:BlobSize |
| 984 | 10:6:8.000000:BlobSpeed |
| 985 | 10:5:1:Randomize |
| 986 | 10:10:0:-1:SpewHandle |
| 987 | $$CHILD_BLOCK_END |
| 988 | 08:aTurnOnSpew |
| 989 | $$CHILD_BLOCK_START |
| 990 | 10:1:0:15:Object |
| 991 | 10:4:-1:GunNum |
| 992 | 10:10:0:7:SpewType |
| 993 | 10:6:0.000000:Mass |
| 994 | 10:6:0.000000:Drag |
| 995 | 10:15:65536:PhysicsFlags |
| 996 | 10:5:0:IsRealObject |
| 997 | 10:6:3.200000:BlobLifetime |
| 998 | 10:6:0.200000:BlobInterval |
| 999 | 10:6:-1.000000:SpewLife |
| 1000 | 10:6:2.500000:BlobSize |
| 1001 | 10:6:8.000000:BlobSpeed |
| 1002 | 10:5:1:Randomize |
| 1003 | 10:10:0:-1:SpewHandle |
| 1004 | $$CHILD_BLOCK_END |
| 1005 | 08:aTurnOnSpew |
| 1006 | $$CHILD_BLOCK_START |
| 1007 | 10:1:0:16:Object |
| 1008 | 10:4:-1:GunNum |
| 1009 | 10:10:0:7:SpewType |
| 1010 | 10:6:0.000000:Mass |
| 1011 | 10:6:0.000000:Drag |
| 1012 | 10:15:65536:PhysicsFlags |
| 1013 | 10:5:0:IsRealObject |
| 1014 | 10:6:3.800000:BlobLifetime |
| 1015 | 10:6:0.200000:BlobInterval |
| 1016 | 10:6:-1.000000:SpewLife |
| 1017 | 10:6:2.500000:BlobSize |
| 1018 | 10:6:8.000000:BlobSpeed |
| 1019 | 10:5:1:Randomize |
| 1020 | 10:10:0:-1:SpewHandle |
| 1021 | $$CHILD_BLOCK_END |
| 1022 | 08:aTurnOnSpew |
| 1023 | $$CHILD_BLOCK_START |
| 1024 | 10:1:0:17:Object |
| 1025 | 10:4:-1:GunNum |
| 1026 | 10:10:0:7:SpewType |
| 1027 | 10:6:0.000000:Mass |
| 1028 | 10:6:0.000000:Drag |
| 1029 | 10:15:65536:PhysicsFlags |
| 1030 | 10:5:0:IsRealObject |
| 1031 | 10:6:3.800000:BlobLifetime |
| 1032 | 10:6:0.200000:BlobInterval |
| 1033 | 10:6:-1.000000:SpewLife |
| 1034 | 10:6:2.500000:BlobSize |
| 1035 | 10:6:8.000000:BlobSpeed |
| 1036 | 10:5:1:Randomize |
| 1037 | 10:10:0:-1:SpewHandle |
| 1038 | $$CHILD_BLOCK_END |
| 1039 | 08:aTurnOnSpew |
| 1040 | $$CHILD_BLOCK_START |
| 1041 | 10:1:0:18:Object |
| 1042 | 10:4:-1:GunNum |
| 1043 | 10:10:0:7:SpewType |
| 1044 | 10:6:0.000000:Mass |
| 1045 | 10:6:0.000000:Drag |
| 1046 | 10:15:65536:PhysicsFlags |
| 1047 | 10:5:0:IsRealObject |
| 1048 | 10:6:3.800000:BlobLifetime |
| 1049 | 10:6:0.200000:BlobInterval |
| 1050 | 10:6:-1.000000:SpewLife |
| 1051 | 10:6:2.500000:BlobSize |
| 1052 | 10:6:8.000000:BlobSpeed |
| 1053 | 10:5:1:Randomize |
| 1054 | 10:10:0:-1:SpewHandle |
| 1055 | $$CHILD_BLOCK_END |
| 1056 | 08:aTurnOnSpew |
| 1057 | $$CHILD_BLOCK_START |
| 1058 | 10:1:0:19:Object |
| 1059 | 10:4:-1:GunNum |
| 1060 | 10:10:0:7:SpewType |
| 1061 | 10:6:0.000000:Mass |
| 1062 | 10:6:0.000000:Drag |
| 1063 | 10:15:65536:PhysicsFlags |
| 1064 | 10:5:0:IsRealObject |
| 1065 | 10:6:3.800000:BlobLifetime |
| 1066 | 10:6:0.200000:BlobInterval |
| 1067 | 10:6:-1.000000:SpewLife |
| 1068 | 10:6:2.500000:BlobSize |
| 1069 | 10:6:8.000000:BlobSpeed |
| 1070 | 10:5:1:Randomize |
| 1071 | 10:10:0:-1:SpewHandle |
| 1072 | $$CHILD_BLOCK_END |
| 1073 | 08:aTurnOnSpew |
| 1074 | $$CHILD_BLOCK_START |
| 1075 | 10:1:0:20:Object |
| 1076 | 10:4:-1:GunNum |
| 1077 | 10:10:0:7:SpewType |
| 1078 | 10:6:0.000000:Mass |
| 1079 | 10:6:0.000000:Drag |
| 1080 | 10:15:65536:PhysicsFlags |
| 1081 | 10:5:0:IsRealObject |
| 1082 | 10:6:4.000000:BlobLifetime |
| 1083 | 10:6:0.200000:BlobInterval |
| 1084 | 10:6:-1.000000:SpewLife |
| 1085 | 10:6:2.500000:BlobSize |
| 1086 | 10:6:8.000000:BlobSpeed |
| 1087 | 10:5:1:Randomize |
| 1088 | 10:10:0:-1:SpewHandle |
| 1089 | $$CHILD_BLOCK_END |
| 1090 | 08:aTurnOnSpew |
| 1091 | $$CHILD_BLOCK_START |
| 1092 | 10:1:0:21:Object |
| 1093 | 10:4:-1:GunNum |
| 1094 | 10:10:0:7:SpewType |
| 1095 | 10:6:0.000000:Mass |
| 1096 | 10:6:0.000000:Drag |
| 1097 | 10:15:65536:PhysicsFlags |
| 1098 | 10:5:0:IsRealObject |
| 1099 | 10:6:6.000000:BlobLifetime |
| 1100 | 10:6:0.200000:BlobInterval |
| 1101 | 10:6:-1.000000:SpewLife |
| 1102 | 10:6:2.200000:BlobSize |
| 1103 | 10:6:8.000000:BlobSpeed |
| 1104 | 10:5:1:Randomize |
| 1105 | 10:10:0:-1:SpewHandle |
| 1106 | $$CHILD_BLOCK_END |
| 1107 | 08:aTurnOnSpew |
| 1108 | $$CHILD_BLOCK_START |
| 1109 | 10:1:0:22:Object |
| 1110 | 10:4:-1:GunNum |
| 1111 | 10:10:0:7:SpewType |
| 1112 | 10:6:0.000000:Mass |
| 1113 | 10:6:0.000000:Drag |
| 1114 | 10:15:65536:PhysicsFlags |
| 1115 | 10:5:0:IsRealObject |
| 1116 | 10:6:2.500000:BlobLifetime |
| 1117 | 10:6:0.200000:BlobInterval |
| 1118 | 10:6:-1.000000:SpewLife |
| 1119 | 10:6:4.200000:BlobSize |
| 1120 | 10:6:8.000000:BlobSpeed |
| 1121 | 10:5:1:Randomize |
| 1122 | 10:10:0:-1:SpewHandle |
| 1123 | $$CHILD_BLOCK_END |
| 1124 | 08:aTurnOnSpew |
| 1125 | $$CHILD_BLOCK_START |
| 1126 | 10:1:0:23:Object |
| 1127 | 10:4:-1:GunNum |
| 1128 | 10:10:0:7:SpewType |
| 1129 | 10:6:0.000000:Mass |
| 1130 | 10:6:0.000000:Drag |
| 1131 | 10:15:65536:PhysicsFlags |
| 1132 | 10:5:0:IsRealObject |
| 1133 | 10:6:1.900000:BlobLifetime |
| 1134 | 10:6:0.200000:BlobInterval |
| 1135 | 10:6:-1.000000:SpewLife |
| 1136 | 10:6:2.800000:BlobSize |
| 1137 | 10:6:4.000000:BlobSpeed |
| 1138 | 10:5:1:Randomize |
| 1139 | 10:10:0:-1:SpewHandle |
| 1140 | $$CHILD_BLOCK_END |
| 1141 | 08:aTurnOnSpew |
| 1142 | $$CHILD_BLOCK_START |
| 1143 | 10:1:0:24:Object |
| 1144 | 10:4:-1:GunNum |
| 1145 | 10:10:0:7:SpewType |
| 1146 | 10:6:0.000000:Mass |
| 1147 | 10:6:0.000000:Drag |
| 1148 | 10:15:65536:PhysicsFlags |
| 1149 | 10:5:0:IsRealObject |
| 1150 | 10:6:1.800000:BlobLifetime |
| 1151 | 10:6:0.200000:BlobInterval |
| 1152 | 10:6:-1.000000:SpewLife |
| 1153 | 10:6:2.800000:BlobSize |
| 1154 | 10:6:3.000000:BlobSpeed |
| 1155 | 10:5:1:Randomize |
| 1156 | 10:10:0:-1:SpewHandle |
| 1157 | $$CHILD_BLOCK_END |
| 1158 | 08:aTurnOnSpew |
| 1159 | $$CHILD_BLOCK_START |
| 1160 | 10:1:0:25:Object |
| 1161 | 10:4:-1:GunNum |
| 1162 | 10:10:0:7:SpewType |
| 1163 | 10:6:0.000000:Mass |
| 1164 | 10:6:0.000000:Drag |
| 1165 | 10:15:65536:PhysicsFlags |
| 1166 | 10:5:0:IsRealObject |
| 1167 | 10:6:2.700000:BlobLifetime |
| 1168 | 10:6:0.200000:BlobInterval |
| 1169 | 10:6:-1.000000:SpewLife |
| 1170 | 10:6:2.800000:BlobSize |
| 1171 | 10:6:4.000000:BlobSpeed |
| 1172 | 10:5:1:Randomize |
| 1173 | 10:10:0:-1:SpewHandle |
| 1174 | $$CHILD_BLOCK_END |
| 1175 | 08:aTurnOnSpew |
| 1176 | $$CHILD_BLOCK_START |
| 1177 | 10:1:0:26:Object |
| 1178 | 10:4:-1:GunNum |
| 1179 | 10:10:0:7:SpewType |
| 1180 | 10:6:0.000000:Mass |
| 1181 | 10:6:0.000000:Drag |
| 1182 | 10:15:65536:PhysicsFlags |
| 1183 | 10:5:0:IsRealObject |
| 1184 | 10:6:2.000000:BlobLifetime |
| 1185 | 10:6:0.200000:BlobInterval |
| 1186 | 10:6:-1.000000:SpewLife |
| 1187 | 10:6:2.400000:BlobSize |
| 1188 | 10:6:4.000000:BlobSpeed |
| 1189 | 10:5:1:Randomize |
| 1190 | 10:10:0:-1:SpewHandle |
| 1191 | $$CHILD_BLOCK_END |
| 1192 | $$CHILD_BLOCK_END |
| 1193 | $$CHILD_BLOCK_END |
| 1194 | 00:1:Start Matcens |
| 1195 | $$CHILD_BLOCK_START |
| 1196 | 01:2:0 |
| 1197 | 02:6 |
| 1198 | 03:0 |
| 1199 | $$CHILD_BLOCK_START |
| 1200 | 05:0 |
| 1201 | $$CHILD_BLOCK_END |
| 1202 | 04:0:0:0 |
| 1203 | $$CHILD_BLOCK_START |
| 1204 | 08:aMatcenSetState |
| 1205 | $$CHILD_BLOCK_START |
| 1206 | 10:10:0:1:Activate/Deactivate |
| 1207 | 10:17:0:0:Matcen |
| 1208 | $$CHILD_BLOCK_END |
| 1209 | 08:aMatcenSetState |
| 1210 | $$CHILD_BLOCK_START |
| 1211 | 10:10:0:1:Activate/Deactivate |
| 1212 | 10:17:0:1:Matcen |
| 1213 | $$CHILD_BLOCK_END |
| 1214 | 08:aMatcenSetState |
| 1215 | $$CHILD_BLOCK_START |
| 1216 | 10:10:0:1:Activate/Deactivate |
| 1217 | 10:17:0:2:Matcen |
| 1218 | $$CHILD_BLOCK_END |
| 1219 | 08:aMatcenSetState |
| 1220 | $$CHILD_BLOCK_START |
| 1221 | 10:10:0:1:Activate/Deactivate |
| 1222 | 10:17:0:3:Matcen |
| 1223 | $$CHILD_BLOCK_END |
| 1224 | 08:aMatcenSetState |
| 1225 | $$CHILD_BLOCK_START |
| 1226 | 10:10:0:1:Activate/Deactivate |
| 1227 | 10:17:0:4:Matcen |
| 1228 | $$CHILD_BLOCK_END |
| 1229 | 08:aMatcenSetState |
| 1230 | $$CHILD_BLOCK_START |
| 1231 | 10:10:0:1:Activate/Deactivate |
| 1232 | 10:17:0:5:Matcen |
| 1233 | $$CHILD_BLOCK_END |
| 1234 | $$CHILD_BLOCK_END |
| 1235 | $$CHILD_BLOCK_END |
| 1236 | |
| 1237 | $$SCRIPT_BLOCK_END |
| 1238 | *********************************************************/ |