Akos115
Member
Posts: 101
Threads: 14
Joined: Aug 2012
Reputation:
0
|
Remove tinderbox "counter"
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?
|
|
02-26-2013, 05:18 PM |
|
FlawlessHappiness
Posting Freak
Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation:
171
|
RE: Remove tinderbox "counter"
I don't think so Pretty much hardcoded into the lamp-entities
Trying is the first step to success.
|
|
02-26-2013, 05:25 PM |
|
Akos115
Member
Posts: 101
Threads: 14
Joined: Aug 2012
Reputation:
0
|
RE: Remove tinderbox "counter"
I think it's possible
If they added it, I just have to remove it, but I don't know how >.<
|
|
02-26-2013, 06:13 PM |
|
xxxxxxxxxxxxxxxx
Posting Freak
Posts: 935
Threads: 0
Joined: Jun 2012
Reputation:
54
|
RE: Remove tinderbox "counter"
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...
|
|
02-26-2013, 06:58 PM |
|
Kreekakon
Pick a god and pray!
Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation:
124
|
RE: Remove tinderbox "counter"
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.
|
|
02-26-2013, 07:06 PM |
|
ZeroPie
Junior Member
Posts: 15
Threads: 2
Joined: Apr 2012
Reputation:
0
|
RE: Remove tinderbox "counter"
(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?
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.
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.
|
|
02-26-2013, 07:31 PM |
|
Akos115
Member
Posts: 101
Threads: 14
Joined: Aug 2012
Reputation:
0
|
RE: Remove tinderbox "counter"
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 ._.
|
|
02-26-2013, 11:34 PM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: Remove tinderbox "counter"
Have you tried using a LookAt callback that removes the cursor when looking at the entity? Full conversion wouldn't be required for that.
|
|
02-27-2013, 01:11 AM |
|
Akos115
Member
Posts: 101
Threads: 14
Joined: Aug 2012
Reputation:
0
|
RE: Remove tinderbox "counter"
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.
|
|
02-28-2013, 11:14 PM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: Remove tinderbox "counter"
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.
(This post was last modified: 03-01-2013, 08:06 AM by Statyk.)
|
|
03-01-2013, 08:05 AM |
|
|