Question on sensors

Home Forums Mods and POG Scripting Question on sensors

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #13941
    GrandpaTrout
    Participant

    I did some testing on sensors, and some things follow the documents, and some don’t. Can anyone offer insight?

    I created a tug with a brightness of 1.0 and min_brightness of 1.0.

    Then I created a player passive_sensor with range=50000 an identification_range=25000 and a sensed_brightness=0.3

    I expected that my tug would show up at 50,000 and get a faction and name at 25,000. That did not happen. Instead the tug showed up with a name at 35,000. I realized that Flux was subtracting the 0.3 from the tugs brightness and then calculating the range. Changing sensed_brightness to 0.0 proved this was true. The tug was now sensed at 50,000 meters.

    However, it is identified at 50,000 meters as well. Can anyone offer an idea of how identification range works?

    The issue is that I would like to prevent the AI from firing missiles at targets it cannot identify. But I need to be able to calculate that range, because the standard AI offers no such features.

    [edit] I should have noted that I pulled the active sensor subsystem off the player ship for this test. So the active range improvement should not matter.
    -Gtrout

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.