Valid Custom Monster Definition

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Exosphere
Posts: 168
Joined: Sun Jun 11, 2017 11:42 am
Location: New England, US

Valid Custom Monster Definition

Post by Exosphere »

Hello again ZDoom Forums,

I'm going to be adding a few custom monsters to my mod. I would like to create them from the ground up in DECORATE (and might have a good idea on how to do that), but I want to make sure that this is a valid definition of a monster. I would also like any tips that might be necessary in creating monsters.

Code: Select all

ACTOR Synth 29999
{
        //Important values and numbers here
	Monster
	States:
	{
		//input stuff here
	}
}
Nevander
Posts: 2254
Joined: Mon Jan 06, 2014 11:32 pm

Re: Valid Custom Monster Definition

Post by Nevander »

Looks good to me. I'm not actually sure what properties are 100% required since I don't actually write a lot of new actors from scratch unless they are just decorative objects or other small things. Some that I would absolutely include are stuff like MONSTER (which you have), health, radius and height, speed, and sounds; and of course the states. Here's an example of a simple monster coded completely from nothing (no inheritance) to give you an idea of the kind of properties I used.
Spoiler:
User avatar
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm

Re: Valid Custom Monster Definition

Post by Mikk- »

One thing I already noticed is that there's a ':' after States - that shouldn't be there, colons should only come after State Labels.
Locked

Return to “Editing (Archive)”