IPB

Welcome Guest ( Log In | Register )


 
Reply to this topicStart new topic
> (**) The Palette
Aztek985
post Oct 18 2006, 01:52 AM
Post #1


Webmaster
Group Icon

Group: Root Admin
Posts: 1,523
Joined: 27-May 06
From: America's Hat
Member No.: 1
Alliance: Nod
Favorite game: Tiberian Sun



Originally posted by denmon0728:

--------------------------------------------------------------------------------------------------------------

This is the beginning of a couple of Tiberian sun Infantry shp tutorials that i will be writing on my spare time. And the first thing that you need to know about when editing TS infantry shps is the colour palette.

Intruduction
Tiberian sun Infantry shps, along with buildings and voxels, uses the unittem and unitsno palettes. The unittem palette is the palette used on temperat maps and the unitsno is the palette used on snow maps. These palletes are almost identical. Below is an example of each palette.


The colours
The top left black colour is the background colour and it wont be shown in-game. The colour below it is the shadow colour and it will be shown as fading black behind the infantry, dont paint this on the frames that the infantry is on, but paint it on the blank frames after the infantrys frames.

The red colours in the bottom left are the remap colours. They change to the team colour ingame.

The grey colours to the right of the remap colours are the greyscale colours. Use these to paint on the infantry if you want to make him grey.
All other greys can be used for lightning the infantry up when he shoots.

The brick colours at the top right of the greyscale are used for painting human skin.

The four red's to the right of the green colours are non-remappable red's. They can be used for blood etc.

The red's and yellows at the bottom right can be used to create normal fire effects when an infantry fires his gun.

I think that ive gone through the most important colours of the palette now. If you think that i missed something then please say so in a replie.


--------------------
Go to the top of the page
 
: | +Quote Post
Lin Kuei Ominae
post Nov 6 2007, 04:07 PM
Post #2


Stealth Tank
Group Icon

Group: Members
Posts: 1,065
Joined: 14-November 06
From: Germany
Member No.: 281
Alliance: CABAL
Favorite game: Tiberian Sun



QUOTE (Python @ Oct 18 2006, 02:52 AM) *
The red's and yellows at the bottom right can be used to create normal fire effects when an infantry fires his gun.

These are also the only colors that aren't affected by different lighting settings on a map. So the 16 colors from the pure white color (index 240) to the bottom pure white are all good for lamps and position light effects, especially on dark maps.
Attached Image
left uses normal colors, right uses the 16 colors on the bottom right side of the palette. Both have nearly the same color in shp-builder.

This post has been edited by Lin Kuei Ominae: Nov 7 2007, 04:19 PM


--------------------
Co-Leader of Twisted Insurrection
my public units for you
Nod units:____________________________GDI units:
Nod Scorpion__________________________GDI 3A Kodiak
Nod Tachyon Tank______________________GDI Medusa (Triple Cannon Mech)
Nod Goliath___________________________GDI Behemoth (medium size Mech)
Nod Cobra (fast medium mech)__________GDI Battleship Aurora
Nod Siegebot (light MG-Mech)__________GDI Fortress Tower (Heavy Base Defense)
Nod Redeemer (4 legged heavy Cyborg)__GDI Triton (Titan support Mech)
Nod/Scrin WotW Tripod_________________GDI Exciter
______________________________________GDI Ion Charge Collector
Misc and Fun units:
X-Mech Calendar 28 SHP Units
Star Wars Mechs ATAT/ATST
Cyborg Barrack on PPM_________________Mech Factory
Mutant Tiberium Flyer
yt1300 (Millenium Falcon + BIG version)

if you use my units in your mod, please credit me.if you want to use my units on your website please ask me before.
Go to the top of the page
 
: | +Quote Post
Lin Kuei Ominae
post Jan 31 2008, 02:54 PM
Post #3


Stealth Tank
Group Icon

Group: Members
Posts: 1,065
Joined: 14-November 06
From: Germany
Member No.: 281
Alliance: CABAL
Favorite game: Tiberian Sun



some more infos about the palette.

SHPs

This is the palette how it looks ingame used from an infantry unit on a
bright map:Attached Image dark map:Attached Image snow map:Attached Image
You have the same result for SHP units without a turret like the wolverine.

Now the palette for SHP units with a turret.
Attached Image
as you can see it cuts the image and only a 160x160 pixel big part is shown. This you can also read here: SHP units size restriction.

