FreshKorruption
Member
Posts: 94
Threads: 27
Joined: Oct 2011
Reputation:
1
|
Custom entity as Item?
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?
|
|
01-04-2012, 12:59 PM |
|
Acies
Posting Freak
Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation:
73
|
RE: Custom entity as Item?
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.
ジ
|
|
01-04-2012, 04:32 PM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: Custom entity as Item?
If it helps, Penumbra: Overture has a hand-held radio entity if you would like to just import that. Save you some time.
|
|
01-04-2012, 09:42 PM |
|
FreshKorruption
Member
Posts: 94
Threads: 27
Joined: Oct 2011
Reputation:
1
|
RE: Custom entity as Item?
(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?
|
|
01-04-2012, 10:32 PM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: Custom entity as Item?
(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
|
|
01-04-2012, 10:33 PM |
|
FreshKorruption
Member
Posts: 94
Threads: 27
Joined: Oct 2011
Reputation:
1
|
RE: Custom entity as Item?
(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.
|
|
01-04-2012, 10:56 PM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: Custom entity as Item?
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.
|
|
01-04-2012, 11:52 PM |
|
FreshKorruption
Member
Posts: 94
Threads: 27
Joined: Oct 2011
Reputation:
1
|
RE: Custom entity as Item?
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.
|
|
01-05-2012, 12:06 AM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: Custom entity as Item?
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.
(This post was last modified: 01-05-2012, 12:57 AM by Statyk.)
|
|
01-05-2012, 12:53 AM |
|
FreshKorruption
Member
Posts: 94
Threads: 27
Joined: Oct 2011
Reputation:
1
|
RE: Custom entity as Item?
(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!
|
|
01-05-2012, 01:17 AM |
|
|