Author Topic: Few Questions  (Read 509 times)

0 Members and 1 Guest are viewing this topic.

Offline soilder198

  • 26
  • But why is the rum gone?!
1. How do I get the directives menu to shuffle through to new directives faster after old ones are completed? During a certain mission, there are several fighter wings and ships to destroy. The directives menu cannot display more than eight directives at a time, and there is no instance during the mission where there are more than eight active directives. There comes a point in the mission where the directives menu is full, and I only send in new enemy fighter wings and ships in an amount that would equal, but not exceed, the number of completed directives. However, the game does not shuffle to these new directives fast enough, if at all, therefore leaving them unviewable for the player.

2. During a mission, I have an instance where an enemy destroyer makes a surprise appearance, and Command subsequently orders all fighter wings to disables its engines. The SEXP goes like this When --> Is event true delay --> fighter wings (message from command to disable the destroyer) --> add goal, Alpha --> ai destroy subsystem --> destroyer, engine, 89. This SEXP is repeated four times for the four allied wings in the mission. All of them successfully receive the directive as can be determined when targeting their ships in game and reading their current order. However, none of them actually attempt to destroy the destroyers engines. Every single fighter ship instead travels in any direction away from the destroyer for an infinite amount of time....  :confused: :confused: :confused:


I have tried using a Goal priority of 150, and I have also tried using the goal ai-disable instead of ai-destroy-subsystem but the behavior remains exactly the same. Any ideas?

 

Offline Novachen

  • 29
  • The one and only capella supernova
    • Twitter
Quote
1. How do I get the directives menu to shuffle through to new directives faster after old ones are completed? During a certain mission, there are several fighter wings and ships to destroy. The directives menu cannot display more than eight directives at a time, and there is no instance during the mission where there are more than eight active directives. There comes a point in the mission where the directives menu is full, and I only send in new enemy fighter wings and ships in an amount that would equal, but not exceed, the number of completed directives. However, the game does not shuffle to these new directives fast enough, if at all, therefore leaving them unviewable for the player.

You can display more than eight directives at once if you change the hud_gauges.tbl. But the better solution is, to combine several invidiual directives into one.

If you have several wings, that are attacking you, why do you use individual directives for every wing instead of one "Destroy all fighters" directive?
Female FreeSpace 2 pilot since 1999.
Global moderator in the German FreeSpace Galaxy Forum.

Responsible for the german translation project FreiRaum - FreeSpace auf Deutsch.
Also responsible for the Nova Upgrade Project, which upgrades and fix older campaigns to make them play- and solveable again with current builds and MediaVPs.

Release List:
German Translations:
Awakenings, Between the Ashes 1, Deneb III, FreeSpace 2 (in development), FreeSpace Port, Silent Threat: Reborn & The Destiny of Peace

Nova Upgrades:
A Walk in the Sun, Into the Halls of Valhalla, Luyten Civil War, Renegade Resurgence, Revenge: Final Conflict (in development), Rogues!, Shadow Genesis (de-facto), Storm Front Saga, The Deuterium Connection, Venice Mirror & What If: Another Great War

 

Offline soilder198

  • 26
  • But why is the rum gone?!
Quote
You can display more than eight directives at once if you change the hud_gauges.tbl. But the better solution is, to combine several invidiual directives into one.

If you have several wings, that are attacking you, why do you use individual directives for every wing instead of one "Destroy all fighters" directive?

Never thought of doing that. Could solve my problem. Anyway to make the directives disappear quicker to make room for new ones nonetheless?

 

Offline 0rph3u5

  • 211
  • Someone should label the Future: Assembly Required
    • Steam
    • Twitter
2. During a mission, I have an instance where an enemy destroyer makes a surprise appearance, and Command subsequently orders all fighter wings to disables its engines. The SEXP goes like this When --> Is event true delay --> fighter wings (message from command to disable the destroyer) --> add goal, Alpha --> ai destroy subsystem --> destroyer, engine, 89. This SEXP is repeated four times for the four allied wings in the mission. All of them successfully receive the directive as can be determined when targeting their ships in game and reading their current order. However, none of them actually attempt to destroy the destroyers engines. Every single fighter ship instead travels in any direction away from the destroyer for an infinite amount of time....  :confused: :confused: :confused:


I have tried using a Goal priority of 150, and I have also tried using the goal ai-disable instead of ai-destroy-subsystem but the behavior remains exactly the same. Any ideas?

Please provide a fs_open.log, so we have all the relevant information with respect to build used and mods enabled.
"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nysa's curse, Pathfinder: Kingmaker

"...because they are not Dragons."

 

Offline soilder198

  • 26
  • But why is the rum gone?!
2. During a mission, I have an instance where an enemy destroyer makes a surprise appearance, and Command subsequently orders all fighter wings to disables its engines. The SEXP goes like this When --> Is event true delay --> fighter wings (message from command to disable the destroyer) --> add goal, Alpha --> ai destroy subsystem --> destroyer, engine, 89. This SEXP is repeated four times for the four allied wings in the mission. All of them successfully receive the directive as can be determined when targeting their ships in game and reading their current order. However, none of them actually attempt to destroy the destroyers engines. Every single fighter ship instead travels in any direction away from the destroyer for an infinite amount of time....  :confused: :confused: :confused:


