[sldev] LSL SVN

Argent Stonecutter secret.argent at gmail.com
Wed Oct 31 15:52:45 PDT 2007


On 31-Oct-2007, at 17:34, Erik Anderson wrote:
> Well, whether the ~/Scripts directory is your primary development  
> directory is based on where you do your primary development, in the  
> ~/Scripts directory, or in-game?

Right now, it's in-game, because I don't have a "~/Scripts" directory  
that I can automatically save and load.

If I had those extra options in the script editor, I'd say "in ~/ 
Scripts".

It's just like maintaining software in an embedded system or  
database, the primary source is the code that's still in a place I  
can edit it, and the extra step of burning a PROM or logging into the  
database and importing some SQL code is part of the development cycle.

The next step would be to have "#include" in the LSL source that  
pulled files from the Scripts directory and preprocessed them when I  
clicked on the "Save" button.

Trying to do that kind of thing with in-game assets is just asking  
for trouble.

For actual prim building? Export the prims to XML, import them from  
XML. Don't try and implement it inside SL.

<object owner="Argent Stonecutter" perms="MCT" next_perms="MCT">
   <prim type=root name="Flight Feather" creator="Argent Stonecutter">
     <params>
       PRIM_TYPE,PRIM_TYPE_CUBE,...
     </params>
     <contents>
       <script source="Scripts/Cyberflight.lsl" name="Cyberflight"/>
     </contents>
   </prim>
</prim>



More information about the SLDev mailing list