Gamestudio Links
Zorro Links
Newest Posts
FXCM demo test failed
by qin. 01/13/26 13:53
Camera always moves upwards?
by NeoDumont. 01/12/26 09:39
Alpaca Plugin v1.5.2 Release
by kzhao. 01/11/26 13:42
Alpaca Plugin v1.4.0
by kzhao. 01/11/26 13:38
separating groups of 3 digits by a comma
by joe_kane. 01/11/26 00:01
MRC.c and WFO
by joe_kane. 01/10/26 23:58
BarOffset (default = 940 for daily bars?
by joe_kane. 01/10/26 23:46
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 5,207 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
promfast, joe_kane, Namitha_NN, Syndrela, agasior
19190 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