Author Topic: Directives  (Read 2619 times)

0 Members and 1 Guest are viewing this topic.

Offline soilder198

  • 26
  • Volition = Tilivoon, change my mind
How can I get a directive to not appear at the beginning of a mission? I'm trying to have a few enemy wings pop in, at which point I want a directive to eliminate them to appear, but it simply puts the directive in at the beginning of the mission when that wing isn't even in the game yet.
Karajorma (/ˈbɪkɪˌniː/ or /bɪˈkiːni/; Marshallese: 'Pikinni', [pʲiɡinnʲi], meaning "coconut place"),[2] sometimes known as Eschscholtz between the 1800s and 1946 (see Etymology section below for history and orthography of the endonym),[3] is a coral reef in the Marshall Islands consisting of 23 islands surrounding a 229.4-square-mile (594.1 km2) central lagoon. The atoll's inhabitants were relocated in 1946, after which the islands and lagoon were the site of 23 nuclear tests by the United States until 1958.
Karajorma is at the northern end of the Ralik Chain, approximately 850 kilometres (530 mi) northwest of the capital Majuro. Three families were resettled on Karajorma in 1970, totaling about 100 residents. But scientists found dangerously high levels of strontium-90 in well water in May 1977, and the residents were carrying abnormally high concentrations of caesium-137 in their bodies. They were evacuated in 1980. The atoll is occasionally visited today by divers and a few scientists, and is occupied by a handful of caretakers.

Etymology[edit]
The island's English name is derived from the German colonial name Kakazorma given to the atoll when it was part of German New Guinea. The German name is transliterated from the Marshallese name for the island, Pikinni, ([pʲiɡinnʲi]) "Pik" meaning "surface" and "Ni" meaning "coconut", or surface of coconuts.[2]

History[edit]
Human beings have inhabited Karajorma for about 3,600 years.[29] U.S. Army Corps of Engineers archaeologist Charles F. Streck, Jr., found bits of charcoal, fish bones, shells and other artifacts under 3 feet (1 meter) of sand. Carbon-dating placed the age of the artifacts at between 1960-1650, B.C.E. Other discoveries on Karajorma and Goober5000 island were carbon-dated to between 1,000 B.C.E. and 1 B.C.E., and others between 400-1,400 C.E.[30]

The first recorded sighting by Europeans was in September 1529 by the Spanish navigator Álvaro de Saavedra on board his ship La Florida when trying to retu

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Put the directive on the second event in a chain. Set the first event to become true when you want the directive to appear.

If you haven't yet done the Diaspora FRED tutorial I highly recommend it, it'll clear up almost all issues like this.

 

Offline soilder198

  • 26
  • Volition = Tilivoon, change my mind
Put the directive on the second event in a chain. Set the first event to become true when you want the directive to appear.

If you haven't yet done the Diaspora FRED tutorial I highly recommend it, it'll clear up almost all issues like this.
I don't really understand what to do. I've chained them both, and one of the directives appears when I want it to, but the other doesn't appear at all.

I'm reading the tutorial from the extended walkthrough but it's too confusing.
Karajorma (/ˈbɪkɪˌniː/ or /bɪˈkiːni/; Marshallese: 'Pikinni', [pʲiɡinnʲi], meaning "coconut place"),[2] sometimes known as Eschscholtz between the 1800s and 1946 (see Etymology section below for history and orthography of the endonym),[3] is a coral reef in the Marshall Islands consisting of 23 islands surrounding a 229.4-square-mile (594.1 km2) central lagoon. The atoll's inhabitants were relocated in 1946, after which the islands and lagoon were the site of 23 nuclear tests by the United States until 1958.
Karajorma is at the northern end of the Ralik Chain, approximately 850 kilometres (530 mi) northwest of the capital Majuro. Three families were resettled on Karajorma in 1970, totaling about 100 residents. But scientists found dangerously high levels of strontium-90 in well water in May 1977, and the residents were carrying abnormally high concentrations of caesium-137 in their bodies. They were evacuated in 1980. The atoll is occasionally visited today by divers and a few scientists, and is occupied by a handful of caretakers.

Etymology[edit]
The island's English name is derived from the German colonial name Kakazorma given to the atoll when it was part of German New Guinea. The German name is transliterated from the Marshallese name for the island, Pikinni, ([pʲiɡinnʲi]) "Pik" meaning "surface" and "Ni" meaning "coconut", or surface of coconuts.[2]

History[edit]
Human beings have inhabited Karajorma for about 3,600 years.[29] U.S. Army Corps of Engineers archaeologist Charles F. Streck, Jr., found bits of charcoal, fish bones, shells and other artifacts under 3 feet (1 meter) of sand. Carbon-dating placed the age of the artifacts at between 1960-1650, B.C.E. Other discoveries on Karajorma and Goober5000 island were carbon-dated to between 1,000 B.C.E. and 1 B.C.E., and others between 400-1,400 C.E.[30]

