Converting FO Tiles from Diamonds to Squares

Wild_qwerty

Sonny, I Watched the Vault Bein' Built!
I would like to be able to convert the tiles in FO that are shaped like a diamond into a square shape tile.









There must be a way to move the pixels from one location to another. Since most of the tiles are the same shape and size etc... it should be possilble to write a small app that changes the address from one location to another using a translation table.

For example the top point of the diamond would become the top left corner of the square.

Anyone know how to do this or can write a small command line app. I want to find a way to convert the tile so that they can be used for other fan-based games/mods
 
Hmm... shouldn't be too hard for someone who knows alittle about rotating and scaling images by code :? erhm.. I'm certainly not one of them but this is a 20 sec remake in photoshop



added: damn, looks b**t ugly... and didn't rotate it enough. Anyway an automated tool is a must have since 20 sec is way to slow and not everyboy has access to photoshop
 
I could make an app if someone can help me with Hex.

How would I convert something like FFFFFF to &HFFFF&

I dont know the difference.



Other than the hex part I have it all done
 
well FFFFFF is a 3 byte number (ever 2 hex digits = 1 byte) - the second number is a Visual Basic notation for a hex number (all hex numbers in VB start with &H), the FFFF is a two-byte hex number (as there are only 4 total digits) - the last & just tells VB to force it to be a long integer.

To convert, there is none per-se. just prepend a Hex number with &H and put & at the end if you want to force it to be a long. However, if you are going over 2 bytes (3 or four bytes), it's gonna be a long int anyways.
 
Thanks. I plugged &H before my hex and it worked.

It will take about a day to work out all the math for rotation and getting the program to handle multiple tiles at once.

EDIT: I need to change the rotation AND the perspective, which I dont have any idea how I would start. I guess you will have to do it one at a time with Photoshop untill I study a higher level math or someone better than me makes one.

these still fit together perfectly from left to right though.
Heres what I have now.
 
I think the best way would be to make a pattern of the said tileset and divide it into squares, that way you'll keep the perspective intact and you can throw your math book out the window :wink:
 
well, yeah, of course, but I believe it's got something to do with this "Fallout Online" thingie wich uses squares instead of hexes, oh well :P
 
Back
Top