Jump to content

Radar simulator


Tete omar

Recommended Posts

Hello MTA folks!

I would like to introduce my new highly customizable radar simulator that I've always wanted to make since i knew about MTA and began learning how to script.

And well, considering the fact that i may be inactive for a very long time in the next few days for education purposes, i decided to show everyone one of my favorite scripting works.

I know it's not that useful, but it was a dream that I always wanted to become true in MTA.

Enjoy the video!

Images

eRpeDbs.png

XZ52V5N.png

PnT4i6s.png

kcwdH97.png

Detailed Description About the Script

This is basically the idea of how this script works

r9GBsm1.png

that aint pizza!

A radar has it's own position in the world, it's own radius, height, etc. It detects elements inside a specific range at a fixed time and reports them to players viewing (syncing) it on the screen layout. Each element has it's own color shown in the DX layout when detected so that one could distinguish between elements. Detectable elements are players (red), vehicles (white) and peds (blue).

This script was entirely made based on the idea that it will be used by scripters, so only advanced users may understand this. The radar script counts basically on MTA elements. Each radar made can be accessed by it's element. Each element has it's own data internally stored within the script. A radar can be shown to a player by syncing it to them, either by inserting them in a table that will be passed as an argument to the creator function or by using a function. Any server-side changes made to a radar will be immediately synced to the players syncing this radar. A player can sync multiple radars at once. The script also provides security for it's users. Every exported function is checked for any potential errors before it's executed.

Customizable Features

  • Ability to change the radius of the detection
  • Ability to change the height (could be tubular/not having a specific height)
  • Ability to change the speed of the detection (rotation speed)
  • Ability to sync/desync a radar to a player
  • Ability to let the radar only detect elements with certain types
  • Ability to change the radar's layout screen position
  • Ability to change the radar's layout screen size
  • Ability to change the radar's layout alpha
  • Ability to change the radar's layout properties (the following is a list of the changeable properties)
    • the color of the rotating line
    • enabling/disable fading effect
    • the color of the fading effect
    • enabling/disabling the detection sound
    • the volume of the detection sound
    • the color of the detected player in the layout
    • the color of the detected vehicle in the layout
    • the color of the detected ped in the layout

    [*]Ability to change the visibility of the layout

    [*]Ability to enable/disable the development mode (draws the structure of the radar in the world)

NOTE: The color here represents the side (server/client) in which these features are changeable.

Download

I regret to tell you that it's just for show. I might upload it publicly at any time. Honestly, the reason why I'm so hesitant about giving it out is that it took me so long to get to this level of scripting skill and the core idea of how this can be done. If you're so determined on downloading it though, we can negotiate the price on PM. Please note that i may not reply instantly or might not reply at all for a long time because like what i stated earlier, i will be very busy and sorry for that in advance.

Link to comment
  • 1 month later...
  • 1 year later...
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...