Remove tinderbox "counter" - 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 "counter" (/thread-20517.html) |
Remove tinderbox "counter" - Akos115 - 02-26-2013 When the player moves the crosshair over a torch, a tinderbox image, and a counter (for example x2) appears. Is it possible to remove the counter? RE: Remove tinderbox "counter" - FlawlessHappiness - 02-26-2013 I don't think so Pretty much hardcoded into the lamp-entities RE: Remove tinderbox "counter" - Akos115 - 02-26-2013 I think it's possible If they added it, I just have to remove it, but I don't know how >.< RE: Remove tinderbox "counter" - xxxxxxxxxxxxxxxx - 02-26-2013 Amnesia isn't as flexible as other moddable games... I read somewhere that the whole Custom Story functionality was pretty much a last-minute addition - one they never expected to become as popular with the fans as it eventually did. So a lot of stuff that seems easy to do in theory just isn't possible, because the code that would need to be changed simply isn't accessible to us. You might be able to do some sort of work-around though... I guess you could maybe replace the texture with a completely transparent one so it's invisible? Dunno how you'd get rid of the text though. In any case, I highly suspect you'd need to do a full conversion for this... RE: Remove tinderbox "counter" - Kreekakon - 02-26-2013 Not entirely sure what you mean here. Do you mean you want to not to be able to interact with the lamps, or still be able to light them while not seeing the counter? For the former, it's actually it's rather simple to achieve this. There are several methods without using a full conversion. 1. Use the Model Editor to change user defined variables of the lamp, and make it something to your liking. 2. Put a blockbox around the lamp. 3. Use the script function "SetEntityInteractionDisabled" for the lamp. RE: Remove tinderbox "counter" - ZeroPie - 02-26-2013 (02-26-2013, 07:06 PM)Kreekakon Wrote: Not entirely sure what you mean here. Do you mean you want to not to be able to interact with the lamps, or still be able to light them while not seeing the counter? Yeah there are alot of different work-arounds, you just gotta be a little creative. Although I am kinda hoping that AAMFP will feature more things for modders and CS makers. RE: Remove tinderbox "counter" - Akos115 - 02-26-2013 I know I will need a full conversion, actually thats what I'm making. I know how to get rid of the texture (graphics/inventory), but I only want to remove the counter. The lamps have to be litable, I will keep looking the codes, it will take a while ._. RE: Remove tinderbox "counter" - Your Computer - 02-27-2013 Have you tried using a LookAt callback that removes the cursor when looking at the entity? Full conversion wouldn't be required for that. RE: Remove tinderbox "counter" - Akos115 - 02-28-2013 Good idea, but I think I got a better one. I will remove all the numbers and the letter "x" from the font that is used for the counter. RE: Remove tinderbox "counter" - Statyk - 03-01-2013 Would this work?... You sound like you're taking the harder, unnecessary approach. ____________ void ShowPlayerCrossHairIcons(bool abX); Enables/Disables the icons when a player has something in focus. ____________ FG used this in the beginning and in flashbacks. you can still interact with things, but your crosshair is invisible. Do what Your Computer said and use this in a callback placed on the lamp. |