Warning: Cannot modify header information - headers already sent by (output started at /home/nma/public_html/content.php:68) in /home/nma/public_html/includes/header.shtml on line 2
No Mutants Allowed - Your Post Nuclear News Center!
rss rss Like this on facebook Twitter this +1 this Steam group

Setting up for Script Compiling.
By ColJack

I'm not going to go into the details of scripting itself, this is just how to set up the compiler..

Watcom Setup

The script compiler doesn't come with a C pre-processor.
The original developers used a C pre-processor they already had on their PC's as it was easier than writing their own specifically for Fallout..

They used the pre-processor from Watcom C compiler.

This is available from many places.. I'll leave you to find it.. ( I can't do everything for you. )

You can also use other C pre-processors, but since I only use the Watcom one, I'll stick to how that works for now..

I am using Watcom 11, not openWatcom, so there might be differences to setting up for open Watcom.

I'm going to assume that the drive you have Fallout installed on is C:\... for any other drive, just change the drive letter in the following.

Install Watcom to it's default directory ( C:\watcom )

Go to the scripts directory in the fallout 2 editor directory ( C:\Program Files\Black Isle\Fallout 2 Mapper\scripts by default.. ) and delete the p.bat file, and also delete it in all sub directories.. ( it's easier this way.. trust me.. )

copy the following into a blank notepad file and save it as p.bat.

@echo off
copy %1.ssl temp.c

c:\watcom\binnt\wcc temp.c /p /fo=temp.i 

copy temp.i temp.ssl 

..\dos4gw ..\compile temp.ssl

rem The path in the following two lines should point to the Fallout 2 folder:
md "c:\Program Files\BlackIsle\Fallout2\data\scripts"
copy temp.int "c:\Program Files\BlackIsle\Fallout2\data\scripts\%1.int"

del temp.c
del temp.i
del temp.ssl
del temp.int

This is for a Windows XP set up, which the compiler considers to be NT.. hence the "binnt" part..

It might be that you have to change the "binnt" part to just "bin" for other versions of windows..

The part that says "rem The path in the following two lines..." should be self explanatory.

save it to the scripts folder, and then copy it to all of the sub folders..so each folder has it's own p.bat copy..

Now you need to put a command prompt ( that's a DOS window to all you youngsters out there.. ) shortcut into the scripts folder.

Open the command prompt ( should show as "c:\Program Files\Black Isle\Fallout 2 Mapper\scripts>" ), and type "cd scriptfolder" where scriptfolder is the name of the folder where the script you want to compile is..

Type "p scriptname" where scriptname is the name of the script you want to compile ( minus the .ssl extension.. ). I'm assuming you have already made the changes you want to the script..?

If you get any errors that say..

'..\dos4gw' is not recognized as an internal or external command,
operable program or batch file.

or something similar, you haven't changed to the "script you want to compile's" sub-directory ( ie ACBRAHMN.ssl should be compiled from the Arroyo directory ), and are trying to compile it from the scripts directory.

If all went right, the there should me a brand new script in the "c:\Program Files\BlackIsle\Fallout2\data\scripts" folder ( unless you are re-compiling a script you already created there or put there from the dat's..)

In order for NEW scripts to work, you need to add them to the scripts.lst file ( which you should extract from the master.dat file to the fallout2\data\scripts directory. )

Simply edit the .lst file in notepad, and add the name of your new script at the end of the list like the others in the list..

ATTENTION! Anything placed in the Fallout2\data directory and sub directories will not work if you have the patch000.dat installed, since the patch000.dat overrides the content of the Fallout2\data directories..

Which in this case would override the scripts.lst file..

Mon, 23 Nov 2015 18:22:37 GMT
Fallout 4's first beta patch is out
Fri, 20 Nov 2015 04:06:04 GMT
Bethesda: Thanks and Updates for Fallout 4
Mon, 09 Nov 2015 22:37:43 GMT
Fallout 4 PC retail has a 18.8 GB Steam download
Mon, 09 Nov 2015 13:04:00 GMT
First round of Fallout 4 Reviews
Mon, 09 Nov 2015 13:02:12 GMT
Fallout 4 is officially released on Steam in New Zealand and Australia
Sat, 07 Nov 2015 23:31:49 GMT
Fallout 4's first review
Fri, 06 Nov 2015 23:19:17 GMT
The making of Fallout 4 - Game Informer article
Fri, 06 Nov 2015 21:07:56 GMT
Fallout 4 preloading has started on Steam
Thu, 05 Nov 2015 15:35:56 GMT
Fallout 4 Launch Trailer
Wed, 04 Nov 2015 23:19:51 GMT
Pipboy companion app for Fallout 4 is out
Wed, 04 Nov 2015 15:07:43 GMT
The Graphics Technology of Fallout 4
-Opening Analysis: Fallout
-AMA Q&A with Brian Fargo and Chris Avellone
-Wasteland 2 Interview with Chris Avellone and Brian Fargo
-Circle Junction
-Wasteland Kickstarter Project Interview with Brian Fargo
-The Origins of Fallout
-Afterfall: InSanity review
-Afterfall: InSanity preview
-Lonesome Road Review
-Old World Blues review
-Fallout2 Hi-Res Patch v4.1.5
-Fallout1 Hi-Res Patch v4.1.5
-Falloup, a Fallout Comic by 'Ten'
-WayDowntown V1.1
-FO1 bos grenades quest
-Fallout FIXT
-Graphics Viewer v1.36
-RobCo Systems Beta 1.0
-S.T.A.L.K.E.R.: Anarchy Cell Design Document
-Koan's Gift: Oblivion Lost Design Document Pack
-S.T.A.L.K.E.R.: Oblivion Lost Design Document
-S.T.A.L.K.E.R.: Oblivion Lost Story Outline
-Uptown v1.4
-Fallout Script Editor 1.5a
-Mission Mojave Fixpack
-Garden Of Eden Creation Kit
-The Weapon Mod Menu
-The Mod Configuration Menu
-Interior Lighting Overhaul