MAPINFO vs DECORATE to add Actor Strife Peasant to Doom

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
pwnsevelt
Posts: 21
Joined: Sun Nov 17, 2013 5:25 pm

MAPINFO vs DECORATE to add Actor Strife Peasant to Doom

Post by pwnsevelt »

I'm trying to use the DoomEd numbers section of MAPINFO to reference the Strife peasants, which I would like to use unchanged in my Doom map. I normally create new actors in DECORATE but have been trying to use inheritance better. I've tried to specify the DoomEd number of each of the specific Peasant actors, in the hopes of being able to find them in Doom Builder. My code below is not able to do this. Am I wrong to think a MAPINFO lump alone could accomplish this? Or do I need a DECORATE lump too? I've tried searching a number of threads on here for details about MAPINFO best practices, but have not had much luck.

Code: Select all

map map01 "Phobos Coffee"
{
sky1 = "Stellar", 0.0
lightning
fade = "gray"
}

DoomEdNums
{
    65 = Peasant4
    66 = Peasant7
	67 = Peasant10
	72 = BarKeep
    73 = Armorer
   130 = Peasant2
   131 = Peasant3
   132 = Peasant5
   133 = Peasant6
   134 = Peasant8
   135 = Peasant9
   136 = Peasant11
   137 = Peasant12
   172 = Peasant13
   173 = Peasant14
   174 = Peasant15
   175 = Peasant16
   176 = Peasant17
   177 = Peasant18
   178 = Peasant19
   179 = Peasant20
   180 = Peasant21
   181 = Peasant22
}
User avatar
Arctangent
Posts: 1235
Joined: Thu Nov 06, 2014 1:53 pm

Re: MAPINFO vs DECORATE to add Actor Strife Peasant to Doom

Post by Arctangent »

It's likely that the MAPINFO is working without flaw, it's more your Doom Builder version of choice doesn't look at MAPINFO to find DoomEdNums. You should still be able to place the actors by typing the DoomEdNums you set in, well, the DoomEdNum field and the actors will appear in-game, they just won't show-up in the editor.
XxMiltenXx
Posts: 219
Joined: Wed Jan 08, 2014 8:40 am
Graphics Processor: nVidia with Vulkan support
Location: Germany

Re: MAPINFO vs DECORATE to add Actor Strife Peasant to Doom

Post by XxMiltenXx »

A problem that I noticed in GZDoomBuilder when it comes to MAPINFO is that it cannot use it, unless you add the gzdoom.pk3 to the resource list (make sure to exclude it from loading while testing).

This always fixed issues for me regarding MAPINFO and GZDoomBuilder

Return to “Scripting”