Jump to content

how to add custom prop in map


Recommended Posts

uh, don't think you need to do anything in mapinfo here, just a doomednum in the actor defs should be enuf to make them show up in editor

Edited by sluggard

Share this post


Link to post
23 minutes ago, sluggard said:

uh, don't think you need to do anything in mapinfo here, just a doomednum in the actor defs should be enuf to make them show up in editor

but how should it be written? I'm a beginner and don't know how long it is written in mapinfo

Share this post


Link to post

Seems to me you have it written correctly. But you don't need the MAPINFO stuff at all - that's giving you the error.

Edited by Rifleman

Share this post


Link to post
54 minutes ago, Rifleman said:

Seems to me you have it written correctly. But you don't need the MAPINFO stuff at all - that's giving you the error.

thanks, really, adding the prop in mapinfo gave an error, so I consider this topic closed.

Share this post


Link to post

think I should add, you can define "DoomEdNums" in MAPINFO like that. In fact, if you are using new Actors that have ZSCRIPT definitions instead of DECORATE definitions, you have to use MAPINFO to assign them editor numbers. So I don't know what's causing the error in your case here, since I was able to assign editor numbers just fine in that way in my own WAD.

 

A couple of possible things:

1. Do a fresh install of the latest version of GZDoom to make sure you're up to date.

2. (Alternatively, if you don't want to use the latest version for whatever reason), double check and make sure that your GZDoom's files are all from the same version. Make sure your gzdoom.pk3 for example isn't from an older version while your EXE is from a newer one.

 

 

One thing that did cause problems for me though, I noticed in your DECORATE definitions, you have:

\\junkpile1
\*
Actor JunkPile1
{
bla bla bla
}

When I tried adding those kinds of \\ and \* lines to mine before each actor, GZDoom crashed. It's possible that may be throwing you issues.

Edited by SMG_Man

Share this post


Link to post

Heh, four replies in the thread and nobody notices that the commented lines are written incorrectly.

For commenting, use two //, not \\. Also, for a block comment, use /* */.

 

Where in the world have you found out the '\\'? So, please, correct the comments and the error will be gone.

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...