View Full Version : [REQUEST]SineHack Method Tutorial
avanj
14th March 2007, 04:06
Hi I would like a tutorial on the basics of making a sinehack. I tried to learn by looking at the .vmts but I could not quite figure it out. The main reason I would like this is because I want to make a wallhack for DoD:S using the sinehack method.
belink
14th March 2007, 04:12
Its very simple.
1. Copy the sine method: "Proxies"
{
"Sine"
{
"resultVar" "$alpha"
"sineperiod" 1
"sinemin" 0.5
"sinemax" 1.5
}
}
2. Paste it in a vmt before the last } (after all the commands)
3. Start the game.
avanj
14th March 2007, 04:45
Thanks a lot =)
PyroNexus
14th March 2007, 05:03
I'm rather new to this, but could a similar method be used to rapidly switch between colors on a crosshair? Like, blue, red, green, every few seconds?
Holz
14th March 2007, 10:01
white_additive.vmt (\materials\vgui\):
"BaseTimesVertexColorAlphaBlendNoOverbright"
{
"$basetexture" "VGUI/white_additive"
"$decal" 1
"$decalscale" 2.10
"$no_fullbright" "1"
"$translucent" 1
"Proxies"
{
"Sine"
{
"resultVar" "$color"
"sineperiod" 0.01
"sinemin" 0 0 0
"sinemax" 1 1 1
}
}
}
This would make it bold and switch from black to white every .01 seconds, as klavface posted this in the legal cheats thread.
"$color" (modulation color (R,G,B)
Just play around with it.
PyroNexus
14th March 2007, 15:28
Thanks, I'll try it out abit when I get home later.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.