You probably use pev->colormap to set it on the server-side.

In the client code you can see:
m_nTopColor    = m_pCurrentEntity->curstate.colormap & 0xFF;
m_nBottomColor = (m_pCurrentEntity->curstate.colormap & 0xFF00) >> 8;

On 21 April 2015 at 19:40, Matas Lesinskas <peon...@gmail.com> wrote:

> hmm maybe,but how about pev->colormap ? do you know what it does ? I
> just found it in world.cpp
>
> 2015-04-21 12:15 GMT+03:00, Tom Schumann <schumann....@gmail.com>:
> > Have a look in the client code at StudioModelRender.cpp at lines 1827 to
> > 1842 or thereabouts (line numbers from the code on GitHub - look for the
> > variables topcolor and bottomcolor if you can't find it).
> >
> > On 21 April 2015 at 18:18, Matas Lesinskas <peon...@gmail.com> wrote:
> >
> >> were can I find "topcolor" "bottomcolor" skin coloring code in
> >> hlsdk(goldsrc hl code), I want to make hl monsters with random skin
> >> colors like in left 4 dead 2 for my goldsrc mod. I know player model
> >> use it but I cant find this line.
> >>
> >> _______________________________________________
> >> To unsubscribe, edit your list preferences, or view the list archives,
> >> please visit:
> >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
> >>
> >>
> >
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders

Reply via email to