Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-24-2001, 07:52 PM
Knightoffrost Knightoffrost is offline
and Delph Inc.
Knightoffrost's Avatar
Join Date: Jul 2001
Location: Canada
Posts: 1,162
Knightoffrost is on a distinguished road
Send a message via ICQ to Knightoffrost Send a message via AIM to Knightoffrost Send a message via Yahoo to Knightoffrost
Grappling Hook/Rope

[ Delph Inc. ]
No, I'm not asking for the grappling hook...I'm actually wondering how I would get something like that to work with a gravity script.
I'll post the gravity script...but just after I see what people say.

If you've ever played the game Liero, that's what I want it to be like. So if you press a button...a little red cross shows up above the players head and you can move it around a certain radius. So it's like above the players head about 3 tiles and you can move it 180 degrees each side but not below.
When you fire...it fires a rope...I'm just using the mace chain for now into the direction which the cross was facing and it pulls the player up. The player stays on the rope (they would look like their stuck on the roof) until they fire the weapon again.

I've had a look at the grappling hook script and I can only do some bits but not all.
Could you please help me.

BTW Free PW scripting
__________________
Xerphier Dintch
Featuring
Reply With Quote
  #2  
Old 09-25-2001, 04:14 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
what do you mean by 'with gravity'
why not just slow down the shoot speed?
Reply With Quote
  #3  
Old 09-25-2001, 07:44 PM
Knightoffrost Knightoffrost is offline
and Delph Inc.
Knightoffrost's Avatar
Join Date: Jul 2001
Location: Canada
Posts: 1,162
Knightoffrost is on a distinguished road
Send a message via ICQ to Knightoffrost Send a message via AIM to Knightoffrost Send a message via Yahoo to Knightoffrost
[ Delph Inc. ]
I can make it so it pulls the character up but the problem is I want it to use a radius and all the extra stuff for extra effect.
I'm very hopeless at mathematics and I don't understand all this cos, tan, sin stuff.
__________________
Xerphier Dintch
Featuring
Reply With Quote
  #4  
Old 09-25-2001, 08:42 PM
Shard_IceFire Shard_IceFire is offline
Registered User
Shard_IceFire's Avatar
Join Date: Jun 2001
Location: Eastern Harkoonia
Posts: 861
Shard_IceFire is on a distinguished road
Ok I've never used cos or sin, but aren't they cosign and sign? If not, what are they, and how the hell do you use them!?
__________________

-=Shard IceFire=-
Reply With Quote
  #5  
Old 09-25-2001, 09:20 PM
Shard_IceFire Shard_IceFire is offline
Registered User
Shard_IceFire's Avatar
Join Date: Jun 2001
Location: Eastern Harkoonia
Posts: 861
Shard_IceFire is on a distinguished road
oops! lol that's what I meant, cosine and sine
__________________

-=Shard IceFire=-
Reply With Quote
  #6  
Old 09-25-2001, 09:30 PM
Knightoffrost Knightoffrost is offline
and Delph Inc.
Knightoffrost's Avatar
Join Date: Jul 2001
Location: Canada
Posts: 1,162
Knightoffrost is on a distinguished road
Send a message via ICQ to Knightoffrost Send a message via AIM to Knightoffrost Send a message via Yahoo to Knightoffrost
[ Delph Inc. ]
I'd be able to understand it if someone could give me a working example of something revolving around the player. *Knudge* *Knudge* *wink * *wink *
I can work it from there.
The only script I've found is from that scripter bible thing...but it doesn't work even if you call everything and set the right values to all the variables.
And yes...I may need to study my text book
__________________
Xerphier Dintch
Featuring
Reply With Quote
  #7  
Old 09-25-2001, 09:41 PM
Knightoffrost Knightoffrost is offline
and Delph Inc.
Knightoffrost's Avatar
Join Date: Jul 2001
Location: Canada
Posts: 1,162
Knightoffrost is on a distinguished road
Send a message via ICQ to Knightoffrost Send a message via AIM to Knightoffrost Send a message via Yahoo to Knightoffrost
[ Delph Inc. ]
I've got the gravity stuff...and I can work on the swinging.
Oh...I just got it working too...Now how would I make it so that when I press up...it goes in the direction which the angle is?
__________________
Xerphier Dintch
Featuring
Reply With Quote
  #8  
Old 09-26-2001, 04:31 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
GRAV...ITY
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #9  
Old 09-26-2001, 06:42 AM
Enigma_GP6 Enigma_GP6 is offline
Banned
Join Date: Jul 2001
Location: Who?
Posts: 261
Enigma_GP6 is on a distinguished road
Send a message via ICQ to Enigma_GP6 Send a message via AIM to Enigma_GP6
Cool

cool, i need to work on my math skills........
Reply With Quote
  #10  
Old 09-27-2001, 03:18 AM
Brady2 Brady2 is offline
Registered User
Brady2's Avatar
Join Date: Mar 2001
Location: Phoenix, AZ and Wichita Falls, TX
Posts: 924
Brady2 is on a distinguished road
Jadis:

POTENTIAL AND KINETIC! POTENTIAL AND KINETIC!

Liero is fun.
Reply With Quote
Reply


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 01:29 AM.


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