Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AbrahamR, AndrewAMD, ozgur), 763 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Changing Models Color #140287
07/10/07 07:16
07/10/07 07:16
Joined: Jun 2007
Posts: 8
H
hammeraxe Offline OP
Newbie
hammeraxe  Offline OP
Newbie
H

Joined: Jun 2007
Posts: 8
HI!
I am wondering: is there a way how you can change color of a model with script?E.g. change car body color to any other RGB color by script without changing the color of its wheels. I want to get any color so using skins would be silly...

Re: Changing Models Color *DELETED* [Re: hammeraxe] #140288
07/10/07 07:44
07/10/07 07:44

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Post deleted by mercuryus

Re: Changing Models Color [Re: ] #140289
07/10/07 07:50
07/10/07 07:50
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
my.material = some_material;
some_material.ambient_blue = 255;

the same with others like:
diffuse, ambient, specular, emissive, power, albedo

so You may use f.e. sliders to changing (mixing) colors

Cheers

Last edited by tompo; 07/10/07 07:54.

Never say never.
Re: Changing Models Color [Re: tompo] #140290
07/10/07 17:44
07/10/07 17:44
Joined: Jun 2007
Posts: 8
H
hammeraxe Offline OP
Newbie
hammeraxe  Offline OP
Newbie
H

Joined: Jun 2007
Posts: 8
Ok...But how do I apply the material to only a part of a model not all of it?

Re: Changing Models Color [Re: hammeraxe] #140291
07/10/07 22:17
07/10/07 22:17
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Try to attach differents .fx files to differents skins in MED's skin settings.


Never say never.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1