Thread: Improving..
View Single Post
  #10  
Old 09-28-2001, 02:45 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Quote:
Originally posted by Sep3kP2P
kjl, u got that onwall crap from newfeatures2001, and it doesnt eve work right =/ if u hold down like up and left u can go thru blocks (at least i could)
first off I didn't get it from newfeatures...

do you know what

playerx+1.5+vecx(playerdir)*2 does?

playerx+1.5 is right in the middle of the player

then vecx*2 = -2, 0, 2

so

(middle of player)+2 or -2

that will get the block right infront of the player....

(and like I said the onwall script isn't the best)...

I didn't feel like making a complex onwall script (I just gave the basic code merlin can do the rest of the touch ups like for onwall and ect)
__________________
Thanks,
-KJL
Reply With Quote