I've been checking out Gildor's UModel tool for exporting content from Unreal Engine games. Pretty cool. So I decided to make a personal skin for CS:S, reskinning the AUG as the F2000 from Medal of Honor. Textures, animations, sounds, all work perfectly. Except for this:


For some reason, something has screwed up with how it renders planes. It seems to be ignoring the faces it should be rendering and rendering the faces from the opposite side of the model instead. I've got no idea what's causing this.
Any ideas on how to fix it?
PS: And here's the QC:
- Code: Select all
$cd "<DIRECTORY GOES HERE>"
$modelname "weapons\v_rif_aug.mdl"
//$model "studio" "gun.smd"
$model "studio" "moh_f2000_ready.smd"
$cdmaterials "models\weapons\v_models\f2000mw2\"
$cdmaterials "models\weapons\v_models\hands\"
$hboxset "default"
// Model uses material "f708b9e9.vmt"
// Model uses material "333b2e27.vmt"
// Model uses material "v_hands.vmt"
$attachment "1" "smdimport" 0.00 12.00 -1.20 rotate -0.00 0.00 0.00
$attachment "2" "smdimport" 0.00 6.00 -1.00 rotate 15.00 -0.00 0.00
$surfaceprop "default"
$illumposition -8.150 -4.341 -7.773
$sequence idle "idle" ACT_VM_IDLE 1 rotate -90 fps 30.00
$sequence shoot1 "shoot1" ACT_VM_PRIMARYATTACK 1 rotate -90 fps 30.00 {
{ event 5001 0 "1" }
{ event AE_CLIENT_EFFECT_ATTACH 0 "EjectBrass_762Nato 2 150" }
}
$sequence shoot2 "shoot2" ACT_VM_PRIMARYATTACK 2 rotate -90 fps 30.00 {
{ event 5001 0 "1" }
{ event AE_CLIENT_EFFECT_ATTACH 0 "EjectBrass_762Nato 2 150" }
}
$sequence shoot3 "shoot3" ACT_VM_PRIMARYATTACK 3 rotate -90 fps 30.00 {
{ event 5001 0 "1" }
{ event AE_CLIENT_EFFECT_ATTACH 0 "EjectBrass_762Nato 2 150" }
}
$sequence draw "draw" ACT_VM_DRAW 1 rotate -90 fps 32.00 {
{ event 5004 10 "Weapon_AUG.forearm" }
}
$sequence reload "reload" ACT_VM_RELOAD 1 rotate -90 fps 29.00 {
{ event 5004 21 "Weapon_AUG.Magout" }
{ event 5004 43 "Weapon_AUG.Magin" }
{ event 5004 54 "Weapon_AUG.Tap" }
{ event 5004 80 "Weapon_AUG.Boltcatch" }
}
Yeah, it uses the MW2 F2000 animations. Say what you like about the game, the animations are pretty good.


