Snap-to height multiples? ie. set level of 'height' to integer values of specified h

Ok, I didn’t really know how best to explain my question in the title so let me explain it a bit better now.

What I want to do is have a grid that has all the verts at a set level (easy, Add > Grid > 10x10).

Then I would like to be able to manipulate the grid by moving the verts up and down (again, easy)

The trick is that I want the verts to snap to predefined heights. I would like to be able to have the verts only be at integer multiples of a height that I have specified, ie;

0h, h, 2h, 3h, …, 253h, 254h, 255h.

I want to make an 8-bit heightmap and would like total control over the verts and photoshop just ain’t cutting it lol.

Is it possible to do what I want?

I got how to export a heightmap from here;

but it doesn’t go into detail about how the heights get translated into gray-scale values, I don’t want to find that I put some verts too close together and they get converted to the same value when they should be one apart.




No one has even viewed my question let alone answered it. lol.

Does anyone have any ideas about this?