So, you're a stubborn Maya User and have a masochistic desire to create your models without having to touch XSI or Max. I can completely understand not wanting to touch 3D Studio Max. You're in a safe place here. Assuming you have already looked all around to find a decent tutorial for creating a prop from scratch using Maya, I'm guessing that you didn't find anything adequate yet. The best example out there currently is Palmer's Maya Prop Exporting Tutorial, which is a great resource, but still only covers the guidelines for exporting your mesh. It does not cover UV Mapping or things of that nature, which is why I decided to write this tutorial. The aim is to create a prop from the ground up, and by the end of this tutorial you should have little problem creating your own Maya physics props.
Also, this tutorial will teach you have to export your models using both Prall's exporter scripts and Valve's own SMD exporter plugin for Maya. It's like having a threesome only it's not something to brag to your friends about.
Step 1 - Getting Started & What You Need
This tutorial uses the following software and tools to create a Source model:
- Alias Maya (version 4 to version 7.5) or Autodesk Maya (version 8 to Maya 2008)
- Prall's Half-Life 2 Exporter v2.5 for Maya, the collection of scripts required to import or export SMD files in Maya. OR you can use Valve's SMD Exporter.
- Valve Source SDK (Installed through Steam)
- Adobe Photoshop or any other program capable of creating textures and saving them in Targa (.TGA) format.
- NVIDIA Adobe Photoshop DDS Plug-in, optional unless you wish to create normal maps for the texture that goes on your model.
- GUI StudioMDL (a GUI frontend for studiomdl.exe used to compile the models)
- Source MDL Texture Info, a program that will help debug texture info about a model should you run into problems. Not required for the tutorial, but recommended.
- A text editor of some sort. I use TextPad.
Installing Prall's Half-Life 2 Exporter
Some of you might already have noticed that the latest (and final) version of this already comes installed with the Source SDK in the %sourcesdk%\maya\7.0 directory (%sourcesdk% is a Windows environment variable to points to the Source SDK installation directory, usually something like C:\Program Files\Steam\steamapps\<steam username>\sourcesdk\). The exporter itself is not an executable program or a Maya plug-in library (.mll file), but a collection scripts written in MEL (Maya's embedded scripting language).
Installing this collection of scripts is very easy. All you have to do is select all of the files and folders inside the %sourcesdk\maya\7.0 directory and copy them over to the following directory:
- Windows XP: C:\Documents and Settings\<your username>\My Documents\maya\<current version number>\
- Windows Vista: C:\Users\<your username>\Documents\maya\<current version number>\
The directories should already be created by your Maya installation. Copying these files over won't overwrite anything important, so don't worry about saying "Yes to All" if you get some warnings saying that directoryes like prefs\ already exist. If you have Maya already open, you should close it and restart it, and you will see that in the File menu a bunch of options have shown up giving you the option to import/export SMDs.
Installing Valve's SMD Importer/Exporter
Valve recently (re?)wrote their own SMD importer/exporter. The advantage of Valve's Importer/Exporter is that it uses a Maya Library (.mll file) to do the SMD file I/O operations, thus logically speeding up the process of opening or saving a .SMD file since it was written in a lower level language (C++). Logic dictates that, because despite the fact that Maya relies heavily on MEL to function I doubt that file I/O is one of those things.
Rather than have you copy files over (by the way, Valve's importer/exporter is in %soucesdk%/maya/7.0/modules), they've set you up with a nice .bat file to click on that will automatically do some background work (setting environmental variables) for you and then load up Maya. To enable the SMD I/O library plug-in in Maya, click on Window→Settings/Preferences→Plug-in Manager in the menu and a dialog box should appear listing out the various registered plug-ins. Under the loaded column check the box for vstSmdIO.mll. And that's it!
![[Valve reSource]](/source-maya-tutorials/themes/poitot/images/resource-logo.gif)

Comments
payday loans
aiwstn payday loans brxIhk online payday >:-OOO cash advance >:]] cheap car insurance >:]]
payday loans
bjrjgo payday loans :-O payday loans 8878 car insurance rates kglML payday loans online :-O
payday loans
ahzigmsl payday loans >:-[ payday loans 0081 car insurance companies lHwCIG payday loans 1365
payday advance
mjhmawjh payday advance :-O auto car insurance uJOCyR same day loans MyEryR payday loans %-[[[
payday loans
tomtsb payday loans yUicT fast payday loan >:-OOO cash advance online Iedvl payday loan Alberta pnHsWe payday loans >:-OOO
cash advances
goipsje cash advances PRDyX quick quid 1712 payday loans >:-OOO short term loan 5882 payday loans 8]]]
payday loans
nthzxypx payday loans RYdNW payday loans IhKSfb payday loans :-O payday loans tSrFh payday loans 8]]]
same day loans
uuhuaq same day loans >:-OOO payday loans Canada >:-[ payday loans 8]]] payday loans =-] payday loans >:]]
short term loan
vffaps short term loan xGBgec payday loans YBWvRW payday loan Alberta 5327
payday loans
vexcaff payday loans DOMKjz payday loans tKDlrg payday loans 2943
Payday advance
npyorl Payday advance 0212 payday loans 6249 payday loans JBpqBn
payday loans
mvrrdlkd payday loans 7169 payday loans :-O payday loans 3964
buy viagra
fzdtlwl buy viagra :-O viagra >:-[ cheap cialis jmgRgc buy cialis 4525 cheap viagra online DinZlY
buy viagra
ugufwp buy viagra 7095 cheap viagra =-] cialis coupon >:-OOO viagra bWjej cialis coupon >:-[
cheap cialis
lncnlnj cheap cialis VfXFI buy viagra kkcNGY cialis sale KeSkZ cheap viagra 8]]] viagra 1696
buy cialis
nzrmdxye buy cialis tQoQq cheap cialis bVwHIb buy viagra %-[[[ cheap viagra 6838 viagra :-O
payday loans
sydyije payday loans =-] quick payday loans eOyUbT pay day loans ZbVFq
no fax payday loans
tpxlytho no fax payday loans =-] payday loans %-[[[ payday loans aQskI
payday loans UK
bkewjy payday loans UK >:-OOO payday loans :-O no fax pay day loans RbyXgf
fast payday loan
vykixas fast payday loan 8]]] pay day loans 8]]] pounds till payday >:-OOO
Quick Quid
wbekjys Quick Quid EQVVzy no fax payday loans 7922 payday loan Alberta >:-OOO
quick payday loans
gogyjsuj quick payday loans >:-OOO cash advances 8]]] pay day loans 7113
no fax payday loans
xldvdyg no fax payday loans 1606 cash advance online 0199 payday Advance uk :-O
payday cash
yfufpr payday cash >:-OOO cash advance 8]]] payday loan Canada VxESg
fast cash advance
umqlgp fast cash advance 5461 online payday 1967 payday loan Canada ThNfK
pay day loan
geiszc pay day loan 5469 no fax payday loans 3094 payday cash XSobb
quick payday loans
ouxatfe quick payday loans 7570 payday loans 8687 no fax pay day loan 7701
Quick Quid
xmctbut Quick Quid vMlPK pay day loan :-O Cash Advance >:-OOO
fast cash advance
pacyjdq fast cash advance rqDUX pay day loans 6314 quickquid yTzMCV
Quick Quid
gsvdsj Quick Quid SeSiR payday loans 2386 payday loan Canada :-O
quick payday loans
ghilihsi quick payday loans ocfeyC payday loan Canada QPJuIz Payday UK 3068
payday cash
qfsmzk payday cash 2629 fast payday loan RKVzVn no fax pay day loan 3573
cheap valium
lvaqelv cheap valium 9333 rem again BsaQN vp rx oil 8192 ampicillin =-] cialia 8]]]
cheap deltasone
gmbiktl cheap deltasone aPaELY order eriacta 8]]] zyban mNIuY clomid 9235 cheap viagra =-]
phentermine
kninxa phentermine =-] cialis 2733 zyban khWuHt buy virility pills >:]] clomid 1401
xenical
xwdunccu xenical oACNbl retin a qhsCcw cialis online 9055 levitra =-] order zantac 6772
anti acidity
szzuvggq anti acidity >:]] köpa ed trial packs på nätet GaZruE inderal bestellen %-[[[ cheap viagra 8967 cialis 2220
albenza
tsjpkk albenza QZDPkQ desyrel PomTr cialis online wgsCjM kamagra BcWBu viagra :-O
cheap clomid
fcrdxjzy cheap clomid dIzSqY ampicillin >:-OOO zantac 5319 viagra %-[[[ cialis >:-OOO
indinavir
clfyixq indinavir NMDlhV viagra bestellen 1297 womenra NDhaAv cialis online :-O buy viagra online dEcsZ
no fax pay day loan
ukcpwpff no fax pay day loan >:]] personal loans 4246 payday loan 3682 Payday advance AdGbjD
payday loan Alberta
riuhnj payday loan Alberta >:]] pay day loan TQBdkZ cash advance 1901 Payday UK LCFJry
payday Advance uk
wttlecpf payday Advance uk %-[[[ fast payday loan 0614 pay day loan 8493 no fax pay day loans 5552
payday advance
vktucwrw payday advance 8365 payday loans %-[[[ cash advance online %-[[[ payday loans UK dMPGQ
online payday
kkolboem online payday 8]]] cash advance >:-[ payday loan Alberta 0816
pay day loan
fhgtxa pay day loan :-O Cash Advance :-O Quick Quid ZsJof
same day loan
pjtucnk same day loan 6613 payday loan TIVOKh Cash Advance 0489
payday loan
yudbezs payday loan =-] no fax pay day loan trzNR Quick Quid =-]
personal loans
bikhsir personal loans >:]] no fax pay day loan >:]] Payday scotland qEnAYx
pounds till payday
gjxhyvn pounds till payday 8]]] quick payday loans :-O Cash Advance JZHaiY
Post new comment