#Rainbow Animated Wireframe Texture
1 messages · Page 1 of 1 (latest)
I already have this script for the Wireframe :
"Wireframe"
{
"$basetexture" "v_models/m249"
"$model" 1
"$translucent" 1
"$alpha" 1
"$nocull" 1
}
I want the animation to be like that
not sure if it's helpful but you could try creating a transparent texture instead with the model's uv's on it and animate that(copy paste layer and overlay the colors you want), otherwise if it has to be a vmt only then gl messing with material proxies
wait can't I just create variables that goes from 0 to for every color variables?
Easier would be texture scroll with rainbow gradient, but it's not quite what you're looking for I know
I think it is what I'm looking for
just remember that I need a script for it, not a animated vtf texture
wait no
I need the wire frame color to be like that :
don't mind the picture
Rainbow Animated Wireframe Texture
Oh dawg, lol
I did a whole-ass writeup on explaining the concept and how to set up phase-offset clamped-sinewaves to reproduce the individual R, G, and B modulation for recreating a crude hue rotation but it's so much easier if the VDC already has an example
I'm not finding that
I mean
I didn't find it
Is it that?
$color "[0 0 0]"
proxies
{
sine
{
sineperiod 1.3
sinemin 0
sinemax 1
timeoffset 0
resultvar "$color[0]"
}
sine
{
sineperiod 1.7
sinemin 0
sinemax 1
timeoffset 0
resultvar "$color[1]"
}
sine
{
sineperiod 2.3
sinemin 0
sinemax 1
timeoffset 0
resultvar "$color[2]"
}
}
@dusk pecan
yes
That's the one
if you want it to do an HSV scroll though, rather than random, you'll have to change them to have the same period but offset their phases spaced equally apart by about 1/3 of the period each
that should more or less give a very crude hue rotation
What do they say about giving a moose a muffin
soon he'll want another babyyyy
anyway long story short you teach moose to make muffins and find out he wasn't really your friend he just wanted your muffins and you go back to your moose fur covered bedsheets and wonder how it all came to this after everything you'd both been through together wondering if it ever meant anything to him at all and if he ever thinks about you while he's in his subarctic moose cave making muffins to his heart's content but deep down you learn to accept he's moved on because it was never about us it was just about the muffins
I think that's how the story goes
so learn to make your own muffins
you moose !!!
but the thing is i didn't understand what you said here ^
it's not that i'm lazy i'm just not understanding
watafak
:(
wait it's not working
"Wireframe"
{
"$basetexture" "models/weapons/v_models/schmungs_m249/bullet"
"$model" 1
"$translucent" 1
"$alpha" 1
"$nocull" 1
"$glowcolor" "1"
$color "[0 0 0]"
proxies
{
sine
{
sineperiod 1.3
sinemin 0
sinemax 1
timeoffset 0
resultvar "$color[0]"
}
sine
{
sineperiod 1.7
sinemin 0
sinemax 1
timeoffset 0
resultvar "$color[1]"
}
sine
{
sineperiod 2.3
sinemin 0
sinemax 1
timeoffset 0
resultvar "$color[2]"
}
}
}
this worked for me in 
"Wireframe"
{
$nocull 1
$color2 "[0 0 0]"
proxies
{
sine
{
sineperiod 1
sinemin 0
sinemax 1
timeoffset 0
resultvar "$color2[0]"
}
sine
{
sineperiod 1
sinemin 0
sinemax 1
timeoffset 0.333333
resultvar "$color2[1]"
}
sine
{
sineperiod 1
sinemin 0
sinemax 1
timeoffset 0.666666
resultvar "$color2[2]"
}
}
}
now go on you moosey moose
thx !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
yeah it worked thx so much
my goodness that gif did not survive
xDD
for posterity