Search found 2764 matches

by minmay
Thu Jun 06, 2024 6:16 am
Forum: Mod Creation
Topic: setCauseCondition expects table
Replies: 4
Views: 656

Re: setCauseCondition expects table

To emulate causeCondition, use the onDealDamage hook rather than the onAttackHit hook; causeCondition only causes conditions for attacks that deal damage, whereas onAttackHit is called even if the attack deals no damage (it's called before damage calculation, in fact).
by minmay
Thu May 30, 2024 12:13 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3911
Views: 3091737

Re: Ask a simple question, get a simple answer

Yes. For example, Shipwreck Beach in the main game has both.
by minmay
Fri Dec 08, 2023 8:47 pm
Forum: Mod Creation
Topic: Blender importer/exporter [1.7.1]
Replies: 22
Views: 28171

Re: Blender importer/exporter [1.7.0]

That's fixed in version 1.7.0 of the plugin, which I uploaded a few days before your post but forgot to change the topic title ;p
by minmay
Sat Nov 25, 2023 8:54 pm
Forum: Grimrock 1 Discussion
Topic: Level 3/4 Secret Invisible Wall
Replies: 1
Views: 1170

Re: Level 3/4 Secret Invisible Wall

This is a bug that can occur when a monster falls down a pit and dies. The easiest workaround involves enabling the console. Change "console = false" to "console = true" in your grimrock.cfg, restart the game, load your saved game, and press the key corresponding to the "con...
by minmay
Sat Nov 25, 2023 4:07 am
Forum: Modding
Topic: Change levels table and so on
Replies: 4
Views: 1549

Re: Change levels table and so on

The Party.onLevelUp hook is called whenever a champion levels up, and is a convenient way to give them more or fewer skill points or health or energy or whatever else you want. Changing the amount of experience required for a level up isn't supported, but can be accomplished anyway with some hacks, ...
by minmay
Sun Oct 15, 2023 6:47 pm
Forum: Mod Creation
Topic: Overriding a spell rune combo?
Replies: 1
Views: 1217

Re: Overriding a spell rune combo?

Make sure you aren't importing assets/scripts/spells.lua (or assets/scripts/standard_assets.lua, since that file imports spells.lua).
by minmay
Thu Jul 27, 2023 12:03 am
Forum: Mod Creation
Topic: Is it possible to debuild a mod file ???
Replies: 2
Views: 8156

Re: Is it possible to debuild a mod file ???

Sure. It's easier to do than it is to explain, so I've just PMed you the extracted files from the latest versions of the two dungeons. You can't extract files from a .dat file that were never put into it in the first place, of course, so this will only include files that ended in .lua, .model, .dds,...
by minmay
Thu Jul 20, 2023 6:29 pm
Forum: Mod Creation
Topic: What does Champion:damage() actually do?
Replies: 4
Views: 2972

Re: What does Champion:damage() actually do?

Protection handling is in MonsterAttackComponent:attackParty() and MonsterChargeComponent:chargeHit(). Other sources of damage are not affected by champions' protection (and even these don't use the protection stat directly).
by minmay
Wed Jul 19, 2023 10:03 pm
Forum: Mod Creation
Topic: What does Champion:damage() actually do?
Replies: 4
Views: 2972

Re: What does Champion:damage() actually do?

It accepts damage type, but doesn't know about the attack's "pierce" rating, so how can it do anything but raw damage, in which case why does it take damage type in the first place (unless it's sound or something superficial)? The damage type is used to determine whether to apply fire/col...
by minmay
Tue Jul 18, 2023 9:10 pm
Forum: Mod Creation
Topic: thecube's bomb_test from ORRR3
Replies: 2
Views: 2058

Re: thecube's bomb_test from ORRR3

Did you remember to modify/remove the map and position checks that prevent the bombs from destroying objects outside of the room?