Search found 12 matches
- Tue Feb 05, 2013 8:03 pm
- Forum: Modding
- Topic: Help with ending.lua
- Replies: 4
- Views: 3667
Re: Help with ending.lua
I found another thread with a sample script_entity pointing to ending.lua that shows me how to get the script_entity right, so that part is fixed. Now I just need to do a dry run and see how the ending actually looks.
- Tue Feb 05, 2013 7:04 pm
- Forum: Modding
- Topic: Help with ending.lua
- Replies: 4
- Views: 3667
Help with ending.lua
Argh. I was in "preview" and went to Modding, wiped out my post, so it's gonna be shorter :) Basically, I copied intro.lua to ending.lua and edited a few things like the text, moved the text section above the title section, then changed the title section to just "The End". I also...
- Mon Feb 04, 2013 8:20 pm
- Forum: Modding
- Topic: Completing Demon Eye Gem Sockets for Door Unlock
- Replies: 6
- Views: 7971
Re: Completing Demon Eye Gem Sockets for Door Unlock
Hi guys. Is there a reason why the daemon_head_eye_slots _x would only work with blue gems? I first tried with green gems and could never get it to work, then for kicks I tried blue gems and it worked. Then on a lower level I reused the same setup but with red gems and it failed again. Switched it b...
- Fri Feb 01, 2013 11:06 pm
- Forum: Modding
- Topic: specific food on alter triggers two doors, help?
- Replies: 8
- Views: 5189
Re: specific food on alter triggers two doors, help?
Just for kicks I made the altar an alcove and it is working. Not sure why, but that's ok. Now I just need to get it to open two doors at the same time.
- Fri Feb 01, 2013 10:50 pm
- Forum: Modding
- Topic: specific food on alter triggers two doors, help?
- Replies: 8
- Views: 5189
Re: specific food on alter triggers two doors, help?
Ok awesome, that worked ... but now I get "attempt to index global 'altar_accept_flesh' (a nil value)" as soon as I put a piece of snail_slice on the altar. Disclaimer: I'm a DBA that really likes dungeon crawler games. Sorry if I don't know squat about scripting but the idea of making my ...
- Fri Feb 01, 2013 10:35 pm
- Forum: Modding
- Topic: specific food on alter triggers two doors, help?
- Replies: 8
- Views: 5189
Re: specific food on alter triggers two doors, help?
I keep getting "function arguement expected near 'else'". If I get rid if the 'else', it moves down to the "end" and gives an error for that. I set up a connector to my script_entity_5 which has the function "feedme" and I set the event to "any" and the altar ...
- Fri Feb 01, 2013 9:19 pm
- Forum: Modding
- Topic: specific food on alter triggers two doors, help?
- Replies: 8
- Views: 5189
specific food on alter triggers two doors, help?
I want to have an alter accept a specific kind of food, (snail_slice for this example) and trigger two doors to open. I've been looking at a few example functions but no luck so far. This is what I have so far: The door ID's are "feedmeDoor_1" and "feedmeDoor_2". The alter ID is ...
- Tue Jan 29, 2013 10:18 pm
- Forum: Modding
- Topic: Is there a way to retrieve Exp
- Replies: 5
- Views: 4572
Re: Is there a way to retrieve Exp
I suppose you know function below or I understood you incorectly ? To search min exp person is too complicated for me sory :) -- XP gain for all members + text and music function xpaward() party:getChampion(1):gainExp(50) party:getChampion(2):gainExp(50) party:getChampion(3):gainExp(50) party:getCh...
- Thu Jan 24, 2013 6:15 pm
- Forum: Modding
- Topic: Spider hatching from broken eggs, help?
- Replies: 8
- Views: 7391
Re: Spider hatching from broken eggs, help?
Wow, just realized what you were saying. I took specific coordinates out and voila, the dang spiders are popping out of every egg sack.
- Thu Jan 24, 2013 5:41 pm
- Forum: Modding
- Topic: Spider hatching from broken eggs, help?
- Replies: 8
- Views: 7391
Re: Spider hatching from broken eggs, help?
Note, you only need these two bits: cloneObject{ name = "spider_eggs_hatching", baseObject = "spider_eggs", onDie = function(object) eggScript.breakEggs(object.level, object.x, object.y) end, } function breakEggs(level, x, y) local facing = (party.facing + 2)%4 spawn("spide...