Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Faeries (https://forums.graalonline.com/forums/showthread.php?t=14458)

Rone 10-13-2001 02:38 AM

Faeries
 
1 Attachment(s)
I need the script for litte light effects with drawoverplay that flie around at random and look like faeries

I TRIED and TRIED and could not figure it ou.. PLZ help

for this level

Which is not complete

grim_squeaker_x 10-13-2001 02:46 AM

NPC Code:
if (created) {
setimg light2.png;
setcoloreffect 0.5,0.5,0.5,0.9;
setzoomeffect 0.1;
timeout=0.05;
this.speed=0.5;
}
if (timeout) {
this.i=(this.i+1)%20;
if (this.i==0) this.dir=int(random(0,4));
if (!((x in |0,63)||(y in |0,63|))) this.dir=(this.dir+2)%4;
x+=vecx(this.dir)*this.speed;
y+=vecy(this.dir)*this.speed;
timeout=0.05;
}

Should work, although I haven't scripted in months so it might not actually work...

Enigma_GP6 10-13-2001 03:02 AM

Nice, could you send me screenshots so I can see the swhole thing? I can't see light effects on my stupid computer.

-Rebel95

Rone 10-13-2001 03:13 AM

I want it to fly in circles

that goes in strait lines

Like in birdbirds PH

grim_squeaker_x 10-13-2001 03:18 AM

Quote:

Originally posted by Enigma_GP6
Nice, could you send me screenshots so I can see the swhole thing? I can't see light effects on my stupid computer.

-Rebel95

I assume you've seen pictures of light effects? This is just one of those things randomly moving around like a typical NPC.

Rone 10-13-2001 06:10 AM

Help

Poogle 10-13-2001 11:38 AM

Quote:

Originally posted by Rone
I want it to fly in circles

that goes in strait lines

Like in birdbirds PH

Its Genmos -_- Bird Birds is ugrly and the outside has gfx errors

Enigma_GP6 10-14-2001 02:28 AM

I have seen light effects before, but I want to see this one, it looks promisiing.

-Rebel95

nyghtGT 10-14-2001 02:33 AM

offline
 
Quote:

Originally posted by Enigma_GP6
Nice, could you send me screenshots so I can see the swhole thing? I can't see light effects on my stupid computer.

-Rebel95

i dont think light effects work offline ....

Enigma_GP6 10-14-2001 05:57 AM

Well, look at it this way, The training/tutorial has the light effects. Offline, I need scren shot.

-Rebel95

btedji 10-14-2001 08:05 AM

if you cant see light effects offline either your video card doesnt support that or graal does not support your video card or you have directx turned off


All times are GMT +2. The time now is 01:26 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.