Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
ratman
Posts: 159 Joined: Fri Jan 10, 2020 1:13 am
Post
by ratman » Wed Nov 04, 2020 11:44 pm
@ THOM
Thanks. Now I have a new problem: The lindworm works fine, but I can't damage it at all. I remove this line:
Code: Select all
self:setMonsterFlag("CantDie", true)
or set it to false, and the lindworm just instantly dies.
hyteria
Posts: 266 Joined: Sat Dec 29, 2012 8:22 pm
Post
by hyteria » Thu Nov 05, 2020 6:42 pm
hello
in grimrock 2 , how i can shake camera ?
party:shakeCamera(0.5,1)
seems to not work anymore
ty
hyteria
Posts: 266 Joined: Sat Dec 29, 2012 8:22 pm
Post
by hyteria » Thu Nov 05, 2020 7:07 pm
thx ! you made my day !
7Soul
Posts: 209 Joined: Sun Oct 19, 2014 1:56 am
Location: Brazil
Post
by 7Soul » Thu Nov 05, 2020 7:31 pm
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 :/
Last edited by
7Soul on Thu Nov 05, 2020 10:40 pm, edited 1 time in total.
THOM
Posts: 1274 Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:
Post
by THOM » Thu Nov 05, 2020 9:41 pm
ratman wrote: ↑ Wed Nov 04, 2020 11:44 pm
@ THOM
Thanks. Now I have a new problem: The lindworm works fine, but I can't damage it at all. I remove this line:
Code: Select all
self:setMonsterFlag("CantDie", true)
or set it to false, and the lindworm just instantly dies.
Mh - strange. Can you post you complete lindworm definition?
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
hyteria
Posts: 266 Joined: Sat Dec 29, 2012 8:22 pm
Post
by hyteria » Thu Nov 05, 2020 10:18 pm
hi ,
how i can define a color for LightComponent:getColor() ? it is a rgb system ? or a specifique table with color ?
thx
IttaBitta
Posts: 21 Joined: Thu Oct 22, 2020 12:14 am
Post
by IttaBitta » Thu Nov 05, 2020 11:09 pm
just, does anyone have the frozen dungeon stuff laying around still? There's a lot of lost pieces that are probably still somewhere right?
Isaac
Posts: 3185 Joined: Fri Mar 02, 2012 10:02 pm
Post
by Isaac » Thu Nov 05, 2020 11:20 pm
7Soul wrote: ↑ Thu Nov 05, 2020 7:31 pm
So... there's no monster:getAiState()?
This kinda kills my randomizer...
Monsters who are guarding, are usually not moving.
MonsterComponent:isMoving()
hyteria wrote: ↑ Thu Nov 05, 2020 10:18 pm ...how i can define a color for LightComponent:getColor() ?
https://github.com/JKos/log2doc/wiki/Co ... -component
hyteria
Posts: 266 Joined: Sat Dec 29, 2012 8:22 pm
Post
by hyteria » Thu Nov 05, 2020 11:27 pm
ok so it setcolor but they say (color) what they mean? a rgb code ?