Frictional Games Forum (read-only)
[SCRIPT] Low tutorials regarding insanity events - 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: [SCRIPT] Low tutorials regarding insanity events (/thread-25114.html)



Low tutorials regarding insanity events - Hauken - 04-20-2014

Hey, I did do some search on the forums and google but I found close to nothing which I need.

question 1: When and how do we use the Insanity area scripts?
question 2: How can I assign to have flies crawling on the players screen while inside a script area?

So far I understood we need to call events from main_sanity_events.cfg but I only found codes to activate random events, which is pretty much anything like Daniel speaking to himself, I kinda just want to have flies crawling on the screen (frictional's work) within an script area.

Is this possible? I did do some looking in the morgue.hps but I didnt get much from it, I also took a look at engine scripts but found little.


RE: Low tutorials regarding insanity events - Hauken - 04-20-2014

I can't remember if there was particle effect flies also around players head, if any1 knows how to do that aswell it's a bonus! Smile


RE: Low tutorials regarding insanity events - Mudbill - 04-20-2014

Have you tried inspecting the scene near the beginning of the main game, where the cockroaches appear? They always appear there, so it can't be random.


RE: Low tutorials regarding insanity events - Hauken - 04-20-2014

I did but no screen effects occured.

EDIT: Thats what I'm after, making a insanity event from script is not hard but the screen effects and such is another case.


RE: Low tutorials regarding insanity events - Hauken - 04-21-2014

Well I assume nobody knows or the ones who do know is inactive atm, from what I can see Amnesia a machine for pigs new asset patch has new script functions which you can specify events.

I will try that and come back with feedback..


RE: Low tutorials regarding insanity events - DnALANGE - 04-21-2014

Well..
I have made a tutorial.
it is VERY hard!!!
CUSTOM sanity events are ONLY possible with a Full conversion mod.
WHy?? ; Because you willl need to create NEW sanity events, witch are inside the ORIGINAL game.
you do NOT want to screw around with that, because there will be possible ways for a sanity event that will pop up CUSTOM so NOT the one YOU want.
you NEED to create your OWN main_sanity_events.cfg
PLUS people do NOT want to change \ screw around with oroginal files.
so read CAREFULLY, for any questions i try to be here often to help you.
-
I am i think one of the the very less guys on the whole forum who had created it.
Here is the link : http://www.frictionalgames.com/forum/thread-22215.html
EDIT!!!
IF you have the MFP patch, the function you wil need is this, so you can forget some points about scripts! :
PHP Code:
StartInsanityEvent("YOUREVENT_WITCHYOU_CREATED_IN_THE_MAINSANITYEVENTS.CFG"); 
Here is how to STOP the event :
PHP Code:
StopCurrentInsanityEvent(); 

HINT
Download \ Play Premonition. there are over like 10 of these events. Check the scripts \ map \ how i created the Phone for example.


RE: Low tutorials regarding insanity events - daortir - 04-21-2014

That's not his question at all dude ^^. He wants to make a specific event happen in the original Amnesia game. The event already exists : >.
What you said is really interesting though, I might use sanity events in the way you did !

I'm very interested by this thread though, I'm curious to know how to make it happen...


RE: Low tutorials regarding insanity events - DnALANGE - 04-21-2014

(04-21-2014, 07:00 PM)daortir Wrote: That's not his question at all dude ^^. He wants to make a specific event happen in the original Amnesia game. The event already exists : >.
What you said is really interesting though, I might use sanity events in the way you did !

I'm very interested by this thread though, I'm curious to know how to make it happen...

Ohhh..misread the tread then.. sorry daortir.
if anyone is interested in how tomake their own sanity events , will help you guys and i am willing to make a video tutorial about it.
might be interested for the wiki page maybe...

you can pm me daortir. I am here to help you. And everyone here offcourse.

About his question..
do you have mfp patch installed?
otherwise it could be a bit harder because it is called ; random sanity events...
meaning the event will start randomly..
it is not so easy as it looks and sounds.
for me yeah... after like 150 hours of testing. Hehee.