specahawk

[REL] Better Hydra Missiles

Recommended Posts

UPDATE: This resource is now on version 1.1

This update includes:
* Hydra targetting actions now trigger MTA events.
* Only rendered vehicles are considered, making it scale much better on larger servers.
* Many bugs fixed (Such as errors spawning from a hydra being deleted via "destroyElement"
* The coloured boxes around the targets are now optional, and can be customized.
* A new feature called "focus" to show what the events triggered can be used for.
* Better colour choices.

New demo video is here: 

 

==========================================

The creator of this bug report (https://bugs.mtasa.com/view.php?id=9763) gave me some good reasons why MTA's default Hydra missile targetting system needs to be redone.

* GTA was not made for multiplayer, so bugs like the one he filed are present in the default targetting system
* It is not flexible, the server cannot change parameters such as lock-on time, angle of detection, range, cooldown etc.
* You cannot have team tagging, which would be a great feature. Don't you hate it when you're holding space your own clan mates get targetted?
* You cannot cycle through possible targets. The game decides which target you locked on to, and you can't change it unless you move around and do random stuff.

So, I decided to implement a custom Hydra targetting system with all these features, with help from Antix. (Thanks to Edeen, Slim, Meex, Ease and Khid for testing the script)

This is a drop in replacement for GTA's default missile targetting system, and only adds a few features (that can be nerfed) while remaining faithful to the original mechanics.

The resource is free (MIT License) and you can use it on your server if you want.
Download it and read the instructions for customizing it here: https://github.com/Luca-spopo/better-hydra-missiles

Once it gets used by enough servers and tested enough, maybe we can include this in the default resources as a replacement for the current hydra/hunter missile system.

Edited by specahawk
  • Like 6
  • Thanks 1

Share this post


Link to post
1 hour ago, ahmedo01 said:

Very good. Thanks for it. Is it synchronous between clients?

Yes, as much as projectiles in MTA are.

Share this post


Link to post

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.