Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 571 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
squik, AemStones, LucasJoshua, Baklazhan, Hanky27
19060 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
How to use fog? #133581
06/03/07 22:07
06/03/07 22:07
Joined: Oct 2006
Posts: 179
ExtraCortex Offline OP
Member
ExtraCortex  Offline OP
Member

Joined: Oct 2006
Posts: 179
Is there a way to use fog using the "TAB" button on a level being tested, a level that has no script file yet?

Re: How to use fog? [Re: ExtraCortex] #133582
06/03/07 22:27
06/03/07 22:27
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
if you have included display00.wdl you may chcange codes about fog included in this file... I hope
without script? I think yes... but not sure fog is the part of the engine...
Just try

Last edited by tompo; 06/03/07 22:30.

Never say never.
Re: How to use fog? [Re: tompo] #133583
06/07/07 12:37
06/07/07 12:37
Joined: Oct 2006
Posts: 179
ExtraCortex Offline OP
Member
ExtraCortex  Offline OP
Member

Joined: Oct 2006
Posts: 179
I included gid01 and display00 but he doesnt know what clip_range is..

Re: How to use fog? [Re: ExtraCortex] #133584
06/07/07 12:37
06/07/07 12:37
Joined: Oct 2006
Posts: 179
ExtraCortex Offline OP
Member
ExtraCortex  Offline OP
Member

Joined: Oct 2006
Posts: 179
Using A6.31 Com

Re: How to use fog? [Re: ExtraCortex] #133585
06/07/07 14:49
06/07/07 14:49
Joined: Oct 2006
Posts: 179
ExtraCortex Offline OP
Member
ExtraCortex  Offline OP
Member

Joined: Oct 2006
Posts: 179
forget it... lol

Re: How to use fog? [Re: ExtraCortex] #133586
06/07/07 17:32
06/07/07 17:32
Joined: Jun 2007
Posts: 63
Italy
Sonic220 Offline
Junior Member
Sonic220  Offline
Junior Member

Joined: Jun 2007
Posts: 63
Italy
what's fog?


~Vision Divine~
Re: How to use fog? [Re: Sonic220] #133587
06/07/07 18:01
06/07/07 18:01
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
fog is... the fog LoL
is when closer object is sharper and better to see than the far away object
and when object is to far it's invisible
and the fog can have different colors and distance of start/end
read help about the fog


Never say never.
Re: How to use fog? [Re: tompo] #133588
06/07/07 18:22
06/07/07 18:22
Joined: Oct 2006
Posts: 179
ExtraCortex Offline OP
Member
ExtraCortex  Offline OP
Member

Joined: Oct 2006
Posts: 179
Fog in english means smoke for example.

Like a down cloud, touching the floor that doesnt let you see too far.


i solved the problem, i forgot to define a fundction lol

Re: How to use fog? [Re: tompo] #133589
06/08/07 22:33
06/08/07 22:33
Joined: Jun 2007
Posts: 63
Italy
Sonic220 Offline
Junior Member
Sonic220  Offline
Junior Member

Joined: Jun 2007
Posts: 63
Italy
Quote:

fog is... the fog LoL
is when closer object is sharper and better to see than the far away object
and when object is to far it's invisible
and the fog can have different colors and distance of start/end
read help about the fog



Thx, i will find the manual


~Vision Divine~
Re: How to use fog? [Re: Sonic220] #133590
06/12/07 06:06
06/12/07 06:06
Joined: May 2006
Posts: 69
Canada
L
Leaf Offline
Junior Member
Leaf  Offline
Junior Member
L

Joined: May 2006
Posts: 69
Canada
camera.clip_far = 2000; //cliprange from camera in quants
camera.fog_start = 0.8 * 2000; // fog at 80% of clip_range
camera.fog_end = 0.9 * 2000; // fog till 90% of clip_range
fog_color.red = 1;
fog_color.green = 1;
fog_color.blue = 1;



add that to in your main wdl file, under FUNCTION MAIN()

Page 1 of 2 1 2

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