HIT Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: rookie looks for help  (Read 2935 times)

0 Members and 1 Guest are viewing this topic.

asadsfffry

  • Snark
  • **
  • Offline Offline
  • Posts: 5
    • View Profile
rookie looks for help
« on: March 01, 2011, 11:27:42 AM »

Hey,everyone.I'm very new to this forum,and this is my first topic,so if there is anything unpolite,please excuse me.
I've download some models for GMOD,I'm wondering if they can be use in half life 2 and smod.I want to use them to replace models that already exist,such as replace f_combine'model in smod with COD6 ranger model that is for GMOD,
I've got no tools for modeling,so please give me a link to download the tools that I'll need.
If there is a turtorial that may tell me how to do it,please let me know.
Other wise,I'm totally new on replace models,.a step by step guide would be helpful.
I know it is a boring thing to do,but please,I really want to know how to replace models.
Logged

waqwarrior

  • prettier than the average
  • Gargantua
  • *******
  • Offline Offline
  • Posts: 872
    • View Profile
Re: rookie looks for help
« Reply #1 on: March 01, 2011, 12:23:45 PM »

Google Cannonfodder's Half-Life 2 tools. I don't know if they would work, you'd have to decompile ans make sure the QC of the Gmod model matches the HL2 one.
Logged

asadsfffry

  • Snark
  • **
  • Offline Offline
  • Posts: 5
    • View Profile
Re: rookie looks for help
« Reply #2 on: March 01, 2011, 12:56:06 PM »

The smod redux's f_combine qc file

$cd "M:\hl2\smodredux\models"
$modelname "combine_f_soldier.mdl"
$model "Human_Grunt" "Human_Grunt_reference.smd"

$lod 10
 {
  replacemodel "Human_Grunt_reference" "lod1_Human_Grunt_reference"
}
$lod 25
 {
  replacemodel "Human_Grunt_reference" "lod2_Human_Grunt_reference"
}
$lod 40
 {
  replacemodel "Human_Grunt_reference" "lod3_Human_Grunt_reference"
}
$lod 60
 {
  replacemodel "Human_Grunt_reference" "lod4_Human_Grunt_reference"
}
$shadowlod
{
  replacemodel "Human_Grunt_reference" "lod5_Human_Grunt_reference"
}
$cdmaterials "models\Hgrunt\"
$hboxset "default"
$hbox 2 "ValveBiped.Bip01_Spine" -1.000  -4.740  -7.220  7.000  8.270  6.780
$hbox 1 "ValveBiped.Bip01_Head1" -1.750  -8.000  -3.500  7.250  4.000  3.500
$hbox 4 "ValveBiped.Bip01_L_UpperArm" -2.000  -2.750  -2.750  12.000  2.750  2.750
$hbox 4 "ValveBiped.Bip01_L_Forearm" 0.000  -2.440  -2.150  10.000  2.060  2.350
$hbox 4 "ValveBiped.Bip01_L_Hand" 0.250  -1.000  -2.000  5.750  1.000  2.000
$hbox 5 "ValveBiped.Bip01_R_UpperArm" -2.000  -2.750  -2.750  12.000  2.750  2.750
$hbox 5 "ValveBiped.Bip01_R_Forearm" 0.000  -2.250  -2.250  10.000  2.250  2.250
$hbox 5 "ValveBiped.Bip01_R_Hand" 0.500  -0.960  -2.330  5.500  1.040  2.610
$hbox 6 "ValveBiped.Bip01_L_Thigh" 1.070  -3.000  -3.000  18.920  5.000  4.000
$hbox 6 "ValveBiped.Bip01_L_Calf" 0.500  -3.500  -2.800  15.500  3.500  3.200
$hbox 6 "ValveBiped.Bip01_L_Foot" -0.500  -1.500  -2.000  5.500  4.500  2.500
$hbox 6 "ValveBiped.Bip01_L_Toe0" -0.250  -1.750  -2.190  3.250  0.750  2.460
$hbox 7 "ValveBiped.Bip01_R_Thigh" 1.000  -5.500  -3.500  19.000  3.500  3.500
$hbox 7 "ValveBiped.Bip01_R_Calf" 0.500  -4.010  -2.570  15.500  3.990  2.930
$hbox 7 "ValveBiped.Bip01_R_Foot" -1.250  -4.000  -2.250  5.250  2.000  2.250
$hbox 7 "ValveBiped.Bip01_R_Toe0" -1.000  -0.750  -2.600  3.000  1.750  2.100
$hbox 0 "ValveBiped.Bip01_Pelvis" -7.000  -4.500  -8.000  7.000  4.500  5.000
$hbox 0 "ValveBiped.Bip01_Spine2" -1.000  -4.250  -7.250  13.000  8.250  7.250
$attachment "lefthand" "ValveBiped.Bip01_L_Hand" -0.00 -0.00 -0.00 rotate 0.00 -0.00 0.00
$attachment "zipline" "ValveBiped.Bip01_Spine4" 3.00 -4.00 -0.00 rotate 0.00 -0.00 -0.00
$attachment "eyes" "ValveBiped.Bip01_Head1" 4.50 -5.00 -0.00 rotate 0.00 -90.00 -90.00
$attachment "anim_attachment_RH" "ValveBiped.Anim_Attachment_RH" 0.00 -0.00 -0.00 rotate -90.00 -90.00 0.00
$attachment "anim_attachment_LH" "ValveBiped.Anim_Attachment_LH" -0.00 0.00 0.00 rotate -90.00 -90.00 0.00
$includemodel "humans/male_shared.mdl"
$includemodel "humans/male_ss.mdl"
$includemodel "humans/male_gestures.mdl"
$includemodel "humans/male_postures.mdl"
$surfaceprop "flesh"
$eyeposition -0.000 0.000 72.000
$illumposition 2.257 -0.065 35.510
$sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00
$ikchain rhand ValveBiped.Bip01_R_Hand knee  0.707 0.707 0.000
$ikchain lhand ValveBiped.Bip01_L_Hand knee  0.707 0.707 0.000
$ikchain rfoot ValveBiped.Bip01_R_Foot knee  0.707 -0.707 0.000
$ikchain lfoot ValveBiped.Bip01_L_Foot knee  0.707 -0.707 0.000

