Skyboxes
|
|
Ant Alva
Registered User
Join date: 19 Jul 2006
Posts: 11
|
10-14-2007 03:17
I've seen the skyboxes with the menu driven scripts that allows the owner to elevate to the desired height ,having no scripting abilities at all is it possible to get my hands on a copy transfer script to allow me to do this in my builds,I've been looking for a long time but can't find one.
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
10-14-2007 05:58
From: Ant Alva I've seen the skyboxes with the menu driven scripts that allows the owner to elevate to the desired height ,having no scripting abilities at all is it possible to get my hands on a copy transfer script to allow me to do this in my builds,I've been looking for a long time but can't find one. Now usually I am really, really liberal on giving out scripts here. But in this case you are asking someone to give you thier work for free so that you can turn around and use it to add value to what you are selling. Go to the products wanted forum.
_____________________
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
|
|
Ant Alva
Registered User
Join date: 19 Jul 2006
Posts: 11
|
10-14-2007 14:00
actually I didn't ask for anything for free at all I merely asked if the script was possible to obtain,I have shelled out thousand in lindens for various script during my year + here,when should never make assumptions or judgements on others without asking first
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
10-14-2007 14:12
Again, this is the wrong forum for this. Place an ad in the Products Wanted forum and someone will be glad to come up with a solution for you.
If you wish to learn to script it yourself then we will be more then glad to help you get started.
_____________________
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
|
|
Soen Eber
Registered User
Join date: 3 Aug 2006
Posts: 428
|
10-14-2007 15:49
Its actually fairly straightforward to script, all you need is a dialog box, the warppos teleport script as a back end movement engine, and llSetPos() and llRegionSay() for the interobject communication.
This would make a pretty good "starter project" to get your feet wet with scripting. If you're going to be creating buildings for sale, some basic scripting ability is pretty useful - and almost essential. Except for the set altitude script you're asking for, everything else associated with a home has freebie scripts in the scripting library and are in use in professional products.
|
|
Avalon Birke
Registered User
Join date: 13 Nov 2006
Posts: 24
|
11-03-2007 11:42
Ant, I know what you are asking about and had the same question myself...I gave up on finding it (same for the skin issue you asked about elsewhere, some things in SL are pretty darn hard to locate!). I second the vote that it's a good way for you to get into scripting, you have a talent for creating stuff so add this skill to your SL resume and I'll be one of the first customers!  I'm off to check the Products Wanted and Scripting forums here to see if there is related info there. Good luck finding what you need! ~Avalon
|
|
Zena Tiki
Registered User
Join date: 16 Nov 2006
Posts: 37
|
11-03-2007 18:10
I'd most probably be your second customer.
|
|
ed44 Gupte
Explorer (Retired)
Join date: 7 Oct 2005
Posts: 638
|
11-04-2007 01:55
I used this script to move me around as I built. You could put it into the root prim of a totally linked house (including furniture), but you would need to sit on something for it to move yourself along with the house. Might give you some mild protection against someone returning via a landmark made while in your house. Being non-physical, it will only go up to 256 + 512 = 768 meters. Do let me know if it still works. integer gChannel = 10; vector gPos; key gOpKey; string miUp = "Up"; string miDn = "Down"; string miUp10 = "Up 10"; string miDn10 = "Down 10"; string miUp50 = "Up 50"; string miDn50 = "Down 50"; string miE = "East"; string miW = "West"; string miN = "North"; string miS = "South";
// vector to string string v2s (vector v) { string s1 = f2s (v.x, 0); string s2 = f2s (v.y, 0); string s3 = f2s (v.z, 1); return "(" + s1 + "," + s2 + "," + s3 + ")"; }
// float to string
string f2s (float f, integer n) { integer m = n; integer div = 1; while (m > 0) { div *= 10; f *= 10.0; --m; } integer i = llRound (f); string lhs = (string) (i / div); string rhs = (string) (i % div); string ans; if (n > 0) ans = lhs + "." + rhs; else ans = lhs; return ans; }
string getDialogPrompt () { string mes = ""; float ground = llGround (<0,0,0>); float height = gPos.z - ground; mes = "height = " + f2s (height, 1) + "M, Pos = " + v2s (gPos); return mes; }
goN () { //llOwnerSay (miDn); vector newPos = <gPos.x, gPos.y + 1.0, gPos.z>; llSetPos (newPos); gPos = newPos; }
goS () { //llOwnerSay (miDn); vector newPos = <gPos.x, gPos.y - 1.0, gPos.z>; llSetPos (newPos); gPos = newPos; }
goE () { //llOwnerSay (miDn); vector newPos = <gPos.x + 1.0, gPos.y, gPos.z>; llSetPos (newPos); gPos = newPos; }
goW () { //llOwnerSay (miDn); vector newPos = <gPos.x - 1.0, gPos.y, gPos.z>; llSetPos (newPos); gPos = newPos; }
goDn () { //llOwnerSay (miDn); vector newPos = <gPos.x, gPos.y, gPos.z - 1.0>; llSetPos (newPos); gPos = newPos; }
goDn10 () { //llOwnerSay (miDn10); integer i; for (i = 0; i < 10; i++) goDn (); }
goDn50 () { //llOwnerSay (miDn10); integer i; for (i = 0; i < 50; i++) goDn (); }
goUp () { //llOwnerSay (miUp10); vector newPos = <gPos.x, gPos.y, gPos.z + 1.0>; llSetPos (newPos); gPos = newPos; }
goUp10 () { //llOwnerSay (miUp10); integer i; for (i = 0; i < 10; i++) goUp (); }
goUp50 () { //llOwnerSay (miUp10); integer i; for (i = 0; i < 50; i++) goUp (); }
list menuListMove = [miDn, miDn10, miDn50, miUp, miUp10, miUp50, miE, miW, miN, miS]; setDialog () { llDialog (gOpKey, getDialogPrompt (), menuListMove, gChannel); }
actionDialogCommand (string message) { if (message == miUp) {goUp (); return;} if (message == miDn) {goDn (); return;} if (message == miUp10) {goUp10 (); return;} if (message == miDn10) {goDn10 (); return;} if (message == miUp50) {goUp50 (); return;} if (message == miDn50) {goDn50 (); return;} if (message == miN) {goN (); return;} if (message == miS) {goS (); return;} if (message == miE) {goE (); return;} if (message == miW) {goW (); return;} }
default { on_rez (integer x) { // llResetScript (); llSetText ("Touch me for menu when not moving", <1.0,1.0,1.0>, 1.0); gChannel = -(integer)llFrand(0x7FFFFF00) - 255; }
state_entry() { // gOwnerKey = llGetOwner(); // llOwnerSay("Simple Elevator starting at " + v2s (gPos)); }
listen( integer rchannel, string name, key id, string message ) { // llOwnerSay ("name=" + name + " message=" + message); actionDialogCommand (message); setDialog (); }
touch_start(integer total_number) { key op = llDetectedKey(0); if (op != NULL_KEY) { gOpKey = op; llListen( gChannel, "", "", "" ); gPos = llGetPos (); setDialog (); } else llOwnerSay ("detected null key in touch start"); } }
|
|
Avalon Birke
Registered User
Join date: 13 Nov 2006
Posts: 24
|
11-04-2007 09:49
Excellent Ed, thanks! I hope this helps with Ant's original question, at any rate it is a very helpful bit of code to have. 
|
|
Ant Alva
Registered User
Join date: 19 Jul 2006
Posts: 11
|
11-04-2007 13:13
Thanks for the positive responses guys and I'll definatly work on this further. Truth is,after the presumptive arrogance of the original responder to this post I never returned to this thread or this forum until today when a freind emailed me that there had actually been some positive responses and I thank her and all of you who responded 
|
|
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
|
11-04-2007 13:26
If you're not a scripter you may be better off creating a 10x10m floor at ground level, sitting on it, setting the z-pos to the height you need then building from there.
_____________________
http://slurl.com/secondlife/Together
|
|
Avalon Birke
Registered User
Join date: 13 Nov 2006
Posts: 24
|
11-04-2007 13:54
From: Ant Alva Thanks for the positive responses guys and I'll definatly work on this further. Truth is,after the presumptive arrogance of the original responder to this post I never returned to this thread or this forum until today when a freind emailed me that there had actually been some positive responses and I thank her and all of you who responded  I am going to assume you have tried Escort's good idea as well, but are seeking something to move everything up, including furnishings? Your work in SL speaks for itself, Ant, and you are self-taught all the way - no doubt you will figure this one out and then lend a hand to others. /me taps foot impatiently, waiting to see what Ant creates next 
|
|
ArchTx Edo
Mystic/Artist/Architect
Join date: 13 Feb 2005
Posts: 1,993
|
11-04-2007 15:10
From: Ant Alva I've seen the skyboxes with the menu driven scripts that allows the owner to elevate to the desired height ,having no scripting abilities at all is it possible to get my hands on a copy transfer script to allow me to do this in my builds,I've been looking for a long time but can't find one. EDIT: Advice deleted.
_____________________
 VRchitecture Model Homes at http://slurl.com/secondlife/Shona/60/220/30 http://www.slexchange.com/modules.php?name=Marketplace&MerchantID=2240 http://shop.onrez.com/Archtx_Edo
|
|
ArchTx Edo
Mystic/Artist/Architect
Join date: 13 Feb 2005
Posts: 1,993
|
11-04-2007 15:13
From: Ant Alva Truth is,after the presumptive arrogance of the original responder to this post I never returned to this thread or this forum until today when a freind emailed me that there had actually been some positive responses and I thank her and all of you who responded  Jesse is one of the more knowledgeable and helpful people here. Your comment was rude and uncalled for. Jesse was correct in the information he was trying to share with you. I regret having added a helpful comment to you a moment ago, I'm going to delete it now.
_____________________
 VRchitecture Model Homes at http://slurl.com/secondlife/Shona/60/220/30 http://www.slexchange.com/modules.php?name=Marketplace&MerchantID=2240 http://shop.onrez.com/Archtx_Edo
|
|
Ed Gobo
ed44's alt
Join date: 20 Jun 2006
Posts: 220
|
11-04-2007 16:11
Guys, please don't get too excited!
This is a very simple app. My post did not really solve Ant's problem - he/she still needs to add some linked button control logic to make it suitable for use in a house. So it was just a start.
I think programmers become a little myopic and too much staring at code can make us narrow minded. Of course, exploitation is to be avoided, but I really don't think that is the case here.
I think "chill out" is the expression most appropriate here.
Ed
|
|
Ant Alva
Registered User
Join date: 19 Jul 2006
Posts: 11
|
11-04-2007 16:58
Actually I havn't been rude in the least,I merely asked if a script was obtainable,what was rude was a presumptive arrogance on the part of jesse in assuming and then accusing me of something that never was. My other post was a thank you to those who did assist without false accusation. A simple question asking if I was willing to pay for such a script would have solved the issue,however as false accusation against me appears to be the order of the day I will do as I've always done and find my own way.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
11-04-2007 23:01
I got the same thing out of the OP that jesse did, a request for a finished product(script), to enhance the OP's finished product(skybox).
that request (regardless of willingness to pay) belongs in products wanted, where it was refered to.
phrased differently as a resident looking for a simple freebie script that does X, someone Might have answered it, or it might have gotten refered out to products wanted. common example, door scripts.
if the OP has asked for help in scripting it themselves, I'm sure Jesse or someone here would have chimed in with some directions, places to start, or maybe even complete code if it was truly simple, just to get them something to disect.
it's regrettable that the OP took personal offense to what Jesse said, and that people started picking up torches, let's just let it go hmm?
_____________________
| | . "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... | - 
|