View Issue Details

IDProjectCategoryView StatusLast Update
0006309The Dark ModDef / Setuppublic12.07.2024 19:16
Reporterwellingtoncrab Assigned To 
PrioritynormalSeveritynormalReproducibilityalways
Status newResolutionopen 
PlatformPCOSWindowsOS Version11
Product VersionTDM 2.11 
Summary0006309: Func_Smoke does not correctly loop particles with multiple stages with differing lifespans
DescriptionFunc_smoke does not work with multi stage particles unless they all have the same value as their “time” parameter.

It will wait for the last quad to be drawn on the longest particle stage before it starts the other stages.

You can see this in this video below. To the left is a func_smoke and to the right is the same multi stage particle on an emitter.

https://cdn.discordapp.com/attachments/834415653166907402/1135286393996849325/Darkmod_2023.07.30_-_11.58.50.03.mp4
Steps To ReproduceSimply run any multistage particle on a func_smoke such as the one attached to this bug report
TagsNo tags attached.
Attached Files
welli_torch_move_smoke.prt (3,123 bytes)   
welli_torch_move_smoke
{

	{
		count				14
		material			textures/particles/barrelpoof
		time				1.500
		cycles				0.000
		bunching			1.000
		distribution		rect 2.000 2.000 2.000 
		direction			cone "0.000" 
		orientation			view 
		speed				 "0.000" 
		size				 "3.000"  to "13.000"
		aspect				 "1.000" 
		randomDistribution				1
		boundsExpansion				0.000
		fadeIn				1.500
		fadeOut				0.700
		fadeIndex				0.000
		color 				0.500 0.500 0.500 0.400
		fadeColor 			0.270 0.270 0.270 0.000
		offset 				0.000 0.000 1.000
		gravity 			world -15.000
	}
	
	{
		count 				10
		material 			textures/darkmod/sfx/overcast2
		time 				10
		cycles 				0.000
		timeOffset 			0.000
		bunching 			0.950
		distribution 		rect 12.000 12.000 0.000
		direction 			cone 90.000
		orientation 		view
		speed 				"0.000"
		size 				"10.000" to "40.000"
		aspect 				"1.000"
		rotation 			"1.000" to "0.500"
		randomDistribution 	1
		boundsExpansion 	0.000
		fadeIn 				0.430
		fadeOut 			0.430
		fadeIndex 			0.000
		color 				1.000 1.000 1.000 0.400
		fadeColor 			0.000 0.000 0.000 0.000
		offset 				0.000 0.000 6.000
		gravity 			world -2.000
	}
	
	{
		count 				10
		material 			textures/darkmod/sfx/overcast
		time 				4.000
		cycles 				0.000
		timeOffset 			0.000
		bunching 			0.950
		distribution 		rect 12.000 12.000 0.000
		direction 			cone 90.000
		orientation 		view
		customPath 			helix 0.000 0.000 0.000 0.000 0.000
		speed 				"0.000"
		size 				"5.000" to "25.000"
		aspect 				"1.000"
		rotation 			"0.000"
		randomDistribution 	1
		boundsExpansion 	0.000
		fadeIn 				0.500
		fadeOut 			0.390
		fadeIndex 			0.000
		color 				0.961 0.639 0.278 0.900
		fadeColor 			0.000 0.000 0.000 0.000
		offset 				0.000 0.000 6.000
		gravity 			world -2.000
	}
		{
		count 				3
		material 			textures/sfx/flamesparks
		time 				2.000
		cycles 				0.000
		timeOffset 			0.000
		bunching 			1.000
		distribution 		cylinder 100.000 32.000 0.000 0.000
		direction 			outward 0.500
		orientation 		view
		customPath 			helix 8.000 8.000 8.000 6.000 3.000
		speed 				"0.000"
		size 				"0.800" to "0.300"
		aspect 				"1.000"
		rotation 			"0.000"
		randomDistribution 	1
		boundsExpansion 	0.000
		fadeIn 				0.200
		fadeOut 			0.400
		fadeIndex 			0.000
		color 				0.847 0.467 0.047 0.000
		fadeColor 			0.000 0.000 0.000 0.000
		offset 				0.000 0.000 12.000
		gravity 			-14.000
	}
	{
		count 				5
		material 			textures/sfx/flamesparks
		time 				2.500
		cycles 				0.000
		timeOffset 			0.000
		bunching 			1.000
		distribution 		cylinder 100.000 32.000 0.000 0.000
		direction 			outward 0.500
		orientation 		view
		customPath 			helix 9.000 9.000 8.000 6.000 3.000
		speed 				"0.000"
		size 				"0.800" to "0.300"
		aspect 				"1.000"
		rotation 			"0.000"
		randomDistribution 	1
		boundsExpansion 	0.000
		fadeIn 				0.200
		fadeOut 			0.400
		fadeIndex 			0.000
		color 				0.847 0.467 0.047 0.000
		fadeColor 			0.000 0.000 0.000 0.000
		offset 				0.000 0.000 12.000
		gravity 			-12.000
	}

}
welli_torch_move_smoke.prt (3,123 bytes)   

