Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #14  
Old 02-27-2004, 08:39 PM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Quote:
Originally posted by XxDarkrazorxX
newfeatures2004-V3:

- new script variable 'gravity': when you
change that variable then the behaviour
of projectiles changes - by default the z attribute
of a projectile is decreased by 2 each second
(0.1 each frame); if you increase the gravity,
then the arrows fall down faster, if you decrease
the gravity then arrows fly longer; if you
decrease the gravity and shoot it in a low angle
(between 0 and 0.5) you can easier simulate
pistoles or guns;
don't forget to change the gravity variable on both
client and server side
shouldn't use that just to affect how far a projectile goes
it is meant more for shooting in areas of different gravity (obviously) or when shooting something heavy (as in pertaining to the air resistance really, like a cannonball or something)
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
 


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 10:22 PM.


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