Frictional Games Forum (read-only)
Is it possible to add more Key functions? - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Is it possible to add more Key functions? (/thread-18843.html)



Is it possible to add more Key functions? - Southlaguna - 10-19-2012

So i have searched and searched and i dont know if im the first to attempt this, but is their a way to add more key functions in amnesia? Im trying to add an Infared vision function to my custom story and i want to add a button so that you can toggle it like the lantern. I dont want to remove any of the keys the game has already in it so if anyone could let me know if this is even possible let me know.


RE: Is it possible to add more Key functions? - Statyk - 10-19-2012

No it is not possible to add key functions unless you have the source code. Which of course is not available to the public. You have to apply it creatively to a key already provided, such as the lantern.


RE: Is it possible to add more Key functions? - Southlaguna - 10-19-2012

Okay thanks for saving my time lol. Follow up question then, if i was to remove the hands and the lantern from the screen and replaced it with a screen color change and gobo, would i have to make the mod full conversion? Like is it absolutly necessary or could i just back up my game.cfg file and models folder and reset it when i want to.


RE: Is it possible to add more Key functions? - Kreekakon - 10-19-2012

(10-19-2012, 03:55 AM)Southlaguna Wrote: Okay thanks for saving my time lol. Follow up question then, if i was to remove the hands and the lantern from the screen and replaced it with a screen color change and gobo, would i have to make the mod full conversion? Like is it absolutly necessary or could i just back up my game.cfg file and models folder and reset it when i want to.
If you're playing it for yourself, you can alter the files yourself. However, in most cases when you would want to release your story to the public you would have to make a full conversion, because the general audience aren't going to go through so much trouble replacing their old files with your new lantern.


RE: Is it possible to add more Key functions? - Ongka - 10-19-2012

You could edit the hand and lantern so the hands don't show up and remove the lantern model from the hand_object and change the color of the attached pointlight. If you press f now, your "night vision" activates and no lantern shows up.
Of course you need to make a full conversion.