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

Animated $detail?

A Question for Half-Life 2

Members see zero ads. Membership is 100% free
So my problem is this: I'm trying to get a texture to animate, but it isn't... What am I doing wrong?
("v_physcannon_glow" is a animated VTF with 40 frames. I'm trying to get it ("$detail") to actually animate in-game.)

\/ Here's some of my "code" \/

"vertexlitgeneric"
{
 "$basetexture"    "models/weapons/V_physcannon/v_physcannon_sheet"
 "$surfaceprop"   "metal"
 
"$detail"    "models/weapons/V_physcannon/v_physcannon_glow"
"$detailscale"   "1"
"$detailblendfactor"   "1"
"$detailblendmode"   "6"

"Proxies"
{
"AnimatedTexture"
{
"animatedTextureVar"  "$detail"
"animatedTextureFrameNumVar"  "$frame"
"animatedTextureFrameRate"  20
}
}
}

Answers

Sign up to access this!
  • Thunderkeil avatar
    Thunderkeil username pic Joined 6y ago
    Offline
    11,802 points Ranked 477th
    28 medals 3 legendary 5 rare
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Three Winner! Medal icon
    • 8-14 Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 1000 times Medal icon
    access_time 8d edit 7d
    models/weapons/V_physcannon/v_physcannon_glow
    Where is this file from? It doesn't appear to be in any hl2 directory I've searched.

    Like ARZIAC said, the wiki page for $detail lists $detailframe. The wiki doesn't explicitly state this; but I think it's safe to assume this is the animatedTextureFrameNumVar value that should be used for $detail textures, just as normal maps use $bumpframe instead of $frame.

    Please confirm whether this does indeed have that function, and I'll edit the page to better reflect it.
    URL to post:
  • Whynotll83 avatar
    Whynotll83 Joined 3y ago
    Offline
    access_time 8d
    i dont think $detail can be animated.
    amateur modder
    URL to post:
  • ARZIAC avatar
    ARZIAC Joined 3y ago
    I'm gone boi
    20 points Ranked 20120th
    9 medals 1 rare
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • Returned 100 times Medal icon
    • 1 year a member Medal icon
    • Submission featured Medal icon
    access_time 8d edit 8d
    URL to post:

Embed

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

Asker

mbramblet avatar
mbramblet Joined 4mo ago
Offline
mbramblet
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
  • favorite 0
  • remove_red_eye 101
  • mode_comment 9
  • access_time 8d

More from Submitter

menu

More Customization Questions