if anyone would like to help I would be much obliged and very greatful even the smallest help would be wonderful i just need the flight controls and can cut and paste thanks HeinThese forums are CLOSED. Please visit the new forums HERE
Please help vehicle desimation |
|
|
Heindrich Goodman
Registered User
Join date: 12 May 2006
Posts: 9
|
06-19-2006 12:57
I am working on a flight script and need some help with setting the controls i had the script controls already but i was unable to save and the server crashed leaving me only to sob as i looked at what little was left of my script once i logged back on
if anyone would like to help I would be much obliged and very greatful even the smallest help would be wonderful i just need the flight controls and can cut and paste thanks Hein |
|
Perryn Akami
Registered User
Join date: 16 Jun 2006
Posts: 12
|
06-20-2006 10:09
I'm knew to LSL scripting, but have been playing with programming for awhile...I can't help much as I'm still learning the syntax, but I can give one very good piece of advice... Build your code in Textpad or Notepad or some other text editor on your computer, save it often, and then just copy and paste it into the script file in SecondLife...It's an extra few steps true, but that'll save you many headaches in the long run...
|
|
Heindrich Goodman
Registered User
Join date: 12 May 2006
Posts: 9
|
06-21-2006 07:01
thanks for the advice you are completely right more saving less slaving could i search the library for flight controls such as CONTROL_ROT_LEFT etc and copy paste them also how would i do this?
|
|
nand Nerd
Flexi Fanatic
Join date: 4 Oct 2005
Posts: 427
|
06-21-2006 12:09
Your first stop should probably be a browse through:
http://secondlife.com/badgeo/wakka.php?wakka=TutorialVehicle though you won't want to read it cover to cover as it's quite technical but should come in very handy as a reference. http://secondlife.com/badgeo/wakka.php?wakka=LibrarySailboat was the only vehicle script I could see in the Wiki and is quite an intimidating set of scripts, what you should take a look at though is the ""Controls" script", specifically scroll down to the "control(key id, integer held, integer change)" event and take a look at how that is acheived, scrolling up the script a bit you'll also find "changed(integer change)" event which shows how to deal with a sitting / unsitting avatar in addition to the "run_time_permissions(integer perms)" event. Don't forget to check the Wiki for details on any function/state/constants etc you haven't seen before or if you don't understand what they do. Next up search the forums for vehicle scripts and disect the events I've mentioned above. _____________________
www.nandnerd.info
http://ordinalmalaprop.com/forum - Ordinal Malaprop's Scripting Forum |