Adding A Jetpack
StarStarGrizzly
Join Date: 2004-02-06 Member: 26139Members
<div class="IPBDescription">to a converted model</div> As the name says i converted a cs model over to ns. I know rat12321 converted the fusion marine over, but that 5k polies was a bit much for my 1.6 celeron. I converted a different one but I dont know how to put a jetpack on the marine. I dont plan on releasing it since I didnt ask to convert it or edit it. Somebody please help meh.
Picture...
Picture...
Comments
In the example I'm about to give, the refrence smds are named mc.smd and mc_jp.smd, respectively.
my mc.smd is the model reference, and (as you know) contains the model geometry. I add a jetpack to the model and export it as mc_jp.smd, so now I have two model references in the same folder.
Animation yada yada, texture yada yada... time to compile.
Add this to the .qc
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->$bodygroup marine
{
studio "mc"
studio "mc_jp"
}<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
...and compile.
Open HLMV and click the Body Parts tab. Under Sub-model there should be two items. Submodel 1 should be the unupgraded marine, and Submodel 2 should feature the marine with jetpack.
1) Add the JP to the model via a modeling program
2) Move the JP into a proper position and assign it properly to a bone
3) Save that model
4) Export the base model WITHOUT JP as "marine_ref.smd"
5) Go to your saved body/jp model
6) Delete the body, so only the JP is left
7) Export that as "jp.smd"
8) Now, make sure both smds, the textures, the animations and stuff are in the same folder
9) Open the qc and go to the $body section (like the one Jaeger posted)
10) Now use this:
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->$bodygroup jp
{
blank
studio "jp"
}
$body studio "marine_ref"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
Compile, and done <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->