A little help with a summoning monster
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.
-
NaturalTvventy
- Posts: 92
- Joined: Sat May 22, 2010 9:38 am
A little help with a summoning monster
Greetings Zdoom,
I would like to create a monster that has the power to summon other monsters. basically it will be an archie-looking guy who, instead of frying you when he raises his hands, a flame spawns close to him and out of it pops a monster. I think I'll be able to figure out how to create the spawner, but I don't know how to make it appear near the monster. Can someone help get me started by pointing me in the right direction? And is zdoom smart enough not to spawn stuff in walls or in the void outside of 1-sided linedefs?
Thx,
NT
I would like to create a monster that has the power to summon other monsters. basically it will be an archie-looking guy who, instead of frying you when he raises his hands, a flame spawns close to him and out of it pops a monster. I think I'll be able to figure out how to create the spawner, but I don't know how to make it appear near the monster. Can someone help get me started by pointing me in the right direction? And is zdoom smart enough not to spawn stuff in walls or in the void outside of 1-sided linedefs?
Thx,
NT
- Salad Viking
- Posts: 752
- Joined: Tue Apr 20, 2010 8:58 pm
- Location: In high orbit
Re: A little help with a summoning monster
[wiki]A_SummonItemEx[/wiki]
[wiki=Main_Page]This is your friend[/wiki]
[wiki=Main_Page]This is your friend[/wiki]
-
NaturalTvventy
- Posts: 92
- Joined: Sat May 22, 2010 9:38 am
Re: A little help with a summoning monster
I get an error when I try to use A_SummonItemEx. Namely that A_SummonItemEx is an invalid state.
Re: A little help with a summoning monster
are you using the latest Zdoom?
-
NaturalTvventy
- Posts: 92
- Joined: Sat May 22, 2010 9:38 am
Re: A little help with a summoning monster
Yep. A_SpawnItemEx works though 
- 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: A little help with a summoning monster
... Dude, at least make sure your Wiki links go to a valid page.Salad Viking wrote:[wiki]A_SummonItemEx[/wiki]
-
NaturalTvventy
- Posts: 92
- Joined: Sat May 22, 2010 9:38 am
Re: A little help with a summoning monster
Behold the evil Diabloist, summoner of all manner of cruel hellspawn...
Man Zdoom and DECORATE is fun to create with! Alas, he does spawn monsters stuck into walls and beyond them in voidspace, but with good level design hopefully the effect will be minimal.
Thx for helping me get started y'alls.
NT
Spoiler:(edit of realm667's Diabloist)
Man Zdoom and DECORATE is fun to create with! Alas, he does spawn monsters stuck into walls and beyond them in voidspace, but with good level design hopefully the effect will be minimal.
Thx for helping me get started y'alls.
NT
- DBThanatos
- Posts: 3101
- Joined: Fri Apr 14, 2006 3:17 pm
- Location: in "the darkness that lurks in our mind"
Re: A little help with a summoning monster
I had this same issue recently, and the only way to deal with it was this:he does spawn monsters stuck into walls and beyond them in voidspace
Spoiler:The key here is how big the projectile is. With a radius of 20, it makes sure that in whatever it crashes, between the center of the projectile and with what it crashed will be 20 units for the thing to spawn. Kind of hackish, yes, but I couldnt figure a better way.
-
NaturalTvventy
- Posts: 92
- Joined: Sat May 22, 2010 9:38 am
Re: A little help with a summoning monster
Hackish? more like clever. Thanks for the the idea.



