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 Disable Enemy effects?
goodcap Offline
Member

Posts: 193
Threads: 112
Joined: Jun 2012
Reputation: 3
#1
Disable Enemy effects?

I am using the movable gent and when you look at him you get the effect when you look at an enemy. How do i disable that effect? Disable Triggers and Hallucination are the only options I can pick from.
03-29-2016, 04:39 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Disable Enemy effects?

I think you must edit the game.cfg file for a full conversion mod to do that. Isn't it possible to make the gent an NPC rather than an enemy?

03-29-2016, 06:12 PM
Find
Spelos Away
Banned

Posts: 231
Threads: 19
Joined: Sep 2014
#3
RE: Disable Enemy effects?

To turn off the sanity drain, use:
PHP Code: (Select All)
SetSanityDrainDisabled(true); 

But really... I would oppose to Mudbill, because since 1.3 we have:
PHP Code: (Select All)
SetEnemySanityDecreaseActive("enemyName"false); 
That is most likely what you're looking for.
(This post was last modified: 03-29-2016, 09:45 PM by Spelos.)
03-29-2016, 09:44 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Disable Enemy effects?

As long as that one removes the blur effect while looking at the enemy, then it's good to go!

Despite being the one to list every one of the 1.3 functions on the engine scripts, I hardly remember them.

03-30-2016, 02:56 AM
Find




Users browsing this thread: 1 Guest(s)