BlackRabbitMsk
Refugee
Good afternoon everyone.
I want to add a mod to change the player's movement speed depending on the type of surface. From solutions in earlier versions I could find only this:
For the BLOCK file, the following was written
<append xpath = "/ blocks / block [@ name = 'terrConcrete']">
<property name = "MovementFactorMultiplier" value = "1.2" />
</append> >>> in the end it still didn't work (changed MovementFactor to MovementFactorMultiplier)
The idea of the release is that I want to set up a buff that creeps in when the player starts moving on the surface.
From the description of the buff itself, everything seems to be clear:
<append xpath = "/ buffs">
<buff name = "buffAsphaltMS" name_key = "buffAsphaltMS" description_key = "buffAsphaltMS" tooltip_key = "buffAsphaltMS" icon = "ui_game_symbol_speed" icon_color = "140,75,220">
<stack_type value = "ignore" />
<passive_effect name = "MovementFactorMultiplier" operation = "perc_add" value = ". 5" />
</buff>
</append>
The question is how to configure the correct trigger for this buff? Which file?
If there are links to working mods with such mechanics, I will be glad to help.
Thank you all in advance.
I want to add a mod to change the player's movement speed depending on the type of surface. From solutions in earlier versions I could find only this:
For the BLOCK file, the following was written
<append xpath = "/ blocks / block [@ name = 'terrConcrete']">
<property name = "MovementFactorMultiplier" value = "1.2" />
</append> >>> in the end it still didn't work (changed MovementFactor to MovementFactorMultiplier)
The idea of the release is that I want to set up a buff that creeps in when the player starts moving on the surface.
From the description of the buff itself, everything seems to be clear:
<append xpath = "/ buffs">
<buff name = "buffAsphaltMS" name_key = "buffAsphaltMS" description_key = "buffAsphaltMS" tooltip_key = "buffAsphaltMS" icon = "ui_game_symbol_speed" icon_color = "140,75,220">
<stack_type value = "ignore" />
<passive_effect name = "MovementFactorMultiplier" operation = "perc_add" value = ". 5" />
</buff>
</append>
The question is how to configure the correct trigger for this buff? Which file?
If there are links to working mods with such mechanics, I will be glad to help.
Thank you all in advance.