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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making an entity
MrDosht Offline
Junior Member

Posts: 43
Threads: 8
Joined: Oct 2012
Reputation: 0
#1
Making an entity

Hi, hoping to use the grunt moving, attacking and everything, apart from its appearance, in my custom story, I am hoping to be able to create a completely new looking thing, yes I got the inspiration from the Dark room custom story. So cutting to the chase, how do you make the sort of entities that appear in that. Or more simply, how could a convert a .jpg file to a .ent file to replace the grunt with? Thanks for any help!

"Computers follow your orders not your intentions"- Anon
10-25-2012, 09:14 PM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#2
RE: Making an entity

So you want an enemy like Dark Room's Pedobear?
1) It's based on the Waterlurker.
2) You need to make a .mat of the image using the material editor.
3) Open the Waterlurker in Model Editor
4) Pick Billboards and find the material you made.
5) Position the billboard and attach it to the Waterlurker.
6) Save as a new .ent.
10-25-2012, 09:17 PM
Find
MrDosht Offline
Junior Member

Posts: 43
Threads: 8
Joined: Oct 2012
Reputation: 0
#3
RE: Making an entity

(10-25-2012, 09:17 PM)Statyk Wrote: So you want an enemy like Dark Room's Pedobear?
1) It's based on the Waterlurker.
2) You need to make a .mat of the image using the material editor.
3) Open the Waterlurker in Model Editor
4) Pick Billboards and find the material you made.
5) Position the billboard and attach it to the Waterlurker.
6) Save as a new .ent.
This is probably a stupid question but how do I actually use the material editor to make a .mat file? When I try to open the file it only lets me open .mat files D:

"Computers follow your orders not your intentions"- Anon
10-25-2012, 09:22 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#4
RE: Making an entity

Maybe you could attach a billboard to the monster with script.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 10-25-2012, 09:27 PM by The chaser.)
10-25-2012, 09:26 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#5
RE: Making an entity

(10-25-2012, 09:22 PM)MrDosht Wrote:
(10-25-2012, 09:17 PM)Statyk Wrote: So you want an enemy like Dark Room's Pedobear?
1) It's based on the Waterlurker.
2) You need to make a .mat of the image using the material editor.
3) Open the Waterlurker in Model Editor
4) Pick Billboards and find the material you made.
5) Position the billboard and attach it to the Waterlurker.
6) Save as a new .ent.
This is probably a stupid question but how do I actually use the material editor to make a .mat file? When I try to open the file it only lets me open .mat files D:
How about opening a .mat file, redoing it so it's what you want it to be, and save it as something else. Be careful not to overwrite anything

Trying is the first step to success.
10-25-2012, 09:30 PM
Find
MrDosht Offline
Junior Member

Posts: 43
Threads: 8
Joined: Oct 2012
Reputation: 0
#6
RE: Making an entity

(10-25-2012, 09:30 PM)beecake Wrote:
(10-25-2012, 09:22 PM)MrDosht Wrote:
(10-25-2012, 09:17 PM)Statyk Wrote: So you want an enemy like Dark Room's Pedobear?
1) It's based on the Waterlurker.
2) You need to make a .mat of the image using the material editor.
3) Open the Waterlurker in Model Editor
4) Pick Billboards and find the material you made.
5) Position the billboard and attach it to the Waterlurker.
6) Save as a new .ent.
This is probably a stupid question but how do I actually use the material editor to make a .mat file? When I try to open the file it only lets me open .mat files D:
How about opening a .mat file, redoing it so it's what you want it to be, and save it as something else. Be careful not to overwrite anything
I tried that but it doesn't seem to work...

"Computers follow your orders not your intentions"- Anon
10-25-2012, 09:43 PM
Find
ZodiaC Offline
Member

Posts: 120
Threads: 8
Joined: Oct 2012
Reputation: 2
#7
RE: Making an entity

