PDA

View Full Version : How to give the player the ability to choose the exact colour(s) for their cars!


ProjectX
27th Jun 2004, 06:36 AM
These are both quotes from Mr. Evil on the Atari forums.

How about using a ConstantColor, a Combiner and a neutral base texture instead of having a separate texture for each colour? It would greatly reduce the file size and allow all 16.78 million possible colours to be selected.

Make a base texture with all the coloured parts neutral (white/grey). Make a mask the covers everything except the coloured parts. Save the mask as the alpha channel of the base texture. Make a ConstantColor material (you can either make one in UEd and save it in a package or create one dynamically via UScript, I prefer making them in UEd myself). Use a Combiner to combine them. I don't know the exact settings you would need, just experiment.

Then you'd just have to code the GUI to have three sliders (RGB) and these would affect the constantcolour's properties, won't they? Then you'd be able to affect the colour of the car skins, witout discolouring things like glass or ads! Completely customisable skins and you won't have to include all of these pre-made skins! For hose with two or more colours to change just add extra sliders and extra constant colours and combiners!

stevenhorton
27th Jun 2004, 06:20 PM
Interesting:)

ProjectX
28th Jun 2004, 04:15 AM
Interesting:)
Very Interesting:)

carmatic
28th Jun 2004, 07:23 PM
yeah thats like theres only 2 different matching colours on the unwheel vehicles isnt there... but what springs to mind now is like the different 'effects' of changing the colour, which was preselected by the vehicles author... and also the volkswagen car has these different textures on it too... maybe it now means we can focus on providing new texture patterns instead of just different colours like in beta 3, and the user can select the colours... maybe even a colour randomizer would be cool, some days people cant make up their minds...
this would be like what Electronic Arts did with their porshce 2000 game , they had different themes of decals for the cars and you had to choose your colour...

stevenhorton
28th Jun 2004, 10:17 PM
The concept is sound, except, if you simply mask the areas on the skin where the constantcolor goes, meaning you still have to have the original texture. The way it would simplify is in the number os textures you would need. It is worth pursuing:)

carmatic
29th Jun 2004, 07:15 AM
hm there might be a reason why the guy said having the neutral areas white/grey...