Jump to content

My custom decorations aren't showing up - what's wrong?


Recommended Posts

The relevant code is as follows:

 

MAPINFO:

Quote

DoomEdNums
{
  100 = HangingLantern
  101 = GreyLamp
  102 = LargeBrownBoulder
  103 = SmallGreyBoulder
  104 = SimpleCandelabra
  105 = Gargoyle
  106 = GreenTreeOne
  107 = GreenTreeTwo
  108 = GreenTreeThree
  109 = GreyStool
}

DECORATE:

Quote

ACTOR HangingLantern
{
  Game Doom
  Radius 13
  Height 15
  +SPAWNCEILING
  +NOGRAVITY
  States
  {
  Spawn:
    HLTN A -1
  }
}

ACTOR GreyLamp
{
  Game Doom
  Radius 28
  Height 30
  +SPAWNCEILING
  +NOGRAVITY
  States
  {
  Spawn:
    GLMP A -1
  }
}

ACTOR LargeBrownBoulder
{
  Game Doom
  Radius 64
  Height 67
  +SOLID
  States
  {
  Spawn:
    BLD1 A -1
  }
}

ACTOR SmallGreyBoulder
{
  Game Doom
  Radius 54
  Height 31
  +SOLID
  States
  {
  Spawn:
    BLD2 A -1
  }
}

ACTOR SimpleCandelabra
{
  Game Doom
  Radius 35
  Height 65
  +SOLID
  States
  {
  Spawn:
    CBA1 A -1
  }
}

ACTOR Gargoyle
{
  Game Doom
  Radius 73
  Height 60
  +SOLID
  States
  {
  Spawn:
    GARG A -1
  }
}

ACTOR GreenTreeOne
{
  Game Doom
  Radius 111
  Height 177
  +SOLID
  States
  {
  Spawn:
    TRE1 A -1
  }
}

ACTOR GreenTreeTwo
{
  Game Doom
  Radius 85
  Height 123
  +SOLID
  States
  {
  Spawn:
    TRE2 A -1
  }
}

ACTOR GreenTreeThree
{
  Game Doom
  Radius 36
  Height 134
  +SOLID
  States
  {
  Spawn:
    TRE3 A -1
  }
}

ACTOR GreyStool
{
  Game Doom
  Radius 18
  Height 23
  +SOLID
  States
  {
  Spawn:
    GSTL A -1
  }
}

The textures are all named as listed in DECORATE: HLTNA and so forth.

Share this post


Link to post

That didn't fix the problem. I still get the same results as if I had tried to add an actor using a number that isn't assigned to anything.

Share this post


Link to post

I added them to a map WAD I created in Doom Builder X with SLADE. Is there some other method I should be using to add custom decorations to a map WAD?

Share this post


Link to post

a WAD is fine, I just needed to know the method in which you were adding them to better answer your question. make sure that your DECORATE/MAPINFO/SNDINFO text files are at the top of the WAD structure and that your sprites are between SS_START and SS_END flags. otherwise as long as you define the DoomEd num in Mapinfo you should be okay- the only thing I can further suggest is removing the spaces before and after the "=" in the DoomEdNums definitions.

Share this post


Link to post

My sprites weren't between SS_START and SS_END flags, nor were they set as sprites in SLADE's texture editor; I fixed that, but they're still not showing up. Is it because their info is still in the TEXTURES lump?

Share this post


Link to post

Are the sprite names HLTNA0, GLMPA0 or HLTNA, GLMPA?

 

Edited by jval

Share this post


Link to post
13 minutes ago, eldomtom2 said:

The latter. Should they be the former?

 

Yes. This is how the rotation is defined. Look also at zdoom wiki for more info about sprite rotations.

Edited by jval

Share this post


Link to post

Okay, I did that. Now instead of an error sign I can walk through the actors are invisible and block movement. What's wrong?

Share this post


Link to post
18 minutes ago, eldomtom2 said:

Okay, I did that. Now instead of an error sign I can walk through the actors are invisible and block movement. What's wrong?

 

Check the sprite offsets in SLADE3. 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...