Search found 25 matches

by .rhavin
Sun Aug 02, 2020 3:04 pm
Forum: Modding
Topic: [DONE] Grimrock Model Tookit
Replies: 738
Views: 650738

Re: [DONE] Grimrock Model Tookit

Hi Isaac.

Yes, thats basically what I did:

http://q-pool.de/xd/toolkit.jpg

I just dont get aany Textures shown or mentioned in the drop-down-box. :(
by .rhavin
Sun Aug 02, 2020 1:27 am
Forum: Modding
Topic: [DONE] Grimrock Model Tookit
Replies: 738
Views: 650738

Re: [DONE] Grimrock Model Tookit

Hi all,

I just testet the Model toolki.

i have grimrock asset pack at D:\Games\Assets\GR2\assets, current dungeon at D:\Games\The Return .

I can sell all models andd load them, but the're all white, the DropDown-Bolx right to [Set material] also has nothing to select from. Any way to debug this?
by .rhavin
Thu Nov 16, 2017 10:05 pm
Forum: Mod Creation
Topic: crreating wall-sets
Replies: 1
Views: 4582

crreating wall-sets

I have Gimp, Photoshop and Blender ready. Can someone explain how to create a wallset? From what I've seen I think I'd need a floortile, some ceiling-model and at least one wall model and a pillar model. I just need to know: what are the neccesary dimensions in blender and what do I have to do to ma...
by .rhavin
Mon Oct 23, 2017 11:02 am
Forum: Mod Creation
Topic: calling global function from object
Replies: 5
Views: 7948

Re: calling global function from object

Ok, comming closer ;) Now, how do i add a hook for onDrawAttackPanel ? The following code gets executed, but the actual hook never gets called: print("skript loaded") if (Config.QDMF == nil) then Config.QDMF = {} end Config.QDMF.qpttest = function(self, champion, context, x, y) context.dra...
by .rhavin
Sun Oct 22, 2017 11:35 pm
Forum: Mod Creation
Topic: calling global function from object
Replies: 5
Views: 7948

calling global function from object

In the following example, the global function qpttest is called after the script loaded. However, from inside the item, I get the notification "qpttest not defined", so qpttest is nil inside onEquipItem . How can i define a function inside a script like this that I can call? print("sk...
by .rhavin
Sat Oct 21, 2017 11:16 am
Forum: Mod Creation
Topic: Mouse Coordinates vs. Graphics Coordinates.
Replies: 12
Views: 15177

Re: Mouse Coordinates vs. Graphics Coordinates.

Equip a left and right hand melee weapon, and alternate some attacks; (unarmed attacks don't trigger the hook). --object.lua defineObject{ name = "party", baseObject = "party", --copy object components = { { --component changes must define the entire component, not just the chan...
by .rhavin
Fri Oct 20, 2017 9:24 pm
Forum: Mod Creation
Topic: Mouse Coordinates vs. Graphics Coordinates.
Replies: 12
Views: 15177

Re: Mouse Coordinates vs. Graphics Coordinates.

There is also good reason to define certain hooks in the object rather than use addConnector() for them. Can you please post an example? I'm completely new to lua and still try to understand. A ›connector‹ in terms of GR seems like something i'd call a callback: if a certain event happens (onDrawAt...
by .rhavin
Fri Oct 20, 2017 3:38 pm
Forum: Mod Creation
Topic: Slime: Attack thru portcullis
Replies: 1
Views: 4438

Slime: Attack thru portcullis

The GreenSlime can attack thru closed portcullis. How does this work? What attribute controlls that in the monsters definition and in the definition of the portcullis (probably sparse?)? green_slime.lua defineObject{ name = "green_slime", baseObject = "base_monster", components =...
by .rhavin
Thu Oct 19, 2017 12:04 am
Forum: Mod Creation
Topic: Spell – rune order
Replies: 26
Views: 31596

Re: Spell – rune order

Can someone please provide a simple codefragment how to set up an item that calls ItemActionComponent.onAttack()? If tried it like this in my defineObject… { class = "ItemAction", onAttack = function(self, champion, slot, chainIndex) hudPrint(champion:getName().." eats a book.") ...
by .rhavin
Wed Oct 18, 2017 7:21 pm
Forum: Mod Creation
Topic: Spell – rune order
Replies: 26
Views: 31596

Re: Spell – rune order

Just updated the sourcecode to show off some configurable parameters and added slighly more doku. http://doc.rhavin.de/dmf/spelltome_demo.zip Two platforms, one showing DM-style, the other GR-style. Lets say I want to connect this to bare hands or to a book, both on rightclick… how do i do this and ...