BroadcastComms MFD [Release]
Moderators: winston, another_commander
Re: BroadcastComms MFD [Release]
Hi phkb,
Just a reminder that my post above has not been incorporated into this mod as yet (1.2.11 does not reflect the latest proposed revision).
Also, in comparing my local tweaked code to 1.2.11, I noticed the initialization of the _surrenderTimer_Pirate variable differs. I have it initialized as null, but in 1.2.11 it is initialized as {}.
I don't recall, is {} a non-truthy value? Elsewhere in the code, it checks if the variable is false. Either way, for consistency with other timers, the variable probably should init to null.
Cheers,
Milo
Just a reminder that my post above has not been incorporated into this mod as yet (1.2.11 does not reflect the latest proposed revision).
Also, in comparing my local tweaked code to 1.2.11, I noticed the initialization of the _surrenderTimer_Pirate variable differs. I have it initialized as null, but in 1.2.11 it is initialized as {}.
I don't recall, is {} a non-truthy value? Elsewhere in the code, it checks if the variable is false. Either way, for consistency with other timers, the variable probably should init to null.
Cheers,
Milo
- Cholmondely
- Archivist
- Posts: 5365
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: BroadcastComms MFD [Release]
Digebitian Version:
What makes more sense: to upload the Digebitian version as a separate oxz (possibly confusing for some, and I will probably not develop the skills needed to update it continually), or to include it as a configurable option within the official version?
What makes more sense: to upload the Digebitian version as a separate oxz (possibly confusing for some, and I will probably not develop the skills needed to update it continually), or to include it as a configurable option within the official version?
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Re: BroadcastComms MFD [Release]
What is this Digebitian version of which you speak?Cholmondely wrote: ↑Tue Jul 13, 2021 2:02 pmDigebitian Version:
What makes more sense: to upload the Digebitian version as a separate oxz (possibly confusing for some, and I will probably not develop the skills needed to update it continually), or to include it as a configurable option within the official version?
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: BroadcastComms MFD [Release]
See here.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
Re: BroadcastComms MFD [Release]
Thanks Cody.
- 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: BroadcastComms MFD [Release]
Sorry Milo, I'd lost track of this change. I'll get it in the next release.
Good catch. Given how fluid JS is with variable types, it probably won't change functionality, but it does make the code slightly easier to read.
I'll need to explore how easy it would be to add an alternate set of responses. I've got an idea to try out which might make it quite simple.Cholmondely wrote: ↑Tue Jul 13, 2021 2:02 pmWhat makes more sense: to upload the Digebitian version as a separate oxz (possibly confusing for some, and I will probably not develop the skills needed to update it continually), or to include it as a configurable option within the official version?
- 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: BroadcastComms MFD [Release]
Well, my tests went well. I've got an add-on for Broadcast comms that switches all the responses to the "Digebitian" vesion. The only question left is: What do you want to call the OXP?Cholmondely wrote: ↑Tue Jul 13, 2021 2:02 pmDigebitian Version:
What makes more sense: to upload the Digebitian version as a separate oxz (possibly confusing for some, and I will probably not develop the skills needed to update it continually), or to include it as a configurable option within the official version?
- Cholmondely
- Archivist
- Posts: 5365
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: BroadcastComms MFD [Release]
My dear chap - you did all the hard work. I merely tweaked a couple of inconsequentials. No need to change anything, I'd have thought. Your hard work, your idea, et cetera, et cetera.phkb wrote: ↑Thu Jul 15, 2021 3:27 amWell, my tests went well. I've got an add-on for Broadcast comms that switches all the responses to the "Digebitian" vesion. The only question left is: What do you want to call the OXP?Cholmondely wrote: ↑Tue Jul 13, 2021 2:02 pmDigebitian Version:
What makes more sense: to upload the Digebitian version as a separate oxz (possibly confusing for some, and I will probably not develop the skills needed to update it continually), or to include it as a configurable option within the official version?
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
- 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: BroadcastComms MFD [Release]
Well, my track record for giving my OXPs good names is rather patchy. I’m thinking “BroadcastComms - Digebitian Variations”, but that seems long winded.Cholmondely wrote: ↑Thu Jul 15, 2021 7:55 amMy dear chap - you did all the hard work. I merely tweaked a couple of inconsequentials. No need to change anything, I'd have thought. Your hard work, your idea, et cetera, et cetera
And for the record, the code change ended up being three lines in BCC. In the adding, there’s more lines in the script header than in the code itself. So, not that much work in the end.
- Cholmondely
- Archivist
- Posts: 5365
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: BroadcastComms MFD [Release]
You have written, what, a hundred oxp's?phkb wrote: ↑Thu Jul 15, 2021 8:57 amWell, my track record for giving my OXPs good names is rather patchy. I’m thinking “BroadcastComms - Digebitian Variations”, but that seems long winded.Cholmondely wrote: ↑Thu Jul 15, 2021 7:55 amMy dear chap - you did all the hard work. I merely tweaked a couple of inconsequentials. No need to change anything, I'd have thought. Your hard work, your idea, et cetera, et cetera
And for the record, the code change ended up being three lines in BCC. In the adding, there’s more lines in the script header than in the code itself. So, not that much work in the end.
The names describe what they do. Maybe one or two out of your hundred could be more descriptive, but so what? The oxp's are the important things. The names are merely a handle. If you were selling them for a living it might be different, but, thank heavens, it's not! And your choice of name is absolutely fine. Who knows, maybe it will inspire Hiran or Cdr James to come out with something similar for Esredice or Ededleen?
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Re: BroadcastComms MFD [Release]
One thought on naming. These Digebitian texts are a replacement / overwrite, effectively an alternative to the standard texts used by Broadcast Comms, not an expansion. However, they are only replacing the text, not the full functionality of BCC, which means this replacement OXP requires the user to also install BCC. Such relationships should be made clear through the description and/or name so that users confronted by BCC and BCC - Digebiti in the expansion manager can understand whether they need to install one, the other or both to obtain their desired experience.
How about calling it BroadcastComms Text Replacer - Digebitian Variations? Makes clear that it is an add-on and what it does.
How about calling it BroadcastComms Text Replacer - Digebitian Variations? Makes clear that it is an add-on and what it does.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: BroadcastComms MFD [Release]
Long-winded? FACT - Feudally Appropriate Comms Transmissions
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
Re: BroadcastComms MFD [Release]
Amusing ... but not all feudal systems are populated by English colonials. Also I think it's best to keep a common prefix (Broadcast Comms) for OXPs in the same "family."
- 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: BroadcastComms MFD [Release]
OK, v1.2.12 of BCC is now up, with the code changes as suggested by Milo (@Milo, please let me know if I've transferred everything in correctly).
And the "Broadcast Comms - Digebiti Variations" OXP is now available in the download manager. No more tweaking required.
And the "Broadcast Comms - Digebiti Variations" OXP is now available in the download manager. No more tweaking required.
Re: BroadcastComms MFD [Release]
Only technical difference I see is on line 1671, you have == where I used ===. Since it comparing the target of a police ship to the player ship, I don't think it matters here.