Making enemies "spread" and reproduce

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

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
Guest

Making enemies "spread" and reproduce

Post by Guest »

Hello!
I am looking to make fire an enemy in doom, and make it spawn itself around itself like you'd imagine fire does
Unfortunately I have no idea where to start or how to do it, I have asked help from friends that know programming but we haven't been able to figure it out, does anyone know how I would go about this in ACS?
User avatar
Kappes Buur
 
 
Posts: 4171
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Making enemies "spread" and reproduce

Post by Kappes Buur »

One way of doing this would be with DECORATE.
See Hellrose as a guide.
Spoiler:
Attachments
hellrose.7z
hellrose example pwad
(37.86 KiB) Downloaded 21 times
SirNico
Posts: 2
Joined: Fri Feb 25, 2022 3:24 pm

Re: Making enemies "spread" and reproduce

Post by SirNico »

Kappes Buur wrote:One way of doing this would be with DECORATE.
See Hellrose as a guide.
Spoiler:
Thanks for the example, but what makes enemies spawn in this script? I don't really understand it, it seems a bit intricate.
SirNico
Posts: 2
Joined: Fri Feb 25, 2022 3:24 pm

Re: Making enemies "spread" and reproduce

Post by SirNico »

Well, checking the script I find it very difficult to really tell what is going on and what makes enemies spawn in the first place
Do you have any idea on how this could work? I would really appreciate the help with this.
Post Reply

Return to “Scripting”