UICompass -
m1n1vv - 24.12.2017
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:angle, round);
//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(angle, round);
//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:
Directives | Default | Description |
MAX_UICOMPASS_TD | 7 | The amount of TD that will be used in Your compass |
MIN_UICOMPASS_STEP | 5 | The minimum step of the compass |
MAX_UICOMPASS_STEP | 15 | The maximum step of the compass |
GitHub:
Re: UICompass -
rfr - 25.12.2017
wow good
Re: UICompass -
NealPeteros - 25.12.2017
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.
Re: UICompass -
RogueDrifter - 25.12.2017
Unique, love how the forum getting these extraordinary releases nowadays, good job +rep.
Re: UICompass -
m1n1vv - 25.12.2017
Quote:
Originally Posted by NealPeteros
Didn't see this, my apologies.
|
I'm working on it. That's the sketch.
Quote:
The implementation of the TD on your side.
|
Re: UICompass -
m1n1vv - 25.12.2017
This is my implementation
https://youtu.be/BCsdpoDG4Xg
Re: UICompass -
Barnwell - 25.12.2017
Great job
Re: UICompass -
StrikerZ - 26.12.2017
And a similar one's in Assassin's creed origins
good job!
Re: UICompass -
cuber - 26.12.2017
Damn, well done!
Re: UICompass -
Lovejoy - 05.01.2018
Someone can create a Filterscript with this compass 100% functional? i'm having a lot of difficulties to do it
Re: UICompass -
rfr - 05.01.2018
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.
Re: UICompass -
Lovejoy - 05.01.2018
I'm new at this and it's hard to leave functional
Re: UICompass -
HeLiOn_PrImE - 05.01.2018
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...
Re: UICompass -
Lovejoy - 05.01.2018
I need to create SetTimerEx, KillTimer and paste the example code in the gamemode, only that?
Re: UICompass -
iLearner - 05.01.2018
https://github.com/m1n1vv/UICompass/issues/1
I don't know what can I do with this so far.
Can you share your implementation?
Re: UICompass -
Lovejoy - 05.01.2018
https://imgur.com/Y6xJ9hO
Re: UICompass -
Logic_ - 05.01.2018
Quote:
Originally Posted by iLearner
|
It's pretty easy to set it up yourself.
SPOILER: Just create the textdraws with your desired positions.
Re: UICompass -
m1n1vv - 06.01.2018
Quote:
Originally Posted by iLearner
|
Fixed 11 days ago
Re: UICompass -
HydraHumza - 06.01.2018
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.
Re: UICompass -
JaKe Elite - 10.03.2018
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?