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
New tutorials
enk Offline
Junior Member

Posts: 9
Threads: 0
Joined: Sep 2010
Reputation: 0
#20
RE: New tutorials

Quote:i need a proper tutotial on how an object i made in blender be textured and put it into the game. i would pay for that! lol

I'll start a basic one now.
ill post it here in an hour or so =)
I'll be saving everything into a folder in amnesia's 'ENTITIES' directory.


1. Make a folder inside the entities folder. Mine is called tutorial.

Grab the texture you are going to use. Mine is called tiles.dds.
I made this with GIMP and a dds plugin.
Copy your texture inside this folder.

[Image: b6.jpg]

2. Open blender. I have made a simple slab.

Hit TAB (go into edit mode), with everything selected, hit U, select Unwrap. (UV unwrap)
Hit F6 to go to materials tab, under texture type, select image -(if you can't see this, try hitting F5 and creating a new object)
Over to the right, press load, Load the texture from the file in entities

[Image: b3.jpg]


Hit F6 to go to materials tab, under texture type, select image -(if you can't see this, try hitting F5 and creating a new object)
Over to the right, press load, Load the texture from the file in entities.

Save your blender file in the folder.

[Image: expo.jpg]

Go file -> export -> COLLADA 1.4.
Make sure it exports inside your folder with everything else, with the same name as the texture.

Open up ModelEditor, import the mesh (the .dae)

If it worked correctly, it should be there. It won't be textured. Make a .Mat file with the model editor (the '+' sign)
Use solid diffuse, add a diffuse texture with the same name. Save the .Mat file in the same folder with the same name aswell. Save it, and re-import the mesh.

Now, you can give it a body as shown in this tutorial
http://hpl2.frictionalgames.com/tutorial...tutorial_1

You need to
and use it in your level
[Image: b7.jpg]

Of course, this a very brief tutorial.
I'm new to modding and 3d art in general and have run into lots of problems.
The biggest of which, is when importing the mesh into the Model Editor, it is either invisible (untextured) or not there at all.
If this happens, You need to make a .MAT file, or unwrapping the model once again.

When your model has a whole bunch of vertices, it gets more complicated, and will have to use the UV image editor mode to get the texture to sit properly on your model. (you can find this by changing the 'window type' - a tiny little box in the lower left of blender).

Anyway, I hope this helps, good luck =)
(This post was last modified: 09-24-2010, 10:36 AM by enk.)
09-24-2010, 09:43 AM
Find


Messages In This Thread
New tutorials - by Alienchild - 09-21-2010, 11:01 AM
RE: New tutorials - by MulleDK19 - 09-21-2010, 01:22 PM
RE: New tutorials - by Jinix - 09-21-2010, 01:40 PM
RE: New tutorials - by Alienchild - 09-21-2010, 02:35 PM
RE: New tutorials - by MulleDK19 - 09-22-2010, 10:50 AM
RE: New tutorials - by Alienchild - 09-22-2010, 10:16 AM
RE: New tutorials - by Alienchild - 09-22-2010, 10:55 AM
RE: New tutorials - by MulleDK19 - 09-22-2010, 11:06 AM
RE: New tutorials - by jens - 09-22-2010, 11:13 AM
RE: New tutorials - by Jinix - 09-22-2010, 12:11 PM
RE: New tutorials - by Alienchild - 09-22-2010, 12:10 PM
RE: New tutorials - by MulleDK19 - 09-22-2010, 01:02 PM
RE: New tutorials - by gosseyn - 09-22-2010, 01:44 PM
RE: New tutorials - by MulleDK19 - 09-23-2010, 11:54 PM
RE: New tutorials - by Jinix - 09-22-2010, 01:59 PM
RE: New tutorials - by enk - 09-22-2010, 06:03 PM
RE: New tutorials - by mitchell - 09-23-2010, 05:53 PM
RE: New tutorials - by Alienchild - 09-24-2010, 03:20 AM
RE: New tutorials - by enk - 09-24-2010, 09:43 AM
RE: New tutorials - by Alienchild - 09-24-2010, 11:16 AM



Users browsing this thread: 1 Guest(s)