curtiscat2001 Posted September 2, 2020 (edited) hello, im trying to figure out a way to make a demon wich summons other demons, does anyone know what decorate code i could use to make it work? thankyou edit: got it to work! Edited September 3, 2020 by curtiscat2001 0 Quote Share this post Link to post
0 Gaia74 Posted September 3, 2020 You can go to the simplest, using the Pain Elemental code is easy and simple, but if you want something more complex, you can do a projectile who spawns a monster, this is for example a plasma ball that stops after a few moments and spawn a Imp: Spoiler ACTOR PlasmaBall { Radius 13 Height 8 Speed 25 Damage 5 Projectile +RANDOMIZE RenderStyle Add Alpha 0.75 SeeSound "weapons/plasmaf" DeathSound "weapons/plasmax" Obituary "%o was melted by %k's plasma gun." States { Spawn: PLSS ABABABABAB 6 Bright //After a while, it stops and move to the death state PLSS A 0 A_Stop Death: PLSE A 0 Bright A_SpawnItem("DoomImp",0,0) PLSE ABCDE 4 Bright Stop } } 2 Quote Share this post Link to post
0 Doom-X-Machina Posted September 3, 2020 6 hours ago, Gaia74 said: You can go to the simplest, using the Pain Elemental code is easy and simple Curious, Can you copy out pieces of the Pain Elemental code and adapt them into an existing thing's DECORATE or do you need to make a completely new DECORATE and then inherit from the Pain Elemental? 0 Quote Share this post Link to post
0 curtiscat2001 Posted September 3, 2020 10 hours ago, Mr.S Retro said: What is the wad/demon? im just planning to make a boss that spawns other demons around it, like minions 0 Quote Share this post Link to post
0 curtiscat2001 Posted September 3, 2020 2 hours ago, Doom-X-Machina said: Curious, Can you copy out pieces of the Pain Elemental code and adapt them into an existing thing's DECORATE or do you need to make a completely new DECORATE and then inherit from the Pain Elemental? im not particularly sure how the pain elemental does it, theres an A_PAINATTACK actor, though it seems to only spawn lost souls, but mabie im missing something? ill have to experiment 0 Quote Share this post Link to post
0 curtiscat2001 Posted September 3, 2020 (edited) 8 hours ago, Gaia74 said: You can go to the simplest, using the Pain Elemental code is easy and simple, but if you want something more complex, you can do a projectile who spawns a monster, this is for example a plasma ball that stops after a few moments and spawn a Imp: Hide contents ACTOR PlasmaBall { Radius 13 Height 8 Speed 25 Damage 5 Projectile +RANDOMIZE RenderStyle Add Alpha 0.75 SeeSound "weapons/plasmaf" DeathSound "weapons/plasmax" Obituary "%o was melted by %k's plasma gun." States { Spawn: PLSS ABABABABAB 6 Bright //After a while, it stops and move to the death state PLSS A 0 A_Stop Death: PLSE A 0 Bright A_SpawnItem("DoomImp",0,0) PLSE ABCDE 4 Bright Stop } } oh cool! ill test it out and see if i can make it work with the demon im creating edit:doesent seem to do anything, the plasma spawns but no demon spawns after Edited September 3, 2020 by curtiscat2001 0 Quote Share this post Link to post
0 Gaia74 Posted September 3, 2020 5 hours ago, Doom-X-Machina said: Curious, Can you copy out pieces of the Pain Elemental code and adapt them into an existing thing's DECORATE or do you need to make a completely new DECORATE and then inherit from the Pain Elemental? You can edit the A_PainAttack https://zdoom.org/wiki/A_PainAttack, so yeah, you can copy out the action just like this: A_PainAttack("Nameofyourcustommonster") 3 hours ago, curtiscat2001 said: oh cool! ill test it out and see if i can make it work with the demon im creating edit:doesent seem to do anything, the plasma spawns but no demon spawns after Make sure the projectile when disappear has room to spawn the monster 2 Quote Share this post Link to post
0 curtiscat2001 Posted September 3, 2020 ye, i got it working using painattack,though i do wanna try making your method work sometime, thanks! 0 Quote Share this post Link to post
0 Doom-X-Machina Posted September 4, 2020 13 hours ago, Gaia74 said: You can edit the A_PainAttack https://zdoom.org/wiki/A_PainAttack, so yeah, you can copy out the action just like this: A_PainAttack("Nameofyourcustommonster") Cool, thankyou :) 0 Quote Share this post Link to post
Question
curtiscat2001
hello, im trying to figure out a way to make a demon wich summons other demons, does anyone know what decorate code i could use to make it work? thankyou
edit: got it to work!
Edited by curtiscat2001Share this post
Link to post
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.