Page 1 of 1
question about armor set (custom)
Posted: Mon Jan 11, 2016 10:22 pm
by Azel
I am wanting to make it so that if the player finds the entire Lurker Set as well as a unique cloak, they have permanent Invisibility cast upon them. Only when wearing all armor pieces. Anyone know how to make that happen?

Re: question about armor set (custom)
Posted: Tue Jan 12, 2016 1:21 am
by Eleven Warrior
Hey bro

. I not to sure but, Akroama may have the solution to your problem. I thinks he has done this errrr I think, so you may want to PM him

Re: question about armor set (custom)
Posted: Tue Jan 12, 2016 1:50 am
by THOM
Use
Champion:setConditionValue() with
invisibility.
in the EquipmentItem Definition include something like
onRecomputeStats = function(self, champion)
if champion:isArmorSetEquipped("lurker") then
champion:setConditionValue("invisibility", 70000)
end
end,
Have a look how the've done the bonuses for wearing complete armoursets in the maincampaign.
And you have to define somehow
removeCondition otherwise the party is the rest of the game invisible.
Another question: Is it wise to give the party such a strong feature? I for myself wouldn't see why I ever should remove this condition from my party. And it gives a remakable benefit.
Re: question about armor set (custom)
Posted: Tue Jan 12, 2016 1:55 am
by minmay
Keep in mind that invisibility disappears whenever the party attacks. You will probably want to reapply the invisibility every frame.
Re: question about armor set (custom)
Posted: Tue Jan 12, 2016 2:17 am
by Azel
Ah interesting. I will experiment with this a bit more before making a final decision. Lots to think about but could be a fun experiment. Thanks for all the replies

Re: question about armor set (custom)
Posted: Thu Jan 14, 2016 1:34 pm
by Komag
I set that up (Lurker set - invisibility) in Master Quest, but I'm sure it works differently than in Grimrock 2
Re: question about armor set (custom)
Posted: Fri Jan 15, 2016 5:30 pm
by Azel
ah, great minds think alike lol
I think that the Lurker Set + the Cloak of Night (from the DM resource), make a great invisibility set.