Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Wrong texture on custom model

- A Question for Team Fortress 2.

primary preview sec preview img sec preview img

Trying to make a custom weapon for demo. I have the weapon using the model names of the Skullcutter for testing, and I have the custom texture placed models\workshop\weapons\c_models with the c_battleaxe.vpk name. However, when I load up the game, the model is loaded but its using the default Skullcutter textures

Here's my .qc
// Created by Crowbar 0.72

$ModelName "workshop/weapons/c_models/c_battleaxe/c_battleaxe.mdl"

$BodyGroup "body"

{

studio "c_battleaxe_reference.smd"

}

$LOD 7

{

replacemodel "c_battleaxe_reference.smd" "c_battleaxe_reference_lod1.smd"

replacebone "c_weapon_stattrack" "weapon_bone"

NoFacial

}

$LOD 12

{

replacemodel "c_battleaxe_reference.smd" "c_battleaxe_reference_lod2.smd"

replacebone "c_weapon_stattrack" "weapon_bone"

NoFacial

}

$LOD 20

{

replacemodel "c_battleaxe_reference.smd" "c_battleaxe_reference_lod3.smd"

replacebone "c_weapon_stattrack" "weapon_bone"

NoFacial

}

$SurfaceProp "metal"

$Contents "solid"

$IllumPosition -0.021 -0.017 17.608

$CDMaterials "\models\workshop\weapons\c_models\c_battleaxe"

$CDMaterials ""

$Attachment "pedestal_0" "weapon_bone" 0 17.93 0 rotate 14.01 28.21 -96

$Attachment "icon_camera" "weapon_bone" 13.76 42.82 -49.84 rotate -64.94 -129.32 95.11

$Attachment "unusual_0" "weapon_bone" -0.02 45.16 0.02 rotate 0 90 90

$Attachment "unusual_1" "weapon_bone" -0.02 34 0.05 rotate 0 90 90

$Attachment "unusual_2" "weapon_bone" -0.02 22.84 0.08 rotate 0 90 90

$Attachment "unusual_3" "weapon_bone" -0.02 11.68 0.11 rotate 0 90 90

$Attachment "unusual_4" "weapon_bone" -0.02 0.52 0.15 rotate 0 90 90

$Attachment "unusual_5" "weapon_bone" -0.02 -10.64 0.18 rotate 0 90 90

$CBox 0 0 0 0 0 0

$BBox -2.138 -9.86 -10.895 2.172 9.844 46.171

$BoneMerge "weapon_bone"

$BoneMerge "c_weapon_stattrack"

$Sequence "idle" {

"c_battleaxe_anims\idle.smd"

fadein 0.2

fadeout 0.2

fps 30

}

$CollisionModel "c_battleaxe_physics.smd"

{

$mass 6.306674

$inertia 1

$damping 0

$rotdamping 4

$rootbone " "

}


The material name in blender is c_battleaxe as well. If I change it or anything else to a custom name (in blender or the .qc) I get pink and black.

 

Login or Sign up to access this!
Login or Sign up to access this!

Files

Alternate File Sources

Credits

Submitter

Login or Sign up to access this!
Login or Sign up to access this!
Login or Sign up to access this!

Game

Login or Sign up to access this!

Category

Sub-category
category img Mods

Details

License

Share

  • 5
  • 70
  • 4
Login or Sign up to access this!

More from Submitter

preview img
248 24.1k 13
arrow_back