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

RNG related strings in the console...

A Question for Half-Life 2

Question Answered but Unsolved

This Question has been answered but no solution has been chosen. You can still post your own answer to help the submitter.
Hi. I've made an RNG version of my textures. I was testing it on prisonguards ('cause they're using only one texture for body and one texture for glass). Sometimes I feel like textures don't change 1 time per map (I used this guide for making it). I was thinking like "why?". Decided to look in console and see this:
No such variable "$stock" for material "models/combine/gign/prisonguard2"
Error: Material "models/combine/gign/prisonguard2" : proxy "LessOrEqual" unable to initialize!
I never had a problem like this before... What do I need to do?
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 Moderator
    24,591 points Ranked 219th
    42 medals 2 legendary 8 rare
    • 2019 Top Contributor Medal icon
    • Returned 5000 times Medal icon
    • 2nd Place - A Bananite's Guide to... Contest Medal icon
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    • Received thanks 50 times Medal icon
    access_time 5d edit 5d
    • Somewhere in the VMT you have a string called $stock which isn't a native and/or valid material flag.
    • You're using a proxy named LessOrEqual, which is a valid proxy type.

    Odds are the first error is bleeding into the next lines, so post your VMT file. If you're using a syntax highlighter for VMTs in whatever program you're using it should also highlight the text in a fucky way, which would tell you it's wrong.

    Remember that the VMT file format is just a big table of key values. If one line isn't properly terminated, it won't read every single subsequent line correctly.
    Source Engine Wizard avatar
    Source Engine Wizard
    URL to post:


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


Sign up to access this!
Sign up to access this!
Sign up to access this!


Sign up to access this!



  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 0
  • 115
  • 1
  • 10d

More from Submitter

WiPs by Submitter

More Bugs & Issues Questions