Skip to content

Forevener/aradar

 
 

Repository files navigation

aradar v1.2

Description

This addon for GZDOOM provides an onscreen radar. The radar is a recreation combining the features of Earth Defense Force 4.1, Earth Defense Force 5, and Earth Defense Force: Iron Rain.

The mod is designed to be universal, so simply load it alongside any other mods to begin using it.

Credits

  • All code in this mod falls under the attached LICENSE.
  • All images in the graphics/ directory are by arookas.
  • alert.flac is by Yuke's and ripped from Earth Defense Force: Iron Rain.

This mod wouldn't be possible without these wonderful folks:

Greyfalll Accensusphantombeta
support / testing scripting help

Features

The radar provides various indicators and displays them relative to the player's view. The player's position is at the center of the radar, with north in front of the player.

Blips

A blip is a colored circle representing a particular actor. Blips will usually appear once they enter line of sight for the first time; for monsters, they also appear once the monster has woken up from gunfire. If a blip is beyond the visible distance of the radar, it will change into a pointed arrow along the edge.

The table below describes the various colors of blips:

Default Color Target Technical
Red Living monsters Has ISMONSTER and COUNTKILL flags.
Blue Living allies Has FRIENDLY and SHOOTABLE flags.
Yellow Key items / interactive objects Derived from Powerup or Key, or has USESPECIAL or BUMPSECIAL flags.
Green Regular items Derived from Inventory and has no COUNTITEM flag.
Magenta Collectible items Derived from Inventory and has COUNTITEM flag.
White Objects Has either SHOOTABLE or FRIENDLY flag (but not both).

Pips

In multiplayer, other players will be represented by pips (player blips). These are larger circles marked with the first letter of the player's name. A pip will display in the respective player's profile color.

Blots

When a player dies, a light-red blot will appear for a few seconds in the area where he or she died.

Field of View

The bright region in the radar indicates the player's current field of view. Any indicators such as blips inside this region will be in front of the player in the 3D view.

Altitude

When a particular indicator (blip, pip, or blot) is above or below the player, it will display higher or lower on the radar. For blips and pips, a vertical line will indicate the relative altitude. This feature can be turned off in the settings.

Map Area

The edges of the map will be displayed as an outlined red box on the radar.

Alert

When a notable amount of red blips (monsters) appear in a short period of time, an audio indicator will play. This indicator can be turned off and the volume adjusted in the settings.

Customization

This addon provides many options. The settings are located in a dedicated submenu under HUD Options>Radar Options. You can turn the radar on/off, change the appearance, and control specific features:

Option Description
Display position Controls which corner of the screen to display the radar, or turn off the radar entirely.
Enable in deathmatch Enables players to see the radar even in deathmatch. This is a host setting and cheats must be enabled to turn this on.
Draw under HUD Whether the radar displays under or over existing HUD elements.
Radar scale Global display scale of the radar and indicators.
Radar transparency Radar's transparency (alpha channel) to tune its intrusiveness.
Radar X offset Horizontal offset of the radar display, in screen pixels. Positive values move radar towards the center of the screen.
Radar Y offset Vertical offset of the radar display, in screen pixels. Positive values move radar towards the center of the screen.
Blip types Enables/disables specific radar blip types.
Blip colors Allow the user to customize colors for each blip type.
Show blip altitude Turn this off to hide altitude indicators. This is useful for smaller screens.
Show respawned items If sv_itemrespawn is enabled, items are allowed to reappear on the radar after respawning. Turning this off will keep the item's blip hidden after being picked up the first time. This option can help clean up the radar for larger maps with lots of items.
Alert volume Changes the volume of the alert sound. Set to zero to turn the feature off entirely.

About

Universal radar addon for GZDOOM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors