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 02-14-2002, 09:08 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
Help please?

How do u use like slope in Graal, say I have a sniper gun and i want to shoot a bullet to where the crosshair is how would i do that.
I kno something about slope=(y2-y1)/(x2-x1)
but how would i do this? plz someone help
__________________
AIM: Jman9912
Email: [email protected]

Last edited by Jman9912-P2P; 02-14-2002 at 10:02 AM..
Reply With Quote
  #2  
Old 02-14-2002, 09:20 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
sadly i dont even kno wat u mean
__________________
AIM: Jman9912
Email: [email protected]
Reply With Quote
  #3  
Old 02-14-2002, 09:42 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
where would i look
__________________
AIM: Jman9912
Email: [email protected]
Reply With Quote
  #4  
Old 02-14-2002, 09:49 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
that helped alot -_-
can neone else help me? kaimetsu doesnt seem to want too
__________________
AIM: Jman9912
Email: [email protected]
Reply With Quote
  #5  
Old 02-14-2002, 09:51 AM
Banjo180 Banjo180 is offline
Registered User
Join Date: Jan 2002
Location: Right where i'm standing, idiot! (no place in particular)
Posts: 105
Banjo180 is on a distinguished road
Send a message via AIM to Banjo180
no use

it's no use telling you unless you know yourself.....first wise thing i've said all day...o.O
__________________
"Tradegy is when i cut my finger, comedy is when you fall through an open manhole and die"

[img]CMy Documents\My Pictures\tubcat.jpg[/img]<-A cat that had too much catnip.

[img]CMy Documents\My Pictures\hapywn.gif[/img]

[img]CMy Documents\My Pictures\PS2Smash.gif[/img][img]CMy Documents\My Pictures\XBoxSmash.gif[/img]

"one day i'll look back at this and laugh" -Garfeild

------------------------------------------------
Graal is currenty:Working.
Rag is: Not working.(but i know why)
Banjo is: Mentally insane.

*computer voice*
!!Warning!! Brain will decrease in efficiency on weekends. Do you accept?(Y/N) *types Y and presses enter*Confermed..you will now be drained of a brain cell and become defective in grammar and spelling. *it does so*. the brain cell will only be replaced on mondays, thank you for using BD (Brain Defissencee).

AIM: y2kgraalbanjo
MSN: [email protected]
Reply With Quote
  #6  
Old 02-14-2002, 09:53 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
yea i understand what kaimetsu is trying to say but i dont know where to start to learn mself if i did i would have already been trying can somoene at least get me started or something plz?
__________________
AIM: Jman9912
Email: [email protected]
Reply With Quote
  #7  
Old 02-14-2002, 09:59 AM
Lomgren Lomgren is offline
Senior Member, Anti-Spam
Join Date: Mar 2001
Location: Missouri
Posts: 196
Lomgren will become famous soon enough
heh, I've made something like that, real easy when you know a little function I like to call '<insert function name here>'
looky!
Attached Thumbnails
Click image for larger version

Name:	shotgun.png
Views:	159
Size:	14.7 KB
ID:	11982  
__________________
Lomgren - devoted to classic, even though I may be gone for months on end
Reply With Quote
  #8  
Old 02-14-2002, 10:00 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
i did but didnt find nething
__________________
AIM: Jman9912
Email: [email protected]
Reply With Quote
  #9  
Old 02-14-2002, 11:00 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
ok i have tried everything i have looked for unit vectors and all can someone plz help me out?
__________________
AIM: Jman9912
Email: [email protected]
Reply With Quote
  #10  
Old 02-14-2002, 11:08 AM
Wes2000 Wes2000 is offline
Registered User
Join Date: Dec 2001
Posts: 57
Wes2000 is on a distinguished road
Send a message via AIM to Wes2000
Quote:
Originally posted by Kaimetsu


There are sites like math.com that might be helpful.

Just listen to him...

http://www.math.com/tables/oddsends/vectors.htm
http://www.math.com/tables/oddsends/vectordefs.htm
__________________
Reply With Quote
  #11  
Old 02-14-2002, 11:26 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 ok nevermind i might as well quit this NPC im only in algebra havent taken any really advanced classes yet and i really dont understand that i looked at those pages thx everyone for tryin to help
__________________
AIM: Jman9912
Email: [email protected]
Reply With Quote
  #12  
Old 02-14-2002, 02:53 PM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
Quote:
Originally posted by Jman9912-P2P
lol ok nevermind i might as well quit this NPC im only in algebra havent taken any really advanced classes yet and i really dont understand that i looked at those pages thx everyone for tryin to help
why get it to slope anyways?
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote
  #13  
Old 02-14-2002, 08:07 PM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
for real

u really should stick to the simple stuff at first until you are better at scripting
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #14  
Old 02-15-2002, 01:05 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Quote:
Originally posted by Jman9912-P2P
that helped alot -_-
can neone else help me? kaimetsu doesnt seem to want too
I think its more helpful to teach rather than to give.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #15  
Old 02-15-2002, 03:13 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 someone told me i would need the slope i guess i dont huh?
and i kno i want to be taught it, but if someone could help me out with this one i think i would understand it
__________________
AIM: Jman9912
Email: [email protected]
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 07:09 AM.


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