Admittedly how the code works is beyond me, but I thought I toss this out in case is was workable (pardon if it's a completely inane idea). I also realize it may be WAY too late in coding to make this change or already suggested (couldn't find it).
Could the building blocks ID be separated from their colour? This would allow a massive palette of block colours without using additional IDs
/* Flame protection suit on */
[DOUBLEPOST=1454961162,1454960165][/DOUBLEPOST]Kept digging.. found this which explains some BlockID information (hope it's current)
Could the building blocks ID be separated from their colour? This would allow a massive palette of block colours without using additional IDs
- A block ID is defined by it's shape but colour ID is 'metadata' unique to each block like its rotation
- The hull blocks using IDs would be: Basic / Standard / Advanced / Crystal / Glass
- When a block is placed we store it's location, rotation and colour
- The colour could be mapped to a graphics palette, texture, template or whatever as set by the server/client (this would allow clients to have different maps than the server default if desired) in some or all cases (another config setting)
/* Flame protection suit on */
[DOUBLEPOST=1454961162,1454960165][/DOUBLEPOST]Kept digging.. found this which explains some BlockID information (hope it's current)