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


Thread Rating:
  • 7 Vote(s) - 3.14 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Battery for Flashlight [Battery Item & Flashlight Item]
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#1
Battery for Flashlight [Battery Item & Flashlight Item]

Battery:
Well, now that we have flashlight, we want to have batteries too! I thought it'd be harder to do this, but it turned out easier than I expected. Simply, I took the Penumbra: Black Plague battery and made it LampOil item. It's same as the normal LampOil item in terms of quantity it adds.

You have to add two new lines to Inventory category of your base_english.lang file though:
    <Entry Name="ItemName_Battery">Battery</Entry>
    <Entry Name="ItemDesc_Battery">Battery for flashlight.</Entry>

Images:
[1] [2] [3]

Download:
http://tanshaydar.com/resim/white_night/...attery.zip

Simply extract to your items folder.
Credits goes to Frictional guys for battery model and textures.

Flashlight:
Well, you should pick up flashlight as lantern item and show flashlight in your inventory.

I made DIGIByte's flashlight as a pickable item and once you pick it you have flashlight to light both in your hands and in your inventory. Inventory image is from Penumbra: Black Plague. This flashlight is only an item and different from actual flashlight you hold. Like lantern item and lantern you hold.

You have to add two new lines to Inventory category of your base_english.lang file though:
<Entry Name="ItemDesc_Flashlight">The flashlight will light up dark places. When in game press $ButLantern to turn it on.</Entry>
    <Entry Name="ItemName_Flashlight">Flashlight</Entry>

Download:
http://tanshaydar.com/resim/white_night/...hlight.zip

Simply extract to your items folder.
Once again, credits goes to Frictional guys for inventory textures.

Flashlight & Batteries Demonstration Video
http://www.moddb.com/mods/white-night/vi...onstration



Download the flashlight itself here: http://www.frictionalgames.com/forum/thread-7718.html

(This post was last modified: 08-07-2011, 08:53 PM by Tanshaydar.)
05-02-2011, 06:03 AM
Website Find
ricky horror Offline
Member

Posts: 54
Threads: 8
Joined: Apr 2011
Reputation: 0
#2
RE: Battery for Flashlight

(05-02-2011, 06:03 AM)Tanshaydar Wrote: Well, now that we have flashlight, we want to have batteries too! I thought it'd be harder to do this, but it turned out easier than I expected. Simply, I took the Penumbra: Overture battery and made it LampOil item. It's same as the normal LampOil item in terms of quantity it adds.

You have to add two new lines to Inventory category of your base_english.lang file though:
    <Entry Name="ItemName_Battery">Battery</Entry>
    <Entry Name="ItemDesc_Battery">Battery for flashlight.</Entry>

Images:
[1] [2] [3]

Download:
http://tanshaydar.com/resim/white_night/...attery.zip

Simply extract to your items folder.
Once again, credits goes to Frictional guys for battery model and textures.

Amazing work!!! Big Grin
Did you make if for Large Oil containers too? :p

Edit: one quick question... does this replace the oil in game? or just usable for custom stories and conversion mods as of now?

Amnesia: Ricky's Horror - Full Conversion
(This post was last modified: 05-02-2011, 06:50 AM by ricky horror.)
05-02-2011, 06:46 AM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#3
RE: Battery for Flashlight

It doesn't replace anything, it's a new entity. It can be used for custom stories and conversion mods.

Large oil with more batteries Tongue

05-02-2011, 07:04 AM
Website Find
thomsone Offline
Junior Member

Posts: 16
Threads: 0
Joined: Jan 2011
Reputation: 0
#4
RE: Battery for Flashlight

Great work, this will be usefull Smile
05-02-2011, 07:15 AM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#5
RE: Battery for Flashlight

Well, I got it all working. Flashlight image in inventory, flashlight as item, batteries, etc... However, I couldn't get the sound of using batteries to play. Only oil using sound plays and there is no way to change it without changing actual files.

05-02-2011, 08:36 AM
Website Find
ricky horror Offline
Member

Posts: 54
Threads: 8
Joined: Apr 2011
Reputation: 0
#6
RE: Battery for Flashlight

(05-02-2011, 08:36 AM)Tanshaydar Wrote: Well, I got it all working. Flashlight image in inventory, flashlight as item, batteries, etc... However, I couldn't get the sound of using batteries to play. Only oil using sound plays and there is no way to change it without changing actual files.

You have the flashlight shown as a flashlight in the inventory? o-O It still shows as a lantern for us...

Amnesia: Ricky's Horror - Full Conversion
05-02-2011, 10:17 AM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#7
RE: Battery for Flashlight

Well, the images I took were from the actual game, not the conversion I made. I have a demonstration video up in ModDB page.

05-02-2011, 04:22 PM
Website Find
ricky horror Offline
Member

Posts: 54
Threads: 8
Joined: Apr 2011
Reputation: 0
#8
RE: Battery for Flashlight

(05-02-2011, 04:22 PM)Tanshaydar Wrote: Well, the images I took were from the actual game, not the conversion I made. I have a demonstration video up in ModDB page.

Yeah, I saw it [:

Will you be releasing it for the flashlight mod so that it's not a lantern in the mod? [:

Amnesia: Ricky's Horror - Full Conversion
05-02-2011, 04:34 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#9
RE: Battery for Flashlight [Battery Item & Flashlight Item]

I updated my first post.

05-02-2011, 04:48 PM
Website Find
Yuhaney Offline
Hello Friends!

Posts: 3,466
Threads: 100
Joined: Mar 2007
Reputation: 64
#10
RE: Battery for Flashlight [Battery Item & Flashlight Item]

I'll add this to the list of Custom Models.
Who should I give credit from this (since I've understood that many have worked with this)?

(This post was last modified: 05-02-2011, 06:26 PM by Yuhaney.)
05-02-2011, 06:26 PM
Website Find




Users browsing this thread: 1 Guest(s)