GameBanana shows no ads to members. Sign up now!
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

custom texture not working for mod yet

A Question for Half-Life 2

Question Solved

This Question was answered and a solution was chosen.

custom texture not working for mod yet

well is not working is just a error and -dev shows this message and i dont know how to solve.

.QC:

// Created by Crowbar 0.68

$modelname "Weapons/v_RPG.mdl"

$bodygroup "studio"

{

studio "RPG_reference.smd"

}

$surfaceprop "default"

$contents "solid"

$illumposition -16.708 -36.922 -8.533

$cdmaterials "models\materials\V_rpg\"

$cdmaterials "models\materials\V_hand\"

$attachment "0" "muzzle" 0 0 0 rotate 0 0 0

$attachment "laser" "muzzle" -9 -5 0.5 rotate 0 0 0

$attachment "laser_end" "muzzle" 100 -5 0.5 rotate 0 0 0

$cbox 0 0 0 0 0 0

$bbox 19.811 -26.381 -19.319 54.034 -7.035 2.252

$definebone "base" "" -16.057949 -24.995756 64.720612 0 0 89.999982 0 0 0 0 0 0

$definebone "muzzle" "base" -0.454765 0.279387 29.004244 -89.999982 0 0 0 0 0 0 0 0

$definebone "arm" "base" 1.26345 -8.255469 7.260771 0 0 0 0 0 0 0 0 0

$sequence "idle1" {

"v_rpg_anims\idle1.smd"

activity "ACT_VM_IDLE" 1

fadein 0.2

fadeout 0.2

node "Idle"

fps 30

loop

}

$sequence "draw" {

"v_rpg_anims\draw.smd"

activity "ACT_VM_DRAW" 1

fadein 0.2

fadeout 0.2

node "Idle"

snap

fps 30

}

$sequence "fire" {

"v_rpg_anims\fire.smd"

activity "ACT_VM_PRIMARYATTACK" 1

{ event 5001 0 "" }

fadein 0.2

fadeout 0.2

node "Fire"

snap

fps 30

}

$sequence "reload" {

"v_rpg_anims\reload.smd"

activity "ACT_VM_RELOAD" 1

fadein 0.2

fadeout 0.2

node "Idle"

fps 30

}

$sequence "up_to_down" {

"v_rpg_anims\up_to_down.smd"

activity "ACT_VM_IDLE_TO_LOWERED" 1

fadein 0.2

fadeout 0.2

transition "Idle" "Low"

fps 30

}

$sequence "down_to_up" {

"v_rpg_anims\down_to_up.smd"

activity "ACT_VM_LOWERED_TO_IDLE" 1

fadein 0.2

fadeout 0.2

transition "Low" "Idle"

fps 30

}

$sequence "down_idle" {

"v_rpg_anims\down_idle.smd"

activity "ACT_VM_IDLE_LOWERED" 1

fadein 0.2

fadeout 0.2

node "Low"

fps 30

loop

}


-dev error inside game: 

weapons/v_RPG,mdl : material "models/materials/v_hand/v_hand_sheet" not found.
weapons/v_RPG,mdl : material "models/materials/v_rpg/rocket launcher sheet" not found.
Sign up to access this!
  • Reverend V92 avatar
    Reverend V92 username pic Joined 10y ago
    HL2 Manager HL2:MMod Manager HL2:DM Manager Source Manager OC Manager Syn Manager GMod Manager GMod 9 Manager INS Manager DoD:S Manager CS:S Manager BM Manager L4D Manager L4D2 Manager Moderator
    WAITING
    32,148 points Ranked 148th
    49 medals 3 legendary 11 rare
    • 2019 Top Contributor Medal icon
    • Returned 5000 times Medal icon
    • 10 years a member Medal icon
    • 2nd Place - A Bananite's Guide to... Contest Medal icon
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    9d 9d
    Your QC's $cdmaterials paths aren't pointing to the VMT files, or the SMD files themselves are using different material names entirely.

    1. Check your material paths and make sure the VMT files it wants actually exist.
    2. Open your SMD files in a text editor, and make sure the material names are correct. When exporting from modeling software, it removes/changes any instances of whitespace, so avoid using them.
    • Thanks x 1
    CW4 of Source avatar
    Mantra
    CW4 of Source
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Asker

green#7777 avatar
green#7777 Joined 9mo ago
Offline
60 points Ranked 71,813rd
green#7777
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 0
  • 126
  • 1
  • 10d
  • 9d

More Bugs & Problems Questions