I love this mod! Should be part of the default game IMO. I change the default combat range to 3000 as 2100 is just barely more than I can see panned far. Doesn't seem to be a noticeable cpu hit. Thanks for the quick .65.2a update as well.

Version 2.0 is up, get it here (mirror). Still requires LazyLib. Several files have moved around, so you should delete your old radar mod folder before installing. This update breaks compatibility with any custom radar renderers others have written - luckily I don't know of anyone who has done so! If they do exist, their authors should check javadoc.zip for the new method signatures.

A big change certain people will be happy to see: ship contacts now have proper polygons, thanks to the inclusion of some polygon triangulation code ported from the Slick2D library. A few ships fail to triangulate properly and fall back to the old "close enough" behavior (vanilla's Paragon and SS+'s Cathedral, off the top of my head), but the vast majority of ships will look much better than they did before.

I also divorced the radar's framerate from the game so it's not wasting CPU cycles to tell you a ship's moved 0.3 pixels every 1/60th of a second. It now defaults to 20FPS, but you can easily bump that up in data/config/radar/radar_settings.json if you wish.

There's also a new combat renderer showing map boundaries and retreat areas, a better icon for relays, bounty coloration on the campaign map, and a few changes to let modders filter what is shown on the radar. Here's the full changelog:

Quote

2.0 (October 04, 2015)========================Radar framerate is now separate from Starsector's framerate, defaults to 20 FPSMerged radar settings into a single file, data/config/radar/radar_settings.jsonCombined campaign and combat radars into one codebaseReplaced CampaignRadar and CombatRadar with a generic CommonRadar interfaceAdded excluded_ships.csv, can exclude single hulls or ones with certain prefixesAdded excluded_missiles.csv, can exclude missiles by their projectile IDAdded RadarSettings class to retrieve loaded renderers and radar settingsAdded getCurrentSightRadius() to CommonRadar interfaceImproved icon for relays in the campaignAll renderers now support a "maxShown" setting where validCampaign fleet renderer changes: - Fleets with a bounty on their head are now shown as gold on the radar (faction-level bounties flash between gold and their regular color so you won't accidentally chase/attack a friendly faction)Combat progress renderer changes: - Relative fleet balance calculation is no longer based on information that the player can't obtain in-game, is instead now based on the ship's fleet point costs (with a 75% penalty to calculated strength for civilian ships)New combat renderer: MapBorderRenderer - Displays retreat zones in yellow - Displays gravity barrier line in red - Displays out of bounds in greyNew combat renderer: ShipRenderer - Replaces ShipSimpleRenderer and ShipPolygonRenderer - Draws proper polygons for ships instead of approximations like old system - Will fall back to approximations on ships that can't be triangulated (only the Paragon in vanilla and a handful of ships in existing mods) - To draw ships as triangles instead (like with the old ShipSimpleRenderer), change "simpleMode" to true in radar_settings.json under "shipRenderer" - Shields are drawn filled, can be reverted to the old behavior by changing "drawSolidShields" to false in radar_settings.json under "shipRenderer"New utility class: DrawQueue - Aids in efficiently drawing many primitive shapes multiple frames in a row - Handles native buffer allocation/data/resizing automatically - Uses VBOs if the user's card supports them (hint: it does)New utility class: ShapeUtils - Calculates vertices (as float arrays) for common shapesAll interfaces are now fully documented (see javadoc.zip in mod folder)Miscellaneous optimizations and improvements

Added excluded_ships.csv, can exclude single hulls or ones with certain prefixesAdded excluded_missiles.csv, can exclude missiles by their projectile ID

MWAhahahahahaha.... Perfect!

[EDIT] Ooooooh I think I'll lower the framerate of the radar to 5fps, and get a nice Alien motion sensor effect... I just need to add an animated circle starting from the center and it would be perfect!

This update switches many of the renderers from drawn polygons to sprites, making them look much smoother. It also adds other various quality-of-life features, such as showing your remaining CR timer on the bar to the right.