Activities

wellingtoncrab

wellingtoncrab

30.07.2023 19:43

developer   ~0016043

Uploaded test map "UPINSMOKE.MAP"
UPINSMOKE.map (4,890 bytes)   
Version 2
// entity 0
{
"classname" "worldspawn"
// primitive 0
{
brushDef3
{
( 0 0 1 -448 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 1 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 1 0 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 -1 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( -1 0 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 0 -1 384 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
}
}
// primitive 1
{
brushDef3
{
( 0 0 1 -384 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 1 0 -256 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 1 0 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 0 -1 0 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( -1 0 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 -1 0 192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
}
}
// primitive 2
{
brushDef3
{
( 0 0 1 -384 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 1 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 1 0 0 -256 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 0 -1 0 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 -1 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( -1 0 0 192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
}
}
// primitive 3
{
brushDef3
{
( 0 1 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 1 0 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 0 -1 -64 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 -1 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( -1 0 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 0 1 0 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
}
}
// primitive 4
{
brushDef3
{
( 0 0 1 -384 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 1 0 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 0 -1 0 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 -1 0 -256 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( -1 0 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 1 0 192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
}
}
// primitive 5
{
brushDef3
{
( 0 0 1 -384 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 1 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 0 -1 0 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 0 -1 0 -192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( -1 0 0 -256 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
( 1 0 0 192 ) ( ( 0.015625 0 0 ) ( 0 0.00390625 0 ) ) "textures/darkmod/stone/brick/even_greyish01_trim" 0 0 0
}
}
}
// entity 1
{
"classname" "info_player_start"
"name" "info_player_start_1"
"angle" "90.000000"
"origin" "0 -128 0"
}
// entity 2
{
"classname" "light"
"name" "light_1"
"origin" "0 0 256"
"light_center" "0 0 0"
"light_radius" "320 320 320"
}
// entity 3
{
"classname" "func_smoke"
"name" "func_smoke_1"
"origin" "-64 64 64"
"smoke" "welli_torch_move_smoke.prt"
}
// entity 4
{
"classname" "func_emitter"
"name" "func_emitter_1"
"origin" "64 64 64"
"cycleTrigger" "0"
"model" "welli_torch_move_smoke.prt"
}
UPINSMOKE.map (4,890 bytes)   

Issue History

Date Modified Username Field Change
30.07.2023 19:30 wellingtoncrab New Issue
30.07.2023 19:30 wellingtoncrab File Added: welli_torch_move_smoke.prt
30.07.2023 19:43 wellingtoncrab Note Added: 0016043
30.07.2023 19:43 wellingtoncrab File Added: UPINSMOKE.map