Re: [Asset] Coins
Posted: Fri Oct 31, 2014 7:01 pm
nope, thats native to LoG2, but its been moved to a particle effect.
What i don't understand, is that in the Log Tome of Jgwman, descriptions seems not having issues and almost, in your first version of coins, not having neither. Difference between them is the particle effect.Prozail wrote:nope, thats native to LoG2, but its been moved to a particle effect.
Code: Select all
defineObject{
name = "gor_coin_gold",
baseObject = "base_item",
components = {
{
class = "Model",
model = "mod_assets/grim_vsword/models/items/gor_coin_gold.fbx",
},
{
class = "Item",
uiName = "Gold Gor Coin",
description = "Golden Coin of Gor",
gfxAtlas = "mod_assets/grim_vsword/textures/gui/germ_icoatlas.tga",
gfxIndex = 13,
stackable = 1,
weight = 0.1,
stackSize = 1,
multiple = 1,
traits = { "coin" },
},
{
class ="Particle",
particleSystem = "glitter_gold"
}
}
}
Code: Select all
defineObject{
name = "gor_coin_gold",
baseObject = "base_item",
components = {
{
class = "Model",
model = "mod_assets/grim_vsword/models/items/gor_coin_gold.fbx",
},
{
class = "Item",
uiName = "Gold Gor Coin",
gfxAtlas = "mod_assets/grim_vsword/textures/gui/germ_icoatlas.tga",
gfxIndex = 13,
weight = 0.1,
stackable = 1,
stackSize = 1,
multiple = 1,
traits = { "coin" },
description = "Golden Coin of Gor",
},
{
class ="Particle",
particleSystem = "glitter_gold"
}
}
}
Code: Select all
defineObject{
name = "user_food_water_full",
baseObject = "base_item",
components = {
{
class = "Model",
model = "mod_assets/models/items/user_food_water_full.fbx",
},
{
class = "Item",
uiName = "Water",
gfxAtlas = "mod_assets/textures/gui/water_bottle_icon.tga",
gfxIndex = 1,
weight = 0.7,
multiple = 1,
traits = { "food" },
description = "A water bottle",
},
{
class = "UsableItem",
nutritionValue = 200,
emptyItem = "user_food_water_empty",
onUseItem = function(self,champion)
champion:regainEnergy(20)
champion:regainHealth(100)
end
},
}
}
Code: Select all
defineMaterial{
name = "user_food_water_full",
diffuseMap = "mod_assets/textures/items/user_food_water_full_dif.tga",
specularMap = "mod_assets/textures/items/user_food_water_full_spec.tga",
normalMap = "mod_assets/textures/items/user_food_water_full_normal.tga",
doubleSided = false,
lighting = true,
alphaTest = false,
blendMode = "Opaque",
textureAddressMode = "Wrap",
glossiness = 10,
depthBias = 0,
}
Grimfan, i'll see for apple textures, but can you give me a little screenshot of the issue ? ( I remember have troubles with texturing the apple under LoG1, so I tested for LoG2 and seems no problem, but got and idea of where it coming )Grimfan wrote:By the way, I tested the food package in another mod (this time unaltered) and the apples textures are still failing (everything else is fine). Odd.