Frictional Games Forum (read-only)
How easy is it to make an item? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: How easy is it to make an item? (/thread-7713.html)

Pages: 1 2


How easy is it to make an item? - NylePudding - 04-30-2011

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


RE: How easy is it to make an item? - NylePudding - 05-01-2011

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


RE: How easy is it to make an item? - Mofo - 05-01-2011

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]



RE: How easy is it to make an item? - NylePudding - 05-01-2011

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


RE: How easy is it to make an item? - Mofo - 05-01-2011

No problem, glad to help Smile

Added a .rar with the files i used.


RE: How easy is it to make an item? - NylePudding - 05-01-2011

Awesome!

This is relatively unrelated and quite a different matter but is it easy to make models with reflective surfaces in Amnesia?


RE: How easy is it to make an item? - MrBigzy - 05-01-2011

I think you have to create materials with cubemap units in the material editor to get that effect.


RE: How easy is it to make an item? - Kyle - 05-01-2011

Would it be relatively easy to make the lantern a bullseye lantern?


RE: How easy is it to make an item? - Mofo - 05-01-2011

(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]



RE: How easy is it to make an item? - NylePudding - 05-01-2011

(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