Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: T-Man on October 16, 2016, 08:58:31 am

Title: Feature idea: Option to restore orders info for enemies
Post by: T-Man on October 16, 2016, 08:58:31 am
I was just checking out the new nightly today which fixed the no extra target info bug (Am I right it's 'Asarium' we have to thank? Huge thanks for that :yes:) and it made me think. When a ship is an enemy that information (such as it's current order or whether it is docking) is hidden from the player; How possible would it be to add a SEXP option for restoring the extra information? Thought it might suit a mission where the author wants to simulate enemy communications being hacked, or a force with good AWACS coverage, without having to fill the mission with messages.

I do see one issue with this idea is you'll get unusual extra information at times (for example, a lot of the ship manoeuvring in BP would likely show the ships as 'time to waypoints'). A nice additional feature if it's feasible would be an 'alt. order information' SEXP so you can tell it to put up a given different description when the ship is performing that action? So in the BP example you can say if a specific ship is following a specific waypoint path will instead put 'Attack Churchill' or 'advance on Meridian' etc.
Title: Re: Feature idea: Option to restore orders info for enemies
Post by: Black Wolf on October 16, 2016, 10:14:02 am
This would also be really useful for determining why AI acts weird sometimes, if you could just select it and see what it's trying to do.
Title: Re: Feature idea: Option to restore orders info for enemies
Post by: General Battuta on October 16, 2016, 02:06:37 pm
Axem's debug menu script lets you do this for debug/design purposes right now if you're just looking to use it in a dev capacity.
Title: Re: Feature idea: Option to restore orders info for enemies
Post by: Bryan See on November 15, 2016, 11:23:06 am
Where can I get this Axem debug menu that Battuta said?
Title: Re: Feature idea: Option to restore orders info for enemies
Post by: niffiwan on November 15, 2016, 05:17:30 pm
There's an option in the builtin debug console to show the targeted ships AI/orders. I can't remember the exact command though, something like display_target_info (??)