Fly/Hover in a No-Fly Zone?
|
Vilkacis Mason
Registered User
Join date: 30 Aug 2005
Posts: 49
|
10-04-2005 08:02
Do Vehicles still work?
Is there a way to make an avatar fly in a no-fly sim using scripts in an attachment?
I'm not trying to cheat, mind. I'm imagining an RP sim where only certain people can fly (those who've bought the power, I assume) and I'm wondering if it would be possible to use No-Fly to make it impossible for others to fly, and use a script to let others do so.
Can a script turn off flight of an avatar it's attached to?
|
Nathan Stewart
Registered User
Join date: 2 Feb 2005
Posts: 1,039
|
10-04-2005 08:46
No-fly zone, is rather misworded on lindens part i've always believed, to be more precise its a no take off in fly mode zone, you can fly across, hover over, fly vehicles even 1m above the land, but as soon as you land you cant take off again of course if you hop in a vehicle off you go again, so most places that use this will disable outside build to stop people rezzing
|
Vilkacis Mason
Registered User
Join date: 30 Aug 2005
Posts: 49
|
10-04-2005 08:48
From: Nathan Stewart No-fly zone, is rather misworded on lindens part i've always believed, to be more precise its a no take off in fly mode zone, you can fly across, hover over, fly vehicles even 1m above the land, but as soon as you land you cant take off again of course if you hop in a vehicle off you go again, so most places that use this will disable outside build to stop people rezzing Is there a way to activate/deactivate flight using LSL? So the game-code 'backpack' or whatever is the case would choose for you if you could fly or not?
|
Logan Bauer
Inept Adept
Join date: 13 Jun 2004
Posts: 2,237
|
10-04-2005 09:34
From: Vilkacis Mason Is there a way to activate/deactivate flight using LSL? So the game-code 'backpack' or whatever is the case would choose for you if you could fly or not? I don't think it can be "deactivated" per say - As mentioned, even when an area is no flight, you can fly through the area - heck, I used to teleport into DarkLife and hold the pgUp button when I got there, so that I wouldn't touch the ground and would be able to fly to certain points... Once you land once, tho, you can't "take off", so "no take-off zone" is a bit more what we really have... I would think, in theory tho, since you can use LSL to see if an agent is flying, simply make the backpack check if your AV is flying, if they ARE flying and they AREN'T 'allowed' to by whatever property/item/variable you choose for your game... Then apply a downward impulse or something. Bear in mind that this would solve just AV's flying that 'aren't allowed', but with a vehicle I think you technically aren't flying, you're "sitting" so it would need a way to distinguish, say... If I'm "sitting" but am above X meters...
|
Vilkacis Mason
Registered User
Join date: 30 Aug 2005
Posts: 49
|
10-04-2005 09:53
Well, that's sort of crude but I guess it does solve the problem. I'm not looking to completely outlaw flying, in things such as vehicles for example. If someone wants to cheat, I'm not going to go out of my way to stop them. I was more looking for ways to disuade players from doing so that shouldn't be, or to stop 'accidentally' flying.
Thanks for the help!
|
Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
|
10-04-2005 12:23
Rathe Underthorn+Francis Chung's ROAM gets around this with the "super Jedi jump" option (keep hitting jump button to get higher and higher), which has proven very handy for me in no-fly zones where I want to maintan a certain amount of realism but still be able to scale buildings.
|
Upshaw Underhill
Techno-Hobbit
Join date: 13 Mar 2003
Posts: 293
|
10-04-2005 20:40
This Post from Siro Mifune is billed as a public domain anti-grief script but it also throws in basic flight enhance capabilities. Because it makes use of llSetForce, no matter whether the AV is flying or not it will be dragged along by the attachment. The upshot of this is that you fly in no-fly zones. The oddity is that because you aren't flying the normal flight rules dont apply. It's a bit ike a 3D version of Lunar Lander: you're always being acted on by gravity so you do fall back down unless you continue to push up but side to side and forward and back are frictionless... you have to slow down forward movement by backing up until you're at 0 (-ish) velocity again. When I used to play DarkLife I used it all the time... since I played as a humanoid frog character I was merely 'hopping' to my destinations  Hope this comes in handy. L8r, UU Edit: P.S. as far as keeping everyone on the level if it's an island sim do it like SimCast did/does. have them 'port into an enclosed space with a watchdog that 'ports 'em home if they aren't wearing a 'game tag' and to get out of the enclosed space they have to use a SitTarget 'porter to ensure they are no longer flying.
|
Siro Mfume
XD
Join date: 5 Aug 2004
Posts: 747
|
10-05-2005 00:44
From: Upshaw Underhill This Post from Siro Mifune is billed as a public domain anti-grief script but it also throws in basic flight enhance capabilities. Because it makes use of llSetForce, no matter whether the AV is flying or not it will be dragged along by the attachment. The upshot of this is that you fly in no-fly zones. The oddity is that because you aren't flying the normal flight rules dont apply. It's a bit ike a 3D version of Lunar Lander: you're always being acted on by gravity so you do fall back down unless you continue to push up but side to side and forward and back are frictionless... you have to slow down forward movement by backing up until you're at 0 (-ish) velocity again. When I used to play DarkLife I used it all the time... since I played as a humanoid frog character I was merely 'hopping' to my destinations  Hope this comes in handy. L8r, UU Edit: P.S. as far as keeping everyone on the level if it's an island sim do it like SimCast did/does. have them 'port into an enclosed space with a watchdog that 'ports 'em home if they aren't wearing a 'game tag' and to get out of the enclosed space they have to use a SitTarget 'porter to ensure they are no longer flying. Since I've seen at least a couple people post/IM me about a more recent version, I have updated the scripting library (as I no longer have a place of my own to publicly distribute the ready made object). I expect it to be available whenever the moderator of the library moderates it. EDIT: update is now available in scripting library. Yes, the newer version allows the illusion of flight without being in flight mode (the old probably did too, but the newer does it better I think). Flight mode does help though, when not in flight mode, 'falling physics' apply and can get strange. However it is somewhat amusing to hover a foot into the air, disable flight and just be there waving your arms madly. \o/ P.S. using apply impulse now.
|