Hello!
Here's the pickaxe I promised to add here in my other thread (didn't bother to remake the textures though).
Image of the pickaxe in game:
Add these codes:
items.lua: (Feel free to change the stats

)
Code: Select all
defineObject{
name = "pickaxe",
class = "Item",
uiName = "Pickaxe",
model = "mod_assets/models/pickaxe.fbx",
gfxAtlas = "mod_assets/textures/customicons.tga",
gfxIndex = 0,
attackPower = 15,
accuracy = -15,
coolDownTime = 4.2,
description = "An old picaxe, but still somehow functioning. \nCould be used for mining...",
attackMethod = "meleeAttack",
attackSwipe = "vertical",
attackSound = "swipe_heavy",
impactSound = "impact_blade",
weight = 4.8,
}
materials.lua (sorry for the material quality)
Code: Select all
defineMaterial{
name = "pickaxe",
diffuseMap = "mod_assets/textures/pickaxe_diffuse.tga",
specularMap = "mod_assets/textures/pickaxe_spec.tga",
normalMap = "mod_assets/textures/pickaxe_normal.tga",
doubleSided = false,
lighting = true,
alphaTest = false,
blendMode = "Opaque",
textureAddressMode = "Wrap",
glossiness = 0,
depthBias = 0,
}
Download the model and textures:
Pickaxe via Mediafire and place them to the appropriate folders.
Hope you like it
Edit: Fixed the problem of item being white.