with a fitting/resized palette you have the following result on a
bright map:Attached Image dark map:Attached Image snow map:Attached Image
You can see that some of the colors (the theater and glowing ones) are green. Those should be avoided when creating shp units with turrets.

Finally the palette used by buildings on a
bright map:Attached Image dark map:Attached Image
this is again like infantry or SHP-units without a turret. Snow map not done but obviously the same like infantry on a snow map.

If you want to test this yourself, here the test shps:Attached File  tests.zip ( 1.63K ) Number of downloads: 365


The final result is, that only SHP units with turrets make problems and use the palette in a different way. These are also the only units that can't be bigger than 160x160 pixel. Infantry, Vehicle SHPs without a turret and buildings don't make/have these problems.

Voxel

The Voxel Palette also has some restrictions.
Temperate:Attached Image Snow:Attached Image
You can see that also here several colors change into purple. Those should be avoided when creating a voxel

This post has been edited by Lin Kuei Ominae: May 3 2010, 08:57 AM


--------------------
Co-Leader of Twisted Insurrection
my public units for you
Nod units:____________________________GDI units:
Nod Scorpion__________________________GDI 3A Kodiak
Nod Tachyon Tank______________________GDI Medusa (Triple Cannon Mech)
Nod Goliath___________________________GDI Behemoth (medium size Mech)
Nod Cobra (fast medium mech)__________GDI Battleship Aurora
Nod Siegebot (light MG-Mech)__________GDI Fortress Tower (Heavy Base Defense)
Nod Redeemer (4 legged heavy Cyborg)__GDI Triton (Titan support Mech)
Nod/Scrin WotW Tripod_________________GDI Exciter
______________________________________GDI Ion Charge Collector
Misc and Fun units:
X-Mech Calendar 28 SHP Units
Star Wars Mechs ATAT/ATST
Cyborg Barrack on PPM_________________Mech Factory
Mutant Tiberium Flyer
yt1300 (Millenium Falcon + BIG version)

if you use my units in your mod, please credit me.if you want to use my units on your website please ask me before.
Go to the top of the page
 
: | +Quote Post
Team Black
post Jan 31 2008, 04:14 PM
Post #4


Core Defender
Group Icon

Group: Global Moderators
Posts: 2,841
Joined: 23-October 06
From: New York, U S of A
Member No.: 123
Alliance: GDI
Favorite game: Tiberian Sun



very helpful info here LKO, thanks for posting this!


--------------------
Go to the top of the page
 
: | +Quote Post
Machine
post Jan 31 2008, 05:28 PM
Post #5


Attack Buggy
Group Icon

Group: Members
Posts: 228
Joined: 22-January 07
From: Chile
Member No.: 687
Alliance: GDI
Favorite game: Tiberian Sun



I'm really happy with the result of the Greendots Disease topic on PPM dance.gif , as I was thinking it was my fault (a corrupted palette or something like that, and not the game itself). And in the end we learned something new biggrin.gif, thanks LKO you're a great help.


--------------------

Go to the top of the page
 
: | +Quote Post
IcySon55
post Jan 31 2008, 10:14 PM
Post #6


Technician
Group Icon

Group: Members
Posts: 6
Joined: 31-October 06
From: Overworld
Member No.: 206



Here they are people, based on Lin's findings, palettes made for turreted shp vehicles:

3D 2 SHPers Palettes (TS Only)

DO NOT use these in the game. They are intended for use with SHP conversion only.



--------------------
Go to the top of the page
 
: | +Quote Post
Bittah Commander
post Nov 6 2012, 01:04 PM
Post #7


Forum Administrator
Group Icon

Group: Administrators
Posts: 1,340
Joined: 1-October 06
From: The Netherlands
Member No.: 5
Alliance: GDI
Favorite game: Tiberian Sun



I just discovered exactly why many colors turn green for turreted SHP units.
This is because any color that exists more than once on the temperat.pal palette, will be duplicated on the unittem.pal/unitsno.pal palette as well.

Just compare LKO's palette images for turreted SHP units


with temperat.pal.
Attached Image

As you can see, exactly the colors that are pink on the temperat.pal palette turn green for turreted SHP units.
So to solve this problem, you just have to replace all pink colors with other unique colors.


--------------------
Go to the top of the page
 
: | +Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th March 2024 - 05:06 AM


XGhozt.com