Oolite Bulletins

For information and discussion about Oolite.
It is currently Mon Aug 21, 2017 10:02 am

All times are UTC




Post new topic  Reply to topic  [ 812 posts ]  Go to page Previous 151 52 53 54 55
Author Message
 Post subject: Re: Scripting requests
PostPosted: Sun Mar 20, 2016 10:49 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2264
Could we get an option to set light position and color in mission.runScreen? Maybe even with the possibility to change it on-the-fly? I'm aware that we can pass them to the shader, but writable properties which can be bound are rare.

Image

Edit:Updated pic.


Top
   
 Post subject: Re: Scripting requests
PostPosted: Mon Jul 24, 2017 11:16 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Aug 15, 2012 4:19 am
Posts: 2444
Location: Finland
I want to set materials for a ship using a ship script. Currently I can easily do that in shipSpawned event. That however, does not work when the ship is being displayed on mission screen.

Ideally I would like to have an ship script event shipDisplayed with a suitable handle to the ship model, that would trigger when a ship is being shown.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 812 posts ]  Go to page Previous 151 52 53 54 55

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited