Holdning the flashlight like in penumbra - 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: Holdning the flashlight like in penumbra (/thread-21685.html) |
RE: Holdning the flashlight like in penumbra - PutraenusAlivius - 06-03-2013 (06-02-2013, 08:26 PM)Kullin Wrote:(06-02-2013, 08:23 PM)Smoke Wrote: Oh well, I thought it'd work.. Never used it myself. Maybe someone else could help you?Oh, okey well thank you anyway! You need to find an animator/modeller to help you. I can't do it. RE: Holdning the flashlight like in penumbra - Daemian - 06-03-2013 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. RE: Holdning the flashlight like in penumbra - Kullin - 06-03-2013 (06-03-2013, 08:23 AM)Amn Wrote: To remove the arm, just fill the .dds with alpha.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 RE: Holdning the flashlight like in penumbra - Daemian - 06-04-2013 Great, it's working. You are just missing the alpha channel somehow. Here: hands.dds hands.mat |