Thanks to MesoTroniK for the new fleet and missile contact sprites, as well as his help with testing the new features.

Full changelog:

Quote

2.1 (November 19, 2015)=========================(thanks to MesoTroniK for spritework and extensive help testing new features)Updated to be compatible with Starsector 0.7aThe "maxShown" setting has been enabled for all renderers, defaults increasedAdded "verticesPerCircle" setting, increase this for smoother radar ringsAsteroid renderer (both campaign and combat) changes: - Uses a sprite now, should look much smoother - Scaled based on their true size, not a flat value multiplied by zoom levelCampaign fleet renderer changes: - Uses a sprite now, should look much smoother - Unknown (transponder off) contacts are shown in neutral colors - Fixed issue where player fleet would flash bounty colors if a faction was paying for kills against their enemies and was hostile towards the playerPlanet renderer changes: - Uses vanilla map icons instead of polygons - Differentiates between planets and starsBattle objective renderer changes: - Fixed pop-in issue when objective is at the very edge of radar - Added a slight tinge to the center of the objective diamond - Changed render order to be drawn below other combat entitiesCombat readiness renderer changes: - Bar is dimmed until you have started losing combat readiness - Remaining peak CR timer is shown as a white line down the middle of the barCombat ship renderer changes: - Separated ship and shield rendering - Increased transparency of shields - Added smoothing to shields (might cause artifacts on some cards, let me know) - Bumped default shield segment count from 18 (?!) to 64 - Transparency of ship contacts is based on the alpha of the actual sprite - Ships with custom right click ship systems won't be momentarily transparent on the radar when using them now (ex: Exigency Incorporated) - Fighters taking off or landing on a carrier should fade in/out - Removed "phasedShipAlphaMult" setting, added "minShipAlphaMult" (ships with 0 alpha will be completely invisible regardless of this setting) - Polygon triangulator is now a config file option, added the other Slick2D triangulator implementations - Fixed bug causing shields to have the wrong number of segments - Bumped default fighter contact scaling from 175% to 225% actual size - Use sprite size instead of collision radius for calculating fighter size (this should fix the issue with shield drones and their oversized radius) - Fixed issue where a fighter's shields weren't being scaledMissile renderer changes: - Uses a sprite now, should look much smoother, sprite shows facing of missile - Differentiates between missiles and flares - Missile contacts are the same size at every zoom level - New settings: "missileContactSize" and "flareContactSize"

Since this last update, the combat radar seems basically unusable for me at the widest zoom (least zoomed-in) setting. Anything smaller than a cruiser amounts to a small sliver of pixels, with frigates being like 5x2. I don't recall it being that way in the previous version, but I don't see anything in the changes that would explicitly cause it. My screen resolution is horrid by today's standards at 1280x800, so I can't complain too much.

On that note, is there a way to scale the whole interface? I feel like I could almost double the size of the radar and not have it particularly in the way.

Logged

It is law that any specific ship you want will not be available. If it is available, it will be gone by the time you're capable of buying it.

Since this last update, the combat radar seems basically unusable for me at the widest zoom (least zoomed-in) setting. Anything smaller than a cruiser amounts to a small sliver of pixels, with frigates being like 5x2. I don't recall it being that way in the previous version, but I don't see anything in the changes that would explicitly cause it. My screen resolution is horrid by today's standards at 1280x800, so I can't complain too much.

Nothing has changed regarding ship contact size (aside from fighters, which should be larger). As a last resort you can set "simpleMode" to true in radar_settings.json to draw all ships as triangles, which should make them easier to see. Future updates will hopefully make ships more decipherable at wider zooms.

Quote

On that note, is there a way to scale the whole interface? I feel like I could almost double the size of the radar and not have it particularly in the way.

Not in the current version; the radar circle diameter is hard-coded to be 1/5th the height of the display. Every component automatically scales to the radar's size, so it'd be trivial to add a setting to change this. Expect one in the next version.