Back to the Vavoom Forum Archives


Forum

Actor Numbers?

Sat, 29 Dec 2007 00:59:44

Karnizero

Where can i get that list for Hexen? I know that Centaur = 1; but i know no more. <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> Thanks in advance.
Sat, 29 Dec 2007 10:17:29

Crimson Wizard

You mean Ids used to spawn them, right? Since they are diferent from Mobj Id, a number which is used to place them on map in editor. If you are using WadAuthor editor, I remember it had a beta manual version for editing, with lots of help, including these numbers. If you are using DoomBuilder, you can see them in "defs.acs" header file, which is shipped with application. Contents that you need look like this:
#define T_NONE					0
#define T_CENTAUR				1
#define T_CENTAURLEADER			2
#define T_DEMON					3
#define T_ETTIN					4
#define T_FIREGARGOYLE			5
and so on. Also, just in case, you always may know which number is used for this or that Thing by looking into Vavoom progs. Some actors have following line at their class declaration:
__scriptid__(NNN);
Like
class Centaur : Pawn
	__mobjinfo__(107)
	__scriptid__(1);
"mobjinfo" - is Id to use in editor when you put them on map, scriptid - is the one used to spawn them in script.
Sat, 29 Dec 2007 14:00:25

Karnizero

Nice. The world is now a better place thanks to you. <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->

Back to the Vavoom Forum Archives