Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remove tinderbox icon?
cheztheguy Offline
Junior Member

Posts: 12
Threads: 7
Joined: Jun 2011
Reputation: 0
#1
Remove tinderbox icon?

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! Big Grin
10-15-2011, 05:11 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: Remove tinderbox icon?

The easiest way should be to disable interaction with the object with SetEntityInteractionDisabled(): http://wiki.frictionalgames.com/hpl2/amn...s#general2

Tutorials: From Noob to Pro
10-15-2011, 05:39 AM
Website Find
cheztheguy Offline
Junior Member

Posts: 12
Threads: 7
Joined: Jun 2011
Reputation: 0
#3
RE: Remove tinderbox icon?

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?
10-15-2011, 05:50 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: Remove tinderbox icon?

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.

Tutorials: From Noob to Pro
10-15-2011, 06:17 AM
Website Find
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#5
RE: Remove tinderbox icon?

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

10-15-2011, 09:13 AM
Find




Users browsing this thread: 1 Guest(s)