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.
Re: The "How do I..." Thread
Can I make a line activate its special from both sides? Here it only works from the front side.
- ChronoSeth
- Posts: 1631
- Joined: Mon Jul 05, 2010 2:04 pm
- Location: British Columbia
Re: The "How do I..." Thread
There's a flag for that accessible in DoomBuilder.Ravick wrote:Can I make a line activate its special from both sides? Here it only works from the front side.
Re: The "How do I..." Thread
Thanks;
Edit:
I've always mapped on thr format Skulltag in Hexen, where there was a menu option with a lot of dinamic lights. Now I'm learning to map in UDMF, and there is no this menu. How can I put DL in UDMF maps?
Edit:
I've always mapped on thr format Skulltag in Hexen, where there was a menu option with a lot of dinamic lights. Now I'm learning to map in UDMF, and there is no this menu. How can I put DL in UDMF maps?
Re: The "How do I..." Thread
How do I make an object orbit another object?
- Ryan Cordell
- Posts: 4349
- Joined: Sun Feb 06, 2005 6:39 am
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Capital of Explodistan
Re: The "How do I..." Thread
Use A_Warp?wtg62 wrote:How do I make an object orbit another object?
- Sergeant_Mark_IV
- Posts: 812
- Joined: Wed Feb 02, 2011 12:44 pm
- Location: United Communist Nazi Republic Dictactorship of Banana Land (Brazil)
Re: The "How do I..." Thread
Is there any way to make a missile disappear when hitting water without triggering it's death animation without making use of bounce flag?
- Xtyfe
- Posts: 1490
- Joined: Fri Dec 14, 2007 6:29 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
Re: The "How do I..." Thread
-EXPLODEONWATER wouldn't this do that?Sergeant_Mark_IV wrote:Is there any way to make a missile disappear when hitting water without triggering it's death animation without making use of bounce flag?
Re: The "How do I..." Thread
Can I use A_JumpIfTargetInLOS to stop a monster from firing if other monsters are in front of it?
Re: The "How do I..." Thread
Spoiler: Short answer is "No"
Re: The "How do I..." Thread
Hmm. Is it even possible?
I have marines, and I want them to:
-avoid firing at players and other marines (I might just put THRUSPECIES on the projectiles that they fire)
-fire projectiles that don't hurt other marines or players. I've already accomplished the former by using DONTHURTSPECIES but the species property doesn't seem to affect players
-not enter their pain state when hit by another marine (already done using custom damage types, but the pain sound still plays)
-become hostile when fired upon by a player. (I've already tried using custom damage types/pain states with thing_hate, but it messes up the marine's AI completely for some reason).
I have marines, and I want them to:
-avoid firing at players and other marines (I might just put THRUSPECIES on the projectiles that they fire)
-fire projectiles that don't hurt other marines or players. I've already accomplished the former by using DONTHURTSPECIES but the species property doesn't seem to affect players
-not enter their pain state when hit by another marine (already done using custom damage types, but the pain sound still plays)
-become hostile when fired upon by a player. (I've already tried using custom damage types/pain states with thing_hate, but it messes up the marine's AI completely for some reason).
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: The "How do I..." Thread
This feature suggestion might interest you.bgraybr wrote:Can I use A_JumpIfTargetInLOS to stop a monster from firing if other monsters are in front of it?
- devildemon
- Posts: 292
- Joined: Wed Apr 28, 2010 4:49 pm
Re: The "How do I..." Thread
quick question is it possible for when one person picks up a powerup everyone gets at the same time?
Re: The "How do I..." Thread
Try a custom inventory:
I haven't tested this, but it ought to work. One potential problem: I'm not sure if this inventory state chain is guaranteed/able to return success. If it does not, the item might not be removed from the map, which means you get to pick it up over and over. There may be more than one workaround for this. There are known ways to ensure a successful pickup of a custom inventory item. (I've never needed to figure out.)
EDIT: The complete set of features used is first available in zdoom r3222.
Code: Select all
actor RealPowerup : Powerup // not spawned in map
{
/* .... powerup stuff .... */
}
actor PowerupPickup : CustomInventory
{
States
{
Spawn:
POWR A -1
stop
Pickup:
TNT1 A 0 A_GiveInventory("RealPowerup", 1, AAPTR_PLAYER1)
TNT1 A 0 A_GiveInventory("RealPowerup", 1, AAPTR_PLAYER2)
TNT1 A 0 A_GiveInventory("RealPowerup", 1, AAPTR_PLAYER3)
TNT1 A 0 A_GiveInventory("RealPowerup", 1, AAPTR_PLAYER4)
TNT1 A 0 A_GiveInventory("RealPowerup", 1, AAPTR_PLAYER5)
TNT1 A 0 A_GiveInventory("RealPowerup", 1, AAPTR_PLAYER6)
TNT1 A 0 A_GiveInventory("RealPowerup", 1, AAPTR_PLAYER7)
TNT1 A 0 A_GiveInventory("RealPowerup", 1, AAPTR_PLAYER8)
stop
}
}
EDIT: The complete set of features used is first available in zdoom r3222.
Re: The "How do I..." Thread
Uh, I'm not so sure if that would work... is A_Warp used for that even?Ryan Cordell wrote:Use A_Warp?wtg62 wrote:How do I make an object orbit another object?
- Ryan Cordell
- Posts: 4349
- Joined: Sun Feb 06, 2005 6:39 am
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Capital of Explodistan
Re: The "How do I..." Thread
A_Warp can be used for it. FDARI's demo has such an example with the circling imp ball. You should try it out.