#Mining & Smelting
1 messages · Page 1 of 1 (latest)
FUCK YESS!!!!!!
a replacement for jim-mining? fucking ok daddy
FRRR
Time to ditch jim lol
😭
hope yall like it 
i like you, will you go out with me?
now someone needs to make a prop thing to go with it
so can have a true rpg mining
reading is hard
though i probably would change that mining animation you got.
I dislike it.
my favorite is using large weapon animation set
i though the pickaxe as weapon 
welp
there is one out there thats free
sounds like too much effort to make work
where maybe can marge them
it does, i have a list of coords n such for spawning props in all the rooms, etc, but it still would only just delete the prop and not use the empty version one yet
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
yeah if you know of a better one (the sound on it is atrocious), lemme know 
u cute bro
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?
i have no idea tbh
there is
Yes.
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
yeah that would be dope
really would be
though i noticed you didnt have the gems from your old script
did hate them or something
@rustic peak chop chop lil bro
LOL, i just wanted to simplify the items, with a base 4 metals and let people do it how they want from there
@paper radish 
Wha
Good scriptt!!
we need you to make mining nodes/rocks izzy
ice.
What do you need @warm grove
ice
Pls no. Gentle
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.
😌🙏
oh i was suggesting someone to create custom props for this script so we can include them and then riot tagged you 😄
si. am artist. what do you want?
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
oh i see, flag makes it so it does fully body animation and not just upper
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
kinda like warcraft where you can see the vein of mineral
if you actually do custom props for this, ima have to send you virtual hugs and a cup of coffee 😄
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 😭
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)}
},
Lets see what I can do~
sweet, yeah ill try it out
i think it looks nicer. still has like a whiffing sound while mining
but i think looks better more like warcraft mining
gotcha gotcha
wonder how i can make it so its rotated a bit more forward. i dont fully understand rotation lol
LOL cuz im on 49" ultrawide, and i like to do everything windowed
i prob fkd up recording the yt video huh
This is fire def downloading
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)
also, if you're using lib.requestModel there's no need for while not HasModelLoaded(model) do Wait(0) end
https://github.com/IamLation/lation_mining/blob/main/client/mining.lua#L86-L87
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)}
oh i know, i just recently preferred not too
this, i never knew that, good to know thank you
yea tell him snakecase is better
or pascal
doesnt look like they are on the grond
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
That's a cool hud, what is it
mhud
That is a cool hud
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
its pretty solid it took some time to get use to
its uh by codem isnt it?
Si
doesnt seem to help? idk if it cuz i noclip to the spot
which actually doesnt make sense cuz im still travelling there and not tping
hm okay, ill make a note of it and see whats good
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
this mlo will be supported automatically in a future update
much love thanks i was shoock to see it not haha
@jolly wasp all the coords and all are right here
2.0.1
Do not allow mining from vehicle
Fix multiple players mining same ore not getting item(s)
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
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
thanks ❤️ enjoy
makes it 10x better that you can just swap the rocks out instantly
following
@native abyss u can just press the follow button instead of announcing it in every channel

