Suki Hirano Posted May 6, 2015 Share Posted May 6, 2015 Does anyone know how to control walk speed without manually holding down some key like pgdown, or editing config files? If anyone's familiar with the RR cuff set one of the modes makes you walk at half speed, but I'm not sure how it does that. I'm sure it's through scripting at least. Maybe a way that forces the avatar to use "crouchwalk" instead of "walk" when arrow keys are pressed? Link to comment Share on other sites More sharing options...
Jenni Darkwatch Posted May 6, 2015 Share Posted May 6, 2015 probably intercepts the movement key and uses llmovetotarget to move the avi via script... that seems to be the more common method Link to comment Share on other sites More sharing options...
Xiija Posted May 6, 2015 Share Posted May 6, 2015 try something like this in a hud in the control event....? if(level & CONTROL_FWD) { if(llGetAgentInfo(llGetOwner()) & AGENT_WALKING) {llApplyImpulse(<-1, 0, 0>,TRUE);} } Link to comment Share on other sites More sharing options...
Ohjiro Watanabe Posted May 6, 2015 Share Posted May 6, 2015 There is a menu option you could try. Devveloper/Avatar/Animation Speed. Alt + Ctrl + Q to display the developer menu if you don't see it. Link to comment Share on other sites More sharing options...
Suki Hirano Posted May 7, 2015 Author Share Posted May 7, 2015 Xiija wrote: try something like this in a hud in the control event....? if(level & CONTROL_FWD) { if(llGetAgentInfo(llGetOwner()) & AGENT_WALKING) {llApplyImpulse(<-1, 0, 0>,TRUE);} } It seems llApplyImpulse only works if you're walking forward. If you're walking backwards (technically you're still walking forwards except in opposite direction, ie towards the computer screen) it behaves really oddly, it'll force your character to like turn around or something. Not sure if it has to do with viewer settings? Also if I lightly tap a movement key, it'll still push avatar in the opposite direction by about a feet. But otherwise llApplyImpulse seems to achieve the effect I'm trying to achieve. Ohjiro Watanabe wrote: There is a menu option you could try. Devveloper/Avatar/Animation Speed. Alt + Ctrl + Q to display the developer menu if you don't see it. That only causes all animations themselves to play slower, it has no effect on actual movement speed. Also I believe it's only client-side. Link to comment Share on other sites More sharing options...
Kwakkelde Kwak Posted May 8, 2015 Share Posted May 8, 2015 Not sure if it's the best way of scripting, since I'm not that experienced with that, but I've made an object once to control avatar speed and it uses SetForce instead of ApplyImpulse. You still take the forward and backward controls, but don't use the level. Instead it uses start and end (which are based on level, ~level and edge). Seems to work pretty well... Link to comment Share on other sites More sharing options...
Rakis Heron Posted November 22, 2017 Share Posted November 22, 2017 (edited) Hi Family Please i search a free java script for create self a small hud. I search from here to Honolulu and back ;-) I will create a hud only wear and have a super speed - run please have you a tip for my? Thank you for help Edited November 22, 2017 by Rakis Heron Link to comment Share on other sites More sharing options...
Rolig Loon Posted November 22, 2017 Share Posted November 22, 2017 I have absolutely no idea what you are looking for, but the place to look for it is the Wanted forum, not the Scripting forum. Also, please note that you cannot use javascript in Second Life. The only scripting language that will work here is LSL. 1 1 Link to comment Share on other sites More sharing options...
Rakis Heron Posted November 22, 2017 Share Posted November 22, 2017 Thank you for your incompetent teach Rolig Loon. I ask only friendly for a script not for so a coment. Watch my profile my first ava is from 2003 now i will teach you lady. No Java in SL? Painful teach no plan from SL? All script in SL are in Java language! Spetial for you down it's a SL script in java language ;-) // RAKis - Rakis Heron lasst modify 02.26.2004 // Copyright (c) 2003-2017 by RAK Internet Service // // Anti push script integer locked; float MTT_time = 0.2; vector adjustment = <0,0,-0.001>; default { state_entry() { key owner = llGetOwner(); llRequestPermissions(llGetOwner(), PERMISSION_TAKE_CONTROLS); llMoveToTarget(llGetPos() + adjustment, (MTT_time + 1.0)); llSetTimerEvent(MTT_time); llListen(8,"",owner,"r"); } on_rez(integer start_param) { llResetScript(); } run_time_permissions(integer perm) { if(perm & (PERMISSION_TAKE_CONTROLS)) { llTakeControls(CONTROL_FWD|CONTROL_BACK|CONTROL_RIGHT|CONTROL_LEFT|CONTROL_UP|CONTROL_DOWN,TRUE,TRUE); } } control(key id, integer level, integer edge) { if (level) { llSetTimerEvent(0.0); llStopMoveToTarget(); } else { llSetTimerEvent(MTT_time); } } timer() { llMoveToTarget(llGetPos() + adjustment, (MTT_time)); } listen( integer chan, string name, key id, string msg ) { llResetScript(); } } Link to comment Share on other sites More sharing options...
Rolig Loon Posted November 22, 2017 Share Posted November 22, 2017 3 minutes ago, Rakis Heron said: All script in SL are in Java language! No, that script is written in Linden Scripting Language (LSL), not in javascript. LSL is the only language that is allowed in SL. Again, if you are looking for a script, ask in the Wanted forum. If you have written a script and are asking for help with it, just tell us what the problem is. Someone here will be glad to assist. Link to comment Share on other sites More sharing options...
Madelaine McMasters Posted November 22, 2017 Share Posted November 22, 2017 (edited) 9 minutes ago, Rakis Heron said: My first ava is from 2003 Wisdom comes with age, but age sometimes comes alone. Edited November 22, 2017 by Madelaine McMasters 2 Link to comment Share on other sites More sharing options...
Rakis Heron Posted November 22, 2017 Share Posted November 22, 2017 (edited) You're right Madelaine but when my a member from 2009 teach it dont gives Java in SL i have a problem SL newbies read this also :-/ ok maybe i am in the wrong forum section with my ask sry :-( Have a nice SL... Rakis Edited November 22, 2017 by Rakis Heron 1 Link to comment Share on other sites More sharing options...
Lucia Nightfire Posted November 22, 2017 Share Posted November 22, 2017 1 Link to comment Share on other sites More sharing options...
Rakis Heron Posted November 22, 2017 Share Posted November 22, 2017 Madelaine you reply my words: My first ava is from 2003 TP to: http://maps.secondlife.com/secondlife/Lime/47/49/42 watch the land info: governor.linden birthday: September 01, 2002 he know my name 2003 SL and RL he is my friend in RL tooThe simpatic pic is THE Governor Linden You know here real name? Quest.................? Link to comment Share on other sites More sharing options...
Rolig Loon Posted November 22, 2017 Share Posted November 22, 2017 So, you have been here since 2003 and you still don't know what LSL is? Do you have a question for the LSL scripters here in the LSL Scripting Forum? Link to comment Share on other sites More sharing options...
Rakis Heron Posted November 22, 2017 Share Posted November 22, 2017 No i dont have now i read this old tread and post here but i know SLS but you know this man??? The pic? Link to comment Share on other sites More sharing options...
Parhelion Palou Posted November 22, 2017 Share Posted November 22, 2017 @Rakis Heron : You can read about LSL here: LSL Portal However, if you insist that SL uses Java, then please create a class named Car, add methods for Start, Stop, Turn Left, Turn Right, etc., create an object of that type, and get it to compile. LSL is roughly based on C. Java looks somewhat like C, but that doesn't make LSL Java. 1 Link to comment Share on other sites More sharing options...
Rakis Heron Posted November 22, 2017 Share Posted November 22, 2017 Thank you Parhelion Palou and yess you're also right but open SL script what ever you will it is the Java lang wgat you see and can edit Watch up my script SL script a 100% Java Link to comment Share on other sites More sharing options...
Rakis Heron Posted November 22, 2017 Share Posted November 22, 2017 So i don't hear a answer from all SL Profies ok the pic is Philip Rosedale the governor.linden September 01, 2002 inventor of SL sad is he give up the CEO and SL for build a new world VR Virtual Reality. A new dimension superlative avas creat a world not land and all in 360° and the new grid conect worlds. ;-) Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now