mw2 skin´╝ÜSmoky,s CT_Rangers's qc file:

$cd "M:\Smoky,s CT_Rangers\Smoky,s CT_Rangers\models\player"
$modelname "player/ct_gsg9.mdl"
$model "ct_gsg9" "ct_gsg9_reference.smd"

$poseparameter move_yaw -180.00 180.00
$poseparameter body_pitch -90.00 90.00
$poseparameter body_yaw -90.00 90.00
$cdmaterials "models\CODMW2\Rangers\"
$hboxset "cstrike"
$hbox 3 "ValveBiped.Bip01_Pelvis" -8.299  -7.727  -5.429  8.299  2.007  6.583
$hbox 6 "ValveBiped.Bip01_L_Thigh" 4.576  -5.377  -3.432  22.880  3.775  4.576
$hbox 6 "ValveBiped.Bip01_L_Calf" -0.291  -4.295  -3.432  20.883  3.151  3.432
$hbox 6 "ValveBiped.Bip01_L_Foot" -2.288  -1.144  -2.579  5.720  4.576  2.007
$hbox 6 "ValveBiped.Bip01_L_Toe0" -2.860  -2.808  -2.860  4.004  1.196  1.716
$hbox 7 "ValveBiped.Bip01_R_Thigh" 4.576  -5.377  -3.432  22.880  3.775  4.576
$hbox 7 "ValveBiped.Bip01_R_Calf" -0.291  -4.295  -3.432  20.883  3.151  3.432
$hbox 7 "ValveBiped.Bip01_R_Foot" -2.288  -1.144  -2.007  5.720  4.576  2.579
$hbox 7 "ValveBiped.Bip01_R_Toe0" -2.860  -2.808  -1.716  4.004  1.196  2.860
$hbox 3 "ValveBiped.Bip01_Spine1" -9.152  -1.258  -8.008  4.576  11.326  8.008
$hbox 2 "ValveBiped.Bip01_Spine2" -3.068  -3.432  -9.693  13.572  10.317  9.693
$hbox 1 "ValveBiped.Bip01_Neck1" -0.104  -4.576  -2.860  5.512  2.288  2.860
$hbox 1 "ValveBiped.Bip01_Head1" -0.416  -6.240  -3.640  9.360  4.441  3.016
$hbox 4 "ValveBiped.Bip01_L_UpperArm" -1.144  -2.579  -2.288  14.872  2.579  2.288
$hbox 4 "ValveBiped.Bip01_L_Forearm" -1.716  -2.402  -2.402  13.156  2.402  2.402
$hbox 4 "ValveBiped.Bip01_L_Hand" 0.291  -2.465  -1.716  6.583  1.550  2.860
$hbox 5 "ValveBiped.Bip01_R_UpperArm" -1.144  -2.579  -2.288  14.872  2.579  2.288
$hbox 5 "ValveBiped.Bip01_R_Forearm" -1.716  -2.402  -2.402  13.156  2.402  2.402
$hbox 5 "ValveBiped.Bip01_R_Hand" 0.291  -2.465  -2.860  6.583  1.550  1.716
$attachment "grenade0" "ValveBiped.Bip01_Spine" 3.76 3.55 8.19 rotate 82.85 22.65 9.19
$attachment "grenade1" "ValveBiped.Bip01_Spine" 3.98 1.10 8.04 rotate 72.87 98.94 86.09
$attachment "grenade2" "ValveBiped.Bip01_Spine" -0.34 3.02 -8.40 rotate -81.89 84.57 99.57
$attachment "grenade3" "ValveBiped.Bip01_Spine" 1.02 0.15 -8.16 rotate -71.27 -78.46 -97.68
$attachment "pistol" "ValveBiped.Bip01_R_Thigh" -0.70 2.34 -5.84 rotate 1.97 3.49 80.34
$attachment "primary" "ValveBiped.Bip01_Spine2" 11.36 -5.66 -5.65 rotate -29.29 176.22 4.06
$attachment "defusekit" "ValveBiped.Bip01_Pelvis" 0.00 1.22 -6.66 rotate -73.06 90.93 179.75
$attachment "eholster" "ValveBiped.Bip01_L_Thigh" 5.17 -0.56 4.22 rotate 5.29 -91.77 97.41
$attachment "lfoot" "ValveBiped.Bip01_L_Foot" -0.00 5.20 0.00 rotate -0.00 -0.00 -0.00
$attachment "rfoot" "ValveBiped.Bip01_R_Foot" -0.00 5.20 0.00 rotate 0.00 -0.00 0.00
$attachment "muzzle_flash" "ValveBiped.Bip01_L_Hand" -0.00 0.00 0.00 rotate 0.00 0.00 0.00
$includemodel "player/cs_player_shared.mdl"
$includemodel "player/ak_anims_ct.mdl"
$surfaceprop "flesh"
$eyeposition -0.000 -0.000 70.000
$illumposition -0.019 0.055 37.472
$sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00
$ikchain rhand ValveBiped.Bip01_R_Hand knee  0.707 0.707 0.000
$ikchain lhand ValveBiped.Bip01_L_Hand knee  0.707 0.707 0.000
$ikchain rfoot ValveBiped.Bip01_R_Foot knee  0.707 -0.707 0.000
$ikchain lfoot ValveBiped.Bip01_L_Foot knee  0.707 -0.707 0.000
$ikchain ikclip ValveBiped.weapon_bone_Clip knee  0.707 -0.707 0.000

