Thread: The GK bow
View Single Post
  #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