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
Kullin Offline
Member

Posts: 218
Threads: 23
Joined: May 2013
Reputation: 3
#23
RE: Holdning the flashlight like in penumbra

(06-03-2013, 08:23 AM)Amn Wrote: 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.
Okey, I did what you said but when i open the .dds files in the material editor its just black, and when i turn on the flashlight the hand is black. I don't know if i did that the dds corectly though
06-03-2013, 10:38 AM
Find


Messages In This Thread
RE: Holdning the flashlight like in penumbra - by Kullin - 06-03-2013, 10:38 AM



Users browsing this thread: 9 Guest(s)