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
Getting rid of sanity effects?
Patacorow Offline
Member

Posts: 135
Threads: 11
Joined: Jul 2011
Reputation: 3
#1
Getting rid of sanity effects?

Hey, is there anyway to get rid of sanity and it's effects for a custom story?

I've tried SetSanityDrainDisabled, but it doesn't work.
09-07-2011, 06:48 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: Getting rid of sanity effects?

SetSanityDrainDisabled( true);

It works.

09-07-2011, 06:49 PM
Website Find
Patacorow Offline
Member

Posts: 135
Threads: 11
Joined: Jul 2011
Reputation: 3
#3
RE: Getting rid of sanity effects?

(09-07-2011, 06:49 PM)Tanshaydar Wrote: SetSanityDrainDisabled( true);

It works.
Not for me...

Here's my code:

void OnStart()

{
SetSanityDrainDisabled(true);
SetEnemyDisableTriggers("dude",true);
SetEntityPlayerInteractCallback("barrel","dudeme",false);
}

void dudeme(string &in asEntity)
{
SetSanityDrainDisabled(true);
SetPlayerRunSpeedMul(3.0f);
}

Best barrel ever!
(This post was last modified: 09-07-2011, 06:59 PM by Patacorow.)
09-07-2011, 06:58 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#4
RE: Getting rid of sanity effects?

If you mean the effects when you look at the enemy, they can't be changed through scripting, you'll need to make a total conversion.

09-07-2011, 07:00 PM
Website Find
Patacorow Offline
Member

Posts: 135
Threads: 11
Joined: Jul 2011
Reputation: 3
#5
RE: Getting rid of sanity effects?

(09-07-2011, 07:00 PM)Tanshaydar Wrote: If you mean the effects when you look at the enemy, they can't be changed through scripting, you'll need to make a total conversion.
Thanks, but my sanity still drains from "crystal clear" to "a slight headache". Help?

09-07-2011, 07:12 PM
Find
Thiefnuker Offline
Junior Member

Posts: 44
Threads: 7
Joined: Jan 2012
Reputation: 4
#6
RE: Getting rid of sanity effects?

Hey i know I'm a bit late with that,
It actually IS possible. If you want to make a friendly Monster just standing around somewhere, you can put Planes with invisible textures around him so that the player actually looks at the plane and not at the monster. But you cant walk through or grab sth trhough it.
Greetz,
Thiefnuker


01-10-2012, 04:40 PM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#7
RE: Getting rid of sanity effects?

(01-10-2012, 04:40 PM)Thiefnuker Wrote: Hey i know I'm a bit late with that,
It actually IS possible. If you want to make a friendly Monster just standing around somewhere, you can put Planes with invisible textures around him so that the player actually looks at the plane and not at the monster. But you cant walk through or grab sth trhough it.
Greetz,
Thiefnuker
Or you could tick "DissableTriggers"


01-10-2012, 05:02 PM
Find




Users browsing this thread: 2 Guest(s)