Jump to content

Search the Community

Showing results for tags 'bwind'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • People Forum
    • Your Avatar
    • Make Friends
    • Lifestyles and Relationships
    • Role Play
    • General Discussion Forum
    • Forums Feedback
    • Missed Connections
    • Second Life Education
  • Places and Events Forum
    • Favorite Destinations
    • Upcoming Events and Activities
    • Games in Second Life
  • Official Contests & Events
    • Leap Into Love Snapshot Contest
  • Creation Forum
    • Fashion
    • Art, Music and Photography
    • Animation Forum
    • Bakes on Mesh
    • Environmental Enhancement Project
    • Machinima Forum
    • Building and Texturing Forum
    • Mesh
    • LSL Scripting
    • LSL Library
    • Sansar for Second Life Residents
  • Technology Forum
    • Second Life Server
    • Second Life Viewer
    • Second Life Web
    • General Second Life Tech Discussion
  • Commerce Forum
    • Merchants
    • Inworld Employment
    • Wanted
  • Land Forum
    • General Discussion
    • Mainland
    • Linden Homes
    • Regions for Sale: Full Private Island
    • Region for Rent: Full Private Island
    • Regions for Sale: Homesteads
    • Region Rentals: Homestead
    • Parcels for Sale: Mainland
    • Parcels for Rent: Mainland
    • Wanted: Full Private Island
    • Wanted: Homesteads
    • Wanted: Mainland
  • International Forum
    • Deutsches Forum
    • Foro en español
    • Forum in italiano
    • Forum français
    • 日本語フォーラム
    • 한국어 포럼
    • Fórum em português
    • Forum polskie
    • المنتدى العربي
    • Türkçe Forum
    • Форум по-русски
  • Adult Content Forum
    • Highlight Upcoming Events
    • General Discussion
    • General Announcements
  • Answers
    • Abuse and Griefing
    • Account
    • Avatar
    • Creation
    • Inventory
    • Getting Started
    • Controls
    • Land
    • Linden Dollars (L$)
    • Shopping
    • Technical
    • Viewers
    • Everything Else
    • International Answers

Blogs

  • Commerce
  • Featured News
  • Inworld
  • Tools and Technology
  • Tips and Tricks
  • Land

