Frictional Games Forum (read-only)
[MDL ED] How to make custom item stack in inventory? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [MDL ED] How to make custom item stack in inventory? (/thread-20844.html)



How to make custom item stack in inventory? - ClayPigeon - 03-21-2013

I solved my crashing problem Smile
Anyhow, now I am wondering, how do I make the custom item I made stack in the inventory?
For example, if a player picks 2 of the same item, the item will only take 1 inventory slot but it will have the number 2 written underneath the inventory image.


RE: Game crashes when using entity, level editor doesn't. - PutraenusAlivius - 03-21-2013

HPL.log please.


RE: Game crashes when using entity, level editor doesn't. - ingedoom - 03-21-2013

Does it rapport any issues? Or just closes the game?


RE: Game crashes when using entity, level editor doesn't. - ClayPigeon - 03-21-2013

Here you go:
ERROR: Unable to open config file 'C:/Users/AVI/Documents/HPL2/MaterialEditor.cfg'! Invalid filepointer returned!


RE: How to make custom item stack in inventory? - ClayPigeon - 03-21-2013

Changed subject.


RE: How to make custom item stack in inventory? - ClayPigeon - 03-22-2013

Bump.


RE: How to make custom item stack in inventory? - The chaser - 03-22-2013

They did this thing in Killings of Altstadt. You may want to check what they did Wink


RE: How to make custom item stack in inventory? - ClayPigeon - 03-22-2013

(03-22-2013, 01:43 PM)The chaser Wrote: They did this thing in Killings of Altstadt. You may want to check what they did Wink

Actually it was pretty complicated. He made different inventory picture for each and every stack amount. E.G: A picture for 100, 250, 300...

If that's the only way I'm gonna pass.