Author Topic: Different types of $AWACS  (Read 740 times)

0 Members and 1 Guest are viewing this topic.

Offline SF-Junky

  • 29
  • Bread can mold, what can you do?
Different types of $AWACS
Not sure whether I'm in the right board. Maybe this should rather go to the scripting boad?

From the wiki:
Quote
$AWACS:

    Sets this subsystem's effective AWACS range. (AWACS reveals stealthed ships, cuts through nebula fog.)
    Syntax: Float, the maximum range of the AWACS

Does the Float do anything? It must be bigger than 0 for the awacs to actually work.

I'd find it cool to have different types of awacs, like:
- Type 0: Can only detect non-stealth ships through nebula, stealth remains fully functional
- Type 1: Can detect ships through the nebula and make stealth ships appear als radar blip (custom, what it does now)
- Type 2: Can detect ships through the nebula and make stealth ships fully visible

If it was also possible to put more than one $AWACS option into a table entry (which currently seems impossible), this would give nice new options to FREDers.

Gimme your opinions. :)

 
Re: Different types of $AWACS
In theory you can have that stuff now already; it should all be doable through SEXPs even though it's some work.

 

Offline 0rph3u5

  • 211
  • ... is no longer here.
    • Steam
    • Twitter
Re: Different types of $AWACS
In theory you can have that stuff now already; it should all be doable through SEXPs even though it's some work.

All of the relevant SEXP are used in this example:
https://wiki.hard-light.net/index.php/Sensor_degradation_with_range_or_facing
"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

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"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 Nyrissa's curse, Pathfinder: Kingmaker

"...because they are not Dragons."

 
Re: Different types of $AWACS
All of the relevant SEXP are used in this example:
https://wiki.hard-light.net/index.php/Sensor_degradation_with_range_or_facing

This is quite specific though; it works only from the players ship onto other ships. It wouldn't work if you're using a Charybdis or something similar.

 

Offline 0rph3u5

  • 211
  • ... is no longer here.
    • Steam
    • Twitter
Re: Different types of $AWACS
You can also do a thing like this:

Code: [Select]
$Formula: ( when-argument
   ( any-of
      "GTF Hercules 2"
      "GTF Loki 3"
      "GTF Pegasus 4"
   )
   ( and
      ( <
         ( distance
            "GTA Charybdis 1"
            "<argument>"
         )
         3000
      )
      ( <=
         ( is-ship-visible "<argument>" )
         1
      )
   )
   ( if-then-else
      ( not
         ( is-ship-class
            "GTF Pegasus"
            "<argument>"
         )
      )
      ( ship-tag "<argument>" 2 1000 )
      ( ship-tag "<argument>" 1 1000 )
   )
)
+Name: Event name
+Repeat Count: 10000
+Interval: 0

EDIT: needs a check if the <argument> is not tagged, forgot that
"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

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"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 Nyrissa's curse, Pathfinder: Kingmaker

"...because they are not Dragons."