mjrice
New member
I am trying to create an item for my mod which acts like an ointment that makes the player virtually invisible to zombies for a short while, making it possible to stealth through an area filled with sleepers. I call it Zombie Cream. Modding in the item and the recipe are easy enough, but I can't get the effect that I want and wondered if anybody knows better than me how to do this. When the item is used, the following buff is triggered:
What I *thought* this would do is lower the visibility and sound from the player by 99% for a short bit. The perk From The Shadows does something along these lines. But in daylight the zombies just see me like they always would. Any ideas how to do it right?
Code:
<buff name="buffZombieCream" tags="drug" icon="ui_game_symbol_stealth">
<stack_type value="duration"/>
<duration value="60"/>
<effect_group>
<passive_effect name="LightMultiplier" operation="perc_subtract" value="0.99" />
<passive_effect name="NoiseMultiplier" operation="perc_subtract" value="0.99"/>
</effect_group>
</buff>
Last edited by a moderator: