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
Script Help Please help with insanity events
Chronogyros Offline
Junior Member

Posts: 43
Threads: 9
Joined: Oct 2011
Reputation: 2
#1
Please help with insanity events

void SetInsanitySetEnabled(string& asSet, bool abX);
Determines which InsanitySets are enabled.
asSet - the set
abX - enabled or not


Does anyone know what possible insanity "sets" there are? I am wondering if I can trigger specific insanity events with this. For example: bugs crawling over the player's screen.

Emma's Story Part II 100% Complete
06-18-2012, 04:16 AM
Find
SilentHideButFine Offline
Member

Posts: 156
Threads: 38
Joined: May 2012
Reputation: 6
#2
RE: Please help with insanity events

(06-18-2012, 04:16 AM)Chronogyros Wrote: void SetInsanitySetEnabled(string& asSet, bool abX);
Determines which InsanitySets are enabled.
asSet - the set
abX - enabled or not


Does anyone know what possible insanity "sets" there are? I am wondering if I can trigger specific insanity events with this. For example: bugs crawling over the player's screen.
i normaly use ""GiveSanityDamage(float afAmount, bool abUseEffect);"

SetInsanitySetEnabled("Area?", true or false?);

not sure :S

[url= http://www.moddb.com/mods/jessehmusic [/url] ,HOSPITAL OF HORROR MOD
(This post was last modified: 06-18-2012, 05:30 AM by SilentHideButFine.)
06-18-2012, 05:27 AM
Find
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#3
RE: Please help with insanity events

That's not the same thing. Insanity sets are for example when Daniel starts muttering to himself, bugs start crawling over the screen, or flies start buzzing around the player.

I've wanted to use this function too but haven't seen a comprehensive list of sets.

06-18-2012, 05:30 AM
Find
Chronogyros Offline
Junior Member

Posts: 43
Threads: 9
Joined: Oct 2011
Reputation: 2
#4
RE: Please help with insanity events

(06-18-2012, 05:30 AM)Damascus Wrote: That's not the same thing. Insanity sets are for example when Daniel starts muttering to himself, bugs start crawling over the screen, or flies start buzzing around the player.

I've wanted to use this function too but haven't seen a comprehensive list of sets.
Yes, I've looked too, but I can't seem to find any lists either. Someone must know what the sets are. Huh

Emma's Story Part II 100% Complete
06-18-2012, 06:03 AM
Find
Dutton Offline
Member

Posts: 121
Threads: 3
Joined: Apr 2012
Reputation: 2
#5
RE: Please help with insanity events

(01-29-2012, 09:14 AM)Your Computer Wrote: I think SetInsanitySetEnabled() relates to misc/main_sanity_events.cfg.
http://www.frictionalgames.com/forum/thread-12935.html

[Image: 15isy6C]
06-18-2012, 07:18 AM
Find
Chronogyros Offline
Junior Member

Posts: 43
Threads: 9
Joined: Oct 2011
Reputation: 2
#6
RE: Please help with insanity events

(06-18-2012, 07:18 AM)Dutton Wrote:
(01-29-2012, 09:14 AM)Your Computer Wrote: I think SetInsanitySetEnabled() relates to misc/main_sanity_events.cfg.
http://www.frictionalgames.com/forum/thread-12935.html
Ok looks like the only set is "default". Seems like if I wanted to have a different set, I'd have to make a full conversion mod with my own custom sets defined. Thanks for the tip.

Emma's Story Part II 100% Complete
06-18-2012, 03:40 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#7
RE: Please help with insanity events

Also when you are ingame and press F1 you can actually play different sanity effects.. There are also names of them.. Maybe try that..

Trying is the first step to success.
06-18-2012, 03:46 PM
Find




Users browsing this thread: 1 Guest(s)