Profile image

Ace Radar

106k hpgbproductions  2.9 years ago
14,959 downloads
Version 1.1 Tool Part

Ace Radar is an Ace Combat-styled radar, with a focus on combat levels and custom script support.

Note: Screenshots shown may use other mods with external scripts that modify the blip styles of targets. Check them out!

FEATURES

  • Automatically marks all targets of supported types
  • Configure map placement, scale, and color on the screen
  • Three levels of zoom, with customizable key combinations
  • External script support through reflection or a helper script
  • Familiar, functional style
  • [New in V1.1] Part that displays the radar in world space for added immersion

[ Technical Features ]

  • Robust type-based target detection
  • Canvas-based implementation, not IMGUI
  • Additional methods to aid reflection from mod scripts

[ Mods with Ace Radar support ]

Ace Radar Vanilla Add-On: GitHub Download | GitHub Repository
A small, lightweight mod that sets marker styles for the vanilla combat levels. Essential for Ace Radar users. Load Ace Radar before loading this mod.

Teki no Kichi 2: SimplePlanes Mod Page
The Ver. 1.1 Update adds Ace Radar functionality. Sets the marker styles for allies and target enemies, making combat a little easier.

PART

The part added in Version 1.1 displays the radar screen in the world. Place it in cockpits for better immersion. It should appear in VR mode when it is released.

[ Properties ]

  • Sorting Order: Set the screen to appear in front or behind other Canvas objects.
  • Scaling Mode: When Default, uses the zoom in/out keys. When InputController, set the scale using an input.
  • Frame Color R/G/B/A: Frame color components. Overrides the UI radar frame color.

[ V1.1 Demo Aircraft ]
Re:ASF-133P (AceRadar ver.)
AVH-29 (AceRadar ver.)

COMMANDS

Ace Radar comes with three commands that customize the look of the radar. Recommended values are chosen for a game resolution of 1920x1080.

AceRadar_Position (float px, float py)
Set the position of the map from the bottom left, in pixels.
px Horizontal offset. Default 0, recommended 64.
py Vertical offset. Default 0, recommended 64.

AceRadar_Scale (float scale)
Set the scale of the map. A scale of 1 corresponds to 512x512 pixels.
scale Scale. Default 0.5, recommended 0.5.

AceRadar_FrameColor (float r, float g, float b)
Set the color of the radar frame. Each argument corresponds to a Unity Color component, clamped between 0 and 1.
r Red component. Default 1, recommended 0 or 1.
g Green component. Default 1, recommended 1.
b Blue component. Default 1, recommended 0.

KEY SETTINGS

The key combination can be set in files which appear after Ace Radar has been activated in SimplePlanes for the first time. In each line, type one Unity KeyCode value name, without the KeyCode. prefix or any other characters.

The game must be restarted to apply new key combinations.

Zoom In: [ SimplePlanes folder ]\NACHSAVE\ACERADAR\KCZIN.TXT
Default: M

Zoom Out: [ SimplePlanes folder ]\NACHSAVE\ACERADAR\KCZOUT.TXT
Default: N

Toggle Map: [ SimplePlanes folder ]\NACHSAVE\ACERADAR\KCHIDE.TXT
(added in 1.0.1)
Default: H

Notes:
- Invalid key combination files will be replaced by their defaults on load.
- Find the key settings folder with >>MapSettings..AceRadarPath

TYPE SUPPORT

Ace Radar supports many Component types found in the base game. They are automatically registered to the target list every 15 frames (by default) and marked with suitable blips on the radar.

Ground Types: (Sprite: Ground; Color: preset white; Rotatable: false)

RotatingMissileLauncherScript
AntiAircraftTankScript
SimpleGroundVehicleScript        // convoy vehicles
SinkableShipScript
BombTargetScript                 // bomb training
FracturedObject                  // bridges
RingScript                       // race levels

Aircraft Types: (Sprite: Aircraft; Color: preset white; Rotatable: true)

AiControlledAircraftScript

Weapon Types: (Sprite: Weapon Line; Color: preset full white; Rotatable: true)

AntiAircraftMissileScript
SamScript                    // SAM evasion
MissileScript                // aircraft weapons
BombScript
RocketScript

VERSION HISTORY

210812> 1.1
- Added Radar Screen part that can be used in cockpits
- Known issue: A few NullReferenceException messages when entering the level. This does not affect any features.

210615> 1.0.1
- Added new key action: Toggle Map (H)

210613> 1.0
- Initial release

SCRIPTING

The AceRadarBackend.cs script "automagically" performs reflection behind the scenes, making Ace Radar functionality more accessible to modders. Include the script in your mod to use it. Feel free to modify it and distribute your derivative scripts. You do not need to use this script to modify Ace Radar, you can use your own original scripts.

The Backend Guide and Reference provides useful information for those seeking to include Ace Radar's scriptable functionality into their mods.

  • Log in to leave a comment
  • Profile image
    1,533 basedpilot69

    the mod is laggy as hell

    9 months ago
  • Profile image

    @hpgbproductions THX mate

    1.6 years ago
  • Profile image

    @sacul77777 open overload, change scale value

    1.6 years ago
  • Profile image

    @hpgbproductions hey, how do i resize the radar part, NOT the ui

    1.6 years ago
  • Profile image

    @hpgbproductions tought you weren't going to reply, people dont tend to do it, thank you

    1.8 years ago
  • Profile image

    @Leopard2a9 skill issue
    Don't put brackets or commas. Only put single spaces between command and numbers. If it's float, you can put decimal points
    AceRadar_Position 64 64

    1.8 years ago
  • Profile image

    the mod cant be configurated, its bullshit, i've tried everything, and if it can, you explained it like your ass

    1.8 years ago
  • Profile image

    i cant change the position of the radar, it keeps saying ''Wrong number of arguments specified, 4 arguments were specified when 2 were expected for command 'AceRadar_position' [Single] [Single].''

    1.8 years ago
  • Profile image

    @hpgbproductions if possible though it would be cool

    1.8 years ago
  • Profile image

    @hpgbproductions Oh

    2.5 years ago
  • Profile image

    @L3thalPredator this mod has custom scripts so it is not possible

    2.5 years ago
  • Profile image

    Could you make an Android compatible version? There arnt many Android compatible mods anymore since 1.8, I'm sad about it but ik it's possible

    2.5 years ago
  • Profile image
    49.7k JoshuaW

    Nice mod, is it possible to make incoming missiles selectable as air targets? Would be great if weapons can lock on incoming missiles.

    2.5 years ago
  • Profile image

    @hpgbproductions (sad noises)

    2.6 years ago
  • Profile image

    @GreenGreenz no

    +1 2.6 years ago
  • Profile image

    Do you have any plans to put it in android?

    2.6 years ago
  • Profile image

    Awesome!!!

    2.6 years ago
  • Profile image

    Has uno para Android :') porfavor

    2.7 years ago
  • Profile image

    @hpgbproductions thanks sorry i live under a rock lol

    2.8 years ago
  • Profile image

    @MrTacito34
    1. open dev console, by default with backtick key (`)
    2. Enter AceRadar_Position 64 64. Change the numbers and see how the map is positioned

    2.8 years ago
  • Profile image

    im tryna position but my brain not smart enough pls help can someone just give me the plugin so i can copy and paste it

    2.8 years ago
  • Profile image
    725 Eevee

    can you make it for steam?

    2.9 years ago
  • Profile image

    @Kennneth ikr

    2.9 years ago
  • Profile image
    131k Kennneth

    Underrated

    2.9 years ago
  • Profile image

    @Suica added it, version 1.0.1

    +1 2.9 years ago
  • Log in to see more comments