Page 1 of 1

Goromorg Shield

Posted: Thu Dec 13, 2012 1:11 pm
by Roman42
Hi All,

if I clone a Goromorg, he won't have his shield active. Why is that? Is there a way to activate the shield of a cloned Goromorg?

Re: Goromorg Shield

Posted: Thu Dec 13, 2012 1:25 pm
by Neikun

Re: Goromorg Shield

Posted: Thu Dec 13, 2012 2:10 pm
by Roman42
Works perfectly, but it should have been mentioned, that one has to install the framework for making this work.
This did cost me some nerves. :)

Re: Goromorg Shield

Posted: Thu Dec 13, 2012 4:42 pm
by Diarmuid
Hi Roman42,

I'm sorry if you had trouble implementing this. I thought the framework wasn't required for this particular script... Of course it's easier for adding the hooks, but you can define them in the .lua files with cloneObject. (Unless I missed something in my code).

What error did you get, so that I can update the script or specify that the framework is required?

Re: Goromorg Shield

Posted: Thu Dec 13, 2012 5:11 pm
by Roman42
Perhas I did something wrong in a different place and fixed it while implementing the framework.

Do I understand you right? If it works now, it should work without the framework? I try to remove it and tell you what happened. :)

EDIT: Removed the Framework and still works! :)

Re: Goromorg Shield

Posted: Thu Dec 13, 2012 5:20 pm
by Diarmuid
Ok, great!

But you can keep the framework if you like... it's quite useful :).

Re: Goromorg Shield

Posted: Thu Dec 13, 2012 5:25 pm
by Roman42
I think it will stay removed untill I need it.

BTW: I quite don't understand why your script needs a custom texture. I've replaced it with a link to the one from the main game and the effect didn't work anymore.

Has it something to do with the different sizes of the different creatures your script supports? Would it be possible to use the ingame texture/material if the script would support Goromorgs only?

Re: Goromorg Shield

Posted: Thu Dec 13, 2012 7:16 pm
by Diarmuid
I don't know how the original texture is rendered by the game engine (it has shader in the file name, but I'm not knowledgable enough about shaders...), but it doesn't have any alpha channel and the corners are all white. I had to trim it and add alpha for it to work as a "particle".

Re: Goromorg Shield

Posted: Sat Dec 15, 2012 5:06 am
by Roman42
Thanks, your script led to my first Grimrock monster. :)

Image

http://grimrock.nexusmods.com/mods/146/