question about armor set (custom)
question about armor set (custom)
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?

- Eleven Warrior
- Posts: 752
- Joined: Thu Apr 18, 2013 2:32 pm
- Location: Australia
Re: question about armor set (custom)
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)
Use Champion:setConditionValue() with invisibility.
in the EquipmentItem Definition include something like
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.
in the EquipmentItem Definition include something like
Have a look how the've done the bonuses for wearing complete armoursets in the maincampaign.onRecomputeStats = function(self, champion)
if champion:isArmorSetEquipped("lurker") then
champion:setConditionValue("invisibility", 70000)
end
end,
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)
Keep in mind that invisibility disappears whenever the party attacks. You will probably want to reapply the invisibility every frame.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Re: question about armor set (custom)
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)
I set that up (Lurker set - invisibility) in Master Quest, but I'm sure it works differently than in Grimrock 2
Finished Dungeons - complete mods to play
Re: question about armor set (custom)
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.
I think that the Lurker Set + the Cloak of Night (from the DM resource), make a great invisibility set.
