Hi!
I`ve been asked to translate one of my older Tutorials, so here`s my attempt to write it in english:
So, this Tutorial is about spawning scary creatures (like Ghosts, Monsters, Politicians) as you know them out of games like FEAR or Horrormovies. its about flashing these things in some dark corners, a long dark hallway, behind some furniture or in a mirror (special hint). You can use creepy sounds to set mood or to shock the player.(Like in these crappy vids on Youtube where you should concentrate yourself on something and then they show the face of a ghost wiht an incredible annoying sound)
So heres how it works:
The first thing you need is a good and free to use image of a creature. You should take care that the creature isnt shown as transparent, or you will have parts of the background on your decal later.
Example from a Wallpaperpage:
Now you need to use your eraser and erase the background. If you have problems with this, you can set down your mouse dpi.
Your image should now look like this:
Great! Now make sure that youre texture is in size of 512*512 or 256*256. Most Ghostpictures are dark, so you should add a bit more brightness, beacause FPSC interpretes true black as transparent (R:0B:0G:0 or #00000) and you do not want the body of your ghost being transparent. The background needs to be transparent of curse.
Now save it as one of the used Formats (PNG,JPG,BMP) i suggest PNG.
Watch the size, nobody wants to see giant Ghosts
Now, TEST THE OVERLAY
If everything is fine, you should place it in your level. Set it dynamic and IsImmobile: yes. You can now spawn it.
This works like this:
Place your overlay on the place you want it
Place a trigger zone where the player should spawn the overlay
Choose as a triggerzonemainscript "playerinzoneactivateused.fpi"
Delete the triggerzone soundline (use soundzones for the audio, the triggerzone repeats the sound each time you step into it. You can lay a soundzone over a triggerzone)
Enter the name of the Overlay (p.ex. Ghost) in the "ifused" line.
Choose the Overlay, set it dynamic and immobile
Name: Ghost (or something else)
Spawn at start: No
Spawn after delay: Yes
Spawnlife: The time you want it to spawn.(in seconds)
The Appear and disappear scripts:
appear1/disappear1: Appears/disappears immidiately
appear2/disappear2: Appears(disappears fading in/fading out
You can add the "illuminationent.fx" shader if you want to place it in an unlit area.
You can creat an overlay with signs or any similar programm. If you do not have such software copy your texture in the following directory:
files/entitybank/generic/overlays
Copy p.ex. Rubble.fpe
Open it with MS Editor
Delete the whole line behind "textured" and write the name of your texture in it. Youre done.
I hope this was understandable and useful.
-Wolf