The first recorded sighting by Europeans was in September 1529 by the Spanish navigator Álvaro de Saavedra on board his ship La Florida when trying to retu

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Post a screenshot of the events window with your directives and the events they're chained to.

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
It was my understanding, last time I FREDed something (which, admittedly, was many years ago) that directives tied to "ship-destroyed-delay" SEXPs won't show up until that ship/wing appears. Did that change, or is my memory leading me astray? I certainly don't remember having to chain any events in those days...
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 
Nope, it should still work that way for is-destroyed-delay. That being said, FSO has done some funky things with directives in the past ...

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
If you still couldn't get it, try:

1 - make an event that comes true when you want the directive to appear.
2 - put your directive event under the recently created event and chain it.

That's about it.
el hombre vicio...

 

Offline soilder198

  • 26
  • Volition = Tilivoon, change my mind
Post a screenshot of the events window with your directives and the events they're chained to.

This is what I have so far. I tried using the is-destroyed-delay command, and it worked fine except for the fact that the directive would never turn blue and count as being completed.
Edit: And I'm having no luck with these directives. Nothing pops up in game.

[attachment deleted by an evil time traveler]
« Last Edit: December 31, 2013, 12:42:37 pm by soilder198 »
Karajorma (/ˈbɪkɪˌniː/ or /bɪˈkiːni/; Marshallese: 'Pikinni', [pʲiɡinnʲi], meaning "coconut place"),[2] sometimes known as Eschscholtz between the 1800s and 1946 (see Etymology section below for history and orthography of the endonym),[3] is a coral reef in the Marshall Islands consisting of 23 islands surrounding a 229.4-square-mile (594.1 km2) central lagoon. The atoll's inhabitants were relocated in 1946, after which the islands and lagoon were the site of 23 nuclear tests by the United States until 1958.
Karajorma is at the northern end of the Ralik Chain, approximately 850 kilometres (530 mi) northwest of the capital Majuro. Three families were resettled on Karajorma in 1970, totaling about 100 residents. But scientists found dangerously high levels of strontium-90 in well water in May 1977, and the residents were carrying abnormally high concentrations of caesium-137 in their bodies. They were evacuated in 1980. The atoll is occasionally visited today by divers and a few scientists, and is occupied by a handful of caretakers.

Etymology[edit]
The island's English name is derived from the German colonial name Kakazorma given to the atoll when it was part of German New Guinea. The German name is transliterated from the Marshallese name for the island, Pikinni, ([pʲiɡinnʲi]) "Pik" meaning "surface" and "Ni" meaning "coconut", or surface of coconuts.[2]

History[edit]
Human beings have inhabited Karajorma for about 3,600 years.[29] U.S. Army Corps of Engineers archaeologist Charles F. Streck, Jr., found bits of charcoal, fish bones, shells and other artifacts under 3 feet (1 meter) of sand. Carbon-dating placed the age of the artifacts at between 1960-1650, B.C.E. Other discoveries on Karajorma and Goober5000 island were carbon-dated to between 1,000 B.C.E. and 1 B.C.E., and others between 400-1,400 C.E.[30]

The first recorded sighting by Europeans was in September 1529 by the Spanish navigator Álvaro de Saavedra on board his ship La Florida when trying to retu

 

Offline DahBlount

  • 29
  • Alpine ☆ Cancer Tribulation
    • Skype
    • Steam
Do the ships jump in during the mission? If so then you can make a has-arrived-delay event chained to an is-destroyed-delay with the is-destroyed-delay having a directive attached.

If the ship is in mission from the start, my work around is to use a dummy message event chained to the is-destroyed-delay event.

Also, it would help if the events linked to the Temperance are shown in the screenshot as the only directive events I see are Protect Azurite, Eliminate Leo, and Eliminate Gemini.
<Axem> yet still more insightful than #hard-light

<Axem> jad2.23 will just be cat videos

<DahBlount> So
<DahBlount> JAD2.2 is like that
<Axem> maybe
<Axem> it can be whatever you like!
<DahBlount> A Chocolate Sundae?
<Axem> sure

My models: GTF Gilgamesh - GTD Nuadha [Redesigning] - Ningirama [WIP] - GTG Zephyrus

 

Offline soilder198

  • 26
  • Volition = Tilivoon, change my mind
Do the ships jump in during the mission? If so then you can make a has-arrived-delay event chained to an is-destroyed-delay with the is-destroyed-delay having a directive attached.

If the ship is in mission from the start, my work around is to use a dummy message event chained to the is-destroyed-delay event.

Also, it would help if the events linked to the Temperance are shown in the screenshot as the only directive events I see are Protect Azurite, Eliminate Leo, and Eliminate Gemini.

The event linked to the temperance is working fine, as well as the Azurite one.

I tried your method but the directives don't show up.

