Re-Creating damage effect

Hi,
I have problem, that I have mesh part and I need to edit their texture, when they get hit as here: (downloaded from google, so sorry wor watermarks, but i dont have enough space for the game)


but I dont have any idea how to do this in roblox (ship: ) and I am afraid its not possible :sad:.
But anyway, I will be happy for any idea, bec this make the game more realistic, than when i just see ship hp and ship model is ok, still ok, and sudenly it starts sinkink.
Edit: I need to make the damage texture exactly on point, where the ship get damage, so I can’t just have damaged texture and change the normal by it.

I have an idea, what if you try to create an BillboardGui and add image to it? Roblox doesn’t support GIF’s so that’s bad. Once the player creates enough damage those images should become visible. Also you can use a fire effect with roblox’s default sparkles. I hope this helps. :herb:

1 Like

That is good idea, but problem is to pos it to place where player make demage, my example are all demage from fire, but when player use clasic amo (for those who know WoW its AP), there will be black just on place, where the projectile hit the ship.

It’s not really that hard but it might take time. my suggestion is to create an IntValue inside of each model parts and set their health to 100 by default. Then you should create a script which detects the part that destructs the ship and once touched it should take down the health from IntValue. Once value is below let’s say for example 50 then you make an script which create an fire sprakles inside of this part that’s has been damaged. I hope this helps. :herb:

Ok, that is my last option, but what will be really good to edit the texture exactly on the place, where the projectile entered the ship.

As I said before BillboardGui if you want to use texture.

how to use it???

Are you trying to make the smoke effect or the walls of the boat getting dirty effect?

Create an BillboardGui and add texture in it. Drop Billboard gui inside the ship parts. Once IntValue is below selected value this texture should turn on visible. Also you might have a problems with a resizing of texture because Billboard creates texture bigger once if your magnitude is higher. So I’d use a new Frame (Size of this frame should be small) and then drop the texture in it so we keep the same size of the texture as we are far away from the ship. I hope this helps. :herb:

ya, i need to give them damaged texture

its doing this

Oh my bad. You should use SurfaceGui if you want to have scars in the part. Use it and add image/texture in it then add whole SurfaceGui in part. And use the idea I said above when make it visible. I hope this helps. :herb:

1 Like

Why use SurfaceGui when you can just use decals…?

@op, just make a hitted decal

use the raycast information from the missile’s bullet and then set the part that has the decal’s position to the raycast position.

it isnt on the mesh

That’s because it’s an mesh right? If it would be an part made boat it should work correctly.

I need to put it on mesh, so if i will use this, i need to deform the part, and i have no idea how.

if it would be a part made boat, it will be even less realistic. So i need some solution for mesh.

I mean it would be hard to make an texture effect on mesh (I honestly have no idea how that could be done) but you can try to do a fire effect. Just add an fire inside mesh and change the fire size (you will see that fire should look outside of the boat). So my suggestion is that you increase fire size by player damaging the boat. It’s going to give a player an effect that he distructed a ship.

Don’t use surface guis where a simple texture or decal will suffice, surface guis are more GPU intensive than textures and are not designed for this use.

Games like Warships will generally have the boat split in different meshes, then when that area of the ship is damaged, the mesh is swapped out for the damaged version, and the texture replaced with a blackened damaged version. If you’re not using mesh’s and textures, you would basically change out any of your decals for damaged versions, add charred decals to the other parts of the ship, and turn on some smoke and fire emitters for a similar effect. If you are using meshes, you can always open your texture in something like Paint .net and just apply a smoky ash effect on top of whatever texture you’re already using. Effects-> Render Clouds on top of your texture can be used to get a decent damage effect with a bit of tweaking.

1 Like

That’s what I just said at the end. To use the default roblox sparkles for damage effect.