Frictional Games Forum (read-only)
Help please >.< - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Help please >.< (/thread-24962.html)

Pages: 1 2


Help please >.< - Solarflaire - 03-31-2014

Hello guys! Anyone here who could explain screeneffects?

Like how to make one etc.
I wanna see how far you can push HPL and I would really like to know if this was possible.


RE: Help please >.< - i3670 - 03-31-2014

http://wiki.frictionalgames.com/hpl2/amnesia/script_functions#screen_effects

There you go. There are descriptions on how to use them underneath.


RE: Help please >.< - Artyom - 03-31-2014

(03-31-2014, 02:20 PM)Solarflaire Wrote: Hello guys! Anyone here who could explain screeneffects?

Like how to make one etc.
I wanna see how far you can push HPL and I would really like to know if this was possible.

I've thought about this as well. How do you create a custom screen effect?
Like for example this frost/ice around the screen:
[Image: q0exDwO.jpg]


RE: Help please >.< - daortir - 03-31-2014

@Zandra : I believe it works with a full conversion and a custom sanity event. Think DnAlange did something like that, but to be honest I'm really not sure about it u_u...


RE: Help please >.< - Artyom - 03-31-2014

(03-31-2014, 05:12 PM)daortir Wrote: @Zandra : I believe it works with a full conversion and a custom sanity event. Think DnAlange did something like that, but to be honest I'm really not sure about it u_u...

Hmm yeah I suspected it required full conversion, but I want to know how to create one.


RE: Help please >.< - Slanderous - 03-31-2014

(03-31-2014, 05:28 PM)Zandrojakov Wrote:
(03-31-2014, 05:12 PM)daortir Wrote: @Zandra : I believe it works with a full conversion and a custom sanity event. Think DnAlange did something like that, but to be honest I'm really not sure about it u_u...

Hmm yeah I suspected it required full conversion, but I want to know how to create one.

I think that you have to create your own insanity event (like the worms on the screen) and then start it by using script (i believe if there is a one for this)

Though it has to be added in "main_sanity_events" I think :/


RE: Help please >.< - Daemian - 04-01-2014

You edit misc/main_sanity_events.cfg
Then you call your custom insanity event with StartRandomInsanityEvent();

Being that it's at random which Insanity Event is called, you wanna disable all the others first.
SetInsanitySetEnabled( asInsanitySet, true/false );

So, basically if you have your custom insanity event and it's set name is "Frost" (it uses sets, not specific names)
You gotta use SetInsanitySetEnabled(set, false) on every other set in the file before you call StartRandomInsanityEvent();

It's supposed to work %100 but still there's a weird chance, like %15 of the time, your StartRandomInsanityEvent call gets ignored. As if the game decided that none of the insanity events are gonna play.

More info

Here's the guide dnAlange did once.
I didn't read it, but we talked many times and tried many methods and still the function fails time to time.


RE: Help please >.< - Solarflaire - 04-01-2014

I still don't understand how to create one? Do i create it like a gif? I dunno >.<


RE: Help please >.< - Mudbill - 04-01-2014

If you're thinking about texture format, it's definitely either .tga or .dds. HPL does not like gifs Tongue


RE: Help please >.< - Solarflaire - 04-01-2014

So I edit it in gimp or ps? Someone need to make a tutorial for this >.<