Single Player Chatbox
Moderator: thunderchero
- Tethys
- Past Administrator
- Posts: 2404
- Joined: Fri Jul 18, 2008 2:00 am
- Location: Your mom's bed ;)
- Contact:
Single Player Chatbox
I was playing GALM today on a Med map, when it sprung to my mind that: Wouldnt it be useful to have the MP chatbox in SP? If you think about it, when you encounter an anomaly such as a Cosmic Fragment or a Quantum Filament (both which cause destroyed ships, the latter of which is barely visible on the map), it sure would be nice to be able to log their locations somewhere. Also, multiple wormholes start/endpoints could be logged as well to eliminate the confusion of which wormhole leads to where?
This would probably be for QD, Im only assuming since QD was the one who fixed the enter button to send messages in MP, he may have some knowledge that could prove beneficial. But any of you are more than welcome to share any info you might have. I think it might be worth it to all the BotF roleplayers out there.
(Also QD if you haven't the time I understand, I know your quite busy and this is a most insignificant request, so no worries, its here if you want it!)
This would probably be for QD, Im only assuming since QD was the one who fixed the enter button to send messages in MP, he may have some knowledge that could prove beneficial. But any of you are more than welcome to share any info you might have. I think it might be worth it to all the BotF roleplayers out there.
(Also QD if you haven't the time I understand, I know your quite busy and this is a most insignificant request, so no worries, its here if you want it!)
- QuasarDonkey
- Code Analyst
- Posts: 433
- Joined: Tue Jul 26, 2011 8:29 pm
- Location: Ireland
Re: Single Player Chatbox
I already have a patch for bringing up the chat window in SP, but there are a few kinks to work out. I'll check it now.
- Tethys
- Past Administrator
- Posts: 2404
- Joined: Fri Jul 18, 2008 2:00 am
- Location: Your mom's bed ;)
- Contact:
Re: Single Player Chatbox
I love you. <3 (not in a gay way)
- thunderchero
- Site Administrator aka Fleet Admiral
- Posts: 7966
- Joined: Fri Apr 25, 2008 2:00 am
- Location: On a three month training mission, in command of the USS Valiant.
Re: Single Player Chatbox
You do realize that when you load the saved game those messages would be gone. It sounds like you want a ingame notepad.
thunderchero
thunderchero
- Tethys
- Past Administrator
- Posts: 2404
- Joined: Fri Jul 18, 2008 2:00 am
- Location: Your mom's bed ;)
- Contact:
Re: Single Player Chatbox
Precisely. I wonder if the chat log can be saved to a .txt that would be able to reload (or at least copy/paste, which would do the job in the meanwhile). But that would probably be more work then its worth. Im fine with copy/paste, unless QD WANTS to
- QuasarDonkey
- Code Analyst
- Posts: 433
- Joined: Tue Jul 26, 2011 8:29 pm
- Location: Ireland
Re: Single Player Chatbox
That's okay.Tethys wrote:I love you. <3 (not in a gay way)
Anyway, to enable chat in single player, you just need to replace two conditional jumps (6 bytes each) to load up the chat window and to activate the multiplayer icon in the main galactic screen. Here are the patches in hex notation:
Code: Select all
0xB89BE: E9 BB 00 00 00 90
0xD932F: 90 90 90 90 90 90
Can you copy/paste to BotF? It wouldn't be an easy task to keep a log, but it might be possible.Tethys wrote:I'm fine with copy/paste, unless QD WANTS to
- Tethys
- Past Administrator
- Posts: 2404
- Joined: Fri Jul 18, 2008 2:00 am
- Location: Your mom's bed ;)
- Contact:
Re: Single Player Chatbox
Copy/paste does not work. So much for that, but the chatbox comes up fine. I can always play around and see how it goes. Thank you.
-
- BORG Trouble Maker
- Posts: 2323
- Joined: Sat Jan 03, 2009 3:00 am
- Location: the 36th Chamber
Re: Single Player Chatbox
I <3 the usable Enter-key for chats
thx for this QD!
@Tethys: use a pen and paper or a secondary screen with npp opened like the rest of us or run BotF in windowed mode with npp beside that. Possibilities are endless
@wormhole coordinates. would be cool to see the coordinates where a wormhole leeds to.
like this f.e.:
this is how it looks atm:
thx for this QD!
@Tethys: use a pen and paper or a secondary screen with npp opened like the rest of us or run BotF in windowed mode with npp beside that. Possibilities are endless
@wormhole coordinates. would be cool to see the coordinates where a wormhole leeds to.
like this f.e.:
this is how it looks atm:
- Tethys
- Past Administrator
- Posts: 2404
- Joined: Fri Jul 18, 2008 2:00 am
- Location: Your mom's bed ;)
- Contact:
Re: Single Player Chatbox
Would require a new function wouldnt it? Or maybe 2? One to designate the endpoint and one to designate a broken wormhole (no endpoint)?
Re: Single Player Chatbox
IIRC wormholes have a flag for destination sector (can be set by UE .sav files) --> Further a wormhole IIRC can lead to other endpoints (blackholes etc?) so to put this infomation on screen would require code that test for endpoint flag a duplication of the wormhold text with the co-ordinates retrieved from the endpoint in formation. the hard part of this is finding enough space to put the code in.
- QuasarDonkey
- Code Analyst
- Posts: 433
- Joined: Tue Jul 26, 2011 8:29 pm
- Location: Ireland
Re: Single Player Chatbox
Not so. Using IDA, you'll find plenty of subroutines in Trek.exe that are never called (i.e. with no cross-references). You can also overwrite subroutines like the one for the CD check.Peter1981 wrote:the hard part of this is finding enough space to put the code in.
Writing the code for this will be the hard part. And we need to find the exact code to print the wormhole info.Peter1981 wrote:Further a wormhole IIRC can lead to other endpoints (blackholes etc?) so to put this infomation on screen would require code that test for endpoint flag a duplication of the wormhold text with the co-ordinates retrieved from the endpoint in formation.
That's interesting about setting an endpoint to a blackhole. Wouldn't that make it a one-way wormhole?
- Tethys
- Past Administrator
- Posts: 2404
- Joined: Fri Jul 18, 2008 2:00 am
- Location: Your mom's bed ;)
- Contact:
Re: Single Player Chatbox
I suppose it would
Re: Single Player Chatbox
years ago i set in UE in a save game a wormhole endpoint as something else but i can't remember what happend (maybe CTD maybe very little improvement so didn't do much investigation) but a one way wormwhole could lead to a nebula or balck hole, neuton star or x-ray pulsar (and with sutiable graphics exit apature for a borg transwarp hub!! hay tethys -> something maybe for the Galaxy mod??)
- Tethys
- Past Administrator
- Posts: 2404
- Joined: Fri Jul 18, 2008 2:00 am
- Location: Your mom's bed ;)
- Contact:
Re: Single Player Chatbox
It could only currently work for save games. Until it is discovered how to edit save state info?
Re: Single Player Chatbox
The one way wormhole actually works fine, it has been set up that way for the Barzan wormhole, in the Dominion Wars canon map that I had made for UDM3. It leaves exploring ships stranded in a nebula, that destroys them after a few turns. The only way out is to send a few transports through the wormhole to errect an outpost, with sufficient shield recharging to avoid destruction and allow the stranded ships to find shelter outside of the nebula. IIRC it was my intention to allow the Federation(human player) to quickly get in contact with the Zakdorn, as soon as the Ferengi had been made affiliates.
Dominion Wars - Scenario
to be released for UDM3.0.1a !
to be released for UDM3.0.1a !