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
Adjusting Player_Darkness without 'Total conversion'?
Tottel Offline
Senior Member

Posts: 307
Threads: 9
Joined: Nov 2010
Reputation: 0
#1
Adjusting Player_Darkness without 'Total conversion'?

Basically, I'm looking to remove the 'nightvision' from the player. From what I understand, this would mean that I would copy and alter game.cfg and turn my map into a 'total conversion', just because I want to change 1 value for this map.

Is there another way of scripting this somehow so I don't need to make a total conversion?
01-08-2011, 10:47 PM
Find
Frontcannon Offline
Senior Member

Posts: 538
Threads: 10
Joined: Jul 2010
Reputation: 2
#2
RE: Adjusting Player_Darkness without 'Total conversion'?

This are the only functions that alter the view of the player (that I know of):

void  FadeIn(float afTime);
void  FadeOut(float afTime);
void  FadeImageTrailTo(float afAmount, float afSpeed);
void  FadeSepiaColorTo(float afAmount, float afSpeed);
void  FadeRadialBlurTo(float afSize, float afSpeed);
void  SetRadialBlurStartDist(float afStartDist);
void  StartEffectFlash(float afFadeIn, float afWhite, float afFadeOut);
void  StartEffectEmotionFlash(string &asTextCat, string &asTextEntry, string &asSound);


╔═════════════════╗
☺ Smoke weed everyday ☺
╚═════════════════╝
01-09-2011, 12:01 AM
Find




Users browsing this thread: 1 Guest(s)