Page 1 of 1
[HELP] You are what you eat...
Posted: Tue Nov 13, 2012 5:27 am
by Daght
Is it possible to "eat" some snail's slice and "turn" the party into a snail?
I mean the portraits will change into a Snail, and the movement and damage/attack will be set as a snail. Like a polymorph spell or something similar.
Re: [HELP] You are what you eat...
Posted: Tue Nov 13, 2012 5:58 am
by JKos
You have to create a snail portrait and change it by using Champion:setPortrait(filename) function
then you could decrease champions strength with Champion:setStat(stat, value), so that the champion gets encumbered.
Do this in Champion:onUseItem hook where you can check if the used item is snail_slice.
Good luck

Re: [HELP] You are what you eat...
Posted: Tue Nov 13, 2012 3:56 pm
by msyblade
I put a jpg of a 150x150 snail here for ya:
http://grimrock.nexusmods.com/mods/56
You will need to convert it to .tga, if you have any trouble, lemme know and I will convert it and repost after work for you.
Re: [HELP] You are what you eat...
Posted: Wed Nov 14, 2012 6:51 am
by Daght
I got no skills in scripting/encoding... but thanks for the help.