Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 7 Votes - 3.14 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Battery for Flashlight [Battery Item & Flashlight Item]
Author Message
Tanshaydar Offline
From Beyond

Posts: 3,091
Joined: Mar 2009
Reputation: 66
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
ricky horror Offline
Member

Posts: 54
Joined: Apr 2011
Reputation: 0
Post: #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? Tongue

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 all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,091
Joined: Mar 2009
Reputation: 66
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
thomsone Offline
Junior Member

Posts: 16
Joined: Jan 2011
Reputation: 0
Post: #4
RE: Battery for Flashlight
Great work, this will be usefull Smile
05-02-2011 07:15 AM
Find all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,091
Joined: Mar 2009
Reputation: 66
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
ricky horror Offline
Member

Posts: 54
Joined: Apr 2011
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,091
Joined: Mar 2009
Reputation: 66
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
ricky horror Offline
Member

Posts: 54
Joined: Apr 2011
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,091
Joined: Mar 2009
Reputation: 66
Post: #9
RE: Battery for Flashlight [Battery Item & Flashlight Item]
I updated my first post.

05-02-2011 04:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Scraper Offline
Forum Sheriff

Posts: 2,692
Joined: Mar 2007
Reputation: 28
Post: #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)?

Please, support my video gaming hobby:
www.GameScraper.com
(This post was last modified: 05-02-2011 06:26 PM by Scraper.)
05-02-2011 06:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)