Comms log in a MFD
Moderators: winston, another_commander
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Comms log in a MFD
Hopefully this is a quick question. Is it possible to get all in-flight comms listed in a MFD? I find that comms take place too quickly in some circumstances, and repeatedly hitting the "`" key to show recent comm messages is awkward.
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Comms log in a MFD
Related: The ability to scroll back through comms messages in the log would be nice. Limit it to (say) only messages since launch.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
Re: Comms log in a MFD
Use the commsMessageReceived event handler (it says "ship script", which means you can put it in a world script and it'll apply to the player ship). You can then save the messages and put them in an MFD with some primable equipment to scroll it.
Re: Comms log in a MFD
*drool* This would be great, and would showcase how cool MFDs are!
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Comms log in a MFD
Right, commsMessageReceived, primable equipment scroll...
Wait, what?
Are you suggesting I actually (cue dramatic music) write my own customisation?
Gulp.
Err... okay... this may take a while...
Wait, what?
Are you suggesting I actually (cue dramatic music) write my own customisation?
Gulp.
Err... okay... this may take a while...
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Comms log in a MFD
Only if you really feel inclined, of course..
(after all, most of those who start down the path to the Dark Side of Oolite end up spending very little time actually just playing the game afterwards.. they're generally far too busy improving their OXPs, or coming up with new ones!)
Otherwise, maybe put your head together with whoever decides to run with this, and see what you can cook up together.
(after all, most of those who start down the path to the Dark Side of Oolite end up spending very little time actually just playing the game afterwards.. they're generally far too busy improving their OXPs, or coming up with new ones!)
Otherwise, maybe put your head together with whoever decides to run with this, and see what you can cook up together.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Comms log in a MFD
Only the best, too.. after all, there has to be some upside to never playing your favourite game again!phkb wrote:I did hear there might be cookies...
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Comms log in a MFD
If a moderator would be so kind as to move this thread to the "Expansion pack" section, I'd be most obliged!
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Comms log in a MFD
A question about the "setMultiFunctionText" function. In the docs it states "The limit on space for a multi-function display is ten lines of text, each 15 blocks wide." What is a "block", and how is it measured?
Re: Comms log in a MFD
defaultFont.measureString to measure them. 1 block = 1em.
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Comms log in a MFD
And just in case you're not clear on what an em is, here's everything you need to know about ems, which has the best explanation I've come across.cim wrote:1 block = 1em.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied