Search found 63 matches
- Sun Jan 24, 2016 1:01 pm
- Forum: Modding
- Topic: Lua script + counter
- Replies: 1
- Views: 5644
Re: Lua script + counter
Well, it has been months ago, but maybe it's still relevant. This is a very useful page, with all the script commands you can give to assets: http://www.grimrock.net/modding_log1/scripting-reference/ To decrease the value of the counter you use: counter_id:decrement() --"counter_id" here is the uniq...
- Mon Apr 27, 2015 10:27 pm
- Forum: Modding
- Topic: SCRIPTING HELP NEEDED
- Replies: 2
- Views: 2694
Re: SCRIPTING HELP NEEDED
I've never done this kind of script so I don't really know what is going on. But maybe a cheap workaround could be to swap the enabled champions back to their slots before enabling the new party member. Something with Party:getChampion(slot) and Party:swapChampions(slot1, slot2) But hopefully someon...
- Sat Apr 11, 2015 8:08 pm
- Forum: Modding
- Topic: [mod-wip] Treasury - General Help Me
- Replies: 44
- Views: 31927
Re: [mod-wip] Treasury - General Help Me
Hi, I was wondering if there is a way to check if an item is a treasure. I know you can call for it's id, name or class so you can do things like if i.class=="item" or i.name=="blue_gem" then --do something I know that the game must somehow "know" if an item is treasure, because it counts them and p...
- Mon Feb 16, 2015 3:03 pm
- Forum: Modding
- Topic: [MOD] Castle of the Ancients
- Replies: 12
- Views: 14507
Re: [MOD] Castle of the Ancients
I also see no instruction on the steam workshop downloader page Steam Workshop Downloader It doesn't matter if you're 9 or 99, it doesn't get easier than this! Enter the URL to an item in the Steam Workshop: [a window for entry is shown] This site was created at 145 BPM using rainbow energy and cok...
- Tue Feb 10, 2015 7:35 pm
- Forum: Modding
- Topic: [mod-wip] Treasury - General Help Me
- Replies: 44
- Views: 31927
Re: [mod-wip] Treasury - General Help Me
If a treasure is spawned after the beginning of the game it won't be reflected in the maximum treasure count. This might happen with treasures in containers too, haven't tested. Interesting, all 3 of them are on an altar type item (2 altars and 1 round table). I'll check if changing that makes a di...
- Tue Feb 10, 2015 6:47 pm
- Forum: Modding
- Topic: [mod-wip] Treasury - General Help Me
- Replies: 44
- Views: 31927
Re: [mod-wip] Treasury - General Help Me
Yeah, that's how I've done it. cloneObject{ name = "bitter_cup", baseObject = "golden_chalice", uiName = "Bitter Cup", description = "This cursed cup magically poisons any drink put in it. \n The chancellor will pay a nice sum for it.", } defineObject{ name = "tome_azrandula", class = "Item", uiName...
- Tue Feb 10, 2015 3:43 pm
- Forum: Modding
- Topic: [mod-wip] Treasury - General Help Me
- Replies: 44
- Views: 31927
Re: [mod-wip] Treasury - General Help Me
I've run into an other unexpected problem/bug. Not unexpectedly I want to place several treasures in this dungeon. Most if not all of them are going to be custom assets. Some of them are just cloned revamps of the original treasures, but some of them are treasure variants of "mundane" items. Right n...
- Mon Feb 09, 2015 3:48 pm
- Forum: Modding
- Topic: Useful scripts repository
- Replies: 105
- Views: 183709
Re: Useful scripts repository
This is pretty basic stuff, but it may be useful to people who are completely new to scripting (like I was/am). How to search a floor/room for a specific item I used this because I had to change a lot of dungeon_wall_texts into temple_wall_texts and wanted to make sure there are no dungeon models le...
- Fri Feb 06, 2015 5:11 pm
- Forum: Modding
- Topic: Neikun's Workshop (WIPs by Neikun) Frequent Updates*
- Replies: 388
- Views: 188906
Re: Neikun's Workshop (WIPs by Neikun) Frequent Updates*
That means all the materials are missing and the game defaulted to the plain white texture. Anyway, this means you didn't install the wallset correctly. If you see "file not found" warnings printing in the console, the material definitions can't find the corresponding textures. If nothing prints to...
- Mon Feb 02, 2015 1:13 pm
- Forum: Modding
- Topic: Neikun's Workshop (WIPs by Neikun) Frequent Updates*
- Replies: 388
- Views: 188906
Re: Neikun's Workshop (WIPs by Neikun) Frequent Updates*
Glew - not sure if you have done this yet but you need to set consoleKey = 192 in your- Legend of Grimrock 2/grimrock.cfg This will set the key you need to activate the console (it is not able to be activated by default). As you say though, I am not sure how this all is for a Hunugarian keyboard. N...