Remove tinderbox icon? - 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: Remove tinderbox icon? (/thread-10762.html) |
Remove tinderbox icon? - cheztheguy - 10-15-2011 Hi guys, I've been wondering something for a while: is it possible to remove the icon of a tinderbox when your cursor points over a candle/torch? Also, is it possible to remove the text of x(number of tinderboxes) when your cursor goes over a candle/torch? Like, when it says x3 when you have 3 tinderboxes. Thanks! RE: Remove tinderbox icon? - Your Computer - 10-15-2011 The easiest way should be to disable interaction with the object with SetEntityInteractionDisabled(): http://wiki.frictionalgames.com/hpl2/amnesia/script_functions#general2 RE: Remove tinderbox icon? - cheztheguy - 10-15-2011 However, I want to actually light the candle/torch, but I just don't want the text and icon to show. If I look through the game files, is there a sort of graphic that shows the tinderbox icon? *edit, I do see the game file for the tinderbox icon* And, do I just look through the .lang files to find the text? RE: Remove tinderbox icon? - Your Computer - 10-15-2011 I'm not sure if it is possible to remove the text while allowing for interaction; however, in order to remove the image, you're going to need to create a full conversion custom story. Do note it is not really a good design decision to remove such interactive indications anyway. RE: Remove tinderbox icon? - Khyrpa - 10-15-2011 You can just put an area at the candle and create interaction with it and make so that when the player clicks it, you use script to set the lamp lit you want. That will give you the icon of a hand instead of a tinderbox though. Try this ShowPlayerCrossHairIcons(bool abX); false |