(10-25-2012, 09:22 PM)MrDosht Wrote: This is probably a stupid question but how do I actually use the material editor to make a .mat file? When I try to open the file it only lets me open .mat files D:
Well the material editor is the easy part!
You are going to need photoshop or gimp(Unless you find somewhere ready-to-use textures)
Make your texture and then save it as jpg,png,dds,tga and put it into the billboard folder
In the material editor:
Firstly you change The type to: SolidDiffuse
The go to Textures and click the Diffuse
A new option shall appear
Just press the square button ([...]) below the diffuse File
Load the file from the billboards folder
Change the Blend mode to Alpha(Not sure try Add if alpha wont work)
Press File->Save as->Choose location(Inside the billboard folder )
Save the mat file with the same name with the picture file
That's it!!!
Here is some pics on how to do it:
http://www.mediafire.com/download.php?72e8cqbtacfwpc8

[Image: 2H1Mc.jpg]
10-25-2012, 11:17 PM
Find
MrDosht Offline
Junior Member

Posts: 43
Threads: 8
Joined: Oct 2012
Reputation: 0
#8
RE: Making an entity

(10-25-2012, 11:17 PM)belikov Wrote:
(10-25-2012, 09:22 PM)MrDosht Wrote: This is probably a stupid question but how do I actually use the material editor to make a .mat file? When I try to open the file it only lets me open .mat files D:
Well the material editor is the easy part!
You are going to need photoshop or gimp(Unless you find somewhere ready-to-use textures)
Make your texture and then save it as jpg,png,dds,tga and put it into the billboard folder
In the material editor:
Firstly you change The type to: SolidDiffuse
The go to Textures and click the Diffuse
A new option shall appear
Just press the square button ([...]) below the diffuse File
Load the file from the billboards folder
Change the Blend mode to Alpha(Not sure try Add if alpha wont work)
Press File->Save as->Choose location(Inside the billboard folder )
Save the mat file with the same name with the picture file
That's it!!!
Here is some pics on how to do it:
http://www.mediafire.com/download.php?72e8cqbtacfwpc8
Thanks! I managed to make a .mat file with that but I can't seem to open the file from the modeleditor, it doesn't appear in the billboards folder even though that is where I saved it... should I rename it as a .ent file?

"Computers follow your orders not your intentions"- Anon
(This post was last modified: 10-27-2012, 08:24 PM by MrDosht.)
10-27-2012, 07:56 PM
Find
ZodiaC Offline
Member

Posts: 120
Threads: 8
Joined: Oct 2012
Reputation: 2
#9
RE: Making an entity

(10-27-2012, 07:56 PM)MrDosht Wrote: Thanks! I managed to make a .mat file with that but I can't seem to open the file from the modeleditor, it doesn't appear in the billboards folder even though that is where I saved it...
First of all I made a mistake it's not soliddiffuse but translucent for type and forblend mode its Add this will make the image transparent..Now about your problem did you put the image inside as well(the one you used in material editor)?And were exactly did you tried to import the mat file??You have to import the mat file you create for billboard and attach the billboard on the entity you want to make

[Image: 2H1Mc.jpg]
10-27-2012, 08:25 PM
Find
MrDosht Offline
Junior Member

Posts: 43
Threads: 8
Joined: Oct 2012
Reputation: 0
#10
RE: Making an entity

(10-27-2012, 08:25 PM)belikov Wrote:
(10-27-2012, 07:56 PM)MrDosht Wrote: Thanks! I managed to make a .mat file with that but I can't seem to open the file from the modeleditor, it doesn't appear in the billboards folder even though that is where I saved it...
First of all I made a mistake it's not soliddiffuse but translucent for type and forblend mode its Add this will make the image transparent..Now about your problem did you put the image inside as well(the one you used in material editor)?And were exactly did you tried to import the mat file??You have to import the mat file you create for billboard and attach the billboard on the entity you want to make
Howw do i import the .mat file? I have both the jpg image and the .mat fikle in billboards but when i click the ... icon in billboards in the model viewer and go into the billboards file it doesn't have my file D: Also thanks for the translucent thing! my original one was a cube which wouldn't have looked very good in game!

"Computers follow your orders not your intentions"- Anon
10-27-2012, 11:01 PM
Find




Users browsing this thread: 3 Guest(s)