#ox_target - Cursor Based Targetting

1 messages · Page 1 of 1 (latest)

warm quarry
novel ember
#

🐐

#

You want suk now or later?

tardy gale
#

This was a lot of extra steps to show off your shops script again kekW

warm quarry
#

I'm a marketing expert, what can I say

noble sedge
#

why are u always a floating head

tardy gale
#

he's transcended past the need for a body

spring crater
noble sedge
tardy gale
final basin
#

i thought you knew....

final basin
tardy gale
#

my entire life is a lie

#

goodnight

safe crescent
#

@final basin

#

Can you send me the target system? I like the design.

tardy gale
warm quarry
final basin
gilded dove
#

I think a good way to know which prop you're selecting without having to add a colored border to the prop could be to lower the transparency to 50%, for example stuckass

final basin
#

ive only found one slight annoyance, if you hove a smaller entity it somewhat make clicking on the menu options difficult, so you have to make sure the menu stays on top of the object or it closes when you hove over it

final basin
#

yea, on larger objects not a big deal, but on small stuff can for sure be frustrating, like registers or small props like weapons or other small props

scarlet radish
#

You should fix this by locking it to the prop that you press on while interacting

scarlet radish
#

Is there a way to add the radialmenu into this? So that you press on your character and get submenus with the functions in the radial?

#

Would be awesome

warm quarry
final basin
#

what a legend, flawless now

warm quarry
final basin
#

will do

gilded dove
hazy raft
#

this shit is hot, thank you Samuel!

gilded dove
#

I just found another bug: if you press the target activation key several times quickly, the cursor gets stuck on the screen okayGe

warm quarry
#

It's enabled by default 🙂

gilded dove
warm quarry
warm quarry
#

Is it an entity target

gilded dove
warm quarry
gilded dove
#

I'm going to try other things to see if the same thing happens

warm quarry
gilded dove
#

When trying to interact with a polyzone, the error always occurs

#

its weird Agreeing

warm quarry
gilded dove
#

Is not a resmon issue btw kek
(Sometimes a high resmon tick causes ox_target to not work as it should)

warm quarry
#

Looks like the stuff you target fades out a tiny bit

#

I don't know man, I'm not sure. If anybody else reports this issue, I can look into it further.

gilded dove
#

Yes, I modified it, although I also tried it without modification and it still happens. Don't worry, I'm just reporting the problem I'm having in case it happens to other people. You did a great job ❤️

final basin
warm quarry
#

Or well like it highlights the object but doesn't show the greyed out options?

final basin
#

yea so it highlights but doesnt show the target options

gilded dove
#

Yes, for me it's easier to replicate it by simply pressing the key and releasing it for half a second, then pressing it again

#

However, if you wait a little longer after releasing the target button, it usually works almost every time, so the problem must be in some timeout or loop

gilded dove
#

I think I fixed the problem; I changed 400 to 10 (or u can remove the timeout) to test it and it didn't happen anymore
path: ox_target\web\js\main.js

#

Another cool detail would be that when you place the mouse over something interactive, the mouse cursor would automatically switch to a gripping position okayGe

warm quarry
warm quarry
rain skiff
#

I had the same issues as above, but after this commit it seems to be working without issue.

gilded dove
#

Yep, all good atm okayGe

final basin
#

those bugs seem to be gone, good job! ill keep an eye out for anything else, and post here

gilded dove
#

