Question: How to adjust the number of pickaxe hits needed to destroy a Building Prop?

Update: Solved by @AxelCapek ! Thanks!

Question! I have created a custom Building Prop that the player can destroy to harvest a resource. Now, I want to make it so that the player has to hit this prop multiple times in order to destroy it, instead of immediately destroying it upon the first hit.

Would I do this using Experience Settings to modifying the pickaxe behavior, or by using Blueprint for the Building Prop itself? In Experience Settings I see I can specify Weapon Destruction Percentage, but for Pickaxe Destruction I can only choose between Default, None, and Instant.
image\

In the Building Prop’s Blueprint I see that I can specify “Can be damaged” but I don’t see options to control how easy or hard it is to damage. I also see options that reference a Health Bar. So can I somehow specify how much health the prop starts out with?

Seems like there should be an easy answer to this. Thanks in advance!

If you have your Static Mesh set up as an Actor you can set the health with a Prop Manipulator Device!

Place the device over the Actor and modify the devices settings. The default damage of the pickaxe is 25 - so increase the Prop Health to scale with that number.
image

image

2 Likes

Omg amazing, thanks! Trying this rn. And if I set it up as a zone I can affect multiple actors with one prop manipulator, right? That would be great, because I need a LOT of harvestable building props for my gameplay.

1 Like

Nice, it works, as expected! Thanks, @AxelCapek ! Also this is great because since there’s an On Destroyed function I can set it up to give resources/consumables that match better with the prop, instead of just wood or metal or stone. So like, give bushes when the player clears a leaf pile. Gonna try that on Sunday. :smiling_face:

2 Likes