[0.17.16] Tool attack animation can't be disabled

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
L0771
Filter Inserter
Filter Inserter
Posts: 516
Joined: Tue Jan 14, 2014 1:51 pm
Contact:

[0.17.16] Tool attack animation can't be disabled

Post by L0771 »

Hi, i'm making a mod where i use a lot of melee weapons, for this, i've disabled the melee attack

Code: Select all

data.raw["player"]["player"].tool_attack_result = nil
It don't disable the attack animation, but don't run the event on entity damage on attack, the problem is the animation and the stop of movement.

Like the gif, the character stop when i have melee enemies
Image

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.17.16] Tool attack animation can't be disabled

Post by Klonan »

This is more like a modding request

Post Reply

Return to “Modding interface requests”