Hi Flavio

I haven't tested this technique but something I was thinking of trying
since we are about to do the same with particles. Try using a material
proxy for the material that your particle is going to use, and control the
color / tinting that way. AFAIK there aren't many ways for the particle to
take information from code other than CPs, and AFAIK there aren't too many
good ways to use the Initializers to turn information back into color
unless you have engine access.

~M

On Wed, Jan 25, 2012 at 12:00 PM,
<hlcoders-requ...@list.valvesoftware.com>wrote:

> Send hlcoders mailing list submissions to
>        hlcoders@list.valvesoftware.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
> or, via email, send a message with subject or body 'help' to
>        hlcoders-requ...@list.valvesoftware.com
>
> You can reach the person managing the list at
>        hlcoders-ow...@list.valvesoftware.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of hlcoders digest..."
>
>
> Today's Topics:
>
>   1. Using CPs to change particle colors (Fl?vio Roberto)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 25 Jan 2012 11:22:02 -0200
> From: Fl?vio Roberto <feg...@gmail.com>
> To: Discussion of Half-Life Programming
>        <hlcoders@list.valvesoftware.com>
> Subject: [hlcoders] Using CPs to change particle colors
> Message-ID:
>        <cac5wef2w5cnwsbdz35ed9comlr9jiv0r8dhppt279+lhros...@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hey guys,
>
> I am trying to change colors of a particle system dynamically.
> My first idea was to use a "Remap Control Point to Vector" initializer. The
> problem is that I can use only one color with that - I would like to be
> able to use a random from 3-4 colors.
>
> Has anyone got an idea on this?
>
> Thanks!
>
> Fl?vio Roberto
> http://www.dcc.ufmg.br/~flavioro/
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://list.valvesoftware.com/cgi-bin/mailman/private/hlcoders/attachments/20120125/813618c5/attachment-0001.html
> >
>
> ------------------------------
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
>
>
>
> End of hlcoders Digest, Vol 10, Issue 2
> ***************************************
>
_______________________________________________
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