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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Holdning the flashlight like in penumbra
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#22
RE: Holdning the flashlight like in penumbra

To remove the arm, just fill the .dds with alpha.
\redist\models\player\hands\hands.dds


Then include the alpha layer in the .mat with MaterialEditor.

This is just to avoid touching the .ent and .dae files of the hand.
They tend to crash a lot.

For the flashlight, get the model and put it here:
\redist\models\hand_objects\lantern


If your flashlight files are named flashlight.dae, flashlight.ent, flashlight.mat
Edit lantern.ho and change this value:
Model = "hand_lantern.ent" to "flashlight.ent"


To change the flashlight position ingame, in the same file lantern.ho change this value:
OffsetPosition = "-0.0105 -0.0035 0.002"

These are x, y, z. Starting at 0,0,0 from the left bottom of the screen.

-0.0035 is the one taking the lantern a little below the screen to fit better at the corner.
You may want to change this value to move the flashlight down.

That's all, that's what i did for my ifc to change the lantern.

06-03-2013, 08:23 AM
Find


Messages In This Thread
RE: Holdning the flashlight like in penumbra - by Daemian - 06-03-2013, 08:23 AM



Users browsing this thread: 1 Guest(s)