[Models] New created Models..

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
User avatar
germanny
Posts: 530
Joined: Sat Apr 07, 2012 10:52 pm
Location: Kiel, Germany

Re: [Models] New created Models..

Post by germanny »

Update to V 2.2 for custom asset pack!
Added Dungeon Master items: axe and waterskin.
The waterskin needs more coding - i dont know if it is possible to make it so that the full model is replaced by the empty after use.
And how can i use it more than once?
SpoilerShow
Image
DL:
Germannys Dungeon Master and Custom Assets -- a collection of items and weapons
DL: Germannys Dungeon Master and Custom Assets at Grimrock Nexus
Dungeon Master Resource Pack worker and passionated Beer drinker
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: [Models] New created Models..

Post by Neikun »

defineObject{
name = "water_flask",
class = "Item",
uiName = "Water Flask",
model = "assets/models/items/flask_full.fbx",
gfxIndex = 144,
consumable = true,
emptyItem = "flask",

onUseItem = function(self, champion)
playSound("consume_potion")
return true
end,
weight = 0.6,
}


Bolded elements are my guess.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
germanny
Posts: 530
Joined: Sat Apr 07, 2012 10:52 pm
Location: Kiel, Germany

Re: [Models] New created Models..

Post by germanny »

Thx Neikun, and do you know how i manage to use it 4x before empty?
Dungeon Master Resource Pack worker and passionated Beer drinker
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: [Models] New created Models..

Post by Neikun »

Wellll.
You could define Five different versions of the item representing number of uses left and have the greater uses verison emptyItem = the next less usages version.

Example,
Make water_flask_4, water_flask_3, water_flask_2, water_flask_1, water_flask_0 (Can you have an item named water_flask_1/4? that would be more legible)

So when you drink water_flask_4, the emptyItem would be
emptyItem= water_flask_3,

And if you drink water_flask_3, the emptyItem would be
emptyItem= water_flask_2,

This would happen until water_flask_0 which would be empty.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
germanny
Posts: 530
Joined: Sat Apr 07, 2012 10:52 pm
Location: Kiel, Germany

Re: [Models] New created Models..

Post by germanny »

Many thanks again, that sounds good!
I will test that now^^
Dungeon Master Resource Pack worker and passionated Beer drinker
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: [Models] New created Models..

Post by Neikun »

Good idea, I think it should work, but I can't test it.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
germanny
Posts: 530
Joined: Sat Apr 07, 2012 10:52 pm
Location: Kiel, Germany

Re: [Models] New created Models..

Post by germanny »

Yes, it does work! Great, i add for every use +250 food and + 5 energy.
Now i can work on at my DM fountain and find out, how to fill the waterskin there.

Well, i can do only one thing at a time - now i focused on modeling and graphics, there is no time to think about scripting.
So every help is very appreciated!

Hail you, Neikun^^
Dungeon Master Resource Pack worker and passionated Beer drinker
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: [Models] New created Models..

Post by Neikun »

I help any time I can
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
germanny
Posts: 530
Joined: Sat Apr 07, 2012 10:52 pm
Location: Kiel, Germany

Re: [Models] New created Models..

Post by germanny »

Update to V 2.3 for custom asset pack!
Added Dungeon Master item: Hardcleave
Thanks to Neikun the waterskin is working now - one can drink 4 times before empty - works like a charm^^
SpoilerShow
Image
DL:
Germannys Dungeon Master and Custom Assets -- a collection of items and weapons
DL: Germannys Dungeon Master and Custom Assets at Grimrock Nexus
Dungeon Master Resource Pack worker and passionated Beer drinker
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: [Models] New created Models..

Post by Neikun »

Glad to be a part of the pack I admire! =D
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
Post Reply