Page 3 of 7
Posted: Tue Sep 23, 2008 12:48 pm
by Micha
Considering I raised this to start off with, apologies for not participating in this thread lately - just haven't had the time
I did have a very brief poke around with the feature in a fairly busy system last night and I think it'd be nice if the announcements could tell you what position in the queue you are which gets updated every minute or so. It seemed that between arriving and departing ships I was never getting scheduled for clearance.
Great to have so many suggestions as to how to integrate this as an option.
Posted: Wed Sep 24, 2008 10:19 am
by another_commander
Thargoid wrote:Or how about as a key in station's shipdata.plist (with default to false when the key isn't present, to allow for standard stations etc to be unmodified).
Then OXP stations could specifically be created to request and require it?
Done. Check out revision 1769. Seems to work just fine, as at the same time there can be stations that use the system and stations that do not.
While being at it, I have also added the read/write JS station property requiresDockingClearance. So, for the same station, you can switch it to require/not require docking clearance using scripts.
Posted: Wed Sep 24, 2008 12:12 pm
by Griff
will this be available as an uniform binding for shaders, so we could do stuff like switch on the docking bay lights when docking clearance is granted, they must be running up a big electricity bill leaving the lights on all the time.
Posted: Wed Sep 24, 2008 10:30 pm
by pagroove
This looks nice. How can I implement it. Or do I have to fit the code in for myself?
Im on 171.1/2
Or do you offer it as an OXP.
@Griff:
Great Idea. We could enhance the Griff/Groove stations if this feature is possible.
Posted: Wed Sep 24, 2008 11:37 pm
by Frame
Griff wrote:they must be running up a big electricity bill leaving the lights on all the time.
for the lights... solar arrays, it is space after all..
Posted: Thu Sep 25, 2008 11:44 am
by another_commander
I would think that since it is not only the player docking, but any other ship too, the docking lights have to be going on and off for everyone, which will complicate things unnecessarily. So, although it might be possible, I would not reallly recommend it.
@pagroove: This will most likely be in the next release, as a user controllable station feature, defaulting to off. Scripters will be able to change the station clearance requirements on the fly, using the
requiresDockingClearance property.
And finally, some screenies showing the feature in action:
Docking clearance denied: What happens if you dock uncleared:
Docking clearance granted:
Note that the station is giving you the exact expiry time of your slot. Makes it easier to know if you still have time to make it or not.
Posted: Thu Sep 25, 2008 1:00 pm
by DaddyHoggy
Splendid A_C thanks for the screenshots - which Dodec is that? (i.e. which oxp)
Posted: Thu Sep 25, 2008 8:37 pm
by pagroove
Wow another Milestone
IMO this is a very realistic and immersive add on!
Posted: Sat Sep 27, 2008 12:17 am
by Griff
Posted: Sat Sep 27, 2008 8:40 am
by Micha
Ok, while it was a compiler-defined symbol I had no problems, but since the change to this key I simply cannot get it to run. Call me stupid.
I've added the requires_docking_clearance key to the main oolite Resources/Config/planetinfo.plist, and I've also tried making an OXP as suggested further up.
The code itself runs, I just can't get it to default the stations to be set to require docking requests.
Posted: Sat Sep 27, 2008 9:03 am
by another_commander
You need to add the key to the specific station entries in shipdata.plist, not planetinfo.plist.
Posted: Sat Sep 27, 2008 10:38 am
by Micha
Ahokay.. the earlier posts referred to the plametlist which is why I was mucking about with those. I suppose the implementation changed between then an now.
So you have to set the key for every type of station? There's no way to just say 'all stations'?
Posted: Sat Sep 27, 2008 10:47 am
by another_commander
No, sorry. The problem is that my vacation is now over (:-(), so I'm back to "not much time for coding" mode. Unless someone adds the "override for all stations default" parameter, this stays as is for now.
The good news though is that for the core game it's only three stations that need to have their entries modified.
Posted: Sat Sep 27, 2008 6:15 pm
by Frame
@another_commander
I´m having a very hard time reading anything on those screenies...
just to let you know... i´m running screen resolution 1280 by 1024
Posted: Sat Sep 27, 2008 6:46 pm
by Thargoid
Click on 'em... They're thumbnail links to xs.to hosted larger versions