I was just wondering what size (pixels?) a custom texture has to be to fit perfectly into a certain gridsize slot? thx ;)
The default gridsize (The one you have when you enter coopedit) is 64x64 pixels
Then doubling it or halving it will increase to the next gridsize.
Common size for textures in cube2 is usually 512x512 or 256x256.
You can always use vscale (or texscale in a config) to shrink it without having to resize in an image editor.
Say you had a 256x256 texture and wanted it to fit the default gridpower, you can make it fit to 64x64 by using:
/vscale 0.25
or add a new texture slot in a map config:
texture 0 "textures/blah/floor-256.jpg"
texscale 0.25
This is useful for textures that you may want to fit on larger surfaces (aswell as the default grid).
;D ;D great, thanks guys ;)
p.s. say if a made a map with custom textures, and i uploaded in coop online, would the textures still be there on the map i sent?
Nope unfortunately.
Only the *.ogz map file is sent. Anything else (mapmodels, textures, configs) need to be downloaded and placed in the correct folders manually.
Anything by the power of 2 will fit the grid.
Ideally, the lower and upper limits for textures would be 32 to 4096.