(Sorry the image is so big; that's how screenshots on 4k monitors are taken)

tardy gale
#

When testing it out earlier i definitely noticed that if the prop itself is the object then it works really well but if the prop is not the actual object and the zone is infront of the prop then theres a slight issue

final basin
gilded dove
foggy fractal
#

not sure if anyone else has had this? somethings do nothing at all, just click and it does nothing, other things work fine though

#

this is the latest version too

warm quarry
foggy fractal
warm quarry
#

Like you click on an option in a list and it doesn't do the thing the option is meant to do.

warm quarry
foggy fractal
#

but checking new update now

warm quarry
#

It's flickering

#

Or you press left click

#

it then disappears

#

and immediately reappears again

#

not letting u click on any of the options

foggy fractal
#

when i left click, it immediately reappears again

spring crater
#

UGH JUST FIX IT SAMUEL

brisk birch
warm quarry
foggy fractal
#

its working now with the update you pushed before at distance 3.0

#

thank you for the help tho

warm quarry
#

Also with before at distance 3.0

#

You mean before this commit?

warm quarry
foggy fractal
warm quarry
humble lantern
#

If I replace the ox target I have with this one, would it work? frog_stare

final basin
tardy gale
#

bro pressed

final basin
#

ophhhh LOL

tardy gale
#

bro shaking and foaming at the mouth rn

ebon spruce
valid axle
#

One issue i'm having is not playing able to use cursor inside the lb-phone because of the target.

valid axle
final basin
#

hmm mnight beable to change that keybind on one of them

tardy gale
#

went to try yseries but my phone died so i gotta charge the battery real quick

tardy gale
#

okay works just fine with yseries 🙂

valid axle
#

Oh and ox_target submenus doesn't work in this version as well.

warm quarry
warm quarry
#

I can fix it tomorrow

warm quarry
valid axle
#

Example being, in the camera app.

#

Where it requires you to activate cursor mode.

#

And if you deactivate cursor mode, you can't activate it again, it's kind of weird.

warm quarry
#

Yeah I don’t really understand, kinda late right now and am on phone so prob just being braindead

#

Can’t really test it don’t have LB

warm quarry
#

I’ll check tomorrow

valid axle
#

Cheers.

vale pecan
tardy gale
#

it does with yseries as well but im still able to switch between the two

vale pecan
#

i mean it works but you gotta press alt twice for phone cursor come back

final basin
brisk birch
#

dont upload random zips especially rar

#

make a PR if there is something wrong

foggy fractal
warm quarry
warm quarry
#

@valid axle @tardy gale @humble lantern @vale pecan @brisk birch

vapid basin
#

ajajaj gengbang ping

#

halo why i cant write it with a ?

sullen karma
spice falcon
#

Wheny click on a target option you need to reopen the menu for it to work this is a problem for opening dorcs etc.

warm quarry
spice falcon
#

For example

#

you use the target

#

to open a door on a car

#

you need to close the target menu and press alt again

#

to open another door

warm quarry
spice falcon
#

Thank you

warm quarry
inner yarrow
warm quarry
#

running like 7 dispatch scripts

inner yarrow
empty hull
# warm quarry

For example, if I have door closing via ox target, etc., I click on option... I don't know how to use it anymore because nui probably goes to false...

Maybe it would be great to add it as an option "multiple options" or something like that... so that I don't have to put alt after each one...

empty hull
empty hull
#

i mean that.

#

if you use one... you cant use another one without call again nui

#

its not working with right click... ☝️

warm quarry
#

I've already spent ages working on all the bugs, I'm not going to continue fixing stuff for it, sorry.

tardy gale
#

Its a good thing its an open source project that anyone can fix things on 🙂

warm quarry
# empty hull

Try again now, should work. There's also a new convar that you can enable if you want.

valid axle
warm quarry
#

Sub menus work perfectly fine

#

I'll test them again in a sec

warm quarry
novel ember
humble lantern
bronze basin
warm quarry
warm quarry
tardy gale
#

Doesn't it update itself?

bronze basin
kind hazel
#

thanks nice release

true elbow
true elbow
valid axle
true elbow
rain skiff
ashen viper
#

can we make it like "when targeting and holding right click, be able to move the camera" as well? 🙂
that would be a cool feauture i think..

ashen viper
tardy gale
#

i dont think he was kidding. bro really thought he was cooking with that one

wide hedge
#

How do i add the outlined props?

wide hedge
#

@here

rain skiff
#

Read the readme