Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Old Timers Syndrome

TwoSheds Flanagan
Registered User
Join date: 20 Jun 2007
Posts: 13
01-21-2008 13:17
I could swear that I saw a script somewhere which would perform like a remote control vehicle somewhere but for the life of me I can't recall where. I've searched on remote and control but it turns out that those words appear in here. A LOT.

Can someone whose mental facilities aren't as worn out as mine point an old geezer in the right direction?

Thanks a ton.
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
01-21-2008 13:35
A "remote control" vehicle will need to take the controler's controls (if you wish to do with with the normal movement keys, which is the usual--but certainly not the only--way to obtain user input for such things). Things to research:

llRequestPermissions()
llTakeControls()
control (event)

The vehicle can either take controls directly (which will prompt the user to grant permissions), or you can have some kind of controller attachment or object to sit on. The latter two can get the permissions without the user explicitly accepting them, and could then relay commands to the vehicle over chat.

For the actual movement, it would be the same as for any non-physical, physical, or vehicle-based physical object.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
01-21-2008 13:48
you aren't alone, I remember that one too... try searching llTakeControls
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
TwoSheds Flanagan
Registered User
Join date: 20 Jun 2007
Posts: 13
01-21-2008 15:35
Hi Heewe and thanks for responding. What I had in mind was more like an actual remote control, like you'd see with a radio controlled aircraft or car in RL. Dang it if I could recall where I saw this I could show you easily <g>.

Umm, thinking about what you said and what I was thinking about I think that I can do it with llTakeControls after all, so ignore this, and thanks again.
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
01-21-2008 16:10
An RC chopper script was just posted to the library today:

/54/35/236698/1.html
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
01-21-2008 16:11
I don't recall ever seeing a freely available script for such a thing, but it's fairly simple to create from any old vehicle script. Basically, alter the script to move the bits from the "changed" event into something like the "touch_start" event. I'll modify the easily found "Realistic Car Script" as an example. I can't test it, but the concept should work.

From: someone

changed(integer change) {
:::if (change & CHANGED_LINK) {
::::::key agent = llAvatarOnSitTarget();
::::::if (agent) {
:::::::::if (agent != llGetOwner()) {
::::::::::::llSay(0, not_owner_message);
::::::::::::llUnSit(agent);
:::::::::}
:::::::::else {
::::::::::::llSetStatus(STATUS_PHYSICS, TRUE);
::::::::::::llRequestPermissions(agent, PERMISSION_TRIGGER_ANIMATION | PERMISSION_TAKE_CONTROLS);
:::::::::}
::::::}
::::::else {
:::::::::llSetStatus(STATUS_PHYSICS, FALSE);
:::::::::llReleaseControls();
:::::::::llResetScript();
::::::}
:::}
}

From: someone

touch_start(integer num) {
:::key agent = llDetectedKey(0);
:::if (agent != llGetOwner()) {
::::::llSay(0, not_owner_message);
::::::return;
:::}
:::if (in_use == FALSE) {
::::::in_use = TRUE;
::::::llSetStatus(STATUS_PHYSICS, TRUE);
::::::llRequestPermissions(agent, PERMISSION_TAKE_CONTROLS);
:::}
:::else {
::::::in_use = FALSE;
::::::llSetStatus(STATUS_PHYSICS, FALSE);
::::::llReleaseControls();
::::::llResetScript();
:::}
}
TwoSheds Flanagan
Registered User
Join date: 20 Jun 2007
Posts: 13
01-21-2008 18:05
From: Jesse Barnett
An RC chopper script was just posted to the library today:

/54/35/236698/1.html


Wow, in light of my incredible luck and/or all those supplications to dark powers FINALLY paying off, I'd also sure love it if someone could point me to a working script to pick state lottery numbers accurately every time, and perhaps one to make Elizabeth Hurley show up at my door <g>.

Thanks for all your help everyone.
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
01-21-2008 18:18
From: TwoSheds Flanagan
Wow, in light of my incredible luck and/or all those supplications to dark powers FINALLY paying off, I'd also sure love it if someone could point me to a working script to pick state lottery numbers accurately every time, and perhaps one to make Elizabeth Hurley show up at my door <g>.