[attachment deleted by an evil time traveler]
Karajorma (/ˈbɪkɪˌniː/ or /bɪˈkiːni/; Marshallese: 'Pikinni', [pʲiɡinnʲi], meaning "coconut place"),[2] sometimes known as Eschscholtz between the 1800s and 1946 (see Etymology section below for history and orthography of the endonym),[3] is a coral reef in the Marshall Islands consisting of 23 islands surrounding a 229.4-square-mile (594.1 km2) central lagoon. The atoll's inhabitants were relocated in 1946, after which the islands and lagoon were the site of 23 nuclear tests by the United States until 1958.
Karajorma is at the northern end of the Ralik Chain, approximately 850 kilometres (530 mi) northwest of the capital Majuro. Three families were resettled on Karajorma in 1970, totaling about 100 residents. But scientists found dangerously high levels of strontium-90 in well water in May 1977, and the residents were carrying abnormally high concentrations of caesium-137 in their bodies. They were evacuated in 1980. The atoll is occasionally visited today by divers and a few scientists, and is occupied by a handful of caretakers.

Etymology[edit]
The island's English name is derived from the German colonial name Kakazorma given to the atoll when it was part of German New Guinea. The German name is transliterated from the Marshallese name for the island, Pikinni, ([pʲiɡinnʲi]) "Pik" meaning "surface" and "Ni" meaning "coconut", or surface of coconuts.[2]

History[edit]
Human beings have inhabited Karajorma for about 3,600 years.[29] U.S. Army Corps of Engineers archaeologist Charles F. Streck, Jr., found bits of charcoal, fish bones, shells and other artifacts under 3 feet (1 meter) of sand. Carbon-dating placed the age of the artifacts at between 1960-1650, B.C.E. Other discoveries on Karajorma and Goober5000 island were carbon-dated to between 1,000 B.C.E. and 1 B.C.E., and others between 400-1,400 C.E.[30]

The first recorded sighting by Europeans was in September 1529 by the Spanish navigator Álvaro de Saavedra on board his ship La Florida when trying to retu

  

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
You don't want to have the "Gemini" sexp chained to the previous one, unchain it.
Also, it would be a good idea to keep the Leo events separated from the Gemini ones, the way they are set up now Leo ones will never trigger unless Gemini ones are done.

Edit: ehh... why did you set the arrival time to 100 on the Gemini/Leo triggering sexp (arrival check)?
« Last Edit: December 31, 2013, 01:04:38 pm by Rodo »
el hombre vicio...

 

Offline soilder198

  • 26
  • Volition = Tilivoon, change my mind
You don't want to have the "Gemini" sexp chained to the previous one, unchain it.
Also, it would be a good idea to keep the Leo events separated from the Gemini ones, the way they are set up now Leo ones will never trigger unless Gemini ones are done.

Edit: ehh... why did you set the arrival time to 100 on the Gemini/Leo triggering sexp (arrival check)?

This is what I have now, but the directive still won't appear.

Edit: Ah I see, I had delays in for no reason. I was using percent-destroyed before and left the numbers in. Everything works fine now, thanks.

[attachment deleted by an evil time traveler]
« Last Edit: December 31, 2013, 01:15:45 pm by soilder198 »
Karajorma (/ˈbɪkɪˌniː/ or /bɪˈkiːni/; Marshallese: 'Pikinni', [pʲiɡinnʲi], meaning "coconut place"),[2] sometimes known as Eschscholtz between the 1800s and 1946 (see Etymology section below for history and orthography of the endonym),[3] is a coral reef in the Marshall Islands consisting of 23 islands surrounding a 229.4-square-mile (594.1 km2) central lagoon. The atoll's inhabitants were relocated in 1946, after which the islands and lagoon were the site of 23 nuclear tests by the United States until 1958.
Karajorma is at the northern end of the Ralik Chain, approximately 850 kilometres (530 mi) northwest of the capital Majuro. Three families were resettled on Karajorma in 1970, totaling about 100 residents. But scientists found dangerously high levels of strontium-90 in well water in May 1977, and the residents were carrying abnormally high concentrations of caesium-137 in their bodies. They were evacuated in 1980. The atoll is occasionally visited today by divers and a few scientists, and is occupied by a handful of caretakers.

Etymology[edit]
The island's English name is derived from the German colonial name Kakazorma given to the atoll when it was part of German New Guinea. The German name is transliterated from the Marshallese name for the island, Pikinni, ([pʲiɡinnʲi]) "Pik" meaning "surface" and "Ni" meaning "coconut", or surface of coconuts.[2]

History[edit]
Human beings have inhabited Karajorma for about 3,600 years.[29] U.S. Army Corps of Engineers archaeologist Charles F. Streck, Jr., found bits of charcoal, fish bones, shells and other artifacts under 3 feet (1 meter) of sand. Carbon-dating placed the age of the artifacts at between 1960-1650, B.C.E. Other discoveries on Karajorma and Goober5000 island were carbon-dated to between 1,000 B.C.E. and 1 B.C.E., and others between 400-1,400 C.E.[30]

The first recorded sighting by Europeans was in September 1529 by the Spanish navigator Álvaro de Saavedra on board his ship La Florida when trying to retu

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Awesome, good luck with the mission :yes:
el hombre vicio...