Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Trivial Psychic on January 20, 2013, 07:44:31 am
-
Does anyone know a way via sexps to disable the communications menu, and without using the ignore-key option under the training group?
-
I suppose destroying the player's comm subsystem isn't an option.
-
Destroying the subsystem would be the easiest way I can think of (iirc high priority messages are received regardless), otherwise you are looking at disabling player orders for all craft and all the other options such as support ship.
-
I believe what TP is trying to achieve is to disable the comm menu entirely. As in: not being able to bring up the window at all. Disabling the comm subsystem may disable it, I know for sure that if you have a comm menu active and your comms are blown while giving orders, the comm menu disappears. I'm not sure it actually prevents you from bringing it up again, I suppose it does. But I am 90% sure it also prevents high priority messages from playing. Also your HUD would indicate your comm is at 0%, which makes the workaround obvious.
Frankly, I don't know how to disable the comm menu entirely. What do you need it for? Will you tell?
-
Well, without being too specific, I need a key to use as an event toggle that isn't likely to be needed for anything else. Now, there aren't any other ships in the mission area that the player could give orders to, and support ships have been disabled, so there's really no purpose for the Comm menu in the mission, making the 'C' button the logical choice. However, there is considerable mission dialogue associated with the mission, so destroying the Comms system is not high on the list of options. I can live with having the Comm menu coming up every time the toggle is used, but I'd like to avoid it if possible.
-
Are all the usual spare keys (1, 2, 3, 4, Alt-X) already in use?
-
I wasn't aware that there WERE any available unmapped keys.
-
Those keybinds are normally only used in multiplayer so they're totally available for you to use - I've done all kinds of things with them. You can also use L if you don't mind people's HUDs flickering between dim and bright settings every time they use it.
-
Cool. I guess that's "Problem Solved" then. Thanks.
-
Don't forget to keypress-reset when you make the keypress available!
-
You could also use Shift-N, iirc... as it's a multi only keybind.
-
Don't forget to keypress-reset when you make the keypress available!
Actuall, I'm using key-reset-multiple as it is used in 2 repeating events.
-
If you're using one of the number keys then you'll want to use a special technique Axem developed to work around some stickiness involving the 1/2/3/4 keys in repeating events. Otherwise they can get stuck or stop responding reliably to player input. Do you have the BP2 Dreamscape mission handy to look at?
-
Battuta, IIRC, the 1/2/3/4 keys' stickiness was fixed quite some time ago.
EDIT: This bug. (http://scp.indiegames.us/mantis/view.php?id=2327)