How do i discover the ID of something?
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.
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.
-
- Posts: 380
- Joined: Tue Dec 20, 2016 4:53 pm
- Location: MURICAA BROTHER! Just kidding, Brazil.
How do i discover the ID of something?
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?
Re: How do i discover the ID of something?
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.
-
- 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?
What exactly do you mean? So, How i do that?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.
- 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?
If a TID had been assigned, that is very easy with GZDB.
In r2553, MaxED added the plugin Tag Explorer as a permanent utility.
Using a different editor this would be a hunt and peck operation.
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.
-
- 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?
So i have to dowload a whole progam only find out the TID?
- Arctangent
- Posts: 1235
- Joined: Thu Nov 06, 2014 1:53 pm
- Contact:
Re: How do i discover the ID of something?
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.
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.
-
- 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?
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.
- Arctangent
- Posts: 1235
- Joined: Thu Nov 06, 2014 1:53 pm
- Contact:
Re: How do i discover the ID of something?
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.
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.
-
- 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?
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!
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!
Re: How do i discover the ID of something?
Hexen format and UDMF support TIDs.
- Arctangent
- Posts: 1235
- Joined: Thu Nov 06, 2014 1:53 pm
- Contact:
Re: How do i discover the ID of something?
[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 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!
-
- 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?
Again. How i'm supposed to do that? I use slade3 and add a X code? Explain it!
- Arctangent
- Posts: 1235
- Joined: Thu Nov 06, 2014 1:53 pm
- Contact:
Re: How do i discover the ID of something?
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.
-
- 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?
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?
- Arctangent
- Posts: 1235
- Joined: Thu Nov 06, 2014 1:53 pm
- Contact:
Re: How do i discover the ID of something?
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.