Can a Weapons Guy Help me out!!!?


LoD
02-27-2004, 08:18 PM
Basically what i need are default or close to default American Weapon models.... but with British sleeves, and british support. Currently swaping the file name leaves them without sleeves.

If anyone could edit the defaults and add sleeves (for the life of me i tried but they kept getting corrupted) or if someone can take some custom American guns and add british support i would be very grateful.

I am looking to train a bunch of guys with british weapons, but they like the models for the americans.


thx.

Billie|Joe
02-27-2004, 09:12 PM
decompile the model, and in the qc

(the original)

//reference mesh(es)
$body "gun" "reference"

$bodygroup "sleeve"
{
studio "us_sleeve"
studio "brit_sleeve"
studio "axis_sleeve"
}

to

//reference mesh(es)
$body "gun" "reference"

$bodygroup "sleeve"
{
studio "brit_sleeve"
studio "brit_sleeve"
studio "axis_sleeve"
}

and then compile

LoD
02-27-2004, 09:22 PM
i tried that, but will try again!

Billie|Joe
02-27-2004, 09:26 PM
oh wait, that's right, the us models don't have the brit_sleeve.smd soooooooooooooooooooo

you will have to decompile a british model, delete everything except the brit_sleeve.bmp and the brit_sleeve.smd and copy them and paste them in the same directory as your decompiled us model

then do what i said above

LoD
02-27-2004, 09:36 PM
i think i did something like that... but will try just what you said....

LoD
02-27-2004, 09:47 PM
ya i dont think i tried it EXACTELY like you said before, but doing what you said gave me this....... lol Iv gotten to this point before... just plain frustrating!

http://images.theforumisdown.com/~trevor/ohno.jpg

Silverghost
02-27-2004, 10:00 PM
ahh the origins got fubar'd

you gotta add

$origins 0 0 0 (i think)

somewhere in the .qc but i cant remember where.

LoD
02-27-2004, 10:10 PM
if you know where i will buy u a cookie! I know nothing about modeling and today was the first time i ever used a complier!

lol

Silverghost
02-27-2004, 10:16 PM
ahh here it is. open the .qc

$modelname "v_sten.mdl"
$cd ".\"
$cdtexture ".\"
$scale 1.0
$cliptotextures

$origin

you should see something like that, but without the $origins line.

add $origins 0 0 0 and give it a go

LoD
02-27-2004, 10:26 PM
ok testing now... it compiled... thats a good sign, now we see if its all out of wack...

LoD
02-27-2004, 10:27 PM
didnt change anything..... any other suggestions or anything to add to the oigins line?

LoD
02-27-2004, 10:28 PM
This is what i have :



$modelname "E:\Documents and Settings\Trevor W. Smith\Desktop\New Folder (5)\v_garand.mdl"
$cd "\Documents and Settings\Trevor W. Smith\Desktop\New Folder (5)\"
$cdtexture "\Documents and Settings\Trevor W. Smith\Desktop\New Folder (5)\"
$cliptotextures
$origin 0 0 0


$scale 1.0

// 2 attachments
$attachment 0 "Bone67" 0.000000 -70.500000 2.000000
$attachment 1 "Bone67" 0.000000 -7.000000 2.000000

// 0 bone controllers

// 13 hit boxes
$hbox 0 "Bone04" -10.612760 0.000000 -13.685144 10.801794 9.412024 0.000000
$hbox 0 "Bone05" -4.080000 -0.680000 -2.680000 4.090000 17.940001 3.310000
$hbox 0 "Bone07" -2.380000 0.000000 -1.000000 1.790000 5.560000 1.040000
$hbox 0 "Bone08" -1.959517 -0.710000 -1.140000 0.240000 1.880000 0.870000
$hbox 0 "Bone09" -1.630000 -0.530000 -0.990000 0.370000 1.270000 0.560000
$hbox 0 "Bone10" -0.920000 0.000000 -0.800000 0.110000 1.060000 0.450000
$hbox 0 "Bone40" -4.170000 -0.720000 -2.680000 3.970000 17.900000 3.310000
$hbox 0 "Bone42" -1.860000 0.000000 -1.000000 2.320000 5.540000 1.040000
$hbox 0 "Bone43" -0.230000 -0.720000 -1.140000 1.972922 1.870000 0.870000
$hbox 0 "Bone44" -0.370000 -0.470000 -0.950000 1.630000 1.330000 0.600000
$hbox 0 "Bone45" -0.120000 0.000000 -0.730000 0.910000 1.060000 0.520000
$hbox 0 "Bone67" -1.350000 -71.050003 -7.980000 1.310000 21.240000 6.410000
$hbox 0 "Bone77" -2.020000 -9.780000 -0.350000 0.000000 1.740000 0.880000

