How can I make a wall that you can break with a weapon?

Enable the “Apex Destruction” addon.

Then righit click Mesh and select Make Destruction Mesh