New hooks?
- JohnWordsworth
- Posts: 1397
- Joined: Fri Sep 14, 2012 4:19 pm
- Location: Devon, United Kingdom
- Contact:
Re: New hooks?
"GraphicsContext.drawImage2(image, x, y, srcX, srcY, srcWidth, srcHeight, destWidth, destHeight)"
Legendary! This is going to make my little GUI tools 10x easier to build (and more efficient)! This was on my list of things to ask for during a Glogg session, but it's amazing to see it here already.
Legendary! This is going to make my little GUI tools 10x easier to build (and more efficient)! This was on my list of things to ask for during a Glogg session, but it's amazing to see it here already.
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.
Re: New hooks?
Wow, onDrawGui is there, great. And why didn't I try GameMode.setCamera(nil)...maybe too obvious
I tried everything else but not that.
- LoG Framework 2http://sites.google.com/site/jkoslog2 Define hooks in runtime by entity.name or entity.id + multiple hooks support.
- cloneObject viewtopic.php?f=22&t=8450
- cloneObject viewtopic.php?f=22&t=8450
Re: New hooks?
I agree, drawImage2 is epic!
Waking Violet (Steam, PS4, PSVita, Switch) : http://www.wakingviolet.com
The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563
My preciousss: http://www.moonsharp.org
The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563
My preciousss: http://www.moonsharp.org
- cromcrom
- Posts: 549
- Joined: Tue Sep 11, 2012 7:16 am
- Location: Chateauroux in a socialist s#!$*&% formerly known as "France"
Re: New hooks?
AAAARGH too late
Any party speed functions please ?
A trip of a thousand leagues starts with a step.
Re: New hooks?
so shame, I think I haven't found any hooks for injuries (or setting them) of heand/head/torso/legs/... 
Re: New hooks?
Wounds work just like any other condition. For example, setCondition("left_hand_wound") and hasCondition("left_hand_wound")Jouki wrote:so shame, I think I haven't found any hooks for injuries (or setting them) of heand/head/torso/legs/...
- JohnWordsworth
- Posts: 1397
- Joined: Fri Sep 14, 2012 4:19 pm
- Location: Devon, United Kingdom
- Contact:
Re: New hooks?
@Petri: On minor quirk that I think exists with the onDrawGui hook, is that you can use it as a connector only if you have defined an onDrawGui hook in the party definition. The hook in the party define can be an empty function, but the connectors don't seem to be called unless that function has been defined first. Nothing major, but I mostly just wanted to let you know!
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.
Re: New hooks?
I meant setWound or sth like that, I'd like set the wounds to champions manually. or is that doing? cuz it doesn't sound like that.petri wrote:Wounds work just like any other condition. For example, setCondition("left_hand_wound") and hasCondition("left_hand_wound")Jouki wrote:so shame, I think I haven't found any hooks for injuries (or setting them) of heand/head/torso/legs/...
Re: New hooks?
Have you tried to set the condition?Jouki wrote:I meant setWound or sth like that, I'd like set the wounds to champions manually. or is that doing? cuz it doesn't sound like that.petri wrote:Wounds work just like any other condition. For example, setCondition("left_hand_wound") and hasCondition("left_hand_wound")Jouki wrote:so shame, I think I haven't found any hooks for injuries (or setting them) of heand/head/torso/legs/...
Re: New hooks?
lol I've tried that and it didnt work but now it does. After few reloads (F5) editor just crashed [Not enough memory] (after relaunch the editor I've got the wounded hand [so I guess it's solved]).petri wrote: Have you tried to set the condition?
btw. does editor have limited memory?
edit: oh I see, new conditions won't be executed by pressing F5. I have to go into Main menu and then back
Last edited by Jouki on Fri Nov 07, 2014 1:41 am, edited 1 time in total.