$bodygroup gun
{
studio "reference"
}

$bodygroup sleeve
{
studio "us_sleeve"
studio "brit_sleeve"
studio "axis_sleeve"
}

// 11 sequences
$sequence idle "idle" fps 5
$sequence shoot1 "shoot1" fps 50 { event 5001 1 "41" } { event 6002 1 "2" }
$sequence shoot2 "shoot2" fps 50 { event 5001 1 "41" } { event 6002 1 "2" }
$sequence shoot3 "shoot3" fps 50 { event 5001 1 "41" } { event 6002 1 "2" }
$sequence shoot_empty "shoot_empty" fps 100 { event 5001 1 "41" } { event 6001 1 "2" }
$sequence reload "reload" fps 50 { event 5004 48 "weapons/garand_reload_clipin.wav" }
$sequence draw "draw" fps 40 { event 5004 1 "weapons/rifleselect.wav" }
$sequence empty_idle "empty_idle" fps 30
$sequence draw_empty "draw_empty" fps 40 { event 5004 1 "weapons/rifleselect.wav" }
$sequence smash "smash" fps 75 { event 5004 1 "weapons/rifleselect.wav" }
$sequence smash_empty "smash_empty" fps 75 { event 5004 1 "weapons/rifleselect.wav" }

Silverghost
02-27-2004, 10:30 PM
$scale 1.0
$cliptotextures

try it with $scale added in.

LoD
02-27-2004, 10:36 PM
didnt work... same as before. Should i mess with the scale #?


$modelname "E:\Documents and Settings\Trevor W. Smith\Desktop\New Folder (5)\v_garand.mdl"
$cd "\Documents and Settings\Trevor W. Smith\Desktop\New Folder (5)\"
$cdtexture "\Documents and Settings\Trevor W. Smith\Desktop\New Folder (5)\"
$scale 1.0
$cliptotextures
$origin 0 0 0

Billie|Joe
02-27-2004, 10:46 PM
LOL no don't mess w/ the scale

you had to have entered numbers in the origin line, try

$origin 0 -20 0

next time use kratisto's decompiler or the regular decompiler, not the half life/ decompile .mdl one

LoD
02-27-2004, 10:51 PM
i did use his decompiler and it wouldnt recompile, i will try his again....

What do you recommend to recompile?

Billie|Joe
02-27-2004, 10:55 PM
there's only one compiler, what are you using? milkshape? or just regular studiomdl?

if your using milkshape tell us what error message it says, if not post part of your qc here so we can help



$modelname "v_garand.mdl"
$cd ".\"
$cdtexture ".\"
$scale 1.0
$cliptotextures

$origin 0 -20 0



that's how yours should look or i fyou put the directory in the modelname and such

LoD
02-27-2004, 10:56 PM
i have been using studomdl and milk. Which one is the correct one?

Billie|Joe
02-27-2004, 10:57 PM
doesn't matter

EDIT: unless your compiling player models in which you need the 1.1 compiler (which your not :p)

LoD
02-27-2004, 11:00 PM
ok im trying with the -20 setting now. wish me luck!

LoD
02-27-2004, 11:03 PM
where do i get the 1.1 compiler?


edit: gotcha, these arnt player models

-20 worked, but not 100%, i guess i will mess with the setting a little.

THANK YOU BOTH!

Billie|Joe
02-27-2004, 11:06 PM
np, people could get fast and easy help on our new irc channel, be sure to visit us at gamesurge.net #dod-msa!

hmm, that should be our slogan

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.