Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by dr_panther. 05/18/24 11:01
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, dr_panther), 724 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Retrive dynamic lights placed in WED [Re: DJBMASTER] #303157
12/26/09 02:58
12/26/09 02:58
Joined: Jun 2004
Posts: 655
to your left
BoH_Havoc Offline OP
User
BoH_Havoc  Offline OP
User

Joined: Jun 2004
Posts: 655
to your left
Awesome! That's exactly what i needed laugh

THANKS! laugh

[edit] one little thing: what do i have to change so it retrives all lights that have the dynamic flag set? if i set [dynamic] together with [highres] and/or [static] in WED, they aren't retrived anymore. Not that much of a big deal, but it would be nice to have that feature laugh


Shade-C EVO Lite-C Shader Framework
Re: Retrive dynamic lights placed in WED [Re: BoH_Havoc] #303165
12/26/09 09:12
12/26/09 09:12
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
ermm, you can just add some more clauses identical to the 'if(flags == 2)' bit, using the following values...

flags = 0 >>> (static light)
flags = 1 >>> (hi-res static light)
flags = 2 >>> (dynamic light)
flags = 3 >>> (hi-res dynamic light)

So all dynamic lights (hi-res or not), just change the if statement to 'if(flags == 2 || flags == 3)'.

Any more problems, don't hesitate to ask.

DJB.

Last edited by DJBMASTER; 12/26/09 09:14.
Page 2 of 2 1 2

Moderated by  HeelX, Spirit 

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