Strange compile error

Modelling, Textures, Animating and other general engine asset topics.

Strange compile error

Postby thebeanie on Mon May 02, 2011 12:03 pm

Well, haven't posted here for a while. This ought to be interesting.

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:

Image
Image

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.
User avatar
thebeanie
Been Here A While
Been Here A While
 
Joined: Thu Feb 07, 2008 11:48 am

Re: Strange compile error

Postby Surfa on Tue May 03, 2011 9:06 pm

Flip the normals brother
Surfa
May Contain Skills
May Contain Skills
 
Joined: Sun Dec 30, 2007 3:04 pm

Re: Strange compile error

Postby thebeanie on Wed May 04, 2011 9:08 am

Surfa wrote:Flip the normals brother


Hmm, I guessed it was going to be something normal-related. The textures show up fine in Milkshape, though.

Alright, so how do I do that?
User avatar
thebeanie
Been Here A While
Been Here A While
 
Joined: Thu Feb 07, 2008 11:48 am

Re: Strange compile error

Postby thebeanie on Wed May 04, 2011 10:47 am

Never mind, got it working anyway :-D

Image
User avatar
thebeanie
Been Here A While
Been Here A While
 
Joined: Thu Feb 07, 2008 11:48 am

Return to Art Creation

Who is online

Users browsing this forum: No registered users