#Mining & Smelting

1 messages · Page 1 of 1 (latest)

warm grove
pastel grail
#

FUCK YESS!!!!!!

quasi sandal
#

ideas was made by me so im the reason why this is so peak

#

use code riot to save 1% Prayge

simple portal
#

a replacement for jim-mining? fucking ok daddy

pastel grail
#

FRRR

soft silo
#

9 minute preview

#

...

pastel grail
#

Time to ditch jim lol

soft silo
#

😭

warm grove
#

hope yall like it pogslide

simple portal
haughty geyser
#

now someone needs to make a prop thing to go with it

#

so can have a true rpg mining

quasi sandal
#

wait does it support K4mb1 map yet or no

#

i cant read

haughty geyser
#

reading is hard

haughty geyser
#

though i probably would change that mining animation you got.

#

I dislike it.

#

my favorite is using large weapon animation set

bronze raft
#

i though the pickaxe as weapon sadCat

haughty geyser
#

welp

quasi sandal
haughty geyser
#

sounds like too much effort to make work

bronze raft
warm grove
#

gimmie a sec ill post it here

#

for anyone using k4mb1 mining cave, this will be really useful. all the coords are correct for each of the zones, youd just have to create all the necessary items, etc etc or whatever you wanna do with it, should give you a nice head start tho

haughty geyser
#

ooohhh

#

Thats neat

warm grove
haughty geyser
#

ah i dont even have one that has sound

#

just looks better imo

haughty geyser
#

it uses the baseball bat animation

#

this, i think looks better
anim = {dict = 'melee@large_wpn@streamed_core', clip = 'car_down_attack'}, prop = {bone = 57005, model = 'prop_tool_pickaxe', pos = vec3(0.07, -0.125, -0.08), rot = vec3(70.0, -20.0, 160.0)}

#

have to double check

#

which means loading up my server lol

#

idk if there is a way to play a sound

#

is there a way to tell what animations have sounds attached?

warm grove
#

i have no idea tbh

quasi sandal
haughty geyser
#

How

#

Tell me

quasi sandal
#

dont as

#

oh

#

u think i know things?

haughty geyser
#

Yes.

warm grove
#

dude, can someone who knows how to make props, create us a set of custom props we can include with this script 😭 thatd be sick

haughty geyser
#

yeah that would be dope

warm grove
#

really would be

haughty geyser
#

though i noticed you didnt have the gems from your old script

#

did hate them or something

quasi sandal
warm grove
#

LOL, i just wanted to simplify the items, with a base 4 metals and let people do it how they want from there

quasi sandal
#

@paper radish joobibeg

hollow sand
#

Good scriptt!!

haughty geyser
#

we need you to make mining nodes/rocks izzy

paper radish
#

Oh!

#

Ice never made a rock. Let me get out of bed.

#

I've

haughty geyser
#

ice.

paper radish
#

What do you need @warm grove

soft silo
#

ice

haughty geyser
#

YEAH GET OUT BED ITS 315

#

i am going to jump on your bed till you get up

paper radish
#

Pls no. Gentle

haughty geyser
#

lol i was trying to load my server and it was like "Cant conect to the sql" and im like "why"

#

turns out it turned itself off.

paper radish
#

😌🙏

warm grove
paper radish
warm grove
#

oh wait i see you already got that part, well theres coal, copper, iron, silver & gold, so you'd ideally want one for each of those, and then a "mined/depleted" version, that could just be 1 prop tho, if you make all the rocks the same, then only need one depleted ore so we could add a feature that swaps out the props and gives a "mined" effect, if that makes sense hahaha

haughty geyser
#

oh i see, flag makes it so it does fully body animation and not just upper

warm grove
#

like i love the idea of this, like a plain rock but then the "ore" sticks out of it, so you can see visually what it would be, and then obviously a depleted version, just the base rock

haughty geyser
#

kinda like warcraft where you can see the vein of mineral

warm grove
#

if you actually do custom props for this, ima have to send you virtual hugs and a cup of coffee 😄

haughty geyser
#

or minecraft i suppose

#

something like that

warm grove
#

yeah exactly, same idea

#

but, gta-style 😄

paper radish
#

I see.

#

Hm.

warm grove
#

i spent like a day tryna figure out how to create objects myself but i suck and didnt have the time, but id love to figure it out one day, would be the best mining script ever if was able to include some gorgeous custom props 😭

