I want to make a specific explosion type

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
Thfpjct
Posts: 15
Joined: Thu Jul 18, 2019 9:36 pm
Graphics Processor: ATI/AMD (Modern GZDoom)

I want to make a specific explosion type

Post by Thfpjct »

I want to make a Explosion like this, but i don't know where to begin, and how to do it :(
i've been only making Guns all this time.

can someone help me with this? thx for the time.
Screenshot_8.png
User avatar
Cherno
Posts: 1337
Joined: Tue Dec 06, 2016 11:25 am

Re: I want to make a specific explosion type

Post by Cherno »

zScript or DECORATE?
User avatar
Thfpjct
Posts: 15
Joined: Thu Jul 18, 2019 9:36 pm
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: I want to make a specific explosion type

Post by Thfpjct »

Cherno wrote:zScript or DECORATE?
Decorate
User avatar
Tartlman
Posts: 226
Joined: Thu Oct 11, 2018 5:24 am
Location: meme hell
Contact:

Re: I want to make a specific explosion type

Post by Tartlman »

You could probably cobble one together using A_SpawnItemEx: https://zdoom.org/wiki/A_SpawnItemEx

You'd first have to make the separate parts of the explosion. Make sure that certain parts have different tags - for example, you'd want the smoke to float, but the debris to hit the ground. Try looking at other projects with custom explosions for reference.

Then, you'd just need a separate main explosion actor that does the actual explosion and spawns the parts of it. This part should be done with A_SpawnItemEx.

Shouldn't be too difficult, if you look at other people's explosion actors.
Post Reply

Return to “Scripting”