HammerPlusPlus-Issue-Tracker icon indicating copy to clipboard operation
HammerPlusPlus-Issue-Tracker copied to clipboard

[Bug, TF2, 8860] TextureScroll speed accelerates itself over time

Open some-username-here1 opened this issue 3 years ago • 0 comments

  • hammerplusplus_20220325_205403_1.zip
  • Description: I was working on my map from time to time as Hammer++ was left open for more than 3 hours, with the scrolling speed moving way faster than what was set, as hammer++ then suddenly crashed on me. I don't exactly remember what the error was, but it was something of access violation?

Here's the vmt that used TextureScroll:

"LightmappedGeneric"
{
	$basetexture    "water/ttc"
	$surfaceprop    "water"
	$translucent	1

	$bottommaterial "water/ttc_bottom"
	%compilewater   1

	//$waterblendfactor "0.9"
	%compilekeeplight   1
	//$forcecheap       1

	$color "[ 0.498039 1 1 ]"

	$fogenable 1
	$fogcolor  "{ 64 136 240 }"
	$fogstart  "-1500"
	$fogend	   "9000"
	
	$translateTwo "0"

	Proxies
	{
		LinearRamp
		{
			rate 14
			initialValue 0
			resultVar "$translateTwo"
		}

		TextureScroll
		{
		"textureScrollVar" "$basetexturetransform"
		"textureScrollRate" 0.0003
		"textureScrollAngle" "$translateTwo"
		}
	}
}

some-username-here1 avatar Mar 31 '22 07:03 some-username-here1