Profile image

Better Next Target

72.0k hpgbproductions  one month ago
605 downloads
Version 1.0 Tool

Better Next Target is an experimental mod that aims to provide context-based target selection. Instead of cycling through targets sorted by load order, this program selects the target closest to the center of the screen.

The mod automatically moves the mouse to click on the target box when the appropriate key is pressed.

The Source Code button is a link to the GitHub repository. Alternatively, click here

Hope Jundroo will add something like this, next/previous target only works when you have like 3 enemies, and moving the mouse to click the screen isn't going to cut it.

Notices:

  • The mod controls should be set different from the in-game target selection controls, to prevent selection conflicts.
  • Will conflict with UI/cockpit elements and Mouse As Joystick mode.
  • Won't work on 1.10 since UI is built differently.
  • Won't work in VR since Jundroo appears to be planning on having separate flat-screen and VR components for UI. May break in 1.12, even in flat-screen mode.

! WINDOWS ONLY !

This mod requires user32.dll which is only available on Windows. There is no platform check, and what happens on Mac is untested. If you can find a way to generate a mouse click on Mac, please comment below.

CONTROLS

The controls can be customized by changing the contents of the respective file in the directory [ SimplePlanes folder ]\NACHSAVE\NEXTTGT\. Enter one Unity KeyCode in each line, without the KeyCode prefix. There can be one or more keys that must be pressed. Either the keyboard or joystick control can be used to call a target change.

Default keyboard control (NTKEY.TXT): O

Default joystick control (NTJOY.TXT): Joystick1Button3
This corresponds to Y or Triangle.

CREDITS

VERSION HISTORY

1.0 (211107) >

  • Initial release

  • Log in to leave a comment
  • Profile image
    2,016 derlurje

    ITS NOT A WAR CRIME IF YOU WIN
    IM PRETTY SURE GENIVA DIDNT THINK THIS WAS AN OPTION
    YO BUDDY.... STILL ALIVE?

    14 days ago
  • Profile image
    1,782 Bobyo

    @HungryBoat2 you dare oppose me mortal?

    25 days ago
  • Profile image
    29.0k ReinMcDeer

    @AWESOMENESS360 <<I think you're about to find out that solitary is, in fact, solitary.>>

    26 days ago
  • Profile image

    Why yes Bandog, those fuel trucks are indeed filled with fuel.

    +1 27 days ago
  • Profile image

    doge + bread = broge

    27 days ago
  • Profile image
    1,782 Bobyo

    @T57HEAVY bruh a joke lolololololololololololololol

    29 days ago
  • Profile image
    150 T57HEAVY

    @parkrangerjerry not possible yet

    29 days ago
  • Profile image
    150 T57HEAVY

    @Bobyo he said not possible yet cuz coding reasons

    29 days ago
  • Profile image
    1,782 Bobyo

    AnDrOiD vErSiOn PlEaSe

    +3 29 days ago
  • Profile image

    hEy WhErE mObIlE vErSiOn

    +9 29 days ago
  • Profile image
    4,312 NeJi

    there are a lot of things that Jundroo should add to vanilla SP and this is one of them

    +13 one month ago