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

Privacy Policy


Post Reply 
 
Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How easy is it to make an item?
Author Message
NylePudding Offline
Member

Posts: 79
Joined: Apr 2011
Reputation: 0
Post: #1
How easy is it to make an item?
I am a very inexperienced modder, so I have no idea how easy or difficult it is to do something. Basically I want to make an item which you pick up and can carry in your hand. Rather similar to a lantern.

I know this is a very vague question, but please reply. Smile
04-30-2011 08:12 PM
Find all posts by this user Quote this message in a reply
NylePudding Offline
Member

Posts: 79
Joined: Apr 2011
Reputation: 0
Post: #2
RE: How easy is it to make an item?
Okay, so this has 40 views but no replies, so I imagine this question has stumped quite a lot of people.

So how would I even go about making an item? Tongue
(This post was last modified: 05-01-2011 06:55 AM by NylePudding.)
05-01-2011 06:54 AM
Find all posts by this user Quote this message in a reply
Mofo Offline
Member

Posts: 71
Joined: Sep 2010
Reputation: 2
Post: #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 File(s)
.rar  My_Hand_Object.rar (Size: 2 KB / Downloads: 11)
(This post was last modified: 05-01-2011 09:25 AM by Mofo.)
05-01-2011 09:14 AM
Find all posts by this user Quote this message in a reply
NylePudding Offline
Member

Posts: 79
Joined: Apr 2011
Reputation: 0
Post: #4
RE: How easy is it to make an item?
Thank you very much for taking the time to reply, I was actually just thinking of deleting this thread. It seems it's a lot easier than I thought. Big Grin
05-01-2011 09:18 AM
Find all posts by this user Quote this message in a reply
Mofo Offline
Member

Posts: 71
Joined: Sep 2010
Reputation: 2
Post: #5
RE: How easy is it to make an item?
No problem, glad to help Smile

Added a .rar with the files i used.
05-01-2011 09:28 AM
Find all posts by this user Quote this message in a reply
NylePudding Offline
Member

Posts: 79
Joined: Apr 2011
Reputation: 0
Post: #6
RE: How easy is it to make an item?
Awesome!

This is relatively unrelated and quite a different matter but is it easy to make models with reflective surfaces in Amnesia?
05-01-2011 09:43 AM
Find all posts by this user Quote this message in a reply
MrBigzy Offline
Senior Member

Posts: 616
Joined: Mar 2011
Reputation: 8
Post: #7
RE: How easy is it to make an item?
I think you have to create materials with cubemap units in the material editor to get that effect.
05-01-2011 02:31 PM
Find all posts by this user Quote this message in a reply
Kyle Offline
Posting Freak

Posts: 910
Joined: Sep 2010
Reputation: 7
Post: #8
RE: How easy is it to make an item?
Would it be relatively easy to make the lantern a bullseye lantern?

05-01-2011 03:34 PM
Find all posts by this user Quote this message in a reply
Mofo Offline
Member

Posts: 71
Joined: Sep 2010
Reputation: 2
Post: #9
RE: How easy is it to make an item?
(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]
05-01-2011 04:54 PM
Find all posts by this user Quote this message in a reply
NylePudding Offline
Member

Posts: 79
Joined: Apr 2011
Reputation: 0
Post: #10
RE: How easy is it to make an item?
(05-01-2011 02:31 PM)MrBigzy Wrote:  I think you have to create materials with cubemap units in the material editor to get that effect.

Okay, would you be able to import models from say 3DSMax? Because you can add a reflective texture easily with that.

Sorry about all the questions. Tongue
05-01-2011 09:29 PM
Find all posts by this user Quote this message in a reply
Post Reply 




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