Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Theory] Drastic dark areas?
Steve Offline
Member

Posts: 178
Threads: 17
Joined: Jun 2012
Reputation: 7
#11
RE: [Theory] Drastic dark areas?

(10-09-2012, 09:31 AM)Dutton Wrote: Isn't the Insanity_shadow01.(tga)

A BillBoard then?

how do you actually use these anyway?

CURRENTLY WORKING ON:
Final Light = 40%
Need of voice actors.
10-09-2012, 02:27 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#12
RE: [Theory] Drastic dark areas?

(10-09-2012, 02:27 PM)Steve Wrote:
(10-09-2012, 09:31 AM)Dutton Wrote: Isn't the Insanity_shadow01.(tga)

A BillBoard then?

how do you actually use these anyway?
Easy: you make a folder with the texture, you create a .mat file and that's it. The billboards are useful for making light effects and other stuff.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-09-2012, 05:08 PM
Find
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#13
RE: [Theory] Drastic dark areas?

(10-09-2012, 08:48 AM)The chaser Wrote: There was a insanity shadow in the amnesia folder. It scared the s**t out of me because the shape was human. You could set it active and then the darkness would progress. That way, you could see a human shadow surrounded by darkness. That's very creepy.
Where would this be? I can't seem to find it.

10-09-2012, 07:39 PM
Find
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#14
RE: [Theory] Drastic dark areas?

/graphics/insanity

Right there. TGA file.

Unless I'm wrong.

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
(This post was last modified: 10-09-2012, 07:42 PM by Robby.)
10-09-2012, 07:41 PM
Website Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#15
RE: [Theory] Drastic dark areas?

Yep. Err... you could do a model without a shape with the texture of the shadow. That way, you could make an entity for it and you could set it active anytime. I could do it for you, I don't think it's hard. Blender, plane, stuff (by stuff I mean the process of making the model and texturing it ) and there you have it.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 10-09-2012, 07:48 PM by The chaser.)
10-09-2012, 07:45 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#16
RE: [Theory] Drastic dark areas?

Today, travelling by the immensity of the engine scripts, I found this:

void SetFogActive(bool abActive);



Enables\Disables the global fog.


void SetFogColor(float afR, float afG, float afB, float afA);



afR - red value


afG - green value


afB - blue value


afA - alpha value


void SetFogProperties(float afStart, float afEnd, float afFalloffExp, bool abCulling);



afStart - how many meters from the camera should the fog begin


afEnd - how many meters from the camera should the fog reach full thickness


afFalloffExp - the amount by which the thinkness increases


abCulling - whether occlusion culling is active for the fog; this prevents objects behind the fog from being loaded

This could answer to the fog. Damascus, you could make a lot of fog areas and, slowly, making them visible. It requires a lot of scripting, but... Angel

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 10-14-2012, 09:55 AM by The chaser.)
10-14-2012, 09:55 AM
Find
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#17
RE: [Theory] Drastic dark areas?

Well those are all just for the global fog, so it affects everything. XD

And I've actually played around with these before and unfortunately don't make any gradual change. It just suddenly and abruptly turns it on, or to its new values. Thanks anyway, though! Tongue

10-14-2012, 08:37 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#18
RE: [Theory] Drastic dark areas?

Or... you can do 2 things:

1: Fading out, changing the global fog and fading in. (Meh.)

2: Creating particle systems at entities (like sewer_fog) with black color, and, slowly, making them so they get close to the player (with timers). So, making more areas, if you get nearer to the darkness, you die. (I love this one)

My dream is to be a film director, so I always get more and more evil ideas for the horror genre Angel
If you need help with ideas, tell me, Damascus.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-15-2012, 12:05 PM
Find
Wapez Offline
Senior Member

Posts: 360
Threads: 37
Joined: Mar 2012
Reputation: 19
#19
RE: [Theory] Drastic dark areas?

Make a lot of fog areas in a row. Then change them one after one, starting with the one located far away from the player, then every half second or so you change the next area, bringing the effects of darkness coming closer.

More areas=more scripting=better result.
Less areas=less scripting=worse result.

Founder & Legally Accountable Publisher of Red Line Games.
Environment & Gameplay Designer and Scripter.
http://moddb.com/mods/in-lucys-eyes
10-15-2012, 03:21 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#20
RE: [Theory] Drastic dark areas?

There isn't a script for fog areas, if there was it would be used already. Anyway, it's ok too. The only scripts available are for global fog.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-15-2012, 05:50 PM
Find




Users browsing this thread: 1 Guest(s)