Copy Link
Add to Bookmark
Report

Doom Editing Digest Vol. 01 Nr. 451

eZine's profile picture
Published in 
Doom editing
 · 6 months ago

From:      owner-doom-editing-digest 
To: doom-editing-digest@nvg.unit.no
Subject: doom-editing-digest V1 #451
Reply-To: doom-editing
Errors-To: owner-doom-editing-digest
Precedence: bulk


doom-editing-digest Friday, 20 October 1995 Volume 01 : Number 451

Hexen BEHAVIOR cracked!
This is kind of embarassing ...
Re: Olivier's strange mail :)
Re: Hexen scripts: more hacking info
RE: Who's working on editors for Hexen? (fwd)

----------------------------------------------------------------------

From: "John B. Williston" <g-men@ix9.ix.netcom.com>
Date: Thu, 19 Oct 1995 05:25:47 -0700
Subject: Hexen BEHAVIOR cracked!

Hello all.

I cracked much of the Hexen BEHAVIOR resource last night and wrote a partial
decompiler. (I haven't figured out all the pcodes yet.) I will make my
data available to any other editor author (I'm the author of WadAuthor)
willing to share what they know about the scripts. Here's hoping we all
have great editors ready to go when Hexen ships!


------------------------------

From: creed@graymatter.on.ca (Colin Reed)
Date: Thu, 19 Oct 1995 08:16:23 -0400
Subject: This is kind of embarassing ...

Does anyone have the source to BSP12x, I originally wrote it and
accidentally lost the code in the transit to Canada.

Colin Reed


------------------------------

From: d.moeller@rendsburg.netsurf.de (Denis)
Date: Thu, 19 Oct 1995 16:08:18 +0100
Subject: Re: Olivier's strange mail :)

Hi!

>The new WinTex 4.0d can read the directory and string list of BEHAVIOR
>entries. this isn't much yet, but it makes hacking a small bit easier.
>I'lll upload today to my home page.
>
> Note for NWT fanatics:
> WinTex can also read the rest of the wad, the levels, and has the
> colors right. so you chose
:) I have to disappoint anybody waiting for NWT 1.4 - right now there
is a lot of work for me - little time for NWT. BUT, there will be a
version of NWT, which will FULLY support Hexen. That's for sure.

cya
Denis
[] Denis Moeller, author of NWT v1.3 and TiC's WAD Reviews. []
[] Just play our Doom (2) Add-Ons: Sudtic, Teutic, Obtic. Thanks. []
[]------------ E-Mail: d.moeller@rendsburg.netsurf.de ------------[]


------------------------------

From: Robert Forsman <thoth@cis.ufl.edu>
Date: Thu, 19 Oct 1995 11:34:17 EDT
Subject: Re: Hexen scripts: more hacking info

Olivier <montanuy@lsun80.lannion.cnet.fr> ,in message <9510180955.063200@lat119
2.lannion.cnet.fr>, wrote:

> Apparently, the scripts are numbered in order, but some have
> 1000 added to their number. for instance, MWAGABAZA26 will activate
> script 26 though this script is referenced as 1026.

When you play deathmatch, many doors are open and stairs activated. Somehow
I doubt all of the possible scripts are executed. How does the engine
determine which scripts get executed for deathmatch?

------------------------------

From: David Friedman <dfriedmn@wam.umd.edu>
Date: Thu, 19 Oct 1995 18:47:51 -0400 (EDT)
Subject: RE: Who's working on editors for Hexen? (fwd)

Whoops, I fowarded this to Oliver instead of sending to the group...

On 17 Oct 1995, Olivier wrote:

> >is interest (are the any editor authors here?), I could post anything I
> >learn about the scripts, etc. - if it hasn't been done already. Has
> >anyone discovered anything that's not in the FAQ?
> I think you should ;-)
> WinTex is written in visual basic, so that allows me to make fast modifications
> to it. if you find out something interesting, writing a panel for scripts
> should not be too hard for me.
> Other editor writers are also bound to be interested! waste you time on hacking,
> not on writing code ;-)

Exactly what I was thinking. Here's the little bit I've found out
about the BEHAVIOR resource (some of this is already known from the Hexen
FAQ):

ofs size
- --- ----
0 4 "ACS\0"
4 4 Offset of script directory (within the resource)
8 - Script data in 32-bit words. An 'opcode' of 1 appears to be
a script terminator

- - - String data. Just a list of null terminated strings. Most of
them are sounds, I think. There is also text that can be displayed
in a message ("Are you prepared to die?", etc.)

<script directory>
+0 4 Number of scripts

<script entries>
+0 4 Script ID number. This is probably how the
scripts are referenced from other resources. Most of them are
numbered 1,2,3... But then there are scripts with larger
numbers and with byte 2 set to 3 or 4. These may be large numbers or
the second byte might have a special meaning.
+4 4 Offset of script data
+8 4 Almost always zero. map 1 has a entry with 3, map 3 with a 2, and
map 4 with 1. Character-class flags? Deatmatch only?

<string directory>
- - 4 Number of strings

<string entries>
+0 4 Offset of string

That last table is a real pain. This means strings are referenced by
their table entry as opposed to their real offset. This makes hacking
the scripts much more difficult because it removes unique values from the
script data.

- -Update-
Scripts that have the value of 1000 added to them appear to run when the
level starts (or is played for the first time.) Check script 26 on
map2. It runs through the Korax thing. Note that script 10 also seems
to be a startup script, but can't be run again. These are supposedly
continuous scripts. My guess is that it controls the elevator that is
behind the Korax wall. I don't know what makes a script continuous yet...

Also, there are scripts with ID's outside of the range that can be played
with MWAGABAZA. All have scripts 255 and 254 (think -1 and -2). Map 1 has
253, map 2 1200, both map 3 and 4 have both 1100 and 1200. These are
probably deathmatch scripts to open all the doors. If someone knows the
script instructions, he can verify this.

If anyone finds additional info, please post it!

David Friedman






------------------------------

End of doom-editing-digest V1 #451
**********************************

← previous
next →
loading
sending ...
New to Neperos ? Sign Up for free
download Neperos App from Google Play
install Neperos as PWA

Let's discover also

Recent Articles

Recent Comments

Neperos cookies
This website uses cookies to store your preferences and improve the service. Cookies authorization will allow me and / or my partners to process personal data such as browsing behaviour.

By pressing OK you agree to the Terms of Service and acknowledge the Privacy Policy

By pressing REJECT you will be able to continue to use Neperos (like read articles or write comments) but some important cookies will not be set. This may affect certain features and functions of the platform.
OK
REJECT