Creating a Ping Sprite - NeisesMike/VehicleFramework GitHub Wiki

  1. Take an image of your subject in profile. The image should be in profile to match all other ping sprites in the game.

https://github.com/NeisesMike/SubnauticaAtramaVehicle/blob/main/Images/wiki/ping_sprite/profile_raw.png

  1. Open the image in GIMP.

3a. Delete the background.

https://github.com/NeisesMike/SubnauticaAtramaVehicle/blob/main/Images/wiki/ping_sprite/background_kill.png

3b. Make sure to catch any stray bytes. Use the "Select by Color Tool" to match against all empty/transparent pixels; this will make the lightly-colored pixels stand out.

https://github.com/NeisesMike/SubnauticaAtramaVehicle/blob/main/Images/wiki/ping_sprite/background_offender.png

  1. Color the image. Select the image by using the "Select by Color Tool" to match exactly all the transparent pixels, and then do Select > Invert. Then paint the image white.

https://github.com/NeisesMike/SubnauticaAtramaVehicle/blob/main/Images/wiki/ping_sprite/whitened.png

  1. Go to Filters > Edge Detect > Difference of Gaussians. Ensure your primary color is white and your secondary color is black.

https://github.com/NeisesMike/SubnauticaAtramaVehicle/blob/main/Images/wiki/ping_sprite/gaussianDifference.png

  1. Be sure to use the "Merge" option. Check for any weirdly-detected edges.

https://github.com/NeisesMike/SubnauticaAtramaVehicle/blob/main/Images/wiki/ping_sprite/filter_1.png

  1. Fine tune the filter. You may need to edit your image to smooth out the edges in order to achieve a more natural result.

https://github.com/NeisesMike/SubnauticaAtramaVehicle/blob/main/Images/wiki/ping_sprite/filter_2.png

  1. Use the "Color to Alpha" tool to transform black into transparency.

https://github.com/NeisesMike/SubnauticaAtramaVehicle/blob/main/Images/wiki/ping_sprite/color_to_alpha.png

  1. Check the final image.

https://github.com/NeisesMike/SubnauticaAtramaVehicle/blob/main/Images/wiki/ping_sprite/final.png

  1. Ensure the Image is 128x128. Your vehicle sprite should take up only a small part of that.