Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-10-2002, 01:16 AM
bigkow44 bigkow44 is offline
Registered User
bigkow44's Avatar
Join Date: Dec 2001
Location: Inside my head.
Posts: 610
bigkow44 is on a distinguished road
The shoot command

Does anybody know how to shoot a light effect with the shoot command?
__________________
Reply With Quote
  #2  
Old 09-10-2002, 02:24 AM
R0b1n-NPC R0b1n-NPC is offline
Registered User
Join Date: Sep 2002
Posts: 397
R0b1n-NPC is on a distinguished road
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
__________________
- R0bin
Reply With Quote
  #3  
Old 09-10-2002, 03:11 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
I was told gani script.
Whenever I open up my gani maker again, I'll see what to do.
__________________
Quote:
Originally posted by Spark910
Think befreo you type.
Reply With Quote
  #4  
Old 09-10-2002, 03:55 AM
Graal2001_NAT Graal2001_NAT is offline
Registered User
Join Date: Sep 2002
Posts: 241
Graal2001_NAT is on a distinguished road
gani script, woohoo,

SCRIPT
//light effect stuff here
SCRIPTEND
__________________
GONE, BAI
Reply With Quote
  #5  
Old 09-10-2002, 04:03 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
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.
__________________
Quote:
Originally posted by Spark910
Think befreo you type.
Reply With Quote
  #6  
Old 09-10-2002, 04:11 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
you have to put it in the gani file itself

load projectilegani.gani

in text editor
Reply With Quote
  #7  
Old 09-10-2002, 04:13 AM
Graal2001_NAT Graal2001_NAT is offline
Registered User
Join Date: Sep 2002
Posts: 241
Graal2001_NAT is on a distinguished road
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
__________________
GONE, BAI
Reply With Quote
  #8  
Old 09-10-2002, 04:36 AM
bigkow44 bigkow44 is offline
Registered User
bigkow44's Avatar
Join Date: Dec 2001
Location: Inside my head.
Posts: 610
bigkow44 is on a distinguished road
So what do I have to do, to shoot a light effect?
__________________
Reply With Quote
  #9  
Old 09-10-2002, 04:55 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
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?
__________________
Quote:
Originally posted by Spark910
Think befreo you type.
Reply With Quote
  #10  
Old 09-10-2002, 04:55 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to 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.
Reply With Quote
  #11  
Old 09-10-2002, 05:14 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
Or just simply code a light effect into a gani and use the shoot command =/
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #12  
Old 09-10-2002, 05:16 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
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!
__________________
Quote:
Originally posted by Spark910
Think befreo you type.
Reply With Quote
  #13  
Old 09-10-2002, 06:19 AM
bigkow44 bigkow44 is offline
Registered User
bigkow44's Avatar
Join Date: Dec 2001
Location: Inside my head.
Posts: 610
bigkow44 is on a distinguished road
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.
__________________

Last edited by bigkow44; 09-10-2002 at 06:34 AM..
Reply With Quote
  #14  
Old 09-10-2002, 06:56 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
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 =)
Reply With Quote
  #15  
Old 09-10-2002, 08:53 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Quote:
Originally posted by bigkow44

make it for me
Those words in that particular order are a sin on these forums.
__________________

subliminal message: 1+1=3
Reply With Quote
  #16  
Old 09-10-2002, 08:56 AM
bigkow44 bigkow44 is offline
Registered User
bigkow44's Avatar
Join Date: Dec 2001
Location: Inside my head.
Posts: 610
bigkow44 is on a distinguished road
Quote:
Originally posted by Falcor

Those words in that particular order are a sin on these forums.
Well atleast help.
__________________
Reply With Quote
  #17  
Old 09-10-2002, 09:20 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
Quote:
Originally posted by bigkow44


Well atleast help.
I asked you if you knew how to work the shoot command.
__________________
Quote:
Originally posted by Spark910
Think befreo you type.
Reply With Quote
  #18  
Old 09-12-2002, 08:24 AM
bigkow44 bigkow44 is offline
Registered User
bigkow44's Avatar
Join Date: Dec 2001
Location: Inside my head.
Posts: 610
bigkow44 is on a distinguished road
Quote:
Originally posted by Torankusu
I asked you if you knew how to work the shoot command.
Yes I do.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:38 PM.


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