Before I get things started, I'm requesting very experienced users on GameBanana who are familiar with Valve's Material Proxy system.https://developer.valvesoftware.com/wiki/Material_proxies_programming
I'm looking to utilize an "if-then" situation for determining if a certain frame is chosen from an RNG based proxy, then the output will result in $translucent for that frame number.
I'm also gonna have a $bumpframe line with that RNG proxy match whatever the $frame is after the RNG event is processed in-game.
If you need to know what RNG code I'm utilizing, I'm using [PRince_4] Sharma's "How to use "RNG" in Skins" tutorial.
If you want more information on what exactly I'm planning on doing with this, I'll list it below in as much detail as possible.
For my future mod postings, I'm planning on releasing every glove from CS:GO into CS:S. With this being said, some users find it more attractive to use "Sleeves" and some do not. With the RNG proxy system in place, I can have it where users have sleeves varying in patterns (as they do in CS:GO), or sometimes they'll be invisible so it'll just be the gloves at times, thus resulting in the appearance of being on T-Side in CS:GO (usually they don't have sleeves on certain maps).
TL:DRI need an IF-THEN code template in valve's proxy format that is called AFTER the RNG proxy is initialized:
IF resulting $frame from RNG proxy = (decided $frame #) THEN = $translucent 1^ I'll be using multiple instances of this, preferred to have two instances of this line for me to work off of
IF $frame /= (not equal) # THEN $translucent is 0
I need the line of proxy code that'll make $bumpframe = what the end result is of my RNG code.
I may be able to figure this out on my own.
I'm only looking for a template of code to work off of that'll get me in the right direction. The rest will be finished by me. Your help will be mentioned in the future mod submission pages on GameBanana (if the code actually works 100% as I intend it to). If you need me to explain anything in further detail, I'll gladly reply with what you need to know. If there's anything I find unnecessary to explain, I will not disclose such information.