Created By: Gridle
eMail gridle@mbnet.fi
Difficulty Scale Easy



The first tutorial has always been "super-gibs" or "super-messages" patch. This isn't. This is a "super-monster" patch! Have fun..


Step 1


Now, copy HCC.EXE and all the .HC files + PROGS.SRC from the H2 Utilities Pack, to /hexen2/first/src/ -directory.


Monsters are about always in their own files. This time we want to edit Knight Archer, so open archer.hc with a text editor.

Let's see.. We can find the function archer_arrow_touch in the line 203. Touch functions are called when the "thing" touches something. Now we want to find the line which determines how much damage to create.

There are lines defining the variable "damg", 215, 219 and 221. Easiest way to make the super-monsters is ofcourse to raise the random() limits. (the first parameter is lower limit, and second is upper limit)

These would be the altered lines 214-222:

        if (self.owner.classname == "monster_archer")
                damg = random(20,30);
	else
	{
		if (self.classname == "red_arrow")
                        damg = random(30,40);
		else	// the gold arrow
                        damg = random(50,60);
	}



Then, just compile it running HCC.EXE, change to H2 root directory, run Hexen2 with "h2 -game first", and beware Archers! :)

Tutorial was "htmlized" by legion.


If it is created, then it is copyrighted. HexenC Tutorial #1 is (c)1997-98 by gridle
and the Inside3D staff. The site is hosted by the one and only TeleFragged. Please direct any
flames, comments, or praises to the author. Any and all information found in this tutorial may
be used in any Hexen2 modification provided that the author and the Inside3D staff are credited.