Jump to content

Rachel1206

Resident
  • Posts

    737
  • Joined

  • Last visited

Everything posted by Rachel1206

  1. Not to my knowledge - the old user made does not work with newer VS. It should be possible to import TextMate snippets, but I have not done it. I just work on templates based on standard C++/C#, where you get the default syntax highlighting on variable definitions, values, strings. This I find adequate for my programing work with LSL. To me it is working with several open source files of a SL project which makes me prefer VS, where I find it easier to follow say linked messages etc. and just get an overview of a more complex project with several source-files from an object and its children.
  2. I use the build-in editor for small jobs, for larger or complex scripting tasks I use VisualStudio 2017 - an overkill yes, but just love VisualStudio and the advanced search/replace options and being able to work with several files open at the same time.
  3. Well, some basics to get you on the way, example on changing color, when you touch the object, bump into it and automatic change based on a timer- but study the tutorials. vector green = <0.180, 0.800, 0.251>; vector red = <1.000, 0.255, 0.212>; integer bToggle = FALSE; toggleColors() { bToggle= !bToggle; if (bToggle) { llSetColor( green, ALL_SIDES); } else { llSetColor( red, ALL_SIDES); } } default { state_entry() { // call timer every 15 second llSetTimerEvent(15.0); } touch_start(integer total_number) { toggleColors(); llSay(0, "You touched me..."); } collision_start(integer num) { toggleColors(); llSay(0, "You bumped into me..."); } timer() { toggleColors(); llSay(0, "Timer changed colors..."); } }
  4. Check out llSetLinkAlpha to fade an object in/out - see Wiki, there is even a small sample. For a little good color change sample, check Wiki on llSetColor - now you write rotation between colors, I assume, you just mean changing between say two colors colors. Else it is normally understood as fading colors into each other based on for example an color wheel using RGB values, which is more complex to do. If you are very new to scripting in SL, use a little time to study the Tutorial, both things you want to make are excellent beginner training to do in LSL.
  5. - passing by in my Tyrah and the Curse of the Magical Glytches outfit.
  6. Or you could build some sound emitters in the room with the fish tank - that is some objects to which a message is send on a hidden channel or simply let the tank it self send the sounds instead of the little fishies them self.
  7. See also A discussion of The Game of Life, the 3D implementation would be a good inspiration for some SL fun.
  8. All SIM with TCMG seem to operate normally now (5.30AM SLT). One weird thing though, the whole week I experienced only a few pink gems given even catching the more dangerous glytches, so now I got a ton load of Epic Glythes.... would have preferred gem payout. Further at last I got a blue gem and would have expected something in game play rewarding this effort better, like given better gem ratio. When I inspected the bonus levels portals at the beginning of game, it said, it cost 99 pink gems to enter. And I upgraded to the fly The Platinum Flyswatter first time I got 99 pink gems, so I could catch faster and better... in order to get 99 pinks gem again to enter the bonus portals. But after upgrading weapon you need 5/10 blue gems to enter BTW. I read this on a blog: "After about an hour an a half I came away with an upgraded Glytches catcher (the net)... " Chic at Phil's Place - so clearly LL changed the payout ratio, it took me and others I have asked one week+ just to get the first 99 pink gems. With the current payout of gems it will take me maybe nearly 3 months to get the above 10 blue gems to enter the bonus portals, bummer and game stopper - which is a shame since it is an excellent and fun game and great way to be introduced to the several places in Second Life. FYI, I filled a JIRA as the Binaynays Epic unpacking has a bug, where it is not delivered, should be fixed by now.
  9. From the wiki: OBJECT_SELECT_COUNT Gets the total number of agents selecting any links in the object. If id is an avatar, 0 is returned. OBJECT_SIT_COUNT Gets the total number of agents sitting on any links in the object. If id is an avatar, 0 is returned. Source: http://wiki.secondlife.com/wiki/LlGetObjectDetails
  10. Ohh the link reference was wrong, this is the correct one: http://wiki.secondlife.com/wiki/Simple_Texture_Changer_(for_inventory)(more_than_one_side).lsl Now, even if hard coded in an example, you just change source code according to your wishes, task ahead.
  11. Get some inspirations from this older wiki sample: Touch Texture Switch by Bobbyb30 Swashbuckler.
  12. I wish the gem payout was better, after catching 500+ glytches, I only got 21 pink gems... long way to the 99 pink gems and able to upgrade to next weapon - not to mention to enter the 3 portals. Riddles or small tasks to be made - giving gems would when solved correct, would have been a nice addition for that little tedious running around. But very fun game and the glytyches are so funny and nice catch to keep, especial the rare and epic ones, love it
  13. It seems to a problem coming back after some time at the different locations - anyway quite fun to watch ppl with the jars running after the glytchs bots Ohh, hey.. what is this - a grande piano falling down from the sky.... HELP! <EOT>
  14. Always use braces. Notice, below could be made without braces. if (bOn) { llOwnerSay( "You are clever"); } else { llOwnerSay( "You are ehmm not so clever"); } This safes your from potential logic program errors, which are the hardest to find as the program will compile and run - but does not do, what is intended. Further, the source code is easier to read and understand - important when you want to change something long time after it was original written.
  15. Notice: Your system specifications There is definitely something something wrong, your Allienware17 game laptop has a Nvidea GForce graphic card beside the build in Intel graphics on board. What could cause the NVidea not to be shown? A) You run on battery and battery level is below a given value, where you system disables advanced features to save power - plug in the laptop to power outlet. B) Configuration, settings could be wrong - try to set it to High Performance in Power Settings in Windows. In the NVidea Cotrol panel, set SL/Firestorm Viewer to use High Performance NVidea processor. You can also change between the integrated and the NVidea graphics with Fn+F5 on an Allienware17- that is toggle between build in on board graphic and Nvidea, but the NVidea requires either plugged into power outlet or as shown above always use on cost of battery. If the steps above does not help, get help from a computer wizard friend, who can check BIOS and drivers according to Dell/Allienware knowledge base. PS Do not get scared when the above solution makes your computer faster and SL run better and in high graphics quality!
  16. You link TO the ROOT prim - confusion seems to come from video/builders showing, where they select last prim and link items together and refers to this as last prim. It is important to understand root prim, when we work on things more complex. The root prim is our anchor point no matter what - orientation, positions of linked items, be it wheels, doors, hands, tentacles - important if we want movements etc. Play around with it - best way to learn in SecondLife is learning by doing! And rule #1 - always work on an object rezzed facing to the east - that is rotation <0.0, 0.0, 0.0>
  17. Why use username and not the avatar UUID? Or do you want to use https://my.secondlife.com/XXXXXXX and do not have the key stored in an external db? else the just (pseudocode): dataserver( key queryid, string data ) key keyID (key)data; string strUserName= llGetUsername( keyID ); // Process transaction... based on keyID and strUserName
  18. You did not use a listen handle and you set the listener to NULL_KEY. Using a handle will ensure the listening is active and using her UUID instead of NULL_KEY will make the listening on the public channel 0 less intrusive. If your fiancé owns the object - get the UUID with llGetOwner(); or just assign her UUID to the key value. Now we can also get her name direct based on the UUID, which we use later when "talking back" as shown below in the code fragment. integer listenHandle; key keyUUID; string strName; state_entry() { keyUUID= llGetOwner() strName= llGetDisplayName( keyUUID ); listenHandle= llListen(0,"", keyUUID, ""); } listen(integer channel, string name, key id, string message) { if (message == "boobs") { string strTmp = llGetObjectName(); llSetObjectName ( strName); llSay(0, "Ohh please behave!"); llSetObjectName( strTmp ); } }
  19. Best thing to do is to visit some bike drive sims and ask ppl and often bikers let you try their favorite bike and tell pro/cons about them - just like in RL. Further what kind of bike? A bike for slow cruising mainland - or a race bike for blistering fast laps on a race track? My favorites are: Kris Harvey, +ROAD RAGE CUSTOMS+ makes excellent cruising bikes. Ilona Kohime, (IK) makes very fast, good handling race bikes.
  20. Now we have to distinguish between what kind of item we want to make a demo of. An object - be it a tea pot or vehicle Wearable - for example clothes Attachment - for example a cake given from a dispenser There are several ways to do this. An object is easy made disappear using either a timer or when an person unsit from say a vehicle with llDie() - for the other kinds use llAttachToAvatarTemp(). If it is attached direct by the user from the inventory, one has to do some extra script works and use llDetachFromAvatar() and handle it here. Further the permissions set combined with above ensure a basic protection of abuse of the demo item.
  21. Looks like you found a bug in Firestorm, let us hope Whirly Fizzle's attention is made - you could also report the bug. I had to restore from my Firestorm backup to get the normal UI back.
  22. Well, I am also a little perplexed, but Roolig explained very well, why it does not work. If you use changed(integer change) { if (change & CHANGED_LINK) //note that it's & and not &&... it's bitwise! { llOwnerSay("The number of links have changed."); } } You clearly will notice, how long it takes before the updates have finished. Now, in the change event you could use a combination of a Boolean bReady and a counter and then execute commands to change color etc. And you will have to get right right link number in order to color the correct one - you just color link number 6 at anytime - one way to solve this, is to name the titles in question "ColorMe#x" when creating them and then in the change event using iterations through the linkset and examine llGetLinkName()
  23. Sounds like some logic error in your touch statement, but hard to say without seeing the code fragment.
  24. Ohh chicken and hen... But you see the normal Windows 10 desktop and other programs without problems, I assume. If you have another monitor (or uses a laptop) try and set the SL Viewer to lower resolution, for example 1024x780. Now you will see SL on the desktop as any program not maximized. If this is just black rectangle on the desktop when viewed on your TV, I would say, the problem much likely is the graphic card driver and OpenGL.
×
×
  • Create New...