Gamestudio Links
Zorro Links
Newest Posts
SGT_FW
by Aku_Aku. 11/30/26 08:19
Removing outliers from files
by JeyKey II. 11/29/26 10:01
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (AndrewAMD, Quad), 6,065 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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