Thanks.Cansteam wrote:Death:DoomKrakken wrote: Anyway, would any of you be able to show me, at least an example, of how to implement a "disintegrate" deathtype within the DECORATE codes for the listed examples, and how to get monsters to respond to those deathtypes?
blablablablabla
stop
Death.Disintegrate:
blablablablabla
stop
The "How do I..." Thread
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.
- DoomKrakken
- Posts: 3482
- Joined: Sun Oct 19, 2014 6:45 pm
- Location: Plahnit Urff
- Contact:
Re: The "How do I..." Thread
Re: The "How do I..." Thread
What's the best program for simply previewing .md2/3 models?
- cortlong50
- Posts: 753
- Joined: Mon Jun 24, 2013 7:12 pm
- Location: UT-WA
Re: The "How do I..." Thread
DoomKrakken wrote:Thanks.Cansteam wrote:Death:DoomKrakken wrote: Anyway, would any of you be able to show me, at least an example, of how to implement a "disintegrate" deathtype within the DECORATE codes for the listed examples, and how to get monsters to respond to those deathtypes?
blablablablabla
stop
Death.Disintegrate:
blablablablabla
stop
it actually makes way more sense than youd think.
take a look at brutal doom (under the monster lumps) to get a full description...but basically...this is exactly right.
- Kappes Buur
-
- Posts: 4114
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
- Contact:
Re: The "How do I..." Thread
Misfit Model 3D 1.3.8kodi wrote:What's the best program for simply previewing .md2/3 models?
[edit]
added links
Last edited by Kappes Buur on Fri Oct 09, 2015 3:11 pm, edited 7 times in total.
- cortlong50
- Posts: 753
- Joined: Mon Jun 24, 2013 7:12 pm
- Location: UT-WA
Re: The "How do I..." Thread
how do i make it so a particle (in this case, a spark) disappears when it hits water?
Re: The "How do I..." Thread
Hey, me again (ugh I'm sorry)
But quick question, how would I make an item a rare drop from an enemy? (example: Zombieman has a rare chance to drop a chaingun)
But quick question, how would I make an item a rare drop from an enemy? (example: Zombieman has a rare chance to drop a chaingun)
Re: The "How do I..." Thread
The [wiki=Actor_properties#DropItem]DropItem[/wiki] actor property supports a probability, from 0 (never) to 255 (always). So 1 would be a 0.39216% chance, statistically anyway.
Re: The "How do I..." Thread
I knew that but how would I put it in DECORATE?edward850 wrote:The [wiki=Actor_properties#DropItem]DropItem[/wiki] actor property supports a probability, from 0 (never) to 255 (always). So 1 would be a 0.39216% chance, statistically anyway.
dropitem "Actor_Name" (1, 1)
I tried something like this but I got an error.
Re: The "How do I..." Thread
It shows you on that page, and is the same syntax as everything else in decorate:
Although you don't need an amount defined for something that isn't ammo.
Code: Select all
dropitem "Actor_Name", 1, 1
Re: The "How do I..." Thread
Alright thanks, I got it figured outedward850 wrote:It shows you on that page, and is the same syntax as everything else in decorate:Although you don't need an amount defined for something that isn't ammo.Code: Select all
dropitem "Actor_Name", 1, 1
-
- Posts: 59
- Joined: Thu Jul 30, 2015 8:41 am
- Location: Death Star
Re: The "How do I..." Thread
Hello,
I made a monster that has 50% chance of resurecting after it has been killed; to achieve that I utilise a A_JUMP action function in its death state, that has 127/255 chance of sending him to a custom fake death state, where it falls, stay on the ground for a few seconds and then rises again.
It kinda works, because when I kill it, sometimes it stays dead, sometimes it revives and rises again. However, when it revives, I can't kill it anymore! Any bullet/projectile I throw at it passes through its body.
I think this is due to the fact that his health is in fact 0, since I killed it a first time.
Thus my question is this :
How could I make it so when the monster revives, it also regains all its health points? Is there an action function that could give health to an actor when it enters a certain frame?
Thanks!
I made a monster that has 50% chance of resurecting after it has been killed; to achieve that I utilise a A_JUMP action function in its death state, that has 127/255 chance of sending him to a custom fake death state, where it falls, stay on the ground for a few seconds and then rises again.
It kinda works, because when I kill it, sometimes it stays dead, sometimes it revives and rises again. However, when it revives, I can't kill it anymore! Any bullet/projectile I throw at it passes through its body.
I think this is due to the fact that his health is in fact 0, since I killed it a first time.
Thus my question is this :
How could I make it so when the monster revives, it also regains all its health points? Is there an action function that could give health to an actor when it enters a certain frame?
Thanks!
Re: The "How do I..." Thread
You haven't actually revived it at all, you just dumped a dead monster into a different set of frames, which is not going to do anything other than exactly what you told it to do.
If you want to raise something properly, you need to actually raise it.
If you want to raise something properly, you need to actually raise it.
-
- Posts: 59
- Joined: Thu Jul 30, 2015 8:41 am
- Location: Death Star
Re: The "How do I..." Thread
Oh wow that's just what I needed. Thank you so much. Yeah I figured that the monster was dead even after being 'revived' and that it the problem came from that, from the fact it had 0 HP left even after being 'revived'...You haven't actually revived it at all, you just dumped a dead monster into a different set of frames, which is not going to do anything other than exactly what you told it to do.
If you want to raise something properly, you need to actually raise it.
Thing_Raise is indeed what I need.
While I'm at it, I'd like to place my Player1Start on a 3D floor; is this even possible in ZDoom ? When I set its Z position as higher than the actual ground below the 3D floor, it stills spawns the player on the ground, below the 3D floor. Anyway to counter that ?
Thanks!
Re: The "How do I..." Thread
Something from this raindrop actor might help:cortlong50 wrote:how do i make it so a particle (in this case, a spark) disappears when it hits water?
Spoiler:Specifically the "A_JumpIf(waterlevel ..." stuff.
That will work for deep water. As for regular water flats... not sure.
Re: The "How do I..." Thread
In your mapinfo definition, set the [wiki=Map_definition#UsePlayerStartZ]UsePlayerStartZ[/wiki] flag.koopanique wrote:While I'm at it, I'd like to place my Player1Start on a 3D floor; is this even possible in ZDoom ? When I set its Z position as higher than the actual ground below the 3D floor, it stills spawns the player on the ground, below the 3D floor. Anyway to counter that ?
Thanks!