Search found 11 matches

by brzrkr
Wed Aug 24, 2016 1:55 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3198221

Re: Ask a simple question, get a simple answer

Have a look at this project: https://www.dropbox.com/s/srqyshj4900d5rz/fogofwar.zip?dl=0 It implements a kind of Fog-of-War that keeps selected areas unrecorded on the map. http://i271.photobucket.com/albums/jj125/Gizmojunk/Gizmojunk001/FoW_zpsoi7hw5lo.jpg In the editor there are two new fog_of_war...
by brzrkr
Tue Aug 23, 2016 3:51 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3198221

Re: Ask a simple question, get a simple answer

Isaac wrote:*As for the Fog-Of-War... people can draw their own maps in a notebook; (and likely will, if a permanent fog is implemented).
That's what I mean. I don't mind players mapping on their own, it's just a section of the map that I want having this little feature. Is it feasible?
by brzrkr
Mon Aug 22, 2016 7:52 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3198221

Re: Ask a simple question, get a simple answer

Hi there, it's me again.
I was wondering, is there a way to prevent the auto map from mapping certain tiles? I've looked in the scripting reference but there doesn't seem to be anything appropriate. Is there a possible workaround to make it work, in case the code itself can't do that directly?
by brzrkr
Sat Aug 20, 2016 12:29 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3198221

Re: Ask a simple question, get a simple answer

Riight. I expected it to be something so stupid that I overlooked it. I'm even more stupid than it.

Thank you for the tips also.
by brzrkr
Fri Aug 19, 2016 9:45 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3198221

Re: Ask a simple question, get a simple answer

You are calling from a hook. Errors in the hook functions tend to crash the editor. * Nothing has a 'gameobject' field; that will crash it. As I mentioned, I tried using "go" as well, and that results in a crash as well. But as you can see from the commented code, that works quite well fo...
by brzrkr
Fri Aug 19, 2016 8:42 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3198221

Re: Ask a simple question, get a simple answer

Does anyone have any idea why the editor keeps crashing when I call this function? function smotherLantern(monsta) -- local mummyName = monsta.go.id -- local lantern = mummyName.."Lantern" villageMummy1Lantern.gameobject:destroy() end Ignore the commented parts for now. This function is ca...
by brzrkr
Wed Aug 17, 2016 1:09 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3198221

Re: Ask a simple question, get a simple answer

Hi, I have another question; after looking through the reference I haven't found a way to make this work. What I want to do is create some outdoor buildings; using the tiles for walls doesn't work and besides, it makes them occupy a whole tile, while I would only want the walls to occupy the edge of...
by brzrkr
Sat Aug 13, 2016 1:09 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3198221

Re: Ask a simple question, get a simple answer

Also, how would I go about modifying the spawned creature, since the spawner only allows me to choose the monster level? Anything more advanced than the basic behavior will require scripting. What you've asked is often fairly simple to do, but usually demands a custom script; with no need for a spa...
by brzrkr
Fri Aug 12, 2016 7:23 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3198221

Re: Ask a simple question, get a simple answer

...while the player will have to first understand that he actually has to let some party members die to proceed. I can tell you [from experience] that this style doesn't float well with a lot of players. ;) BTW... A good [and plausibly acceptable] way to continually respawn (specifically non-undead...
by brzrkr
Thu Aug 11, 2016 4:09 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3955
Views: 3198221

Re: Ask a simple question, get a simple answer

Hello. I was looking for a way to resurrect a certain monster in case it was killed, but I couldn't find any method or function to do so. Using setHealth() doesn't seem to work if the monster is downright dead. I also found that the onDie() hook says that "if it returns false, the monster is r...