Search found 305 matches

by crisman
Sun Feb 03, 2013 2:56 am
Forum: Modding
Topic: need help ' onUseItem '
Replies: 13
Views: 8517

Re: need help ' onUseItem '

Interesting, if there are some weird things regarding pressure plates I'd like to know it. :) I bumped my head so hard to solve the stairs-pits glitch (I cannot figure out how to know when the party is changing level by falling/using stairs, so I had to do a walkaround)... But I'm trying several tim...
by crisman
Sun Feb 03, 2013 2:40 am
Forum: Modding
Topic: [solved] This is very frustrating!
Replies: 7
Views: 6005

Re: This is very frustrating!

I'm trying your script, but it's working fine. I'm ignoring the code inside the square parenthesis. I place 3 items with the same weight in the first 3 alcoves and the door opens. Maybe there's something odd with some items? Which items are you using?? PS you don't have to do all those controls, you...
by crisman
Sat Feb 02, 2013 11:53 pm
Forum: Modding
Topic: need help ' onUseItem '
Replies: 13
Views: 8517

Re: need help ' onUseItem '

I think setPosition is used for the teleport entity itself. For the pressure plate that's not true, they will be pressed. But you''re right about the side effects (I know them well since I'm working on a co-op based dungeon and those problems gave me a lot of trouble at the beginning :lol: ) If a sc...
by crisman
Sat Feb 02, 2013 8:51 pm
Forum: Modding
Topic: No empty flask after using a potion?
Replies: 5
Views: 4072

Re: No empty flask after using a potion?

That's exactly what I was thinking...
The weird thing is it's the first time I notice that, and I have plenty of modded potions...
Am I too much distracted, or it's a new bug of a recent update?...
Anyway with this workaround it won't bother anymore me if it's a bug or not :mrgreen:
by crisman
Sat Feb 02, 2013 8:28 pm
Forum: Modding
Topic: No empty flask after using a potion?
Replies: 5
Views: 4072

Re: No empty flask after using a potion?

Many thanks, that did the trick ;)
by crisman
Sat Feb 02, 2013 7:53 pm
Forum: Modding
Topic: No empty flask after using a potion?
Replies: 5
Views: 4072

No empty flask after using a potion?

I just realize now none of my modded potions spawn an empty flask after using them. A simple example, an antivenom potion casting a poison shield after drinking it. my code is: defineObject{ name = "potion_cure_poison", class = "Item", uiName = "Antivenom", model = &quo...
by crisman
Sat Feb 02, 2013 7:43 pm
Forum: Modding
Topic: need help ' onUseItem '
Replies: 13
Views: 8517

Re: need help ' onUseItem '

I think it should be something like: onUseItem = function (self, champ) party:setPosition(X, Y, F, L) --where X and Y are the coordinates, F is facing, and L is the level. return true --return false if you don't want the item to be consumed after using it end EDIT: if it works it will be without the...
by crisman
Sat Feb 02, 2013 3:25 am
Forum: Modding
Topic: Everything is scriptable
Replies: 38
Views: 25495

Re: Everything is scriptable

Ohhh that's great!!! :D
A really good news, I was hoping for this, it doesn't bother me if it's going to be just for an hypothetical log2 :)
Great work!!
by crisman
Wed Jan 23, 2013 6:23 pm
Forum: Modding
Topic: Scriptig question on alcoves.
Replies: 5
Views: 3732

Re: Scriptig question on alcoves.

For adding all of your scrolls in all your alcoves in one script, I did something like this: First of all, let's say your alcoves are named like alcove1, alcove2, alcove3, ..., alcove11, and so on. For this example I will use 3 alcoves. function addScroll() local texts = { "Hello, this is the f...
by crisman
Tue Jan 22, 2013 7:36 pm
Forum: Modding
Topic: [Assets] Extra Lanterns Pack
Replies: 10
Views: 8777

Re: [Assets] Extra Lanterns Pack

They really look impressive!! :O
Insta-download.
Thanks for them!!! :D