Author Topic: Engine Change: colorShift->Paint  (Read 1089 times)

Many people have suggested that things like the "Lightsabers" and similar tools blend to your paint colour. Perhaps an option in the Image and Item datablocks could make them do this. (Items being to the brick's colour?) I suggest making it happen if the "doColorShift" field in each is set to false - this currently has no use, as you can already make it shift to "1 1 1 1" to appear white and such an option might prevent the need for creating hundreds of identical datablocks for a single weapon or purpose. For instance, the Paint Cans could change from 256 datablocks (64 x images + particle data + emitters + explosion data) to about two or three.

EDIT: It turns out you can set items to a specific colour by setNodeColor. It'd still be useful for weapon images, though.
« Last Edit: January 17, 2009, 07:06:24 AM by Space Guy »

Space, you can just eat the engine, digest it in your stomach of 1's and 0's, and then crap out a log of better engine, right?

I still want a custom avatar area with the same properties.  :cookieMonster:

I had an idea for a custom avatar-ish system which used separate models. I'll see if I can find it.

player.setImageColorShift(%slot,%colorID) ?

EDIT: Aha, found it:
Quote
What would be interesting is body part Add-Ons with some sort of structure like this:
Code:

Code: [Select]
Add-Ons/BodyParts_Default.zip
 description.txt
 server.cs <-- This file is empty like decal add-ons
 /LHAND
  LHand.dts
  LHand.png <-- The icon that shows in the Avatar menu
  LHook.dts
  LHook.png
 /LLeg
  LShoe.dts
  LHand.png
  LHook.dts
  LHook.png


(New body parts come as an Add-On organised into folders for the node names, then your body parts are selectable through the avatar menu. Not-found ones in servers are replaced with the default appearance.)

I doubt it'd be possible (efficient) without lots of engine changes, though.
« Last Edit: January 10, 2009, 12:21:29 PM by Space Guy »


Skins use textures. I'm looking for an option that allows me to set an RGBA or paint set colour for the weapon image/item, not a texture.

The idea with moddable body parts would be an absolute tragedy. It'd be so much work just so a bunch of stupid kids could run around with guns and cats for hands.

Back on topic (this isn't about avatars), does anyone else have an opinion on this? I think it'd be useful for many different mods and isn't a huge change to the game.

It turns out that you can set an item's colour by using item.setNodeColor("ALL",whatever);. I still think that it'd be good for weapon images, though.