Thanks for all your help everyone.

And we find another one who has sold his soul to the scripting gods :p
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Mrc Homewood
Mentor of Randomness
Join date: 24 Feb 2007
Posts: 779
01-21-2008 18:32
all bow down to the all mighty random one !!!

that is funny, i got like 6-7 peaple going nuts today when i made my new rc chopper omfg can i have that script ect ect lol atleast it paided off for someone ^^
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
01-21-2008 18:44
From: TwoSheds Flanagan
Wow, in light of my incredible luck and/or all those supplications to dark powers FINALLY paying off, I'd also sure love it if someone could point me to a working script to pick state lottery numbers accurately every time, and perhaps one to make Elizabeth Hurley show up at my door <g>.

Thanks for all your help everyone.

that's all well and good, except that Elizabeth Hurley shows up at your door to assasinate you and steal the script (can you tell I've played web forum 'wish corruption' a few too many times)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
01-21-2008 19:46
Yesss.... How come they are so easy to generate, but so hard to predict. Not quite fair, eh? Heh heh.
Beezle Warburton
=o.O=
Join date: 10 Nov 2006
Posts: 1,169
01-21-2008 19:48
Taggart Remote Control Plane kit.

In the freebies area at the store in my sig because I don't feel like logging in. :D
_____________________
Though this be madness, yet there is method in't.
-- William Shakespeare

Warburton's Whimsies:
In SL
Apez.biz
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
01-21-2008 20:09
And another one!!! Guess Beezle is short for Beezlebub???

And then of course there is my AV, whose picture is attached.

Dark conspiracy uncovered?????????

Stay tuned for more from the Satanic Scripting Society!!
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Beezle Warburton
=o.O=
Join date: 10 Nov 2006
Posts: 1,169
01-21-2008 22:05
From: Jesse Barnett
And another one!!! Guess Beezle is short for Beezlebub???


"The Naming of Cats is a difficult matter,
It isn't just one of your holiday games;"

Pretty AV, BTW. :p
_____________________
Though this be madness, yet there is method in't.
-- William Shakespeare

Warburton's Whimsies:
In SL
Apez.biz
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
01-22-2008 04:03
speak for youreslf, I'm no minion of the underworld.... now lending a hand to Tyche or Eris wouldn't be out of line

nice wings btw, Material Squirrel?
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
01-22-2008 04:20
From: Void Singer
speak for youreslf, I'm no minion of the underworld.... now lending a hand to Tyche or Eris wouldn't be out of line


You mean you VOLUNTARILY stay at your keyboard for countless, sleepless hours, banging out code and debugging with little or no hope for recompense and it's NOT because of a horde of little buggers running around prodding you with pitchforks?????? :eek:

From: Void Singer
nice wings btw, Material Squirrel?

Of course! Big fan of hers from way back......
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
01-22-2008 04:43
From: Jesse Barnett
You mean you VOLUNTARILY stay at your keyboard for countless, sleepless hours, banging out code and debugging with little or no hope for recompense and it's NOT because of a horde of little buggers running around prodding you with pitchforks?????? :eek:

oddly no... all the little buggers running around prodding me with pitchforks are in my head...I call them knowledge, insanity, and masochism. I actually LIKE diving into the dark to retrieve little gems of knowledge, despite the bloody mess it makes of me >=)

(although if there is a hell, the idea I came up with and am pursuing with a friend will ensure us both front row seats.... bolgia 1 in the 8th circle if you've read Dante =)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Siann Beck
Beauty & Braiiiiinsss!
Join date: 14 Jul 2007
Posts: 140
01-22-2008 07:56
From: TwoSheds Flanagan
I'd also sure love it if someone could point me to a working script to pick state lottery numbers accurately every time, and perhaps one to make Elizabeth Hurley show up at my door <g>.

I don't know about Elizabeth Hurley, but llGetAntonioBanderas() works for me. :)
_____________________
Help find a missing child.