[HELP] You are what you eat...

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
Daght
Posts: 146
Joined: Sun Apr 15, 2012 12:28 pm
Location: Italy

[HELP] You are what you eat...

Post 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.
If we do not end the war, the war will end us.
User avatar
JKos
Posts: 464
Joined: Wed Sep 12, 2012 10:03 pm
Location: Finland
Contact:

Re: [HELP] You are what you eat...

Post 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 :)
- 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
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: [HELP] You are what you eat...

Post 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.
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
User avatar
Daght
Posts: 146
Joined: Sun Apr 15, 2012 12:28 pm
Location: Italy

Re: [HELP] You are what you eat...

Post by Daght »

I got no skills in scripting/encoding... but thanks for the help.
If we do not end the war, the war will end us.
Post Reply