Frictional Games Forum (read-only)
Lamp Oil Refill Animation? - 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: Lamp Oil Refill Animation? (/thread-18923.html)



Lamp Oil Refill Animation? - darkely - 10-25-2012

I was wondering if it is possible to animate that (on screen)...

Like so...

[Player hits a bound button to REFILL]
[On Screen] Left hand reachs (off-screen) for a bottle of oil, takes off the cork
[On Screen] Brings Lamp Over, takes off cap, and fills the lamp with oil
[On screen partially] tosses the empty container

Time period: 7 seconds

While the player waits for the animation to finish the player can walk (slowly - no running/sprinting) and view will be focused on the lamp/oil (looking down).


RE: Lamp Oil Refill Animation? - Statyk - 10-25-2012

The only way I can imagine this working is having a script which checks the oil amount every so often (constant timer) and when there is an increase of 25+, it would be scripted to play the animation. Only problem is, there is no way to check for the exact player location without hundreds of script areas, which might cause lag. Then there's the the problem of knowing which way they are facing, up down, angle, etc. It might be possible if there was a way to attach objects to the player, but that's not possible to my knowledge...

It's a neat idea, but I think it goes JUST too far out of the engine's boundaries.


RE: Lamp Oil Refill Animation? - darkely - 10-25-2012

Statyk: ya... I love Amnesia and all but if you have read some of my other dev. related threads my ideas are gutted due to the engines limitations...

At the least could I implement a HUD (heads up display) with a health/sanity bar?


RE: Lamp Oil Refill Animation? - Statyk - 10-25-2012

(10-25-2012, 05:27 PM)darkely Wrote: Statyk: ya... I love Amnesia and all but if you have read some of my other dev. related threads my ideas are gutted due to the engines limitations...

At the least could I implement a HUD (heads up display) with a health/sanity bar?
Yes, a HUD is totally possible.



First clip


RE: Lamp Oil Refill Animation? - ZodiaC - 10-25-2012

So is it possible to create a custom HUD?(It's small dot in the middle right?)