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


Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How easy is it to make an item?
Mofo Offline
Member

Posts: 71
Threads: 4
Joined: Sep 2010
Reputation: 2
#3
RE: How easy is it to make an item?

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]


Attached Files
.rar   My_Hand_Object.rar (Size: 2 KB / Downloads: 143)
(This post was last modified: 05-01-2011, 09:25 AM by Mofo.)
05-01-2011, 09:14 AM
Find


Messages In This Thread
How easy is it to make an item? - by NylePudding - 04-30-2011, 08:12 PM
RE: How easy is it to make an item? - by Mofo - 05-01-2011, 09:14 AM
RE: How easy is it to make an item? - by Mofo - 05-01-2011, 09:28 AM
RE: How easy is it to make an item? - by MrBigzy - 05-01-2011, 02:31 PM
RE: How easy is it to make an item? - by Kyle - 05-01-2011, 03:34 PM
RE: How easy is it to make an item? - by Mofo - 05-01-2011, 04:54 PM
RE: How easy is it to make an item? - by Kyle - 05-01-2011, 09:30 PM
RE: How easy is it to make an item? - by Mofo - 05-02-2011, 06:03 PM
RE: How easy is it to make an item? - by Roenlond - 05-02-2011, 06:06 PM
RE: How easy is it to make an item? - by BlueFury - 01-07-2012, 09:22 PM



Users browsing this thread: 1 Guest(s)