forcecore / yupgi_alert0

엽기얼럿 제로
Other
10 stars 3 forks source link

Add an accurate voxel-to-SHP utility map. #124

Closed GraionDilach closed 7 years ago

GraionDilach commented 7 years ago

How to use:

1) Replace the included vxl2shp map's debugvxl actor's voxel sequence/artwork with the one you want to convert. 2) Find and open the map in the Map Editor. 3) Create a screenshot. 4) Crop the screenshot to a 768x384 frame. Make sure that the cyan grid is visible in the top left corner but not visible in the bottom right.

You should have something like this at this point: vxl2shpstep1

5) Remove the cyan grid and delete the shadows if the voxel is an aircraft. 6) Save the result as a PNG. 7) Find the saved PNG in XCC Mixer with the target palette preselected and select Clipboard->Copy from the right-click menu. 8) Select Clipboard->Paste as SHP(TS) and paste the result as a 96x96x32 SHP. 9) Open the result with SHP Builder and do a colorreplace on the background if you left it on pink.

Done!

GraionDilach commented 7 years ago

For even better results, you could save the PNG in 256 colors, shift the pink to slot 0, and then create a custom palette from it, but I didn't bothered with that here though.