Page 2 of 3
Re: [Asset] Coins
Posted: Thu Oct 30, 2014 10:19 pm
by Leki
Re: [Asset] Coins
Posted: Thu Oct 30, 2014 11:05 pm
by Faerghail
Thanks a lot for that , very good work

Re: [Asset] Coins
Posted: Fri Oct 31, 2014 11:02 am
by blob
Ohhh very cool shop. Things are coming up fast with modding for LoG2, this is super exciting!

Re: [Asset] Coins
Posted: Fri Oct 31, 2014 11:33 am
by The cube
We need a lock-like asset in which you can put multiple coins to to increment a counter to do something when you put x coins in, eg some sort of a slot machine.
I quite like the coins, but the ones leki linked to are excellent.
Re: [Asset] Coins
Posted: Fri Oct 31, 2014 12:41 pm
by Vice Dellos
... now i feel like we need a slot machine XD a lock that eats coins and then a lever to set it off then it spawns monsters in a 3x3 pattern holding any possible winnings you deserve
Re: [Asset] Coins
Posted: Fri Oct 31, 2014 3:14 pm
by Lark
Do these work with LoG2? I set up everything correctly, as far as I can tell. Most items don't show up for placement and the one new one I located crashed the editor on start. I must be doing something wrong...

-Lark
Re: [Asset] Coins
Posted: Fri Oct 31, 2014 3:54 pm
by Prozail
If you want to use the log1 assets you need to change a few things in the itemdefinitions. (the materials seem to be the same)
I'll give an example, this is the OLD definition
Code: Select all
defineObject{
name = "gor_coin_gold",
class = "Item",
uiName = "Gold Gor Coin",
model = "mod_assets/grim_vsword/models/items/gor_coin_gold.fbx",
description = "Golden Coin of Gor",
gfxAtlas = "mod_assets/grim_vsword/textures/gui/germ_icoatlas.tga",
gfxIndex = 13,
glitterEffect = "glitter_gold",
stackable = true,
weight = 0.1,
}
And this is the updated one
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"
}
}
}
Re: [Asset] Coins
Posted: Fri Oct 31, 2014 3:58 pm
by Lark
Thanks again, Prozail, you're the best! I think I've got it now and I'll attempt to convert them tonight. -Lark
Re: [Asset] Coins
Posted: Fri Oct 31, 2014 4:16 pm
by Prozail
There was a tyop in the post above, it's fixed now.. But i encountered something that might be a bug, "description" must come after anything related to stacking, otherwise the editor crashes with wierd errors.
Re: [Asset] Coins
Posted: Fri Oct 31, 2014 6:48 pm
by Doridion
Is the glitter_gold effect functionnal in LoG2 ? ( searching where could come the issue )
Germany created the glitter_gold effect, think it's not native in LoG1 or 2.