Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting rid of sanity effects?
Author Message
Patacorow Offline
Member

Posts: 135
Joined: Jul 2011
Reputation: 3
Post: #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 all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,091
Joined: Mar 2009
Reputation: 66
Post: #2
RE: Getting rid of sanity effects?
SetSanityDrainDisabled( true);

It works.

09-07-2011 06:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Patacorow Offline
Member

Posts: 135
Joined: Jul 2011
Reputation: 3
Post: #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 all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,091
Joined: Mar 2009
Reputation: 66
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
Patacorow Offline
Member

Posts: 135
Joined: Jul 2011
Reputation: 3
Post: #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 all posts by this user Quote this message in a reply
Thiefnuker Offline
Junior Member

Posts: 44
Joined: Jan 2012
Reputation: 4
Post: #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 all posts by this user Quote this message in a reply
flamez3 Offline
Posting Freak

Posts: 1,320
Joined: Apr 2011
Reputation: 57
Post: #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 all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)