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


Thread Rating:
  • 9 Vote(s) - 3.89 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Penumbra flashlight in Amnesia?
Alex7754 Offline
Member

Posts: 75
Threads: 6
Joined: Oct 2010
Reputation: 0
RE: Penumbra flashlight in Amnesia?

(12-19-2010, 09:52 AM)DIGI Byte Wrote: the distance and light settings are the lanterns, they will be fixed in the final version which I'm coding

I have to fix a missing texture file that s causing amnesia to crash first so I can test it out

Alright
12-19-2010, 10:27 AM
Find
DIGI Byte Offline
Senior Member

Posts: 376
Threads: 20
Joined: Dec 2010
Reputation: 1
RE: Penumbra flashlight in Amnesia?

So some of you must be wondering where we are at?

The current beta release is a simple hack, it replaces the lantern with a flashlight, this is fine...

BUT the goal of this project is to create a proper flashlight that will be an item you can pick up and use, much like the lantern for use of custom stories

.jpg   flashlight pickup.jpg (Size: 20.46 KB / Downloads: 273)

for single player, I will release a code patch that will change the lantern to a flashlight for those who wish it.
just take note that amnesia is based around a time period where there are no batteries or wrist watches, so the flashlight will run on oil

As for custom stories their will be batteries


the issue now... is getting the flashlight to work in game, by work I mean... when you press F It currently pulls out the lantern and that needs to be changed...

The problem? I cant find the damn code that does that....

Quote:in the...
<UserDefinedVariables />
it calls a...
EntitySubType="Lantern"

and I can't find where this code file is or where its stored so I can make and call a new one called "flashlight"
(This post was last modified: 12-19-2010, 12:00 PM by DIGI Byte.)
12-19-2010, 11:48 AM
Find
DIGI Byte Offline
Senior Member

Posts: 376
Threads: 20
Joined: Dec 2010
Reputation: 1
RE: Penumbra flashlight in Amnesia?

The EntitySubType calls the Lantern string... its what tells to give the player hands and lantern, if I can find that, I can copy it and rename it to Flashlight and and apply the necessary code to make it work
12-19-2010, 01:24 PM
Find
xiphirx Offline
Senior Member

Posts: 662
Threads: 16
Joined: Nov 2010
Reputation: 5
RE: Penumbra flashlight in Amnesia?

Aye, twas a hack :3

I'll be working on a proper port, I just REALLY need those hand animations... DIGI you have any luck? :|

12-20-2010, 01:45 AM
Find
DIGI Byte Offline
Senior Member

Posts: 376
Threads: 20
Joined: Dec 2010
Reputation: 1
RE: Penumbra flashlight in Amnesia?

I got the hand animations, everything is done... I just have to make it so when we press a certain key bind it calls the flashlight, because at the moment when you activate the flashlight, daniel pulls out the lantern, I need to find how that call thing works so I can change it

don't worry about the animations, we need it coded properly, I wish luis would get back to my questions about this
12-20-2010, 06:28 AM
Find
xiphirx Offline
Senior Member

Posts: 662
Threads: 16
Joined: Nov 2010
Reputation: 5
RE: Penumbra flashlight in Amnesia?

Please send animations over :3? And what do you mean by having Daniel pull the lantern out? If I press F here, he pulls the flashlight out...

12-20-2010, 07:08 AM
Find
DIGI Byte Offline
Senior Member

Posts: 376
Threads: 20
Joined: Dec 2010
Reputation: 1
RE: Penumbra flashlight in Amnesia?

that's because its a hack... when you do it... your really are pulling out the lantern.... it just looks liek a flashlight cause you over write the files... Im trying to make a proper stand alone version that wont overwrite the lantern, so custom maps can have a lantern or a flashlight depending on what the mod has

i'll upload the animations in a while, need to finish some other stuff first
I have built inventory icon too
12-20-2010, 01:09 PM
Find
xiphirx Offline
Senior Member

Posts: 662
Threads: 16
Joined: Nov 2010
Reputation: 5
RE: Penumbra flashlight in Amnesia?

Ah I see. Well then, our main goal is to figure out where .ho files are called. Anyone on Linux here? If you could grep your amnesia folder for .ho I'd be VERY GRATEFUL Wink

12-20-2010, 07:33 PM
Find
xiphirx Offline
Senior Member

Posts: 662
Threads: 16
Joined: Nov 2010
Reputation: 5
RE: Penumbra flashlight in Amnesia?

DIGI, I was reading some old topics, and may have found the solution!

http://www.frictionalgames.com/forum/thr...ht=COLLADA

Quote:After scaling the model in max and before exporting, go to the Utilities tab (the button thingy that looks like a hammer) and select Reset XForm -> Reset Selected. THEN export it.

If this works, how did we miss it D:

Also, that only seems to work in max... need something for Maya.

12-20-2010, 09:41 PM
Find
DIGI Byte Offline
Senior Member

Posts: 376
Threads: 20
Joined: Dec 2010
Reputation: 1
RE: Penumbra flashlight in Amnesia?

I had to go through my unit settings, in max, I had to find and enable "respect file units" so it wouldn't reset the models scale to max's

thanks, I'll keep that in mind in-case the animations need to be double checked

there maybe something similar in Maya, they are both made by the same company
(This post was last modified: 12-20-2010, 09:53 PM by DIGI Byte.)
12-20-2010, 09:53 PM
Find




Users browsing this thread: 1 Guest(s)