Search found 69 matches
- Wed Sep 14, 2016 3:20 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3894
- Views: 2963102
Re: Ask a simple question, get a simple answer
No, the two hooks are definitely called separately - I was specifically taking advantage of that in my dungeon. Even if you return false from the weapon onAttack() hook the party onAttack() is still called (though my script won't do anything meaningful without an attack of course). I'm not really su...
- Mon Sep 12, 2016 1:32 am
- Forum: Mod Creation
- Topic: Modding infodump
- Replies: 46
- Views: 61508
Re: Modding infodump
Is there a way to make materials with the Additive blend mode visible behind (or underneath) a water surface? For example, an underwater force field model will be partially or totally invisible when above water. Any way to fix that?
- Mon Sep 12, 2016 12:43 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3894
- Views: 2963102
Re: Ask a simple question, get a simple answer
Here is a workaround I wrote some time ago for this issue - specifically for melee attacks. It worked for a specific case I was working on, but I haven't tested it extensively and it's been quite some time since I worked on it. mhm - doesn't work. at least this onAttack script doesn't seem to be tr...
- Sat Sep 10, 2016 4:51 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3894
- Views: 2963102
Re: Ask a simple question, get a simple answer
But if I attack this object with a torch (damageType = "fire", like the original one) it doesn't get any damage. Why is this? Other fire-damage weapons (fireburst, damageTile "fire") are doing damage... ??? Due to an implementation detail you'd rather not know about, if a Health...
- Thu Jul 16, 2015 1:28 am
- Forum: Mod Creation
- Topic: Swapping the party; entirely, repeatably, completely.
- Replies: 5
- Views: 4688
Re: Swapping the party; entirely, repeatably, completely.
Is it possible to swap characters totally: given a universal timer, I would like to replace the 'party A' with 'party B' entirely, and afterwards return to party A. Do you want the player to be able to make Party A, or will it be predefined (any choices they make on character creation are overwritt...
- Tue Jun 16, 2015 12:37 am
- Forum: Mod Creation
- Topic: Understanding Monster Brains
- Replies: 14
- Views: 14943
Re: Understanding Monster Brains
FYI, there was another interesting thread on this topic which can be found here . That thread explains using the return syntax with the brain functions, which makes a lot of what is in the OP obsolete. It still works, but there are much better ways of doing it (that thread even has an example of the...
- Sat May 30, 2015 3:35 am
- Forum: Mod Creation
- Topic: Scripting: Monster only gets damaged by one special weapon
- Replies: 12
- Views: 7819
Re: Scripting: Monster only gets damaged by one special weap
Try "if object.monster then..."
Didn't really check the whole code, but I think that should solve the issue you identified.
Didn't really check the whole code, but I think that should solve the issue you identified.
- Tue May 26, 2015 2:50 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3894
- Views: 2963102
Re: Ask a simple question, get a simple answer
Can a delayedCall fire more than once in a given frame? Eg., if a function calls itself by a delayed call with a delay of 0.0001, will that call happen more than once in a frame?
- Sun May 24, 2015 9:24 pm
- Forum: Mod Creation
- Topic: Inspection panel object components details
- Replies: 9
- Views: 5470
Re: Inspection panel object components details
I have certainly seen a lot of people who want to make interesting content without scripting. And by and large, if you only want to do things similar to the original game, then you can probably mange. The only problem is that there are so many little things that just won't work quite right the first...
- Sun May 24, 2015 8:54 pm
- Forum: Mod Creation
- Topic: Inspection panel object components details
- Replies: 9
- Views: 5470
Re: Inspection panel object components details
That list is pretty much complete, at least as of the initial game release (some things have been added since). However, it isn't a list of objects as you pointed out - just components. It might help to understand how an object that you place in the editor works. Here is a high-level explanation: Th...