running in exloded mode
3 posters
running in exloded mode
Wondering if there was a switch or flag or something in the export script to run the .sio2 file in exploded mode. I wanted to play around with some Lua scripts and it seems like the best way to do that is directly off the filesystem (instead of inside blender). I think someone already had this but was too lazy to scrub the posts (sorry for being lazy). Thanks!
josgraha- Posts : 19
Join date : 2008-12-09
Re: running in exloded mode
I know nothing about this, but doesn't blender allow you to include external scripts?
-j
-j
meteors- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
Re: running in exloded mode
my bad, didn't explain very well. I wanted to run the exporter so it will export the scene but not zip up the folder, just leave all the files expanded and then run the xcode project against that folder structure (not the .sio2 zip file). That way I can just work on the lua scripts inside xcode (or textmate) against the folder structure so I don't have to keep exporting the zip file every time i touch a lua script.
josgraha- Posts : 19
Join date : 2008-12-09
Re: running in exloded mode
Just drag and drop the .LUA within your project directory (same as Im doing with resources) it'll be added inside the .app and you can load it with sio2Stream... when you edit the LUA script the changes will be reflected on the next Build & Go.
Re: running in exloded mode
Ah okay I was thinking more along the lines of what you were doing in tutorial 10 where you were binding the lua script to an event but I guess I could pre-load them or something.
josgraha- Posts : 19
Join date : 2008-12-09
Re: running in exloded mode
Up to you... another way is to simply select the object that the script is attached to and update the .SIO2 within blender to update the changes that you've made... the "updated" .LUA will be bundled within the .SIO2.
Re: running in exloded mode
ah that's another good suggestion. i didn't think about that but the idea is just for xcode to pick up the 'touched' resource file for the next build & go. i suppose keeping it all zipped up is an easy way to avoid weird caching issues inside xcode. i just noticed i typoed exploded, oops.
josgraha- Posts : 19
Join date : 2008-12-09
Similar topics
» issues running the tutorials
» Error running sio2_exporter.py on winXP
» SIO2 with Portrait Mode Rendering
» exporter script changes the mode of selection of Blender?
» Error running sio2_exporter.py on winXP
» SIO2 with Portrait Mode Rendering
» exporter script changes the mode of selection of Blender?
Permissions in this forum:
You cannot reply to topics in this forum