PDA

View Full Version : Quick & Easy Models


ArsenaL
09-13-2008, 07:43 AM
Hello everyone!! This tutorial is to show everyone how to use sketchup to make a fast and simple model for use in hammer!!! FOR FREE!

Tools you will need:

Google Sketchup (free version)
(http://sketchup.google.com)
Play Up Tools (this is a plugin for sketchup in its alpha stage)
(http://playuptools.blogspot.com)
Texture editor of your choice

Before we start.. there are some things i should point out. This is to make SIMPLE models only.. anything complex.. and some of the faces of your model will not be rendered in game. You cant export a model with plane colors from sketchup.. you need actual images. If you want a red ball.. you need to have a red picture and use that as your texture. Also.. playuptools cant export collision models.. but i will show you a work around for it.

OK sooo lets think of a simple model that we could use in TF2.. hmmm.. how about a TF2MAPS.NET billboard? Sounds good to me! First.. open sketchup

step one.. delete this idiot:

http://i67.photobucket.com/albums/h283/dwillsc/ctf_bankjob/tutorial/thisidiot.jpg

OK lets start off by making a flat board with some 3d text on it

1" in sketchup = 1 unit in hammer when exporting with playup tools.

What shape should this be? hmm.. how about that TF2MAPS.NET logo on the top of this page? Sounds good to me!

Make a rectangle with the "rectangle" tool and raise it off the ground with the "push/pull" tool. There you go you have a 3d block now!! I used one that is 48' long, 16" deep, & 12' high.

Notice i'm using the logo as my guide. How do you do that? Select the front face and click paint bucket.. then create material.

http://i67.photobucket.com/albums/h283/dwillsc/ctf_bankjob/tutorial/paintbucketlogo.jpg

Click use texture image and select your guide image to use. You will have to scale this because it will be tiled.

http://i67.photobucket.com/albums/h283/dwillsc/ctf_bankjob/tutorial/blockwithlogo.jpg

OK Now we have to trace around the border to get the shape. Once this is done.. delete the crap around it.. the use the "push/pull" tool if needed. RESULT:

http://i67.photobucket.com/albums/h283/dwillsc/ctf_bankjob/tutorial/newblock.jpg

Next.. lets add the text like the logo. You will have to DL a TF2 font to do this. or trace around the logo's txt.

The 3d text tool is under "tools". Add it on the face and make it look like the logo.

Now.. if you recall me saying before.. a complex model wont work. So we're just going to make the "TF2MAPS.NET" look 3d. the text below will be a part of our texture map. Also.. if you used the 3d text option.. it starts as a component so right click on it.. and click explode.. then intersect these letters with the main model.

RESULT:
http://i67.photobucket.com/albums/h283/dwillsc/ctf_bankjob/tutorial/newblocktextures.jpg

OK well.. we're done :) lets texture it. This way we can use this on a wall.. or use brushes to make wooden beams to hold it up.. or anything we want!! maybe even some cables to hang from a ceiling. To texture it.. just use the paint bucket and any textures you want. I'm going to use the one we used to trace with.. except i'm going to make it clearer because i had to stretch it.. tweak your textures and see what you get!! Here's mine:

http://i67.photobucket.com/albums/h283/dwillsc/ctf_bankjob/tutorial/signfinish.jpg

OK Now its time to get this in game. First.. select everything, right click.. then turn it into a component. name it whatever you want your model to be named. i named mine tf2mapssign.

Right click on it.. playup properties.. then export component. once it's complete it will be ready to use in hammer!!


Ohhh but you notice there's no collision model.. ouch!! If you want to make your own you will have to edit the .qc file that is exported into your modelsrc directory.... and recompile the model. Sooo sadly this model is too complex to make an accurate collision model in sketchup.. you would have to use XSI or a more powerful tool to do this. I will still upload this to the website.

You will also notice it made a crap load of .vmt and .vtf files.. this is normal.. the playup tools just turn the images into those formats and put them in your directory. There is no texture mapping involved with this.. which is another reason you would want to keep your models simple.

IN GAME:
http://i67.photobucket.com/albums/h283/dwillsc/ctf_bankjob/tutorial/tf2mapssign.jpg

I'm sorry if this is hard to understand i was in a hurry and i blow at teaching things. I recommend learning how to use those tools.. like reading their instructions prior to doing this stuff if you decide to.. And once again.. don't use this stuff unless it's for a quick detail prop you want. At least until playup tools matures and can do a lot more. BTW.. the model has no back and the collision model is crap (yay sketchup).. so if you want to use it i recommend somewhere that players wont be able to see behind it. I hope someone found this interesting!

«кнαоѕ»
09-13-2008, 08:00 AM
Thanks good tutorial, but you don't need to download the font. Just go into Steam, Steamapps, Team fortress 2, Tf, Resource. And there will be a few fonts there. They used the Tf2build font. Just drag it into your fonts folder in the control panel.

AWESOME-O
09-13-2008, 11:14 AM
modeling gets easy

zpqrei
06-13-2009, 02:07 PM
You, my dear friend, are a genius. Worthy of a 9 month bump.

TracerDX
06-13-2009, 04:40 PM
Didn't Valve release a Sketchup to SMD plugin with the L4D Authoring Tools? I wonder which is better.

Rotab
06-13-2009, 04:47 PM
Didn't Valve release a Sketchup to SMD plugin with the L4D Authoring Tools? I wonder which is better.

iirc that one was a .vmf exporter.

DJive
06-13-2009, 04:50 PM
moving to tutorials.

TracerDX
06-13-2009, 05:01 PM
iirc that one was a .vmf exporter.

It does both. Actually, there's a plugin for both.

http://developer.valvesoftware.com/wiki/SketchUp_Source_Tools

Jonah
06-13-2009, 06:49 PM
Oh man, this is useful

Haggis
07-13-2009, 09:14 AM
My model is showing up but im getting the dreaded purple and black checks where am i going wrong

Vig
07-13-2009, 10:00 AM
Cool tutorial.

My model is showing up but im getting the dreaded purple and black checks where am i going wrongSomething is wrong with the texture/material. Probably didn't create the VTF or VMT files? Or the VMT is pointing to the wrong place?

Haggis
07-13-2009, 01:12 PM
Cool tutorial.

Something is wrong with the texture/material. Probably didn't create the VTF or VMT files? Or the VMT is pointing to the wrong place?

I did not have the .vtex exe pointed in the right direction,cheers:rolleyes:

skud
07-14-2009, 08:22 PM
Could someone explain what you do with the .smd file after you export it from Sketchup?

Haggis
07-26-2009, 08:00 AM
I dont think you need to do that to get your model to show up in Hammer(i didnt need to).Here is a link to set up Playup properly

http://playuptools.blogspot.com/2008/07/getting-started.html

Sorry if this does not help i might have misunderstood what you meant

luckyg
08-02-2009, 11:25 AM
great tutorial i must say but i'm seem to be having a problem with the font in hammer,

the rest of my sign is textured but the font (TF2 Build) comes up with purple and black squares everytime, i have tried texturing it and it didnt work :(

p.s. i'm a n00b at modeling so i probably missed something out

skud
08-03-2009, 06:09 AM
haggis, what did you do to fix your checkboard textures? I setup the playup just like that tutorial said, but it doesnt appear to be running the vtex, and i cannot find materials for the model its creating anywhere.

HSx DrMouse
08-24-2009, 07:17 PM
Epic awesomeness. I can never find any good tutorials on how to create/export/import models for HL2/Source/TF2. I'm sooo making my truck stop motel now.