[Include] UICompass
#1

This include designed to implement the compass in PUBG-style. It displays the current direction including the three previous directions and subsequent direstion.

All locations in a scale are multiple to the maximum step of the MAX_UICOMPASS_STEP. The direction is displayed with the interval. For example, in [41 - 47] will bring 45. Only supported with odd number of TD!

The implementation of the TD on your side.


Documentation:

RoundCompassDirection - rounds the direction to a multiple of 'round'.
PHP Code:
RoundCompassDirection(Float:angleround);
//Float:angle - the current player's direction
//round - makes the number multiply to the specified value 
CreateCompassString - creates a line with the player's direction.
PHP Code:
CreateCompassString(angleround);
//angle - the player's direction, obtained from RoundCompassDirection
//round - makes the number multiply to the specified value 
CompassHeadingNorth - determines which of the TD will be displayed "N".
PHP Code:
CompassHeadingNorth(angle);
//angle - the player's direction, obtained from RoundCompassDirection 
Video:

This is my implementation


https://youtu.be/BCsdpoDG4Xg


Defines:

DirectivesDefaultDescription
MAX_UICOMPASS_TD7The amount of TD that will be used in Your compass
MIN_UICOMPASS_STEP5The minimum step of the compass
MAX_UICOMPASS_STEP15The maximum step of the compass

GitHub:
Reply
#2

wow good
Reply
#3

That looks a lot like PUBG's doesn't it? I'm guessing this was inspired by the game?

EDIT:
Quote:

This include designed to implement the compass in PUBG-style. It displays the current direction including the three previous directions and subsequent direstion.

Didn't see this, my apologies.

Nice one, btw. Advanced.



EDIT2: Would recommend this to TDM scripts such as CoD. Can be for Roleplay, but wouldn't be fit for me.
Reply
#4

Unique, love how the forum getting these extraordinary releases nowadays, good job +rep.
Reply
#5

Quote:
Originally Posted by NealPeteros
View Post
Didn't see this, my apologies.
I'm working on it. That's the sketch.
Quote:

The implementation of the TD on your side.

Reply
#6

This is my implementation


https://youtu.be/BCsdpoDG4Xg
Reply
#7

Great job
Reply
#8

And a similar one's in Assassin's creed origins
good job!
Reply
#9

Damn, well done!
Reply
#10

Someone can create a Filterscript with this compass 100% functional? i'm having a lot of difficulties to do it
Reply
#11

Quote:
Originally Posted by Lovejoy
Посмотреть сообщение
Someone can create a Filterscript with this compass 100% functional? i'm having a lot of difficulties to do it
There's an example script in the links.
Reply
#12

I'm new at this and it's hard to leave functional
Reply
#13

Quote:
Originally Posted by Lovejoy
Посмотреть сообщение
I'm new at this and it's hard to leave functional
Maybe you can explain to OP what difficulties are you having.... Maybe he can help you with them...
Reply
#14

I need to create SetTimerEx, KillTimer and paste the example code in the gamemode, only that?
Reply
#15

https://github.com/m1n1vv/UICompass/issues/1

I don't know what can I do with this so far.

Can you share your implementation?
Reply
#16

https://imgur.com/Y6xJ9hO
Reply
#17

Quote:
Originally Posted by iLearner
Посмотреть сообщение
https://github.com/m1n1vv/UICompass/issues/1

I don't know what can I do with this so far.

Can you share your implementation?
It's pretty easy to set it up yourself.

SPOILER: Just create the textdraws with your desired positions.
Reply
#18

Quote:
Originally Posted by iLearner
Посмотреть сообщение
https://github.com/m1n1vv/UICompass/issues/1

I don't know what can I do with this so far.

Can you share your implementation?
Fixed 11 days ago
Reply
#19

Nice work.

Quote:
Originally Posted by m1n1vv
Посмотреть сообщение
Fixed 11 days ago
That's the Example. ILearner mean to have a filterscript which can be plug n play.
Reply
#20

I did like to use this but I am having problems figuring it out on how to use it besides the example given on the thread itself, any heads up or clues?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)