If whoever coded that is around could help me understand the process it uses and maybe help work out how to do the same with toolboxes, that would be swell.
![tile :tile:](./images/smilies/_tile_.png)
isnt it the color of the medkit used in making it?cedarbridge wrote:I'm looking over the code for the medbots to see how they go about checking what color box was used to construct them so they can apply that to the final medbot. For the life of me I can't wrap my head around it. Might just be a product of trying to read code at 4am.
If whoever coded that is around could help me understand the process it uses and maybe help work out how to do the same with toolboxes, that would be swell.
I didn't code, but this is how they are done:cedarbridge wrote:I'm looking over the code for the medbots to see how they go about checking what color box was used to construct them so they can apply that to the final medbot. For the life of me I can't wrap my head around it. Might just be a product of trying to read code at 4am.
If whoever coded that is around could help me understand the process it uses and maybe help work out how to do the same with toolboxes, that would be swell.
I don't think that plays nicely with shading, different colored latches, etc. That's why the medbots use the "Skin" setup instead.Gun Hog wrote:What if you made all toolboxes greyscale, and simply applied the "color" var to the toolboxes accordingly? Would that make them look to weird? You could then read the color var of the toolbox used to build the floorbot, then apply it to the newly constructed bot.
oranges wrote:pork, the nondescript, commoner king, literally so stealth you could just your normal name in OOC and nobody would know, long may he reign as the secret commander
Deitus wrote:If your signature is scrollable it's too long and fucking obnoxious and you should feel bad
PKPenguin321 wrote:I've been had by yet another tg boondoggle
Its probably possible to just mirror the medkit code over with modifications to match the different boxes but I'm code retarded and even worse at sprite work.Doctor Pork wrote:i would love different color floorbots one day
Both of those are solvable problems. You can have a colored texture and a noncolored one, and you can have a gradient that includes both blacks and whites.cedarbridge wrote:I don't think that plays nicely with shading, different colored latches, etc. That's why the medbots use the "Skin" setup instead.Gun Hog wrote:What if you made all toolboxes greyscale, and simply applied the "color" var to the toolboxes accordingly? Would that make them look to weird? You could then read the color var of the toolbox used to build the floorbot, then apply it to the newly constructed bot.
Users browsing this forum: No registered users