Making custom decorates actualy work?

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
RaptorFarmer
Posts: 37
Joined: Fri Oct 26, 2007 12:42 pm

Making custom decorates actualy work?

Post by RaptorFarmer »

I use DecX so I can test my actors before I save them. And I got a bunch of them working pretty well. Not huge changes, just things like recoloring the plasma zombie's blue plasma glow in its attack animation so its more red. And replasing it's plasma shot with a fire plume missle that dies shortly after being fired, so its just like a flamethrower.

Also made a dog using a wolfenstine dog sprite I found in doomworld...

...But now... How do I make them actualy work in ZDoom in the map that I made? Whenever I place them in Doom Builder it just shows up as a question mark. And when I try to run the map in ZDoom they just show up and exclemation marks.
User avatar
Jimmy
 
 
Posts: 4728
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him
Contact:

Post by Jimmy »

You need to run a WAD with an entry called "DECORATE" and put your code in there.
User avatar
RaptorFarmer
Posts: 37
Joined: Fri Oct 26, 2007 12:42 pm

Post by RaptorFarmer »

I'll check, but I think its already in the WAD as DECORATE. As well as SNDINFO and DECALDEF. I was wondering if I was supposed to specify something like what actor it's replacing or something else I was forgeting.

The WAD is on a different computer that dosn't have internet. So I'd have to go up, copy the code to a disk, run back down and paste it here. The actors do work, with sound, full animations, they do exactly what I want them to, and I can test the in DecX. But they dont seem to show up in Doom Builder or ZDoom.
User avatar
Phobus
Posts: 5984
Joined: Thu May 05, 2005 10:56 am
Location: London
Contact:

Post by Phobus »

Have you given them a DoomEd number?

Code: Select all

ACTOR MyActor 10000 //<-DoomEd Number
User avatar
Enjay
 
 
Posts: 27336
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

You do not have to replace an actor with DECORATE actors, you can add your own. To do so, give them a new and unique edit number, then use that in DB.

If you do want to replace an existing actor, use the "replaces" command.

actor MiDog 22065
{
actor stuff
}

or...

actor MiDog replaces Demon
{
actor stuff
}

or even, if you want to inherit most of the characteristics from a demon and then change a few things...

actor MiDog : Demon replaces Demon
{
actor stuff
}

[edit] Dammit Phobus ;) [/edit]
User avatar
Phobus
Posts: 5984
Joined: Thu May 05, 2005 10:56 am
Location: London
Contact:

Post by Phobus »

Yours was more full :P

However, I will point out that in my latest mapping work I discovered that DB won't see any DECORATE entries if I make a new map. If I load up a map with the resources though, it works properly... so it's not too hard to get round. That might be your problem as well.
User avatar
RaptorFarmer
Posts: 37
Joined: Fri Oct 26, 2007 12:42 pm

Post by RaptorFarmer »

Thanks, I havn't read this in a while but it sure helps. I've been real busy.
Locked

Return to “Editing (Archive)”