haughty geyser
#

but maybe try this as an animtion:

 anim = {dict = 'melee@large_wpn@streamed_core', clip = 'car_down_attack', flag = 1},
            prop = {bone = 57005, model = 'prop_tool_pickaxe', pos = vec3(0.07, -0.125, -0.08), rot = vec3(70.0, -20.0, 160.0)}
        },
paper radish
#

Lets see what I can do~

haughty geyser
#

i think it looks nicer. still has like a whiffing sound while mining

#

but i think looks better more like warcraft mining

warm grove
#

gotcha gotcha

haughty geyser
#

wonder how i can make it so its rotated a bit more forward. i dont fully understand rotation lol

cyan knot
#

btw why are u playing on such a shit resolution?

warm grove
#

LOL cuz im on 49" ultrawide, and i like to do everything windowed

#

i prob fkd up recording the yt video huh

dusty trail
#

This is fire def downloading

cyan knot
#

minor detail, event and callback names should be written in camel case.

so instead of this:

lib.callback.register('lation_mining:gettopplayers', function()
    return GetTopPlayers()
end)

do this:

lib.callback.register('lation_mining:getTopPlayers', function()
    return GetTopPlayers()
end)
haughty geyser
#

this is slightly better positioning on the pick

prop = {bone = 57005, model = 'prop_tool_pickaxe', pos = vec3(0.02, -0.125, -0.08), rot = vec3(70.0, -15.0, 160.0)}
warm grove
warm grove
simple portal
#

or pascal

dusty trail
#

after you mine the ores when the respawn they are on the grond

warm grove
haughty geyser
#

there is a bug i think, when you firget get there, they float

#

but if you restart while there, they sit on the groundd like they're suppose to

#

restart the script i mean

hearty gust
dusty trail
#

mhud

pastel grail
#

That is a cool hud

warm grove
# haughty geyser there is a bug i think, when you firget get there, they float

hm, interesting, can you try something? go to client/mining.lua line 111 youll see this:

-- Setup on mine enter
local function enterMine()
    inside = not inside
    for zoneId, zone in pairs(shared.mining.zones) do
        ores[zoneId] = ores[zoneId] or {}
        for oreId, _ in pairs(zone.ores) do
            spawnOre(zoneId, oreId)
        end
    end
end
``` replace it with this:
```lua
-- Setup on mine enter
local function enterMine()
    while not PlayerLoaded do Wait(0) end
    inside = not inside
    for zoneId, zone in pairs(shared.mining.zones) do
        ores[zoneId] = ores[zoneId] or {}
        for oreId, _ in pairs(zone.ores) do
            spawnOre(zoneId, oreId)
        end
    end
end
``` save, restart server/try again to recreate, and see if it still happens, its a long shot but just curious and cant test right this moment
dusty trail
haughty geyser
#

its uh by codem isnt it?

dusty trail
#

Si

haughty geyser
#

which actually doesnt make sense cuz im still travelling there and not tping

warm grove
#

hm okay, ill make a note of it and see whats good

jolly wasp
#

damn now my mlo i bought from k4 isnt used

#

unless i change to location of ore and the ore to the one in package

quasi sandal
jolly wasp
#

much love thanks i was shoock to see it not haha

warm grove
warm grove
#

2.0.1
Do not allow mining from vehicle
Fix multiple players mining same ore not getting item(s)

haughty geyser
#

hm. Personally would have left it as one ore for one person per rock

warm grove
# haughty geyser hm. Personally would have left it as one ore for one person per rock

it was designed to work independently for each player from the start. all ores are handled individually on each client and each player sees their own ores so two players can mine the same rock, this reduces conflicts and the annoyances of waiting for ores to respawn mined by other players if theres alot of players, etc etc - of course people can make it work the opposite way where all ores are synced the same on each client (one player mines an ore and then its gone for all) but thats not the direction ive went with this script

dusty trail
#

People complained immediately about 1:1 ratio on the output so I increased the yield per each lol though I agree with the design in general

#

Love the script though thank you

warm grove
#

thanks ❤️ enjoy

frigid pier
#

makes it 10x better that you can just swap the rocks out instantly

native abyss
#

following

quasi sandal
#

@native abyss u can just press the follow button instead of announcing it in every channel