• Mario's Guide To Ragdolling
    302 replies, posted
  • Sorry for bad English I'm new on Hl2 modding I have a question: Is possible to add Motion Capture animation (bip file) and convert in to smd for use in Npc? And Is possible to convert smd animation in bip files or bvh 3dsmax compatible I would like make some dance animation with Alyx or other Npc
  • Hey, firstly I just want to say great tutorial! It's allready helped me alot, however I have 1 problem however noobish it may sound. I'm using 3DS MAX 09 and using wunderboys export plugin, I've got the model to appear in the Model Viewer with the bones being selectable etc but I cannot edit their constraints. For example I select my models forearm and select each of the axis and try move the slider but it remain motionless, am I exporting my model wrong? Since the tutorial uses Cannon's exporter its hard to follow, for example "Export a SMD again, only call it "ragdoll.smd" and save it as a Skeletal Animation this time.". The only relevant option available to me is "Export Sequence SMD" and requests a range, do I simply use this and set the range "0 to 1" or am I missing something. Any help would be appreciated as I need to at least try get this working so I can prototype other models for similar use. Thanks, Vern
  • [QUOTE=umpa;14450161]Sorry for bad English I'm new on Hl2 modding I have a question: Is possible to add Motion Capture animation (bip file) and convert in to smd for use in Npc? And Is possible to convert smd animation in bip files or bvh 3dsmax compatible I would like make some dance animation with Alyx or other Npc[/QUOTE] Yes, it's possible, you have to animate using the model skeleton. If you're going to use Alyx, you'll have to decompile Alyx model file to get the smd files, work on them, make the animations and then recompile.
  • [QUOTE=Vicousvern;14455797]Hey, firstly I just want to say great tutorial! It's allready helped me alot, however I have 1 problem however noobish it may sound. I'm using 3DS MAX 09 and using wunderboys export plugin, I've got the model to appear in the Model Viewer with the bones being selectable etc but I cannot edit their constraints. For example I select my models forearm and select each of the axis and try move the slider but it remain motionless, am I exporting my model wrong? Since the tutorial uses Cannon's exporter its hard to follow, for example "Export a SMD again, only call it "ragdoll.smd" and save it as a Skeletal Animation this time.". The only relevant option available to me is "Export Sequence SMD" and requests a range, do I simply use this and set the range "0 to 1" or am I missing something. Any help would be appreciated as I need to at least try get this working so I can prototype other models for similar use. Thanks, Vern[/QUOTE] Have you assinged bones with each vertex of the model ? Or weight bones ? Because maybe you've done everything ok, and you can move the arms, forearms, etc but there's no vertexes assinged to that bone and it appears to move nothing...
  • maybe he forgot to use the test slider.. anyway I'm going to redo the video I think, its way too long.. and I want to fit it under 20mins. also I don't know anything about animation compiling for NPC's. but I'm pretty sure the skeleton used in hl2 is a biped, therefore the rotation axis of the bones of the 3dmax biped should match the axis position from the HL2 skeleton. meaning, yeah you could use a biped in max, apply bip mocap data to it, and export to smd for your ragdoll. you'd just have to keep in mind to have your bipeds bones to match the pivots and general length of the original hl2 skeleton. there are probably better ways to do this, but this is what I would attempt
  • [QUOTE=mariokart64n;14456142]maybe he forgot to use the test slider.. anyway I'm going to redo the video I think, its way too long.. and I want to fit it under 20mins. also I don't know anything about animation compiling for NPC's. but I'm pretty sure the skeleton used in hl2 is a biped, therefore the rotation axis of the bones of the 3dmax biped should match the axis position from the HL2 skeleton. meaning, yeah you could use a biped in max, apply bip mocap data to it, and export to smd for your ragdoll. you'd just have to keep in mind to have your bipeds bones to match the pivots and general length of the original hl2 skeleton. there are probably better ways to do this, but this is what I would attempt[/QUOTE] Thanks for this info , I made some Dance mod for Fallout 3 and Oblivion and now I want try for Half life 2
  • sorry, I'm going to have to cancel the video for the time being. my windows got a nasty virus. it's completely taken over my computer, programs can't start, updates are disabled, sites are redirected or blocked. and I'm getting access denied errors everywhere, and I'm the soul admin of winxp. anyway it's at a point where I feel it would be way easier to buy a new harddrive and re-install WinXP. as it seems all my hardrives, including Vista which I had setup as duel boot are infected ~_~ So I might be offline for a week.
  • Yea I've attached the appropriate vertexes to each bone and weighted them accordingly, I'll re-do some of the steps to make sure I hav'nt missed anything and post again later hopefully, thanks.
  • Ok sorry this sounds really dumb! however I found out why I could'nt move my bones in the HLMV... it was because I did'nt notice the test slider >.> I thought moving the constaint slider moved the bones in the preview. So if you would like, it might be beneficial to other users showing the test slider highlighted :D in one of your images. Still thanks alot and I can't stress enough how helpfull this tutorial was, Kudos to you and thanks replying to my posts. Hopefully the next lot of steps will work, thanks again! P.S. [url]http://www.youtube.com/watch?v=qNC056XvMh0[/url] - Vern
  • I keep getting a bunch of errors when trying to compile: [code]WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! (...) WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: COSTLY COLLISION MODEL!!!! (365 parts - 20 allowed) WARNING: Error with convex elements of C:\Documents and Settings\Utilizador\Ambiente de trabalho\Modeling\Bioshock\wat/prop.smd, building single convex!!!! Model has 3 convex sub-parts Collision model completed. --------------------- writing c:\programas\steam\steamapps\duarte018\half-life 2 episode two\ep2\models/Bioshosckwrenchlolmdl.mdl: Error opening c:\programas\steam\steamapps\duarte018\half-life 2 episode two\ep2\models/Bioshosckwrenchlolmdl.mdl! (Check for write enable) [/code] halp
  • [QUOTE=-The_D-;14622180][code] Error opening c:\programas\steam\steamapps\duarte018\half-life 2 episode two\ep2\models/Bioshosckwrenchlolmdl.mdl! (Check for write enable) [/code][/QUOTE] I've had that problem a few times, all that it means is that you've not set up your directory or have misstyped something. Check your .qc file for the following lines: [code]$modelname "Humans\Group01\male_02.mdl" $model "male_02" "male_02_reference.smd"[/code] I'm pretty sure that "$modelname "Humans\Group01\male_02.mdl"" is the line you wanna focus on, and obviously change the model name and directory to suit your game/mod. For the other warnings you get I can't offer any advice, sorry.
  • @-The_D- please post your project folder, qc and all your smd's. I've never seen that error before @Vicousvern I've encountered this error a real long time ago.. and I don't think it has anything to do with the qc. ?is this your first time compiling, and have you ever been successful compiling anything yet? I believe your SDK may not be setup properly
  • [B]EDIT3: Nevermind. I got it. I was missing the "models" folder in the ep2 folder. Thanks for trying to help though.[/B] Yes, it is my first time compiling, and I haven't tried to compile anything else yet. [url]http://imgkk.com/images/jeruaic7.png[/url] - QC + smd folder. [url]http://imgkk.com/images/yzgrsa20.png[/url] - the smd [url]http://imgkk.com/images/b8zwo34m.jpg[/url] - size comparison I'll try to compile a simple cube now. EDIT: I didn't get any errors when changing the SDK's launch options. Does that have anything to do with it? EDIT2: I'm also getting a WARNING: AppFramework : Unable to load module p4lib.dll! error in the beginning. [code]GUIStudioMDL 2.2/Source - © 2007 Neil 'Jed' Jedrzejewski - http://www.wunderboy.org/ Loaded QC file - "C:\Documents and Settings\Utilizador\Ambiente de trabalho\Modeling\Bioshock\aCube\prop.qc" Created command line: C:\Programas\Steam\steamapps\duarte018\sourcesdk\bin\orangebox\bin\studiomdl.exe -game "c:\programas\steam\steamapps\duarte018\half-life 2 episode two\ep2" -notxbox "C:\Documents and Settings\Utilizador\Ambiente de trabalho\Modeling\Bioshock\aCube\prop.qc" WARNING: AppFramework : Unable to load module p4lib.dll! qdir: "c:\documents and settings\utilizador\ambiente de trabalho\modeling\bioshock\acube\" gamedir: "c:\programas\steam\steamapps\duarte018\half-life 2 episode two\ep2\" g_path: "C:\Documents and Settings\Utilizador\Ambiente de trabalho\Modeling\Bioshock\aCube\prop.qc" Building binary model files... Working on "prop.qc" SMD MODEL C:\Documents and Settings\Utilizador\Ambiente de trabalho\Modeling\Bioshock\aCube/prop.smd SMD MODEL C:\Documents and Settings\Utilizador\Ambiente de trabalho\Modeling\Bioshock\aCube/ragdoll.smd WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!![/code]
  • Couldn't you blur it... In fact I don't really wanna see it anyway. lol. I still wanna know if it works though.
  • I've been having a texture issue. I used 3dripperdx to rip a necromorph from Dead Space to 3dsmax8. For some reason on every rip, the model has yellow/purple distorted textures applied to it. I apparently am missing a texture named 0000000. Any ideas?
  • games are using adavanced masking techniques to speed up and improve the materials of there game. it can also be a way of optimization that many companies are now taking notice of. so for one, theres a good possiblity that the maps are being miss assigned. so you'll have to reassign the maps. the important part is that the model has mat place holders, so your able to easilly reassign. also 00000000 happens to everything I've ripped. if you go into your material editor theres a utlity called clean multi materials. this will delete any unused materials in your scene. 0000000 isn't used for anything, so it's alright if it's missing. my advice to you is, to double check your model's UV map. by adding the modifier called UVWwarp and going to edit UVs. you'll see the wires of the UV map.. if they look logical (not borken shunken ..etc) then your UVs are good an indeed you have mis-assigned materials. then the issue is, just you reassigning the mats. you may also want to consider changing the graphics settings to high or low, to see if 3dripperdx can grab a better rip that way. PS, last year i think I tried to rip from dead space.. from what I can recall it was not a happy experience. games are using stronger protection to block external programs from hooking into the games memory. and alot of the time cause undesired effects when ripping with a hook program link 3dripperdx. though i can remember that 3dripperdx did work for me. the yellow maps may be ARGB normal maps or texture masks
  • [QUOTE=mariokart64n;14702950]you may also want to consider changing the graphics settings to high or low, to see if 3dripperdx can grab a better rip that way. though i can remember that 3dripperdx did work for me[/QUOTE] Tried to find UVWwarp, couldn't. I'll try messing with my settings. Thanks!
  • 3DS Max or 3D DX Ripper is swapping all of the textures around around causing my renders to display normal maps as textures, etc. :( Is this a common error or is this just a specific error limited to a game - UT3 - do I have to fix this manually? [img]http://www.cubeupload.com/files/a12c00halp.png[/img]
  • uts becoming more common as games start to use more bizarre mapping methods. just re-assign the textures until one fits. and I'm not gonna lie, I've spent anywhere from 3 to 5 hours re-assigning textures for just one model.
  • I'm uploading my video tutorial for ragdolling. it ended up being about 12 parts I think. 10min each. it took 2 days to do them all, so even though there crappy I'm still gonna post them here. they'll hopefully be an alternative to those too lazy to read the actual tut I wrote here
  • Are those uploads done yet, i've read the tut, but its not working for me i'll watch these and see if it works then.
  • I'm a sad widdle wubber duck :( [img]http://www.cubeupload.com/files/498c00untitled.png[/img] Honestly, though what is the "weld threshold", anyway?
  • another word for threshold would be range. 0.001 would be 100th of a single unit in 3dsmax. the larger the threshold or larger the range. the more 3dsmax will weld your model. if the threshold was say 100, your entire model would disappear. because all the vertices are within 100 units. and since what welding does, is combine one vertex into another. if you use a large threshold everything would get combined. so we use a small threshold, or range, or factor.. so that only small breaks are welded. and your model doesn't get damaged. the prompt you got from 3dsmax there is just simply saying, there were no breaks found in your model using the given welding range. this prompt is good and is what we want when using 0.001