I have tried using a Goal priority of 150, and I have also tried using the goal ai-disable instead of ai-destroy-subsystem but the behavior remains exactly the same. Any ideas?

Please provide a fs_open.log, so we have all the relevant information with respect to build used and mods enabled.

Here is a log of the mission. Strangely, when I ran in debug mode I was given a warning regarding missing 3d sound files which I do not receive when not in debug mode. Also, I use FS open 3.8.0 sse2 64-bit with the 2014 media vps.

Also, I should add that when ordering the fighters to disable the destroyer through player commands it works as it should. Just not when doing so through sexp.
« Last Edit: May 23, 2019, 12:22:46 pm by soilder198 »

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
I wonder if the disarm order is protecting the destroyer and forcing the AI to ignore it.

 

Offline Colt

  • 27
  • Needs more dakka
    • Steam
2. During a mission, I have an instance where an enemy destroyer makes a surprise appearance, and Command subsequently orders all fighter wings to disables its engines. The SEXP goes like this When --> Is event true delay --> fighter wings (message from command to disable the destroyer) --> add goal, Alpha --> ai destroy subsystem --> destroyer, engine, 89. This SEXP is repeated four times for the four allied wings in the mission. All of them successfully receive the directive as can be determined when targeting their ships in game and reading their current order. However, none of them actually attempt to destroy the destroyers engines. Every single fighter ship instead travels in any direction away from the destroyer for an infinite amount of time....  :confused: :confused: :confused:


I have tried using a Goal priority of 150, and I have also tried using the goal ai-disable instead of ai-destroy-subsystem but the behavior remains exactly the same. Any ideas?
I'm unfamiliar with this method, but if you want this should work. Only needs two events.

Code: [Select]
Destroyer arrive
    When
        has-arrived-delay
            Destroyer
            0
        do-nothing

Disable engine
    When
        is-event-true-delay
            Destroyer arrive
            0
        add-goal
            Alpha
            ai-destroy-subsystem
                Destroyer
                engine
                89           
        add-goal
            Beta
            ai-destroy-subsystem
                Destroyer
                engine
                89
        send-message
            #Command
            High
            message

Used an SD Demon here. If there are multiple engines on the ship (like a Hatshepsut), you can change the ai-destroy-subsys to ai-disable-ship > Destroyer > 89.
« Last Edit: May 23, 2019, 12:59:58 pm by Colt »

 

Offline soilder198

  • 26
  • But why is the rum gone?!
I wonder if the disarm order is protecting the destroyer and forcing the AI to ignore it.


The destroy-subsystem goal I believe does not call for a protect order on the destroyer. However, when I previously used ai-disable-ship as my goal for the fighter wings, the corvettes and cruisers in my mission continued to bombard the destroyer without regard for its health, which I presume means the protect order wasn't given in that case either?

 

Offline soilder198

  • 26
  • But why is the rum gone?!
2. During a mission, I have an instance where an enemy destroyer makes a surprise appearance, and Command subsequently orders all fighter wings to disables its engines. The SEXP goes like this When --> Is event true delay --> fighter wings (message from command to disable the destroyer) --> add goal, Alpha --> ai destroy subsystem --> destroyer, engine, 89. This SEXP is repeated four times for the four allied wings in the mission. All of them successfully receive the directive as can be determined when targeting their ships in game and reading their current order. However, none of them actually attempt to destroy the destroyers engines. Every single fighter ship instead travels in any direction away from the destroyer for an infinite amount of time....  :confused: :confused: :confused:


I have tried using a Goal priority of 150, and I have also tried using the goal ai-disable instead of ai-destroy-subsystem but the behavior remains exactly the same. Any ideas?
I'm unfamiliar with this method, but if you want this should work. Only needs two events.

Code: [Select]
Destroyer arrive
    When
        has-arrived-delay
            Destroyer
            0
        do-nothing

Disable engine
    When
        is-event-true-delay
            Destroyer arrive
            0
        add-goal
            Alpha
            ai-destroy-subsystem
                Destroyer
                engine
                89           
        add-goal
            Beta
            ai-destroy-subsystem
                Destroyer
                engine
                89
        send-message
            #Command
            High
            message

Used an SD Demon here. If there are multiple engines on the ship (like a Hatshepsut), you can change the ai-destroy-subsys to ai-disable-ship > Destroyer > 89.

I made a test mission in FRED just to test both the ai-disable-ship and ai-destroy-subsystem goals and both worked completely fine. It seems only in my mission does everything freak out.

 
Do the wings still have other orders?

  

Offline soilder198

  • 26
  • But why is the rum gone?!
Do the wings still have other orders?

Yes. Wings Delta and Gamma arrive with an initial order to guard a corvette and do not receive any other orders until the destroy-subsystem order and cannot be given orders by the player.

Alpha and Beta wings are initially ordered to guard a separate corvette, are also ordered to destroy-subsystem, and can be given orders by the player.