#LethalScan

71 messages · Page 1 of 1 (latest)

light otter
#

I honestly have no clue why I made this. Barely works. The code is terrible and mostly stolen from Leximon's Spelunker mod. Does anyone actually want this?

#

Forgot to mention but it's supposed to be kinda like the lethal company scan feature? would be more like it if I finish

sand sierra
#

yes

limpid peak
#

xray?

light otter
light otter
#

decided to optimize it a bit, went from like 20ms to idk like 1 ish but it depends on a lot

last dock
#

What version is this mod for?

plain nova
#

I really like this. the animation looks pretty smooth and it would work well for a scanner mod that scans for specific blocks (or tags). very cool

light otter
sacred dragon
#

why does it jitter?

#

like the expansion/compression

#

is that intentional

#

oh is it because you're spamming the keybind?

last dock
light otter
last dock
sacred dragon
#

1.19.3 is such a non standard version lol

light otter
#

Maybe we’ll see

last dock
#

k

light otter
#

This is the best I think that I'm capable of doing related to checking if a block is visible

last dock
#

Nice

timber panther
#

I like it

#

I'd like to use it in case it would scan only on bind and stay for a while and without always blinking animation

light otter
#

The idea is to have it bound to right click and only scan if you have aren't targeting a "right-clickable" block and aren't holding an item with right click functionality(ex, a shovel on grass)

timber panther
#

oh wow than everything is just awesome

timber panther
light otter
#

oh god is that hard

timber panther
light otter
#

oh no

timber panther
#

u are not interacting with block

light otter
#

wut

timber panther
#

u are sending a packet which says what block u clicked

light otter
#

ah...

timber panther
#

and then server desides should u open crafting table screen or place a block next to it

light otter
#

so without breaking mod/server support I basically can't implement that? Not sure how to go about this then

timber panther
#

theoreticly u can make a list of every interactable block but it is too not professional and incompatible with some unusual server things

#

and incompatible with other mods too

light otter
#

Yep that's exactly what i mean by without breaking mod/server support :p

timber panther
#

but tbh right-click is not a good idea

light otter
#

Perhaps I just bind it to another key? That would kinda go against the mods general idea of it being like lethal company, alternatively I could just always do it

timber panther
#

i'd make it to scan on other key on keyboard not mouse

#

yeah yeahaeay ayh

timber panther
#

tbh i haven't played lethal company lol

light otter
#

Perhaps it could be okay on something like left alt 🤷‍♂️

timber panther
#

i didnt know it was exactly idea of right mouse button

light otter
#

Yeah so basically in lethal company, you can scan loot in front of you and it's a decently large enough part of the game.

timber panther
#

mb middle click?

light otter
#

oh that could work well

timber panther
#

yeah and of course make it rebindable

light otter
#

ofc

#

Yeah I think that's what I'll do then

timber panther
#

i will bind it to keyboead

light otter
#

thank you ❤️

timber panther
#

❤️ tiny_potato

light otter
# timber panther mb middle click?

Actually... What would we do about the select block functionality then... Maybe I just default to something like left alt and people can rebind it to whatever they want

timber panther
#

go ahead

#

do as u think it should be

light otter
#

🤷‍♂️

timber panther
#

@light otter Hi again. I was updating my mod and i'd like to share my experience.
Previously i said that there is no way to get is block interactable, but now it seems that i was wrong.
I remembered that in spectator mode crosshair is rendered only in case u are looking at mod or interactable block, so i desided to check it. And i found it, way to get is block interactable, sharing code on screenshot

#

So it looks like it tries to get a screen from a block and checks is it null

#

But even now u cannot predict what will server respond with, but i think it is not that bad and still useable

#

If anything i still think that a binded key is better than mouse, but just in case u would like to use it

light otter
#

Huh, does that work with something like buttons even?

timber panther
#

hmmm

#

i think no

light otter
#

Yeah, sadly me too

timber panther
#

they have no screen

light otter
#

exactly

#

Still interesting though thank you ❤️