View Full Version: Animated crosshair targeting system!!

Chex Quest Fan Forums > Tech Support & Computer Discussion > Animated crosshair targeting system!!


Title: Animated crosshair targeting system!!
Description: w00t!


NTG56 - August 25, 2004 01:00 AM (GMT)
Came up with an interesting trick that can be done with FraggleScript...The following code will cause Legacy to cycle through all 3 crosshair things with 1/2 second delay between frames. It looks really cool! :wow:

CODE
[level info]
levelname = Test crosshair map
creator = NickTheGeek56

[scripts]

int a = 12;

script 1
{
while(1)
{
if (a == 12)  //always true
{
runcommand("crosshair 1\n");  //Target animation sequence
wait(50);
runcommand("crosshair 2\n");
wait(50);
runcommand("crosshair 3\n");
wait(50);
runcommand("crosshair 2\n");
wait(50);
}
wait(1);
}
} startscript(1);


If u r not a geek, or dont know much about FS, u can download this test map i wrote real quick that allready has the code in it:

http://home.earthlink.net/~chexforum/cross.zip

Have fun! :)

Flemoid_Slayer - August 25, 2004 05:10 AM (GMT)
so how in the world do you get it to work?

NTG56 - August 25, 2004 05:21 PM (GMT)
srry, forgot dirrections! :( Download the zip file there, unzip the WAD file in it, run it as an extra file in Doom Legacy Launcher in single map, the map is E1M1.

HTH

A_Jax91 - August 25, 2004 10:29 PM (GMT)
thats pretty cool, but its a bit out of line, its aimin one place and then it fires a little up and to the left

NTG56 - August 25, 2004 10:32 PM (GMT)
yeah, im trying to fix that right now....




* Hosted for free by InvisionFree