View Single Post
  #9  
Old 08-25-2002, 06:28 AM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
One more fix ....

Ok folks,

Here is the nearly-finished NPC (thanks s.s. link!)
for the bow.

One thing left to add
(and you will see commented out where i tired)
is getting this.angle and this.sangle
based on the players starting position,
that they will be pointing the angle at where they are facing when they go to shoot.

If you have ever shot a bow in arrow in real life,
you take the arrow, nock it (put it on the string) and draw
back, holding it in place til you aim and fire.

So, here you press and hold D, left and right to adjust angle,
up and down to adjust elevation, then Release D to shoot, just like real life, heh.

Post a fix whenst you discovereth it, ye valiant scipters you.
Attached Files
File Type: nw prozac_bow.nw (11.3 KB, 223 views)
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote