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 1 of 2 1 2
Need help adding fog (/w screenshots) #230626
10/07/08 08:37
10/07/08 08:37
Joined: Jun 2008
Posts: 37
Ohio
K
Kravenwolf Offline OP
Newbie
Kravenwolf  Offline OP
Newbie
K

Joined: Jun 2008
Posts: 37
Ohio

Need help adding fog (/w screenshots)

I've been working on my 'prison level' periodically this week (I've taken a few months away from Game Studio), and wanted to know how to add a simple transparent mist to cover the floor throughout the prison. I've been searching the forum, I've been searching google, and I've been searching the tutorials, and have found absolutely NOTHING in regards to adding fog into a level. I need help!








I wanted to know if anyone would be able to explain step-by-step (or even provide a link to a n in-depth tutorial) on how to add continuous fog throughout a level from the ground up (keeping in mind that I have absolutely NO idea how to do so, or how to script). I think this may also help anyone who ever wonders the same question. And, if this question has already been explained, I would appreciate a link, and want to apologize for bringing it up.

-Kravenwolf

Last edited by Kravenwolf; 10/07/08 08:53.
Re: Need help adding fog (/w screenshots) [Re: Kravenwolf] #230628
10/07/08 09:02
10/07/08 09:02
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
Its explained very well in the manuel ?!?

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 !


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] #230632
10/07/08 09:32
10/07/08 09:32
Joined: Jun 2008
Posts: 37
Ohio
K
Kravenwolf Offline OP
Newbie
Kravenwolf  Offline OP
Newbie
K

Joined: Jun 2008
Posts: 37
Ohio
Thanks for the help, rayp. Where exactly is this in the manual? Because I wasn't able to find it (I even checked the downloaded tutorials). Anyway, I'm having a lot of problems with this.

1. I'm not at all sure what is meant by "set walls"; or what procedure I need to do to make this happen.

2. Whenever I go into the project manager, and I try to add a script it says: "can't open script file ... .wdl"?

3. I don't know how to manipulate the FOG window to select the color I want; or how to make the fog transparent. As in, do I have to select colors for Fog 1-4, etc...

4. I don't know how to script! I don't have any idea where to enter the 'global fog script, how to put the script into my level, and run it. Or, how to tell the engine which parts of the prison I want the fog to appear in after running the script.

I'm sorry for so many questions frown

Last edited by Kravenwolf; 10/07/08 09:34.
Re: Need help adding fog (/w screenshots) [Re: Kravenwolf] #230633
10/07/08 09:34
10/07/08 09:34
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
I think u have using probs not fog probs ?
Manual? U dont know where to open the manuel ???

If u dont find it in ure software use the "Online Manual" link
(left side of the screen in this forum)

Last edited by rayp; 10/07/08 09:44.

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] #230634
10/07/08 09:37
10/07/08 09:37
Joined: Jun 2008
Posts: 37
Ohio
K
Kravenwolf Offline OP
Newbie
Kravenwolf  Offline OP
Newbie
K

Joined: Jun 2008
Posts: 37
Ohio
No, I don't know where the topic regarding fog is in the manual? If I can read through it, it may help me out a little more with the issue, and then I can ask whatever I didn't catch after reading through it.

Re: Need help adding fog (/w screenshots) [Re: Kravenwolf] #230635
10/07/08 09:38
10/07/08 09:38
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
Whats about the search function in it ?


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] #230636
10/07/08 09:44
10/07/08 09:44
Joined: Jun 2008
Posts: 37
Ohio
K
Kravenwolf Offline OP
Newbie
Kravenwolf  Offline OP
Newbie
K

Joined: Jun 2008
Posts: 37
Ohio
Search function worked, it brought up several scattered topics, I've read through them, however it doesn't so much state a simplified "fog for dummies" technique; which is what I was sort of hoping to attain on the forums frown (unless I overlooked it).

I'm not trying to be lazy, which it probably is comming off as, I just don't understand scripting commands at all, I have no idea where to start with them, or where to go from it. If I could throw fog into the level with a simple step by step procedure that I could understand, then maybe other basic scripting commands (exampled in the manual) would start making clearer sense to me, and I could start learning about basic scripting.

Last edited by Kravenwolf; 10/07/08 09:49.
Re: Need help adding fog (/w screenshots) [Re: Kravenwolf] #230637
10/07/08 09:52
10/07/08 09:52
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
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.

Re: Need help adding fog (/w screenshots) [Re: Kravenwolf] #230650
10/07/08 13:37
10/07/08 13:37
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
Originally Posted By: Kravenwolf
No, I don't know where the topic regarding fog is in the manual?





"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: Need help adding fog (/w screenshots) [Re: Michael_Schwarz] #230722
10/08/08 02:06
10/08/08 02:06
Joined: Jun 2008
Posts: 37
Ohio
K
Kravenwolf Offline OP
Newbie
Kravenwolf  Offline OP
Newbie
K

Joined: Jun 2008
Posts: 37
Ohio






Quote:
I just don't understand scripting commands at all, I have no idea where to start with them, or where to go from it. If I could throw fog into the level with a simple step by step procedure that I could understand, then maybe other basic scripting commands (exampled in the manual) would start making clearer sense to me




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