I needed something that triggers right when the dungeon loads
Search found 212 matches
- Thu Nov 05, 2020 11:28 pm
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3993
- Views: 3565570
- Thu Nov 05, 2020 7:31 pm
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3993
- Views: 3565570
Re: Ask a simple question, get a simple answer
So... there's no monster:getAiState()?
This kinda kills my randomizer...
Edit: I just went through dungeon.lua and got the IDs of the monsters that are set to guarding and used that. Still sucks that I can't grab that state on the fly though :/
This kinda kills my randomizer...
Edit: I just went through dungeon.lua and got the IDs of the monsters that are set to guarding and used that. Still sucks that I can't grab that state on the fly though :/
- Thu Nov 05, 2020 12:25 am
- Forum: Custom Dungeons
- Topic: [Beta] Grimrock 2 Randomizer
- Replies: 43
- Views: 76409
Re: [WIP] Grimrock 2 Randomizer
Items now have randomized colors (it randomly changes the gfx atlas to one of 4 variations) https://i.imgur.com/jdG6L3H.png Items get a random description: https://i.imgur.com/7l68Hwq.png Characters start with 2 random "character creation" traits and 2 random class traits: https://i.imgur....
- Wed Nov 04, 2020 11:03 pm
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3993
- Views: 3565570
Re: Ask a simple question, get a simple answer
There's some at nexusmods https://www.nexusmods.com/legendofgrimrock2
- Wed Nov 04, 2020 6:46 pm
- Forum: Custom Dungeons
- Topic: [WIP] The Old Nexus (cancelled)
- Replies: 44
- Views: 68046
Re: [WIP] The Old Nexus 「 Grimrock XL 」
ONE YEAR LATER I come with some new screenshots






- Wed Nov 04, 2020 1:26 am
- Forum: Custom Dungeons
- Topic: [Beta] Grimrock 2 Randomizer
- Replies: 43
- Views: 76409
Re: [WIP] Grimrock 2 Randomizer
Started looking into how I could randomize the characters themselves There are some difficulties since many traits are hardcoded, but an easy one is to replace the basic stat bonuses from the races and the HP/EN of the classes I can't modify the trait description after I randomize the stats, so I ad...
- Tue Nov 03, 2020 11:55 pm
- Forum: Custom Dungeons
- Topic: [Beta] Grimrock 2 Randomizer
- Replies: 43
- Views: 76409
[Beta] Grimrock 2 Randomizer
This randomizer is a mod of the default dungeon https://www.nexusmods.com/legendofgrimrock2/mods/150 Features: Items: The positions of all non-key items are shuffled around. Equipment is almost only ever shuffled with other equipment Beginner weapons don't swap with others (so you still find stuff t...
- Mon Apr 27, 2020 9:57 pm
- Forum: Grimrock 2 Discussion
- Topic: Is Almost Human closed forever? No chance of Grimrock 3? :´(
- Replies: 11
- Views: 35474
Re: Is Almost Human closed forever? No chance of Grimrock 3? :´(
Diablo 3 came out 12 years after 2
See you guys in 2026
See you guys in 2026
- Sat Feb 29, 2020 6:08 am
- Forum: Mod Creation
- Topic: To many hudprints
- Replies: 3
- Views: 8187
Re: To many hudprints
Try this function Music01() local ch = nil for i=1,4 do ch = party.party:getChampion(i) if ch:isAlive() then ch:gainExp(50) end end if ch then hudPrint(" "..ch:getName().." plays the flute gained 50 XP.") end playSound("level_up") end It'll print the name of the last ch...
- Tue Feb 18, 2020 1:13 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3993
- Views: 3565570
Re: Ask a simple question, get a simple answer
I'm not sure what the error means, but I wanted to point out a different way to make sure the object spawns only once (because at first I thought the problem could have been the variable being reset) Instead of using a boolean variable, you can just check if the object already exists: if not LVL13ch...