Search the Community
Showing results for tags 'Bitmap'.
Found 2 results
Hey guys this is pritty dump but I was bored. This is a simple script that spawns a bitmap with any type of object. I know this isnt good programming style but anyway if anybody wants this here you go... Result: https://gyazo.com/c39fb80c405717340eb29e1909dbeba0 You start off with an image: https://gyazo.com/91b72b297473bca082883eeecda2964e You have to mirror vertical and horizontal (you can also change my code so it works without this step). Then you reduce the size to anything you want. Low quality means easy for the game of cause. Then you play with contrast settings and saturation until you get full black and full white image: https://gyazo.com/0685752a3ebabf715fe69154087e8e5d then you upload it to this site: https://www.dcode.fr/binary-image and convert it to binary ull get something like this: You can put this into notepad++ to convert into matrix do control + f and go to replace tab. replace 0 with 0, and 1 with 1, close replace menu, mark any ,\n (\n isnt shown of cause) open replace menu again and replace what is selected with: ],\n[ !!you need to enable advanced replacement option!! add [[ to the front, delete ,[ at the end and add ]; it should look like this: now put this into the script, set _sizeX to with and _sizeY to hight in pixel. Offsets are to move the whole thing around relative to the origin (move up in the air for example) and there you go you can now spawn in anything. Dont know why you should but now you can.
Greetings I made high resolution Tanoa map for ArmA comunity usage. A final bitmap have resolution 15604x15605 pixels and one pixel represent 0.9843 meters. The final bitmap has been stitched from 250 screenshots. To open the bitmap i recommend use special software which can handle huge images like GIMP or Photoshop. URL: http://server.btkclan.cz/maps/tanoa Enjoy.