Categories

  • English
  • Deutsch
  • Français
  • Español
  • Português
  • 日本語
  • Italiano
  • Pусский
  • Türkçe

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 2 results

  1. In 2010 the scripting genius Becca Moulliez generously released her BWind Sailing Engine, a set of interactive scripts to fully animate a sailing boat. Even after much Googling I have been unable to find out how to modify these scripts to work in conjunction with the current practice of creating the components of a boat in mesh, especially the sails and boom. Perhaps there is someone who has succeeded in bringing these scripts up to date, and in Becca's spirit would be prepared to share the knowledge. The SL sailing community would be extremely grateful
  2. Hello again, next challenge! I am now going to attempt to make HUD control for my sailboat. I have just one single cube on my HUD for now, and it contains this script: default{ //When someone starts touching the prim touch_start(integer num_detected) { llSay(-99, "raise"); }} I believe the next challenge is adding a listen to the main boat script so that it listens on channel 0 but ALSO on -99. Below I will provide the 2 locations I found when searching "listen". //Section 1 with listen //GENERAL BOAT STARTUP - reset stuff - this resets the script to defaults... you may call this function as needed... startup() { owner=llGetOwner(); llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Z | STATUS_ROTATE_Y,TRUE); llSetStatus(STATUS_PHYSICS,FALSE); llSetStatus(STATUS_PHANTOM,FALSE); llSetStatus(STATUS_BLOCK_GRAB,TRUE); llSetTimerEvent(0); setInitialPosition(); setVehicleParams(); setSitTarget(); getLinkNums(); llMessageLinked(SAIL,1000,"",NULL_KEY); //reset MAINSAIL llMessageLinked(JIB,1000,"",NULL_KEY); //reset JIB llMessageLinked(BOOM,1000,"",NULL_KEY); //reset BOOM llMessageLinked(BOOM2,1000,"",NULL_KEY); //reset BOOM2 llMessageLinked(JIBBOOM,1000,"",NULL_KEY); //reset JIBBOOM llMessageLinked(FURLED,1001,"",NULL_KEY); //reset Furl llMessageLinked(CREWMAN,1001,"",NULL_KEY); // show crewman poseball llMessageLinked(POLE,1000,"",NULL_KEY); // hide & reset pole llMessageLinked(SPINNAKER,1000,"",NULL_KEY); //reset SPINNAKER setCamera(); //apply Camera default setting currSpeed=0; llListen(0,"",owner,""); //listen to boat owner only... llOwnerSay("Ready."); llMessageLinked(LINK_ALL_CHILDREN , 0, "stop", NULL_KEY); } // ------------------------------------- END GLOBAL BOAT EQUATIONS AND FUNCTIONS--- //Section 2 with a listen //////////////////////////////////////////////////////////////////// // MAIN BOAT LISTENER ///////////////////////////////////////////// ////////////////////////////////////////////////////////////////// // YOU BETTER NEVER EDIT THE FOLLWING LINES UNLESS YOU KNOW WHAT TO DO listen(integer channel, string name, key id, string msg) { if (channel==0) { if (owner==id & llAvatarOnSitTarget()==owner) { if (llGetAgentInfo(owner) & AGENT_ON_OBJECT) { if (llGetSubString(msg,0,4)=="sheet") { incr=(integer)llDeleteSubString(msg,0,4); sheetAngle+=incr; if (sheetAngle>90) sheetAngle=90; } //MESSAGE raise - hey we DO want to sail huh? else if (msg=="raise") { llMessageLinked(LINK_ALL_CHILDREN , 0, "start", NULL_KEY); sailing=TRUE; if (!permSet) llRequestPermissions(owner,PERMISSION_TAKE_CONTROLS | PERMISSION_TRIGGER_ANIMATION); permSet=TRUE; llSetStatus(STATUS_PHYSICS,TRUE); raiseSail(); llSetTimerEvent(timerFreq); wTimer="normal"; } else if (msg=="debug") wDebug=1; else if (msg=="t") { wTack=1; llSetTimerEvent(timerFreq/10); wTimer="rapide"; wIndTimer=0; } // SPINNAKER HOIST/DROP else if (msg=="spin" && SPIN_UP) DropSpin(); else if (msg=="spin" && !SPIN_UP) HoistSpin(); //SPINNAKER TRIM else if (msg=="spin+") TrimSpinPlus(); else if (msg=="spin-") TrimSpinMinus(); //GYBE POLE else if (msg=="gybe") { if (SPIN_UP==TRUE) { llMessageLinked(SPINNAKER,1004,"",NULL_KEY); //hoist spinnaker if (-sailingAngle > 0) llMessageLinked(POLE,1003,"",NULL_KEY); if (-sailingAngle < 0) llMessageLinked(POLE,1004,"",NULL_KEY); CurSpin=0; } } //MESSAGE lower - okay now we want physics ON but no sailing... else if (msg=="lower") lowerSail(); else if (msg=="moor") { llMessageLinked(LINK_ALL_CHILDREN , 0, "stop", NULL_KEY); moor(); llSetTimerEvent(0); if (SAIL_UP) lowerSail(); llResetScript(); } //BOAT ID Setter else if (llGetSubString(msg,0,1)=="id") { if (llGetSubString(msg,3,-1)!="off") { idStr=llGetSubString(msg,3,-1); string tmp=boatName+" #"+idStr; llSetObjectName(tmp); llWhisper(0,"New Boat ID :"+tmp); } } //START bbk_helmsman ANIMATION else if (llGetSubString(msg,0,3)=="anim") { if (llGetSubString(msg,5,-1)=="off") { } else if (llGetSubString(msg,5,-1)=="on") { if (permSet) llStartAnimation("bbk_helmsman"); // change thise pose/animation name if needed... } } } } //-------------------------------- END MAIN BOAT LISTENER --- I will be working more on how to solve this in the morning. Have a great day or night if your reading this!
×
×
  • Create New...