Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Using arrowkeys/pgdn/pgup for aircraft

GreyVulpine Oe
Registered User
Join date: 8 Sep 2005
Posts: 8
09-21-2005 18:01
I've been making little trinkets here and there, and really want to try out vehicles. I think I've bitten off more than I can chew though. Some of the airplane/helicopter scripts require you to be in mouselook. I can't handle that (crash every time..). Is there a way to script a

arrow keys: strafe left/right, forward/back
pgdn/pgup: fly vertically.

as controls for an aircraft? Or could you point me to a script as a basis from which I can learn from?

-GreyVulpine
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
09-21-2005 19:13
Yes, that is quite possible. I don't have a script on-hand though, so I can't give you an example.

It might be good for you to figure out exactly why you crash on mouselook, because that's not normal. Perhaps you should post in the Technical Issues forum.
Julian Fate
80's Pop Star
Join date: 19 Oct 2003
Posts: 1,020
09-21-2005 19:23
I think he means he crashes the vehicle.
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
09-21-2005 19:27
Ah... yes, that would make sense. That shows how I'm thinking...
Seagel Neville
Far East User
Join date: 2 Jan 2005
Posts: 1,476
09-21-2005 23:05
Welcome to SL, GreyVulpine :)

Air plane
Helicopter
_____________________
:) Seagel Neville :)
GreyVulpine Oe
Registered User
Join date: 8 Sep 2005
Posts: 8
09-21-2005 23:50
From: Julian Fate
I think he means he crashes the vehicle.


Yeah, that's what I meant :)

It's really hard at times to do mouselook on my crappy vid card, running at 3fps as I'm trying to level out with helicopters and aircraft using the mouse. A normal, avatar control would be great, since it's a lot easier to control, and doesn't require me to be in mouselook to do.
GreyVulpine Oe
Registered User
Join date: 8 Sep 2005
Posts: 8
09-21-2005 23:52
From: Seagel Neville
Welcome to SL, GreyVulpine :)

Air plane
Helicopter


Thanks, it's great to be here. SL's already becoming addicting at this point. :P
GreyVulpine Oe
Registered User
Join date: 8 Sep 2005
Posts: 8
09-23-2005 00:46
Playing with some of these scripts, I can't seem to really grasp all the tools that I need to do this.

The script explicitly states not being able to rotate in the x-y coordinates, yet it'll sometimes do that while flying. I'm trying to find a way around this, but the closest thing I can get is the free motorcycle thing, and that keeps a vehicle on the ground.

Besides ditching this whole vehicle idea for something simplier, are there ways of using the mouse to pan/rotate around the avatar, that also rotates the vehicle with it?
Seagel Neville
Far East User
Join date: 2 Jan 2005
Posts: 1,476
09-23-2005 06:15
From: GreyVulpine Oe
Besides ditching this whole vehicle idea for something simplier, are there ways of using the mouse to pan/rotate around the avatar, that also rotates the vehicle with it?
If you want to control your camera, you can do such as Alt + mouse drag, Alt + Ctrl + mouse drag and Alt + Shift + Ctrl + mouse drag. But if you want to control your avatar or its riding objects by mouse, you cannnot help but be in the mouselook. Irreconcilable. :(
_____________________
:) Seagel Neville :)
jester Knox
Sculpter of Water
Join date: 22 Apr 2004
Posts: 204
09-23-2005 07:55
try this script
/15/6b/51654/1.html

i commented it cause i was having similar trouble with the existing ones i found, good luck.


jester

.
_____________________
people tell me my fountains are cool, come check them out at JesAma Fountains, Alviso (190,45) or if you arent in SL try Gigas (secondserver.net) or SLBoutique to shop for my products.
GreyVulpine Oe
Registered User
Join date: 8 Sep 2005
Posts: 8
10-05-2005 00:10
Man.. I did a little more looking... Cubey's 2-seat hovercar is pretty much exactly what I'm looking for. Too bad I can't see how Cubey did it...