Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, OptimusPrime, AndrewAMD), 14,882 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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