Frictional Games Forum (read-only)
Adjusting Player_Darkness without 'Total conversion'? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Adjusting Player_Darkness without 'Total conversion'? (/thread-6117.html)



Adjusting Player_Darkness without 'Total conversion'? - Tottel - 01-08-2011

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?


RE: Adjusting Player_Darkness without 'Total conversion'? - Frontcannon - 01-09-2011

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

Code:
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);