haaaa ok i see the difference now between the Components and the Proterties window. effectively not all are in Component. so i do the 4) part again ;) and result :
http://www.masterj.name/Naalijavawork.jpg this is the result :) thank you (the screenshot said all) and i never think it was possible to add component with right click on the component window that's help more ;) MasterJ On 25 oct, 05:24, Toni Alatalo <ant...@kyperjokki.fi> wrote: > On su, 2010-10-24 at 12:06 -0700, MasterJ wrote: > > > perfect informations let's see if i have understand correctlly ;) > > Not quite :) > > > so we need to do : > > 1) launch server > > 2)login with Naali > > 3) enter build mode and create a new object > > So far so good.. > > > 4) go to web site were we have our script stored, here i use : > >http://github.com/realXtend/naali/blob/develop/bin/jsmodules/apitest/ > > for choose one i want to try the hovertext one so i right click on it > > and copy the web adress url. > > 5) on Naali with the object selecetd (into build mode) i go to the > > right side i click on the button named : *properties* > > i expand the part named : *scripting(1 item)* > > and on the line with ServerScriptClass i paste the web url of the .js > > script here for exemple i past : > >http://github.com/realXtend/naali/blob/develop/bin/jsmodules/apitest/... > > 6) and i hit return key and i see a nice red text error on the opensim > > console :P > > This all went astray :) > > Those are Naali scripts, not Opensim scripts. They are executed in the > viewer. It is similar to the js on web pages -- if you've ever done web > development, you know how the js to do e.g. hovering text with html+js > is a part of the html document and you don't even need a server to run > it (just html and js files that can open locally or load from anywhere > on the web). The ServerScriptClass rexscript thing is more like the > server side e.g. php that can talk directly with the server databases > etc. but not know anything about mouse cursor positions etc. Just that > this is not about web pages as in html documents, but spatial scenes > with objects. LSL is also executed on the server, there is no > corresponding thing to this Naali scripting in slviewer currently AFAIK. > > So, to test those you need to do this: > > 4) Copy the .js files locally somewhere on your computer. The system > that the hoveringtext example was made with (EC_Script) currently works > with trusted files only, installed to be a part of your Naali (or > anywhere on your computer, by you). This is because it is work in > progress still, the other experimental implementation I mentioned (the > earlier js_src url thing) downloads from the net and somehow we'll need > to merge the feats from these currently different implementations soon. > Oh and of course you already have that file already locally, 'cause it > was a part of the previous release -- inside the jsmodules dir in your > Naali install folder. > > 5) In the Naali build mode use the Components tab, not the Properties > one(*). This is the Entity-Component editor which is quite developer > oriented still and the usage is not documented yet. Right-click in that > window and do 'Add new component', select EC_Script from the menu. Name > it whatever you want. Put the path to the local .js file to the script > ref field. Enable 'run on load'. > > 6) Apparently for this example you also need to manually add a > EC_HoveringText component similarily. Makes sense actually 'cause that > is where you put the text too that you want to see to fade in/out as you > hover in/out on the object. So add that using the EC editor. It should > start working then directly, the script itself apparently listens so > that notes when the text component is added after the script has already > been loaded so you shouldn't need to relogin. > > Kudos to Niina for writing the nice example! > > > MasterJ > > ~Toni > > (*)Those basically mean that Components are the new realXtend > Entity-Components that selected object(s) has/have, part of them local > only that Naali uses internally (like hilight is the selection hilight > you see), and part is shared and synched with the server. The Properties > one is SL prim basic things + the old realXtend things the way they were > added for the original viewer. The naming in the UI could be better > perhaps :) Anyhow the plan is to make everything with the new EC system > so the properties tab might go away soon enough. Apparently e.g. the > Prim shape stuff shows nowadays in the Components side (ECEditor) as > well already. > > > On 24 oct, 13:09, Peter Steinlechner <psteinlech...@gmail.com> wrote: > > > Thanks for this hint too. I would have to find out how to compile it and > > > where to find the values to get changed. (Probably I'm not the only one) > > > So > > > it would be great, if at some point it would be possible to set the size > > > maybe in a .ini file if this doesn't sidetrack the project schedule too > > > much. I personaly would be happy even with some fixed values to choose > > > from > > > - like 512x512m and 1024x1024m as this allready would extend the > > > possibilities and usage of taiga quite a lot. > > > > Cheers > > > Pedro > > > > On Sun, Oct 24, 2010 at 6:54 AM, Toni Alatalo <ant...@kyperjokki.fi> > > > wrote: > > > > On la, 2010-10-23 at 16:47 +0200, Peter Steinlechner wrote: > > > > > Hi Ali - thats great news, will there also be bigger region sizes in > > > > > tundra ? This would make me easy switching from taiga to tundra. > > > > > Do note that also with Taiga (OpenSim) you can use bigger regions with > > > > Naali, like I did that 1km*1km test and I think bigger ones can work > > > > too. So don't have to wait for Tundra to get to use that, at least if > > > > you can compile OpenSim yourself or we can make it configurable somehow > > > > for Taiga (if you really need it quick, and can't build opensim > > > > yourself, you can perhaps ask someone to do it for you). > > > > > > Pedro > > > > > ~̃Toni > > > > > > On Sat, Oct 23, 2010 at 1:26 PM, Ali Kämäräinen > > > > > <ali.kamarai...@realxtend.org> wrote: > > > > > Hi Peter, > > > > > > This very feature will be - and actually is already in the > > > > > Tundra-branch - available in the near future. > > > > > > Grey skies, > > > > > Ali > > > > > > 2010/10/23 Peter Steinlechner <psteinlech...@gmail.com> > > > > > > Thist sounds great Jonne, maybe a nice to have feature > > > > > would be also the option to select single objects and > > > > > having the possibility to save them as a new scene. I > > > > > wouldn't be surprised if some of you have this > > > > > allready planned in at some point. > > > > > > Cheers > > > > > Pedro > > > > > > On Fri, Oct 22, 2010 at 6:38 PM, Jonne Nauha > > > > > <jonne.na...@evocativi.com> wrote: > > > > > Peter: EC stuff is great and will be more > > > > > flexible for sure on the Tundra servers. Now > > > > > we are sometimes a little hindered by things > > > > > opensim forces on us. But yeah sound files are > > > > > already in, I don't see no problem to make a > > > > > EC_SoundStream or make the current one support > > > > > stream urls. I guess phonon in qt might help > > > > > with that, thats what we are doing the video > > > > > streaming stuff with. > > > > > > MasteJ: No you dont need any browsers, I think > > > > > you missed the point. The component is in a > > > > > entity (in opensim thats a prim then), you > > > > > just make a script ec, host your js source > > > > > somewhere in the web and put that url ref as > > > > > the script. Then you just write your logic > > > > > into the js source in the web using Naali > > > > > script API. I think I was mistaken and you > > > > > cannot presently run but local js/python > > > > > source with that EC, not that I looked it a > > > > > bit more. But I believe running web source is > > > > > also coming in the future. > > > > > > Best regards, > > > > > Jonne Nauha > > > > > realXtend developer > > > > > > http://www.realxtend.org/ > > > > > http://www.evocativi.com/ > > > > > > On Fri, Oct 22, 2010 at 6:52 PM, MasterJ > > > > > <djmat...@hotmail.com> wrote: > > > > > ok it's effectively sound interessing, > > > > > i do some test in a few. > > > > > can we open in-world web browser? > > > > > (Naali web browser) for launch > > > > > the .js? > > > > > > On 22 oct, 17:28, Peter Steinlechner > > > > > <psteinlech...@gmail.com> wrote: > > > > > > Hi Jonne - that sounds great - I > > > > > think most people havn't yet fully > > > > > > harnessed the power of the EC-Editor > > > > > (including me) and im also curious > > > > > > about the upcomming tundra server. > > > > > Is there also a way to play ogg > > > > > streams > > > > > > from the web to naali? I tried > > > > > probably the wrong way around, but > > > > > thought it > > > > > > might be great if one could upload a > > > > > playlist file and attach it to a prim > > > > > > like an uploaded soundfile or > > > > > something like this. > > > > > > > Anyhow - have a great weekend all > > > > > > Cheers, > > > > > > Pedro > > ... > > plus de détails » -- http://groups.google.com/group/realxtend http://www.realxtend.org