Making a Script, and using Mobj.

Written By: Ebola
Info: Using Fraggle Script to create a corona-rain.

Some Fraggle script knowledge. (or just copy paste the script presented here)
Any Level editor

This will require you to replace the sprite, "cana0" with a blank sprite, using only the cyan color (in other words, invisible).

You do this by starting Wintex and edit a wad of your choice. Then select "new entry" in "Guru only" section in the menu, add entry named "cana0" and hit enter. After you make sure the entry "cana0" is selected, you go to "Edit" in the menu and choose, "load entry from file". Select the blank bmp image you made, and hit enter.

Now go into dehacked. Go to the candle. (Easiest way of doing this is by hitting "g" and then find it in the list). Then edit the candle frame to disappear after a few seconds. (If you don't do this the candle will not disappear and you'll get ALOT of coronas, and that's gonna amke everything move VEEERY slowly.)

Save the dehacked as a deh format, by hitting "s" and then enter a output filename.

Now you're ready to make the script.

The script is really simple.
Just go into any .TXT editor (edit, or notepad) and create a fraggle script lump.

The only script line you need to know is-
spawn(CANDLE, 1, 2, 3, 4);

This will spawn a candle at x - 1, y - 2, looking at the dir of 3 degree (3 degree off east), at the altitude of 4.

Example 1: Dehacked file - Corona.deh

Patch File for DeHackEd v3.0

# Note: Use the pound sign ('#') to start comment lines.

Doom version = 19
Patch format = 6
Frame 911
Duration = 10

Example 2: Fraggle Script file - Corona.txt

[level info]
levelname = Corona rain
creator = Kristian Kall



script 0
spawn(CANDLE, 0, 16, 0, 128);
spawn(CANDLE, 16, 16, 0, 128);
spawn(CANDLE, 16, 0, 0, 128);
spawn(CANDLE, 0, 0, 0, 128);


Note that Doom is case sensetive. so all thing names must be written in UPPER case letters.