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
1 registered members (TipmyPip), 18,633 guests, and 5 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
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 | 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