Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Climbing a rope/vine (https://forums.graalonline.com/forums/showthread.php?t=9726)

evilive 08-16-2001 05:24 PM

Climbing a rope/vine
 
1 Attachment(s)
Can any one program a vine NPC so that when you touch it, you stick to it and can climb it (Side view) and and by pressing s, you can dislodge yourself at the same y (Unless it's not needed)

Any ways, this is supposed to work with the jump n run scripting......

I'll post the file needed for the vine :)

LiquidIce00 08-16-2001 06:08 PM

make a gani for the player climbing sideways.. like one that he is holding and moving his hands. and one that he is just still.
then its pretty easy from there. but to make it wit the jump n run u gotta add more crap

Poogle 08-16-2001 07:24 PM

Re: Climbing a rope/vine
 
Quote:

Originally posted by evilive
Can any one program a vine NPC so that when you touch it, you stick to it and can climb it (Side view) and and by pressing s, you can dislodge yourself at the same y (Unless it's not needed)

Any ways, this is supposed to work with the jump n run scripting......

I'll post the file needed for the vine :)

I can do everything but the S part like you just clim up the vine and nice picture ;)

Tyhm 08-17-2001 05:32 AM

In my jump and run script, I just have if(!(playerx in |30,32| && playery in |0,20|)){ before the gravity bit...the ladders are predefined that way. You could define them dynamically with like npcs[this.i].x and stuff, but mleh.

Knightoffrost 08-17-2001 05:37 AM

Re: Re: Climbing a rope/vine
 
Quote:

Originally posted by Kaimetsu

And you're always gonna have perspective problems.

Thats the main problem for me.

fuzie 08-17-2001 02:30 PM

Yah once you think about it itz NP!


All times are GMT +2. The time now is 08:01 PM.

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