Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, degenerate_762), 1,213 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mino, squik, AemStones, LucasJoshua, Baklazhan
19061 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Assign material #206475
05/13/08 18:29
05/13/08 18:29
Joined: Mar 2004
Posts: 71
Scotland
westray Offline OP
Junior Member
westray  Offline OP
Junior Member

Joined: Mar 2004
Posts: 71
Scotland
Hi.Have looked thru the manual but still can't figure this out.How would I assign the following material to an object in Lite_C.

Code:
 MATERIAL* rubix=
	{
	ambient_red = 150 ;
	ambient_green = 150 ;
	ambient_blue = 150 ;
	diffuse_red = 0 ;
	diffuse_green = 0 ;
	diffuse_blue = 0 ;
	specular_red = 255 ;
	specular_green = 255 ;
	specular_blue = 255 ;
	emissive_red = 0;
	emissive_green = 0 ;
	emissive_blue = 0;
	power = 50 ;
	}


Last edited by westray; 05/13/08 18:32.
Re: Assign material [Re: westray] #206478
05/13/08 19:11
05/13/08 19:11
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl


action player1()
{
my.material = rubix;
...


"empty"

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