I'm trying to create drips of blood falling from the ceiling using ACS (it's for a community wad that isn't allowing custom sprites or DECORATE).
I figured SpawnParticle might be the best way to go, but I'm having real trouble using it. Other than making a particle appear (the black default one, at the 0,0 position) I can't get anything else to work.
So couple of questions:
1) Is SpawnParticle the most sensible way to generate droplets falling from the ceiling? I had hoped to just use a red particle fountain but there seems to be no way to edit their direction or intensity.
2) If it is, could anyone give me advice on how to get it work? I first of all tried to create a red particle that sits 32 map units up from the origin and slowly descends over the course of 2 seconds.
#include "zcommon.acs"
script 1 ENTER
{
SpawnParticle("red",1,70,50,0,0,32,0,0,0.5,0,0.0,0,0);
}
This produced nothing, so I simplified it down to:
#include "zcommon.acs"
script 1 ENTER
{
SpawnParticle("red",1,70,50,0,0,32);
}
I hoped to produce a single red particle suspended 32 map units up from the origin which lasts for two seconds. Instead it produced a black particle sat on the floor that fades after one second.
Question
Bauul
I'm trying to create drips of blood falling from the ceiling using ACS (it's for a community wad that isn't allowing custom sprites or DECORATE).
I figured SpawnParticle might be the best way to go, but I'm having real trouble using it. Other than making a particle appear (the black default one, at the 0,0 position) I can't get anything else to work.
So couple of questions:
1) Is SpawnParticle the most sensible way to generate droplets falling from the ceiling? I had hoped to just use a red particle fountain but there seems to be no way to edit their direction or intensity.
2) If it is, could anyone give me advice on how to get it work? I first of all tried to create a red particle that sits 32 map units up from the origin and slowly descends over the course of 2 seconds.
#include "zcommon.acs" script 1 ENTER { SpawnParticle("red",1,70,50,0,0,32,0,0,0.5,0,0.0,0,0); }
This produced nothing, so I simplified it down to:
#include "zcommon.acs" script 1 ENTER { SpawnParticle("red",1,70,50,0,0,32); }
I hoped to produce a single red particle suspended 32 map units up from the origin which lasts for two seconds. Instead it produced a black particle sat on the floor that fades after one second.
Any idea what I'm doing wrong?
Edited by BauulShare this post
Link to post
5 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.