Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
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
1 registered members (henrybane), 1,499 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Need help adding fog (/w screenshots) [Re: Kravenwolf] #230730
10/08/08 05:09
10/08/08 05:09
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
And what do u want now? people explain u how to script ?


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: Need help adding fog (/w screenshots) [Re: rayp] #230733
10/08/08 06:20
10/08/08 06:20
Joined: Jun 2008
Posts: 37
Ohio
K
Kravenwolf Offline OP
Newbie
Kravenwolf  Offline OP
Newbie
K

Joined: Jun 2008
Posts: 37
Ohio
Rayp, as you were so kind to provide me with before;


Quote:
Easy way with WED:
To fog walls without script open ure map probs...fill in the fog color rgb
values. If u set a walls (fex) albedo to 1 (or the fog color uve been choosen)
its "foggy".

Global fog script:
main() {
...
CAMERA.FOG = 80; //thick fog
FOG_COLOR.RED = 1;
FOG_COLOR.GREEN= 1;
FOG_COLOR.BLUE = 1;//...a dark grey fog
CAMERA.FOG_START = 0.8;
CAMERA.FOG_END = 1000;
...
}

its written out of my memory hope its correct !




^^^I do not fully understand what that means, or how to enter that script into the script templates, and run it with my level. I want a solid blanket of white mist that would cover the floor of my level in certain spots. What I am trying to figure out now (since you provided me with the script), is where and how to enter it into the script templates, and how to make the fog appear in only certain rooms, and not throughout the whole level. I also wanted to know how I would adjust the level of height the fog comes up from the floor. I also am not aware of how to "set walls"...I'm sorry for all of the questions.

-Kravenwolf

Last edited by Kravenwolf; 10/08/08 08:09.
Re: Need help adding fog (/w screenshots) [Re: Slin] #230743
10/08/08 08:23
10/08/08 08:23
Joined: Jun 2008
Posts: 37
Ohio
K
Kravenwolf Offline OP
Newbie
Kravenwolf  Offline OP
Newbie
K

Joined: Jun 2008
Posts: 37
Ohio
Originally Posted By: Slin
If I got you right, you only want some fog on the ground and no distance fog.
I would create a model with a couple of kinda random faces which are all textured with al lot of transparency, probably some noise and the color of your fog.
You could then transform the vertices a little and place it in your level at the positions you want the fog to be.


Slin, I was considering your idea as well, and was wondering it it was that simple, to just create a box in WED and set its transparancy to create fog. I can't figure out how to adjust the transparacies on the block, I checked its properties, but the option isn't there. I can't figure out how to turn the block white either (or did you mean to find a texure the color of the fog I want and apply it to the block?)...

Re: Need help adding fog (/w screenshots) [Re: Kravenwolf] #230784
10/08/08 18:05
10/08/08 18:05
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline
Senior Member
sadsack  Offline
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
Kravenwolf,
What op program are you running? If it is the big bad V there something you have to do to view the help files. I can't remenber what, but I am sure there is someone here that can help you.
renny


I have A7 Commercial .............. Now I just need to learn how to use it

Re: Need help adding fog (/w screenshots) [Re: sadsack] #230840
10/09/08 09:18
10/09/08 09:18
Joined: Jun 2008
Posts: 37
Ohio
K
Kravenwolf Offline OP
Newbie
Kravenwolf  Offline OP
Newbie
K

Joined: Jun 2008
Posts: 37
Ohio
GameStudio 7.07 / WED V6.854



Quote:
Now I just need to learn how to use it
cry

Last edited by Kravenwolf; 10/09/08 09:19.
Page 2 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