How do i discover the ID of something?

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.
XASSASSINX
Posts: 380
Joined: Tue Dec 20, 2016 4:53 pm
Location: MURICAA BROTHER! Just kidding, Brazil.

How do i discover the ID of something?

Post by XASSASSINX »

Let's say i wanna use "Hate_thing" But i don't know the ID of that custom monster. How the hell i am supposed to discover it?
Nevander
Posts: 2254
Joined: Mon Jan 06, 2014 11:32 pm

Re: How do i discover the ID of something?

Post by Nevander »

If you mean TID, they have to be assigned either when spawning them or manually on the thing itself. I assume you mean TID since that's how you use Thing_Hate.
XASSASSINX
Posts: 380
Joined: Tue Dec 20, 2016 4:53 pm
Location: MURICAA BROTHER! Just kidding, Brazil.

Re: How do i discover the ID of something?

Post by XASSASSINX »

Nevander wrote:If you mean TID, they have to be assigned either when spawning them or manually on the thing itself. I assume you mean TID since that's how you use Thing_Hate.
What exactly do you mean? So, How i do that?
User avatar
Kappes Buur
 
 
Posts: 4183
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: How do i discover the ID of something?

Post by Kappes Buur »

If a TID had been assigned, that is very easy with GZDB.
In r2553, MaxED added the plugin Tag Explorer as a permanent utility.
Spoiler:
Click on the item and the editor jumps to it.

Using a different editor this would be a hunt and peck operation.
XASSASSINX
Posts: 380
Joined: Tue Dec 20, 2016 4:53 pm
Location: MURICAA BROTHER! Just kidding, Brazil.

Re: How do i discover the ID of something?

Post by XASSASSINX »

So i have to dowload a whole progam only find out the TID?
User avatar
Arctangent
Posts: 1235
Joined: Thu Nov 06, 2014 1:53 pm
Contact:

Re: How do i discover the ID of something?

Post by Arctangent »

Chances are if you don't know what the TID of a thing is, most likely situation is that it doesn't have one.

The fact that you don't have a mapping program makes it even more likely, since for all we know you could be talking about a thing in a vanilla map, which flat-out don't have TIDs.
XASSASSINX
Posts: 380
Joined: Tue Dec 20, 2016 4:53 pm
Location: MURICAA BROTHER! Just kidding, Brazil.

Re: How do i discover the ID of something?

Post by XASSASSINX »

Uhhh... I have a mapping progam. Doom builder 2. But that doesn't work. I don't think that i can find the TID of something via Doom builder 2.
User avatar
Arctangent
Posts: 1235
Joined: Thu Nov 06, 2014 1:53 pm
Contact:

Re: How do i discover the ID of something?

Post by Arctangent »

You can.

Right-click the thing. There should be a field labeled TID.

If there isn't, then you're using a map format where TIDs don't exist.
XASSASSINX
Posts: 380
Joined: Tue Dec 20, 2016 4:53 pm
Location: MURICAA BROTHER! Just kidding, Brazil.

Re: How do i discover the ID of something?

Post by XASSASSINX »

Alright. So what map format show me the TID?

Edit: It worked! The problem is, I'm trying to figure out the ID of a monster that you spawn using a item, So i can't find it on the menu!
Nevander
Posts: 2254
Joined: Mon Jan 06, 2014 11:32 pm

Re: How do i discover the ID of something?

Post by Nevander »

Hexen format and UDMF support TIDs.
User avatar
Arctangent
Posts: 1235
Joined: Thu Nov 06, 2014 1:53 pm
Contact:

Re: How do i discover the ID of something?

Post by Arctangent »

XASSASSINX wrote:Edit: It worked! The problem is, I'm trying to figure out the ID of a monster that you spawn using a item, So i can't find it on the menu!
[wiki]Spawn[/wiki] and its variants allow you to assign a TID to the spawned actor. Though, I guess you're more likely to being using [wiki]A_SpawnItemEx[/wiki] instead, which can do the same.
XASSASSINX
Posts: 380
Joined: Tue Dec 20, 2016 4:53 pm
Location: MURICAA BROTHER! Just kidding, Brazil.

Re: How do i discover the ID of something?

Post by XASSASSINX »

Again. How i'm supposed to do that? I use slade3 and add a X code? Explain it!
User avatar
Arctangent
Posts: 1235
Joined: Thu Nov 06, 2014 1:53 pm
Contact:

Re: How do i discover the ID of something?

Post by Arctangent »

You're going to have to be more specific, because you could be asking like fifty different things there and there's no telling where to start.
XASSASSINX
Posts: 380
Joined: Tue Dec 20, 2016 4:53 pm
Location: MURICAA BROTHER! Just kidding, Brazil.

Re: How do i discover the ID of something?

Post by XASSASSINX »

I think i got what do you mean, Are you saying that i should see the script of the item that summon the monster, See the ID of the monster that it summon, And that's it?
User avatar
Arctangent
Posts: 1235
Joined: Thu Nov 06, 2014 1:53 pm
Contact:

Re: How do i discover the ID of something?

Post by Arctangent »

Well, chances are if you're looking for the TID of an actor spawned by an inventory item, it probably doesn't actually have a TID. TIDs are completely optional, so if the mod wasn't made with the intention of the monster have a TID then they'd have to go out of their way to give it that TID without really having a reason to.
Locked

Return to “Editing (Archive)”