As per VTL's tutorials, I wrote a script,
added it to SCRIPTS.H
and SCRIPTS.lst,
created a .msg with the same name as the .int in text/english/game
compiled it and copied the .int to fallout2/data/scripts, and loaded the map into mapper. The problem is that when I go into game mode, I get "Error" instead of the flavor text I wrote. What am I doing wrong?
Edit: Tried run_mapper_as_game=1. Still nothing.
Edit: SCRIPTS.lst and SCRIPTS.h do not line-for-line match. I'm using Killap's bug patch, the children patch, and the FO2 Official Patch. Going through .h and manually synching it up with .lst.
Edit: Even with SCRIPTS.h modified to include the following code:
the script still won't recognize the .msg, and I still get the Error.
Code:
#include "headers\define.h"
#define NAME SCRIPT_ZSWIRE
#include "headers\command.h"
procedure start;
procedure description_p_proc;
procedure look_at_p_proc;
procedure start begin
end
procedure description_p_proc begin
script_overrides;
display_msg(mstr(100));
end
procedure look_at_p_proc begin
script_overrides;
display_msg(mstr(101));
end
Code:
#define SCRIPT_ZSWIRE (1304)
Code:
zswire.int ; Usermap cave wire script # local_vars=1
Code:
{100}{}{This ancient bundle of cables appears to have been attached to the cave ceiling at one point.}
{101}{}{This is a large bundle of cables.}
Edit: Tried run_mapper_as_game=1. Still nothing.
Edit: SCRIPTS.lst and SCRIPTS.h do not line-for-line match. I'm using Killap's bug patch, the children patch, and the FO2 Official Patch. Going through .h and manually synching it up with .lst.
Edit: Even with SCRIPTS.h modified to include the following code:
Code:
#define SCRIPT_MIMIRDOR (1304) // mimirdor.int ; Miria's Bedroom Door
#define SCRIPT_MIDAVDOR (1305) // MIDavDor.int ; Davin's Bedroom Door
#define SCRIPT_SIPTBOX2 (1306) // SIPtbox2.int ; box where Merk hides your car trunk stuff
#define SCRIPT_SFSHUTL1 (1307) // sfshutl1.int ; map script to Hubologist entrance (shuttle)
#define SCRIPT_PATCHINF (1308) // patchinf.int ; patchinf
#define SCRIPT_SCDMYMK (1309) // scdmymk.int ; Dummy script for Merk and his guard
#define SCRIPT_KCVICDOR (1310) // kcvicdor.int ; Door to Vic's house in Klamath
#define SCRIPT_SIMRKSTR (1311) // simrkstr.int ; Script to stairs leading to Merk's basement
#define SCRIPT_ZSWIRE (1312) // ZSWIRE.int ; Usermap cave entrance wires