Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, alibaba), 1,426 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
view entity lighting #72114
04/25/06 07:49
04/25/06 07:49
Joined: Apr 2006
Posts: 36
India
G
gamespider Offline OP
Newbie
gamespider  Offline OP
Newbie
G

Joined: Apr 2006
Posts: 36
India
How can I getlighting to work with view entities? ie. entities created by the

entity name
{
..........
.....
....
}

Re: view entity lighting [Re: gamespider] #72115
04/25/06 08:15
04/25/06 08:15
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
use material :

// Just an example
Code:

material myMtl
{
ambient_red = 50 ;
ambient_green = 50 ;
ambient_blue = 50 ;
diffuse_red = 0 ;
diffuse_green = 0 ;
diffuse_blue = 0 ;
specular_red = 0 ;
specular_green = 0 ;
specular_blue = 0 ;
emissive_red = 40 ;
emissive_green = 40 ;
emissive_blue = 40 ;
power = 0 ;
}

action myEntity
{
my.material = myMtl;
}



But not sure if it works with your GS version.

Re: view entity lighting [Re: vlau] #72116
04/25/06 08:31
04/25/06 08:31
Joined: Apr 2006
Posts: 36
India
G
gamespider Offline OP
Newbie
gamespider  Offline OP
Newbie
G

Joined: Apr 2006
Posts: 36
India
that works with view entities too? They say that the view entities do not exist in th level and.... are only existent in the view.


Moderated by  HeelX, rvL_eXile 

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