Search found 19 matches

by Mebaru
Fri Oct 26, 2012 9:16 pm
Forum: Modding
Topic: How to remove item from container in party backback?
Replies: 8
Views: 6528

Re: How to remove item from container in party backback?

petri wrote:Thanks for the feedback! I've added Item:removeItem() to my todo list.
Great news, thanks!
by Mebaru
Fri Oct 26, 2012 1:39 pm
Forum: Modding
Topic: The Custom Alcove Thread. (Neikun, Batty and Crisman)
Replies: 353
Views: 307892

Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)

Neikun, brilliant idea! :) Thanks a lot!
by Mebaru
Fri Oct 26, 2012 1:53 am
Forum: Modding
Topic: How to remove item from container in party backback?
Replies: 8
Views: 6528

Re: How to remove item from container in party backback?

Iterating items for container in party backpack works ok. I can iterate through all items, I can add items to container. But I can't destroy items from it, alas. This seem to be a bug imho.
by Mebaru
Thu Oct 25, 2012 6:45 pm
Forum: Modding
Topic: How to remove item from container in party backback?
Replies: 8
Views: 6528

How to remove item from container in party backback?

Ok, as I wan't lucky to get any useful feedback on my previous topic on same subject, I try once more. I need to remove a specific item from party equipment slots/backpack. Item should be removed, if it is in container too as well. On my tests, items in containers are not removed properly. You can r...
by Mebaru
Wed Oct 24, 2012 5:46 pm
Forum: Modding
Topic: How to remove item from container in party backback?
Replies: 8
Views: 6528

Re: item:destroy() fails on item from container in backpack

Champion:removeItem() will remove container, not item in this container.
by Mebaru
Tue Oct 23, 2012 11:58 pm
Forum: Modding
Topic: How to remove item from container in party backback?
Replies: 8
Views: 6528

item:destroy() fails on item from container in backpack

Hello, stuck with weird problem. Party has a container in backpack and I want to destroy item in that container via item:destroy. The issue is item is not destroyed and on next iteration it crashes with "bad object" error. Quick example: for ii in ito:containedItems() do for j = 1, #fd do ...
by Mebaru
Fri Oct 19, 2012 2:24 pm
Forum: Modding
Topic: Correct dimensions/format images for cinematics?
Replies: 1
Views: 1784

Re: Correct dimensions/format images for cinematics?

Seems the problem was mipmaps missing. Saved to DXT5 with mimmaps and everything solved.
by Mebaru
Fri Oct 19, 2012 2:06 pm
Forum: Modding
Topic: Correct dimensions/format images for cinematics?
Replies: 1
Views: 1784

Correct dimensions/format images for cinematics?

Hello community :)
I have a .dds file with image I want to show in my start/end cinematics. The problem it isn't displayed when cinematic script is playing. I guess something wrong with it dimension or maybe DXT format. Also should it use mipmaps?
by Mebaru
Thu Oct 18, 2012 3:45 pm
Forum: Modding
Topic: Issue with custom sound (game crash)
Replies: 3
Views: 3216

Re: Issue with custom sound (game crash)

I've made a few test and game is crashing when sound is in stereo (though it works without problems in editor).
by Mebaru
Thu Oct 18, 2012 3:04 pm
Forum: Modding
Topic: Issue with custom sound (game crash)
Replies: 3
Views: 3216

Re: Issue with custom sound (game crash)

I second this! Game is crashing with custom sounds, while they are played without problems in dungeon editor preview.