Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   The shoot command (https://forums.graalonline.com/forums/showthread.php?t=37672)

bigkow44 09-10-2002 01:16 AM

The shoot command
 
Does anybody know how to shoot a light effect with the shoot command?

R0b1n-NPC 09-10-2002 02:24 AM

I want to know how to put a light effect into a gani like the flame torch from 2k1 or bravo's old mining lantern. it had like a light effect.. in the gani O.o

Torankusu 09-10-2002 03:11 AM

I was told gani script.
Whenever I open up my gani maker again, I'll see what to do.

Graal2001_NAT 09-10-2002 03:55 AM

gani script, woohoo,

SCRIPT
//light effect stuff here
SCRIPTEND

Torankusu 09-10-2002 04:03 AM

Quote:

Originally posted by Graal2001_NAT
gani script, woohoo,

SCRIPT
//light effect stuff here
SCRIPTEND

I'm assuming this goes in the gani of the thing that's being shot, right?
If so, where? I don't see any script box.

Warcaptain 09-10-2002 04:11 AM

you have to put it in the gani file itself

load projectilegani.gani

in text editor

Graal2001_NAT 09-10-2002 04:13 AM

Quote:

Originally posted by Torankusu
I'm assuming this goes in the gani of the thing that's being shot, right?
If so, where? I don't see any script box.

wordpad

bigkow44 09-10-2002 04:36 AM

So what do I have to do, to shoot a light effect?

Torankusu 09-10-2002 04:55 AM

Quote:

Originally posted by bigkow44
So what do I have to do, to shoot a light effect?
do you know how to use the shoot command?

Warcaptain 09-10-2002 04:55 AM

need to add the script jagen gave you to the gani

format is:
SCRIPT
LIGHT indexofspriteingani,red,blue,green,alpha;
SCRIPTEND

index specified will be colored that rgba

then just do shoot normaly with that gani, and correct params for the gani that you set.

emortylone 09-10-2002 05:14 AM

Or just simply code a light effect into a gani and use the shoot command =/
---Shifter

Torankusu 09-10-2002 05:16 AM

Quote:

Originally posted by emortylone
Or just simply code a light effect into a gani and use the shoot command =/
---Shifter

too bad that's what we're talking about!

bigkow44 09-10-2002 06:19 AM

Quote:

Originally posted by Warcaptain
need to add the script jagen gave you to the gani

format is:
SCRIPT
LIGHT indexofspriteingani,red,blue,green,alpha;
SCRIPTEND

index specified will be colored that rgba

then just do shoot normaly with that gani, and correct params for the gani that you set.

Thanks.
Edit:
Could someone make it for me and post it here?
I tried and failed.

Warcaptain 09-10-2002 06:56 AM

Quote:

Originally posted by bigkow44


Thanks.
Edit:
Could someone make it for me and post it here?
I tried and failed.


i pretty much told you everything you had to do.

its been my experience that if you dont succede try try again.

you'll get it eventualy, even if it lags like hell and almost crashes graal.

once you get it to work one tiem, work from there =)

Falcor 09-10-2002 08:53 AM

Quote:

Originally posted by bigkow44

make it for me

Those words in that particular order are a sin on these forums.

bigkow44 09-10-2002 08:56 AM

Quote:

Originally posted by Falcor

Those words in that particular order are a sin on these forums.

Well atleast help.

Torankusu 09-10-2002 09:20 AM

Quote:

Originally posted by bigkow44


Well atleast help.

I asked you if you knew how to work the shoot command.

bigkow44 09-12-2002 08:24 AM

Quote:

Originally posted by Torankusu
I asked you if you knew how to work the shoot command.
Yes I do.


All times are GMT +2. The time now is 07:50 AM.

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