Frictional Games Forum (read-only)
Custom entity as 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: Custom entity as Item? (/thread-12341.html)

Pages: 1 2 3


Custom entity as Item? - FreshKorruption - 01-04-2012

So I'm creating a full conversion mod soon where you're a police officer and I am going to create a radio entity. (Like a walkie talkie) How would I make that an item that you can pick up, and it shows a picture of it in your inventory?


RE: Custom entity as Item? - Acies - 01-04-2012

Once you have created the model in your modeling program export it as a .dae file. Thereafter you create a folder for it, containing its textures. When loading the "yourRadio.dae" in the ModelEditor.exe you need to do some things:
1. Create a body for it and attach it to the mesh
2. Go to the "User defined Variables window"; Select Item --> Puzzle
3. In the "item --> Puzzle" menu assign it a "SubItemTypeName"
4. ----- | | ----------------- assign it a picture which is 60x60 px
5. Using the assigned SubItemTypeName you can add a name and description to your item in the ".lang" file.


Good luck.



RE: Custom entity as Item? - Statyk - 01-04-2012

If it helps, Penumbra: Overture has a hand-held radio entity if you would like to just import that. Save you some time.


RE: Custom entity as Item? - FreshKorruption - 01-04-2012

(01-04-2012, 09:42 PM)Statyk Wrote: If it helps, Penumbra: Overture has a hand-held radio entity if you would like to just import that. Save you some time.
I found it. Would i just copy and paste the folder into entities or do i have to add some other things?


RE: Custom entity as Item? - Statyk - 01-04-2012

(01-04-2012, 10:32 PM)FreshKorruption Wrote: I found it. Would i just copy and paste the folder into entities or do i have to add some other things?
You have to make materials and bodies, etc. This should help:

http://www.frictionalgames.com/forum/thread-5126.html



RE: Custom entity as Item? - FreshKorruption - 01-04-2012

(01-04-2012, 10:33 PM)Statyk Wrote:
(01-04-2012, 10:32 PM)FreshKorruption Wrote: I found it. Would i just copy and paste the folder into entities or do i have to add some other things?
You have to make materials and bodies, etc. This should help:

http://www.frictionalgames.com/forum/thread-5126.html
My only issue is that there isn't a .ent or .dae file for it. I even did Verify integrity cache and nothing appeared.


RE: Custom entity as Item? - Statyk - 01-04-2012

okay, I'll try to make this as simple as I can O.e

1) Make a folder in your "entities" folder and title it: "Fresh_Radio"

2) Find the radio files in Penumbra: Overture. Copy them all and paste them into "Fresh_Radio"

3) Open the MaterialEditor and find a DIFFERENT .mat. Like a castle wall...

4) Replace each type "diffuse", "bump/nrm", and "specular" with the ones in the "Fresh_Radio" and overwrite the radio.mat in "Fresh_Radio".

5) Open ModelEditor and pick "File > Import Mesh" and find the radio's.dae. It will be invisible here. so highlight the entire grid with a "selection box" (Left mouse button drag from corner to corner. The invisible mesh will show up.

6) In the bottom right, it will say "Material" and there will be a "..." and "+" button. Pick "..." and find the radio's.mat.

7) the texture will be visible. Set "User Defined Variables" and overwrite the radio's .ent file.




RE: Custom entity as Item? - FreshKorruption - 01-05-2012

My issue is that there is no .dae file. I'm not sure if you extract it from Penumbra (well actually i cant because there is no .dae file for the radio. neither a .ent) or it gets created because that doesn't seem to happen. I understand the material editor part.


RE: Custom entity as Item? - Statyk - 01-05-2012

I see what you mean.... I'll look around for it.
Found out the maps for Penumbra are .dae files. I'll open up the mine in Maya where it is located, crop it out, apply the textures, and hand it over to you.

Sound good?
AFTER I figure out how to import it >> It's not showing up.


RE: Custom entity as Item? - FreshKorruption - 01-05-2012

(01-05-2012, 12:53 AM)Statyk Wrote: I see what you mean.... I'll look around for it.
Found out the maps for Penumbra are .dae files. I'll open up the mine in Maya where it is located, crop it out, apply the textures, and hand it over to you.

Sound good?
AFTER I figure out how to import it >> It's not showing up.
Thanks man, you are being a huge help!