Can it replace?
Logged

asadsfffry

  • Snark
  • **
  • Offline Offline
  • Posts: 5
    • View Profile
please delete
« Reply #3 on: March 01, 2011, 10:03:02 PM »

forget that I can modify message
« Last Edit: March 01, 2011, 10:06:18 PM by asadsfffry »
Logged

asadsfffry

  • Snark
  • **
  • Offline Offline
  • Posts: 5
    • View Profile
Re: rookie looks for help
« Reply #4 on: March 01, 2011, 10:04:25 PM »

Google Cannonfodder's Half-Life 2 tools. I don't know if they would work, you'd have to decompile ans make sure the QC of the Gmod model matches the HL2 one.
what to do after I've found a model's qc matches the hl2 one?
Logged

waqwarrior

  • prettier than the average
  • Gargantua
  • *******
  • Offline Offline
  • Posts: 872
    • View Profile
Re: rookie looks for help
« Reply #5 on: March 01, 2011, 11:59:05 PM »

Then your model will work as a replacement. You're good to go.
Logged

asadsfffry

  • Snark
  • **
  • Offline Offline
  • Posts: 5
    • View Profile
Re: rookie looks for help
« Reply #6 on: March 02, 2011, 12:05:04 PM »

Then your model will work as a replacement. You're good to go.
So just decompile a model's mdl file and check the qc file see if it's formation match the orginal model's qc file.is there any thing else required to do?There is no need to change anything ?such as their qc file?
Logged

waqwarrior

  • prettier than the average
  • Gargantua
  • *******
  • Offline Offline
  • Posts: 872
    • View Profile
Re: rookie looks for help
« Reply #7 on: March 02, 2011, 08:11:33 PM »

No.
Logged