[Opensim-users] OpenSim Features: Script Association and Mesh Import

M.E. Verhagen marceled9 at gmail.com
Sat Sep 24 09:12:26 UTC 2011


It is possible to add a script automaticly on new prims with phoenix viewer.
http://wiki.phoenixviewer.com/doku.php?id=build_presets

I think it would be easier to add scripts to meshes or prims through
the viewer than doing this someway automated through the server code.


2011/9/24, Justin Clark-Casey <jjustincc at googlemail.com>:
> On 23/09/11 09:28, Miguel de Melo wrote:
>> Hi there,
>>
>> I've been working on a project with OpenSim and the libomv but i'm
>> experiencing some issues ...
>> I want to do two things:
>>
>> 1 - Import prims and associate automatically a script to them;
>> 2 - Import mesh's and associate automatically a script to them;
>>
>> I want to make this steps in an automated way.. Like trough a bot or an
>> application of the kind .. but by what i
>> developed so far i'm seeing that is impossible because the opensim server
>> interface and the libomv dont allow to import
>> mesh's or associate scripts to objects, can you tell me how i can manage
>> to solve the problem? Is there some features of
>> the kind in development for the opensim server interface? and about the
>> clear assets command is expected updates?
>
> In principle, I thought it would have been possible to do both of these
> things through libomv, though you would need to
> ask on the libomv lists if anybody is available to help you.  As always,
> shuffling through the code is probably the best
> bet.
>
> Via OpenSim, the way of doing this depends on exactly what you want to do.
> If you want to import prims/meshes that
> already have scripts then you could use the load oar facility in the
> RemoteAdmin interface, possibly with the --merge
> option.  If you want to import a prim (perhaps via OAR) and then
> programatically associate a script this is not totally
> impossible but would involve a lot of delving into OpenSim internals, since
> there aren't good abstract interfaces for
> such tasks yet, and I don't know of any existing example code for doing this
> kind of thing.
>
> As for "clear assets", this is an ancient command with no implementation, so
> I ripped it out in git master 8caf3ed.  If
> you're using the default Flotsam asset cache then you can clear this via the
> existing "fcache clear" command.  However,
> this isn't something you want to do in normal practice.
>
> --
> Justin Clark-Casey (justincc)
> http://justincc.org/blog
> http://twitter.com/justincc
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>



More information about the Opensim-users mailing list