• How to Use Blender to make Custom Animation
    49 replies, posted
For those of you who don't know what Blender is, its a [b]free[/b] modeling and animating program, and if you use the right tools, you can get it to animate for source; Be prepared to pause, as the subtitles may move by fast. [media]http://www.youtube.com/watch?v=idHNh_XYq4c[/media] This tutorial is for those of you who want to use Blender 2.53 to animate, since most of you don't want to spend thousands of dollars on 3DS Max or don't want to pirate it. Description: [QUOTE=Description;9999999]Song: MGMT - Kids Software links: GCFScape: [url]http://nemesis.thewavelength.net/inde[/url]... MDLDecompiler: [url]http://www.chaosincarnate.net/cannonf[/url]... Blender 2.53: [url]http://www.blender.org/download/get-2[/url]... GUIStudioMDL: [url]http://www.wunderboy.org/apps/guistud[/url]... SMD Tools (Right click- save as..): Use the one on the youtube page. Notepad++ (Not required, but recommended): [url]http://notepad-plus-plus.org/download[/url] ZIP file (Original Male Posture and Female Posture): [url]http://www.filefront.com/17245173/Citizen-Scripts.zip/[/url] (Original scripts by MaxOfS2D.) Special Character names (Name - file name - file code) -Combine Police: police_animations , police_animations.mdl -Male Citizen: male_postures , humans\male_postures.mdl -Female Citizen: female_postures , humans\female_postures.mdl -Combine Soldier: combine_soldier_anims , combine_soldier_anims.mdl -Alyx: alyx_animations , Alyx_animations.mdl -Barney: barney_animations , barney_animations.mdl Breen: breen_anims , breen_anims.mdl -Combine Drop-ship: combine_dropship_animations , combine_dropship_animations.mdl -Dog: Dog_animations , dog_animations.mdl -Eli: eli_anims , eli_anims.mdl -GMan (Not sure if this is right): gman_gestures , gman_gestures.mdl -Kleiner: kleiner_animations , kleiner_animations.mdl -Father Grigori: monk_animations , monk_animations.mdl -Mossman: mossman_anims , mossman_anims.mdl -Vortigaunts: vortigaunt_anims , vortigaunt_anims.mdl TF2 Character coming once i get the TF2 QC + QCI scripts. How to get GMod on the config list: [url]http://wiki.garrysmod.com/?title=Conf[/url]... (Yes i know it says how to configure hammer, but the same rule applies.)[/QUOTE] Most of you can skip most parts, since some are simple and broken down. Exporting the SMD is very much like you would in 3DS Max, so you can use Max's tutorial of that, since it is shorter and Max has [b]much[/b] more experience in this than I do.
Ill need to go over this when Im not tired, but thank you.
[QUOTE=ScoutKing;24425258]Ill need to go over this when Im not tired, but thank you.[/QUOTE] Same. Much appreciated though.
I can't find a trustworthy download for it, but vstdlib.dll error pops up at mdldecompiler launch. Any help?
[QUOTE=G71tc4;24426497]I can't find a trustworthy download for it, but vstdlib.dll error pops up at mdldecompiler launch. Any help?[/QUOTE] Yes, where exactly did you put the MDLDecompiler tool? If you put it in the same place as the tutorial then try putting it in just SourceSDK/Bin
[QUOTE=Captain Om Nom;24433239]Yes, where exactly did you put the MDLDecompiler tool? If you put it in the same place as the tutorial then try putting it in just SourceSDK/Bin[/QUOTE] I figured it out, had to run it from ep1/bin instead of orangebox/bin. Great tutorial [editline]04:44PM[/editline] Okay, now I get "Unable to load model" when I select the mdl file and click extract
[QUOTE=G71tc4;24435540] Okay, now I get "Unable to load model" when I select the mdl file and click extract[/QUOTE] Did GCFScape load the model correctly? Check the MDL file and make sure it isn't an empty 0 byte file. And also, did you make sure you extracted the .dx90's and all of the other types?
Thanks, i could really use this. The ole' thrusters on a limp ragdoll technique isn't what it used to be.
[QUOTE=Adamhully;24442917]The ole' thrusters on a limp ragdoll technique isn't what it used to be.[/QUOTE] [URL=http://img210.imageshack.us/my.php?image=flailingblender.png][IMG]http://img210.imageshack.us/img210/3880/flailingblender.png[/IMG][/URL] :v: [sp]Hes doing the flailing thruster thing[/sp]
[QUOTE=Captain Om Nom;24437153]Did GCFScape load the model correctly? Check the MDL file and make sure it isn't an empty 0 byte file. And also, did you make sure you extracted the .dx90's and all of the other types?[/QUOTE] Yeah, it was 0 bytes. I re-extracted it with GCFscape again and it fixed it. [editline]09:44PM[/editline] Also, I love this version of "Kids"
[QUOTE=G71tc4;24444608] Also, I love this version of "Kids"[/QUOTE] Its actually the original, i just looped the parts that seem to repeat to make it sound seamlessly continuous.
[QUOTE=Captain Om Nom;24443504][URL=http://img210.imageshack.us/my.php?image=flailingblender.png][IMG]http://img210.imageshack.us/img210/3880/flailingblender.png[/IMG][/URL] :v: [sp]Hes doing the flailing thruster thing[/sp][/QUOTE] haha :v: Is there any way that i could animate 2 charcaters together and put them in gmod? EG a fight scene between 2 people. Or would it require like another 10 minute tutorial? If it does, or needs a long description just forget it, I'm just curious. Gonna give this a try now, i didn't know blender was free.
[QUOTE=Adamhully;24448883]haha :v: Is there any way that i could animate 2 charcaters together and put them in gmod? EG a fight scene between 2 people. Or would it require like another 10 minute tutorial? If it does, or needs a long description just forget it, I'm just curious. Gonna give this a try now, i didn't know blender was free.[/QUOTE] I've thought about this before. I'm guessing if you export each skeleton separately, it would work.
I think if you spawn your 2 actors, disable AI, start the scene, then re-enable AI, they will start simultaneously. Not 100% sure though.
I dunno why, but the links in the youtube video and the ones in the OP are different, so I'm a bit confused with the SMD tools one. [editline]01:09AM[/editline] [QUOTE=Captain Om Nom;24449071]I think if you spawn your 2 actors, disable AI, start the scene, then re-enable AI, they will start simultaneously. Not 100% sure though.[/QUOTE] I'll give it a go once I've got enough practice in. [editline]01:11AM[/editline] Is this link correct for the SMD tools? [url]http://blender-smd.googlecode.com/svn/trunk/io_smd_tools.py[/url] When i open it, all i get is a page full of code. When i save it i get a PY file... is that right?
Yes.
Thanks :D Just adding Gmod to source SDK. Slowly getting there.
[media]http://www.youtube.com/watch?v=u8pWFhRvCSQ[/media] This is for you Om Nom. [b]ALL FOR YOU[/b]
Glad to see you got it working correctly.
I've been trying for ages. That jerkoff is glorious to me. Thanks for the tut!
I managed to make an animation and get it in the Model viewer and face poser :) Not 100% sure on how to get it in garrysmod though.
[QUOTE=Adamhully;24454731]I managed to make an animation and get it in the Model viewer and face poser :) Not 100% sure on how to get it in garrysmod though.[/QUOTE] Go in guistudiomdl and compile your smd using the garrys mod engine. There's a link in the description and the OP if you don't know how to get gMod on the config list. From there you can create a faceposer scene with it and play it in gmod using the npc scene tool.
A few tips: [list][*]It's often better to use [url=http://img651.imageshack.us/img651/33/manip.png]the Manipulator[/url] to rotate bones. When switched to Normal mode, you can transform along precise axes and often avoid impossible rotations. [*] There is no need to select both the armature and mesh unless you actually want to export them both - and in that case you may as well use Export Scene. Having to select the armature to export even a static mesh was a limitation of the 2.4x exporter. [*] Actions can be renamed within Blender. The easiest place to do this is the SMD Export panel of the armature properties tab. Like the scene export panel, it starts down at the bottom of the pile (no way around that unfortunately). [*] [url=http://developer.valvesoftware.com/wiki/Notepad%2B%2B_VDF_languages]Notepad++ syntax highlighting for most Valve script formats is available.[/url] It makes QC editing much easier. [*] The SMD Tools can compile a QC for you; look at the scene properties panel. They end up in the current VProject folder (as set in the SDK Launcher). [*] Edit: and there is no need to use the "import SMD as a model" option when the scene is empty. [/list] I'm guessing that you didn't intend the guy to turn 90 degrees for the animation. Why this hasn't shown up before I don't know! Edit: not getting that on the SDK sample male - perhaps it's a problem with the decompiler?
[QUOTE=Captain Om Nom;24460241]Go in guistudiomdl and compile your smd using the garrys mod engine. There's a link in the description and the OP if you don't know how to get gMod on the config list. From there you can create a faceposer scene with it and play it in gmod using the npc scene tool.[/QUOTE] Ohh. Yeah i did all that except the NPC scene part. I saw you type in a command in the video but wasn't sure what it was. Thanks. I should probably watch some blender tutorials now.
Infinitely useful.
[QUOTE=Varsity;24461134]A few tips: I'm guessing that you didn't intend the guy to turn 90 degrees for the animation. Why this hasn't shown up before I don't know! [/QUOTE] When i looked at some of the QC files for blender modeling they had a rotate 90 on them. I guess there was some kind of problem in some of the previous versions, you can probably omit the "Rotate 90" [editline]04:23PM[/editline] [QUOTE=Adamhully;24465047]Ohh. Yeah i did all that except the NPC scene part. I saw you type in a command in the video but wasn't sure what it was. Thanks. I should probably watch some blender tutorials now.[/QUOTE] ent_fire !picker startscripting ent_fire !picker setexpressionoverride scenes/SCENENAME.vcd
[QUOTE=Adamhully;24448883]haha :v: Is there any way that i could animate 2 charcaters together and put them in gmod? EG a fight scene between 2 people. Or would it require like another 10 minute tutorial? If it does, or needs a long description just forget it, I'm just curious. Gonna give this a try now, i didn't know blender was free.[/QUOTE] what I do is make a copy of the skeleton in the same scene which means that basically both actors are standing in the same spot physically, but visually not example: [img]http://www.youtube.com/watch?v=Q-dfuzIVSjI[/img]
Thank you! Now i'm waiting for Maxes tutorial for converting Endorphin scenes to Source.
How would I make an idle animation?
[QUOTE=G71tc4;24503243]How would I make an idle animation?[/QUOTE] You mean make it loop? Just make your animation, use it in faceposer and make a scene with it, save it, and use the console commands I posted above to get the actor to loop the vcd. There is an easier way that loops better, but I don't remember how to do it.
Sorry, you need to Log In to post a reply to this thread.