Frictional Games Forum (read-only)

Full Version: How easy is it to make an item?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(05-01-2011, 04:54 PM)Mofo Wrote: [ -> ]
(05-01-2011, 03:34 PM)Kyle Wrote: [ -> ]Would it be relatively easy to make the lantern a bullseye lantern?

Yes, shouldn't be to difficult. I made this in 15 minutes. If you want, I can make a higher quality model.

Spoiler below!
[Image: 5qivd.jpg]

It's epic! Big Grin
It's finished! Smile

lantern object + item object (with inventory image)

[Image: 30rqqoh.png]

Download Here:
(05-02-2011, 06:03 PM)Mofo Wrote: [ -> ]It's finished! Smile

lantern object + item object (with inventory image)

[Image: 30rqqoh.png]

Haha, that's amazing! Love it =D
(05-01-2011, 09:14 AM)Mofo Wrote: [ -> ]It's not that hard to swap the lantern for another item. It is however pretty difficult to change the animations of the player hand.

If you want to make a new item (that will replace the lantern) you'll have to open the model editor and import the mesh you want (wine bottle, hammer, etc). Next, change the User Defined Variables to HandObject.
Spoiler below!
[Image: 20hqano.png]

Save your item in the "amnesia the dark descent\models\hand_objects\lantern" folder. It's best to name it something like "My_Hand_Object", that way you wont accidentally save over the original items.

Find the "lantern.ho" file (in the same folder), copy it and change the name to "lantern_BACKUP.ho". Open the original lantern.ho file and change "hand_lantern.ent" to "My_Hand_Object.ent".
Spoiler below!
[Image: f448pu.png]

[Image: 29w95ih.png]

Run the game, press F (make sure you have the lantern in your inventory) and enjoy your new item.

*Few more things*

If you want to make a light source (lantern, glowstick, flashlight), open your item in the model editor and add a point or spotlight.

If you want to change the lantern sounds, you'll have to change the game.cfg file (amnesia the dark descent\config\).

To remove the swinging lantern physics, open the lantern.ho and change HasSwayPhysics to "false".

Take a look a the flashlight mod and see how those guys did it.

Spoiler below!
[Image: 15ehf9c.jpg]

I tried this with the glowstick from Penumbra Overture. I followed all the instructions. I opened Amnesia, pressed F to turn on the lantern, and it crashed. Help?

EDIT: Oops, just realized I bumped an old thread. Damn me, sorry.
Never Mind...
Creating a custom lantern or reskin for an object that already has a use isn't the hardest thing to do, but adding a totally new item is way harder.
Pages: 1 2