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 07-13-2002, 01:12 AM
Jman9912-P2P Jman9912-P2P is offline
Registered User
Join Date: Nov 2001
Location: North Carolina!
Posts: 217
Jman9912-P2P is on a distinguished road
Send a message via AIM to Jman9912-P2P Send a message via Yahoo to Jman9912-P2P
Shoot;

How do you use the shoot command? i mean i tried but it is confusing me.
__________________
AIM: Jman9912
Email: [email protected]
Reply With Quote
  #2  
Old 07-13-2002, 01:22 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
read the newfeatures2002.txt till you understand it, its not that hard, everything part of the command is explained in it
Reply With Quote
  #3  
Old 07-13-2002, 01:23 AM
Jman9912-P2P Jman9912-P2P is offline
Registered User
Join Date: Nov 2001
Location: North Carolina!
Posts: 217
Jman9912-P2P is on a distinguished road
Send a message via AIM to Jman9912-P2P Send a message via Yahoo to Jman9912-P2P
well...i read it but i dont get it i left graal for a little bit and i am coming back lol i just dont get like the z parts and all i know it means like up and down, but does it shoot the image you are using? or the image attribute of the npc? or what
__________________
AIM: Jman9912
Email: [email protected]
Reply With Quote
  #4  
Old 07-13-2002, 01:34 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
shoot uses ganis, not images
and z is the height, just put it as playerz or 0 since if you are not using a terrain, you have no need to make it anything else
Reply With Quote
  #5  
Old 07-13-2002, 01:50 AM
Jman9912-P2P Jman9912-P2P is offline
Registered User
Join Date: Nov 2001
Location: North Carolina!
Posts: 217
Jman9912-P2P is on a distinguished road
Send a message via AIM to Jman9912-P2P Send a message via Yahoo to Jman9912-P2P
*confused abou the gani part* sry lol ok so i would make it show how he would look when he shoots then add a sprite and make it a parameter and whatever that sprite was it would shoot?
__________________
AIM: Jman9912
Email: [email protected]
Reply With Quote
  #6  
Old 07-13-2002, 04:42 AM
Echos Echos is offline
Banned
Join Date: Jan 2002
Location: Somewhere in Georgia for l33t schoolings
Posts: 1,286
Echos is on a distinguished road
Send a message via ICQ to Echos Send a message via AIM to Echos Send a message via Yahoo to Echos
lmao, Python, Jman9912 was on The Portal at one point.
Reply With Quote
  #7  
Old 07-13-2002, 04:48 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Echos
lmao, Python, Jman9912 was on The Portal at one point.
whoa, the portal was like 2 years ago @_@
Reply With Quote
  #8  
Old 07-13-2002, 04:55 AM
Jman9912-P2P Jman9912-P2P is offline
Registered User
Join Date: Nov 2001
Location: North Carolina!
Posts: 217
Jman9912-P2P is on a distinguished road
Send a message via AIM to Jman9912-P2P Send a message via Yahoo to Jman9912-P2P
lol yea i waz on portal i was like one of the high admin's and stuff, but this script confuses me for some reason...
__________________
AIM: Jman9912
Email: [email protected]
Reply With Quote
  #9  
Old 07-13-2002, 05:07 AM
Echos Echos is offline
Banned
Join Date: Jan 2002
Location: Somewhere in Georgia for l33t schoolings
Posts: 1,286
Echos is on a distinguished road
Send a message via ICQ to Echos Send a message via AIM to Echos Send a message via Yahoo to Echos
Quote:
Originally posted by Python523

whoa, the portal was like 2 years ago @_@
Somewhere around there

But I still remember just about everyone.
Reply With Quote
  #10  
Old 07-14-2002, 12:58 AM
Jman9912-P2P Jman9912-P2P is offline
Registered User
Join Date: Nov 2001
Location: North Carolina!
Posts: 217
Jman9912-P2P is on a distinguished road
Send a message via AIM to Jman9912-P2P Send a message via Yahoo to Jman9912-P2P
lol but can anyone help me here?
__________________
AIM: Jman9912
Email: [email protected]
Reply With Quote
  #11  
Old 07-14-2002, 01:08 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:
- new script command 'shoot' for shooting projectiles:
shoot x,y,z,angle,zangle,power,gani,ganiparams;
x,y and z - specify the starting position
angle - shoot angle (when looking from the top): east is 0,
north 3.14/2, west is 3.14, south 3.14*3/2)
zangle - the angle in vertical direction, 0 means the
projectile is shoot horizontal, 3.14/2 means straight to the
sun
power - the shoot power which is used to shoot the projectile;
if it's 0 then the projectile is shoot like an old arrow
(doesn't fall down, moves 20 tiles each second)
gani - the animation that is used for the projectile; the
animation can be multidirectional, the engine automatically
selects the best direction for the flying direction; the
animation can have 1 step (not animated) or 7 steps, then the
engine is automatically choosing the good animation step for
the projectile flying angle - when its raising then step 1 is
taken, when flying horizontal it is step 4, when it is short before
the impact then the engine displays step 7
When the projectile is landing or hitting an object then some actions
are triggered. With the command 'setshootparams <params>;' you can set
the parameters that the called scripts get, call 'setshootparams' before
shooting the projectile.
shoot x,y,z,angle,zangle,power,gani,ganiparams;
__________________
Quote:
Originally posted by Spark910
Think befreo you type.
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 01:29 PM.


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