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
Lighting on ENTITIES #382719
09/11/11 23:00
09/11/11 23:00
Joined: Mar 2009
Posts: 186
V
Valdsator Offline OP
Member
Valdsator  Offline OP
Member
V

Joined: Mar 2009
Posts: 186
Is it possible for an ENTITY* object to have lighting? By ENTITY* object I mean:
Code:
ENTITY* name
{
stuff
}


I'd like to use this to display a gun in front of the screen. Thanks!

Re: Lighting on ENTITIES [Re: Valdsator] #382724
09/12/11 04:45
09/12/11 04:45
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
sure, just set it's lightrange

Re: Lighting on ENTITIES [Re: bart_the_13th] #382787
09/12/11 18:53
09/12/11 18:53
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
Emr? Is it possible to have lightning on view entities? confused


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Lighting on ENTITIES [Re: 3run] #382799
09/12/11 21:02
09/12/11 21:02
Joined: Mar 2009
Posts: 186
V
Valdsator Offline OP
Member
Valdsator  Offline OP
Member
V

Joined: Mar 2009
Posts: 186
As in, is it possible for a view entity to be affected by nearby lighting/the sun, rather than being a fullbright entity?

Re: Lighting on ENTITIES [Re: Valdsator] #382801
09/12/11 21:08
09/12/11 21:08
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
No, view entities are only available in camera space, not in world space. You can have view entities without a level, too (see manual).
As a result, they are not affected by any light source in your level. Have a look at the ZNEAR flag, instead.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Lighting on ENTITIES [Re: Superku] #382806
09/12/11 22:22
09/12/11 22:22
Joined: Mar 2009
Posts: 186
V
Valdsator Offline OP
Member
Valdsator  Offline OP
Member
V

Joined: Mar 2009
Posts: 186
Alright, thanks. The only reason I wanted to use view entities is because I could move the gun around much easier if it was just stuck to the screen.

Re: Lighting on ENTITIES [Re: Valdsator] #382820
09/13/11 06:06
09/13/11 06:06
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
As far as I know, view entities are affected by sun light only.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung

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