Search found 3163 matches

by Isaac
Mon Jul 10, 2023 8:13 pm
Forum: Mod Creation
Topic: Is it possible to locate an item via console using item ID?
Replies: 16
Views: 4800

Re: Is it possible to locate an item via console using item ID?

You can paste this into the console to locate the item with the id, "serpent_staff_1". You can change the quoted id string to be the id that you wish to find. do local_item_id = "serpent_staff_1" for index = 1, Dungeon:getMaxLevels() do for item in Dungeon.getMap(index):allEntiti...
by Isaac
Mon Jul 10, 2023 5:59 pm
Forum: Mod Creation
Topic: Is it possible to locate an item via console using item ID?
Replies: 16
Views: 4800

Re: Is it possible to locate an item via console using item ID?

...so could I console something that said check this level for this ID? The answer is yes—if you are asking whether such a thing is possible to make (on your own) and use it in the console. Here is the best resource for Grimrock 2 scripting: https://github.com/JKos/log2doc/wiki And here are the rel...
by Isaac
Mon Jul 10, 2023 9:49 am
Forum: Mod Creation
Topic: Is it possible to locate an item via console using item ID?
Replies: 16
Views: 4800

Re: Is it possible to locate an item via console using item ID?

It's possible if that item already exists (on the floor) in the dungeon; it won't work with items that come from scripts, but have not yet been spawned. It won't locate items inside surface containers, unless those containers are individually searched. You would first have to access the containers, ...
by Isaac
Thu Jun 08, 2023 7:44 am
Forum: Info
Topic: It's May 2023 - No info on LOG 3
Replies: 4
Views: 3227

Re: It's May 2023 - No info on LOG 3

I was hoping for a Grimrock themed Temple of Elemental Evil clone using Shinobi.

...Or use of Shinobi for a FRUA / Druidstone style game, where users can devise whole campaigns.
by Isaac
Mon May 29, 2023 9:59 pm
Forum: Grimrock 2 Discussion
Topic: How to find a dropped item
Replies: 3
Views: 2257

Re: How to find a dropped item

Paste the following into the Console. itemName = "serpent_staff" for index = 1, Dungeon:getMaxLevels() do for item in Dungeon.getMap(index):allEntities() do if item.name == itemName then hudPrint("A matching item was found in "..item.map:getName().." ".."(level &qu...
by Isaac
Mon May 15, 2023 8:35 pm
Forum: Modding
Topic: [MOD] Survive 4.0 Ultimate Edition
Replies: 209
Views: 231460

Re: [MOD] Survive 3.0

Jos wrote: Mon May 15, 2023 7:05 pm I'm still revisiting Grimrock 1 from time to time...
Don't miss this one: http://www.grimrock.net/forum/viewtopic.php?t=6453 ;)
by Isaac
Fri May 05, 2023 2:38 pm
Forum: Mod Creation
Topic: Armature causing silent crash.
Replies: 7
Views: 3141

Re: Armature causing silent crash.

IIRC, a vertex cannot have more than four bones affecting it.

Best might be to host the .blend, or a modified .blend that still shows the error.
It was minmay who worked on Bitcopy's Blender 2.73 export script, to make it compatible with recent Blender versions.
by Isaac
Sun Apr 30, 2023 1:45 pm
Forum: Mod Creation
Topic: Write to another script's global variable?
Replies: 4
Views: 2493

Re: Write to another script's global variable?

I recognize that I could write a setter method for each variable. However, I've written a branching dialogue system, and I expect to have a LOT of flags. Any overhead to flag management is pretty rough. Write a setter function that accepts both the variable name and the value to assign; optionally ...
by Isaac
Tue Feb 21, 2023 7:12 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3894
Views: 2963404

Re: Ask a simple question, get a simple answer

The problem is that defineObject{} cannot be in a user script. It is normally placed in the objects.lua file in the mod's scripts folder. It must be loaded when the game starts, to be able to create the mine_access_certificate object—before it can be called or tested. This is the only thing preventi...
by Isaac
Sun Jan 29, 2023 11:22 pm
Forum: Mod Creation
Topic: [Source] Final Adventure
Replies: 5
Views: 3532

Re: [Source] Final Adventure

ChatGPT is fluent in Lua; I wonder if it could generate comments if given the script source?
*It says that it can.Show
Image