Search found 855 matches

by Zo Kath Ra
Tue May 25, 2021 2:41 pm
Forum: Modding
Topic: Wagtunes' Modding Questions
Replies: 187
Views: 35378

Re: Wagtunes' Modding Questions

Okay, I want to create a tome that, when used, kills the champion. What do I replace this code with? gameEffect = "Gain 5 skillpoints", onUseItem = function(self, champion) playSound("level_up") hudPrint(champion:getName().." gained 5 skillpoints.") champion:addSkillPoints(5) return true ** EDIT **...
by Zo Kath Ra
Sun May 23, 2021 8:41 pm
Forum: Modding
Topic: Wagtunes' Modding Questions
Replies: 187
Views: 35378

Re: Wagtunes' Modding Questions

wagtunes wrote:
Sun May 23, 2021 8:18 pm
Okay, next thing. Where can I get a list of effects that the game is capable of producing? I assume there are quite a few of them.
Download the asset pack, if you haven't already.
assets/particles/
by Zo Kath Ra
Sun May 23, 2021 8:39 pm
Forum: Modding
Topic: Wagtunes' Modding Questions
Replies: 187
Views: 35378

Re: Wagtunes' Modding Questions

If that's the case, what is the fx object for? It doesn't really seem to do anything on its own. There are no slots to enter any code or anything. You can place an "fx" object in the Dungeon Editor so you don't have to spawn it later. Then you can use FX:setParticleSystem(name) and other functions ...
by Zo Kath Ra
Sun May 23, 2021 7:24 pm
Forum: Modding
Topic: Wagtunes' Modding Questions
Replies: 187
Views: 35378

Re: Wagtunes' Modding Questions

Okay, I tried connecting the plate to this script. function spawnLight() spawn("fx",1,self.x,self.y,1,"effect") effect:setLight(1,0,0,20,7,10,true) effect:translate(0,2,0) end I did not set the plate to activate once. I stepped onto it twice and on the 2nd time the editor did give me an error for a...
by Zo Kath Ra
Fri May 21, 2021 3:29 pm
Forum: Modding
Topic: Wagtunes' Modding Questions
Replies: 187
Views: 35378

Re: Wagtunes' Modding Questions

Okay, I'm up to the part where I want to create one of those demon heads that shoot stuff out. I have gone to the script repository and I can't believe that there isn't one script on how to do this. It seems to be such a common part of the game. Can someone point me to a tutorial or video explainin...
by Zo Kath Ra
Thu May 20, 2021 2:49 pm
Forum: Modding
Topic: Wagtunes' Modding Questions
Replies: 187
Views: 35378

Re: Wagtunes' Modding Questions

Okay, I'm up to the part where I want to create one of those demon heads that shoot stuff out. I have gone to the script repository and I can't believe that there isn't one script on how to do this. It seems to be such a common part of the game. Can someone point me to a tutorial or video explainin...
by Zo Kath Ra
Mon May 10, 2021 3:37 pm
Forum: Modding
Topic: Wagtunes' Modding Questions
Replies: 187
Views: 35378

Re: Useful scripts repository

Isaac wrote:
Mon May 10, 2021 3:17 pm
I like LoG1 better, but prefer LoG2 scripting. The LoG2 engine can be used to make LoG1 style adventures.
I prefer everything about LoG2 :D
by Zo Kath Ra
Mon May 10, 2021 3:35 pm
Forum: Modding
Topic: Wagtunes' Modding Questions
Replies: 187
Views: 35378

Re: Useful scripts repository

That's actually a very good point. You know, before I retired (yes, I'm old LOL) I used to be a programmer for a medical billing software company. I was quite good. But it's been a long time and I'm rusty. But the bigger problem is learning a new language when there isn't a full blown textbook to s...
by Zo Kath Ra
Mon May 10, 2021 12:41 pm
Forum: Modding
Topic: Wagtunes' Modding Questions
Replies: 187
Views: 35378

Re: Useful scripts repository

Here is a revised version that checks the object class type. LoG1 objects only have one class; unlike LoG2 objects... so it makes more sense in LoG1 to check the class type instead of the arbitrary object name. Now it works with altars as well. 8-) I'd add a return statement after itm:destroy() It'...
by Zo Kath Ra
Thu May 06, 2021 1:26 pm
Forum: Modding
Topic: Wagtunes' Modding Questions
Replies: 187
Views: 35378

Re: Useful scripts repository

Wo, wait a minute. Why is that? What should it matter what direction the catacomb is facing? And then, okay, if that is a problem, how do I change the direction? Sorry, this is all so very confusing. When I used the word "direction", I meant "facing". (click on temple_catacomb_alcove_1 in the dunge...