Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set crosshair position #2543

Open
ramnes opened this issue Apr 19, 2024 · 18 comments
Open

Can't set crosshair position #2543

ramnes opened this issue Apr 19, 2024 · 18 comments
Labels
🐞 Bug Something isn't working cat: mod CGAME Category mod (cgame) P3: Normal Priority 3
Milestone

Comments

@ramnes
Copy link

ramnes commented Apr 19, 2024

I used to use cg_crosshairY "3" in my config to move the crosshair position a few pixels down. It seems that the environment variable doesn't work anymore, and that I have to change it in the HUD. But when I do so, the crosshair position is reset after each map, even when I create a new HUD config and click "Save".

More discussion on Discord here: https://discord.com/channels/260750790203932672/260750790203932672/1230966199580364922

image
@b00nji
Copy link

b00nji commented Apr 19, 2024

yes why removed `?

@rafal1137
Copy link
Member

yes why removed `?

@ramnes
They have not been removed just reorganize and now they are in HUD Editor.
obraz

@ramnes
Copy link
Author

ramnes commented Apr 22, 2024

@rafal1137 ?

I know you can set the crosshair position here, but it doesn't get saved (edit: it does apply but it's not persistent across maps), hence the issue.

If you meant to answer to @b00nji comment, I guess it was about the config cvars (c.f. the Discord discussion).

@x0rnn
Copy link
Contributor

x0rnn commented Apr 22, 2024

Is your cg_althud set to the right HUD you changed the positions in?

@Aciz
Copy link
Member

Aciz commented Apr 22, 2024

cg_crosshairX/Y cvars should definitely be brought back to retain feature parity with HUD editor crosshair and cvar crosshair.

@ramnes
Copy link
Author

ramnes commented Apr 22, 2024

Is your cg_althud set to the right HUD you changed the positions in?

Discussed in the Discord screenshot above

@x0rnn
Copy link
Contributor

x0rnn commented Apr 22, 2024

There is an etconfig.cfg in profiles folder and one in base legacy folder, did you check both?

@ramnes
Copy link
Author

ramnes commented Apr 22, 2024

~/Library/Application Support/etlegacy $ grep -R cg_althud
$

@x0rnn
Copy link
Contributor

x0rnn commented Apr 22, 2024

So what if you manually set cg_althud in the config to your HUD?

@ramnes
Copy link
Author

ramnes commented Apr 22, 2024

actually, with grep -Ri althud:

./legacy/profiles/ramnes/etconfig.cfg:seta b_altHud "2"
./legacy/profiles/ramnes/etconfig.cfg:seta b_altHudFlags "4"
./legacy/profiles/ramnes/etconfig.cfg:seta cg_altHud "2_copy"

@ramnes
Copy link
Author

ramnes commented Apr 22, 2024

but there is no mention of the crosshair position (edit: for this profile) in the hud.dat:

		}, {
			"name":	"2_copy",
			"parent":	"2",
			"components":	{
				"popupmessages":	{
					"rect":	{
						"x":	0.49999237060546875,
						"y":	5,
						"w":	422,
						"h":	96
					},
					"anchor":	2,
					"parent":	{
						"anchor":	8,
						"component":	null
					}
				}
			}
		}, {

@ramnes
Copy link
Author

ramnes commented Apr 22, 2024

in the parent, there's something:

		}, {
			"name":	"2",
			"parent":	"1",
			"components":	{
				"crosshair":	{
					"rect":	{
						"x":	0,
						"y":	2,
						"w":	32,
						"h":	32
					},
					"style":	4,
					"anchor":	8,
					"parent":	{
						"anchor":	8,
						"component":	null
					}
				},

@ramnes
Copy link
Author

ramnes commented Apr 22, 2024

Complete file: hud.dat.json

Also visible here
{
	"version":	3,
	"huds":	[{
			"name":	"1",
			"components":	{
				"compass":	{
					"rect":	{
						"x":	49,
						"y":	-19,
						"w":	84,
						"h":	84
					},
					"style":	14,
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"staminabar":	{
					"style":	3157,
					"mainColor":	"ffffffff",
					"secondaryColor":	"ffffffff"
				},
				"breathbar":	{
					"style":	3157,
					"mainColor":	"ffffffff",
					"secondaryColor":	"ffffffff"
				},
				"healthbar":	{
					"rect":	{
						"x":	-24,
						"y":	-20,
						"w":	12,
						"h":	72
					},
					"style":	3157,
					"mainColor":	"ffffffff",
					"secondaryColor":	"ffffffff",
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"weaponchargebar":	{
					"style":	3093,
					"mainColor":	"ffffffff",
					"secondaryColor":	"ffffffff"
				},
				"healthtext":	{
					"rect":	{
						"x":	-41,
						"y":	-62,
						"w":	57,
						"h":	14
					},
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"xptext":	{
					"rect":	{
						"x":	24,
						"y":	-2,
						"w":	57,
						"h":	14
					},
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"ranktext":	{
					"rect":	{
						"x":	30,
						"y":	-14,
						"w":	57,
						"h":	14
					},
					"visible":	true,
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"statsdisplay":	{
					"rect":	{
						"x":	24,
						"y":	-20,
						"w":	14,
						"h":	72
					},
					"style":	1,
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"weaponicon":	{
					"rect":	{
						"x":	-45,
						"y":	-20,
						"w":	60,
						"h":	32
					},
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"weaponammo":	{
					"rect":	{
						"x":	-45,
						"y":	-8,
						"w":	57,
						"h":	14
					},
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"fireteam":	{
					"rect":	{
						"x":	10,
						"y":	10,
						"w":	320,
						"h":	100
					},
					"anchor":	0,
					"parent":	{
						"anchor":	0,
						"component":	null
					}
				},
				"hudhead":	{
					"visible":	false
				},
				"reinforcement":	{
					"secondaryColor":	"007fffff"
				},
				"spawntimer":	{
					"secondaryColor":	"ff0000ff"
				},
				"localtime":	{
					"visible":	true
				},
				"votetext":	{
					"secondaryColor":	"ffff00ff"
				},
				"demotext":	{
					"secondaryColor":	"ff0000ff"
				},
				"missilecamera":	{
					"rect":	{
						"x":	4,
						"y":	4,
						"w":	160,
						"h":	120
					},
					"anchor":	6,
					"parent":	{
						"anchor":	7,
						"component":	null
					}
				},
				"fps":	{
					"visible":	true
				},
				"ping":	{
					"visible":	true
				},
				"speed":	{
					"visible":	true
				},
				"lagometer":	{
					"visible":	true
				},
				"crosshairbar":	{
					"style":	131,
					"mainColor":	"ffffffff",
					"secondaryColor":	"ffffffff"
				}
			}
		}, {
			"name":	"2",
			"parent":	"1",
			"components":	{
				"crosshair":	{
					"rect":	{
						"x":	0,
						"y":	2,
						"w":	32,
						"h":	32
					},
					"style":	4,
					"anchor":	8,
					"parent":	{
						"anchor":	8,
						"component":	null
					}
				},
				"compass":	{
					"rect":	{
						"x":	70,
						"y":	-19,
						"w":	84,
						"h":	84
					},
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"healthbar":	{
					"rect":	{
						"x":	24,
						"y":	-20,
						"w":	12,
						"h":	72
					},
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"healthtext":	{
					"rect":	{
						"x":	40,
						"y":	-2,
						"w":	57,
						"h":	14
					},
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"xptext":	{
					"rect":	{
						"x":	110,
						"y":	-2,
						"w":	57,
						"h":	14
					},
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"ranktext":	{
					"rect":	{
						"x":	115,
						"y":	-14,
						"w":	57,
						"h":	14
					},
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"statsdisplay":	{
					"rect":	{
						"x":	45,
						"y":	-20,
						"w":	14,
						"h":	72
					},
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"weaponicon":	{
					"rect":	{
						"x":	-28,
						"y":	-20,
						"w":	60,
						"h":	32
					},
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"weaponammo":	{
					"rect":	{
						"x":	-25,
						"y":	-8,
						"w":	57,
						"h":	14
					},
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"crosshairtext":	{
					"rect":	{
						"x":	0,
						"y":	-38,
						"w":	300,
						"h":	16
					},
					"anchor":	5,
					"parent":	{
						"anchor":	8,
						"component":	null
					}
				}
			}
		}, {
			"name":	"3",
			"parent":	"2",
			"components":	{
				"crosshair":	{
					"rect":	{
						"x":	0,
						"y":	0,
						"w":	48,
						"h":	48
					},
					"style":	1,
					"anchor":	8,
					"parent":	{
						"anchor":	8,
						"component":	null
					}
				},
				"healthbar":	{
					"rect":	{
						"x":	-24,
						"y":	-20,
						"w":	12,
						"h":	72
					},
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"healthtext":	{
					"rect":	{
						"x":	-41,
						"y":	-62,
						"w":	57,
						"h":	14
					},
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"xptext":	{
					"rect":	{
						"x":	40,
						"y":	-2,
						"w":	57,
						"h":	14
					},
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"ranktext":	{
					"rect":	{
						"x":	100,
						"y":	-2,
						"w":	57,
						"h":	14
					},
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"weaponicon":	{
					"rect":	{
						"x":	-45,
						"y":	-20,
						"w":	60,
						"h":	32
					},
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"weaponammo":	{
					"rect":	{
						"x":	-45,
						"y":	-8,
						"w":	57,
						"h":	14
					},
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"powerups":	{
					"rect":	{
						"x":	-4,
						"y":	96,
						"w":	36,
						"h":	36
					},
					"anchor":	2,
					"parent":	{
						"anchor":	3,
						"component":	null
					}
				},
				"objectives":	{
					"rect":	{
						"x":	4,
						"y":	96,
						"w":	36,
						"h":	36
					},
					"anchor":	0,
					"parent":	{
						"anchor":	7,
						"component":	null
					}
				},
				"livesleft":	{
					"rect":	{
						"x":	44,
						"y":	102,
						"w":	48,
						"h":	24
					},
					"anchor":	0,
					"parent":	{
						"anchor":	7,
						"component":	null
					}
				},
				"roundtimer":	{
					"rect":	{
						"x":	-41,
						"y":	-78,
						"w":	57,
						"h":	14
					},
					"style":	1,
					"showBackGround":	false,
					"showBorder":	false,
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"reinforcement":	{
					"rect":	{
						"x":	-41,
						"y":	-78,
						"w":	57,
						"h":	14
					},
					"visible":	true,
					"showBackGround":	false,
					"showBorder":	false,
					"textAlign":	0,
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"spawntimer":	{
					"rect":	{
						"x":	-41,
						"y":	-78,
						"w":	57,
						"h":	14
					},
					"visible":	true,
					"showBackGround":	false,
					"showBorder":	false,
					"textAlign":	2,
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"sprinttext":	{
					"rect":	{
						"x":	4,
						"y":	-93,
						"w":	57,
						"h":	14
					},
					"visible":	true,
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"breathtext":	{
					"rect":	{
						"x":	4,
						"y":	-93,
						"w":	57,
						"h":	14
					},
					"visible":	true,
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"weaponchargetext":	{
					"rect":	{
						"x":	-3,
						"y":	-92,
						"w":	57,
						"h":	14
					},
					"visible":	true,
					"textAlign":	2,
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"crosshairtext":	{
					"rect":	{
						"x":	0,
						"y":	-42,
						"w":	300,
						"h":	16
					},
					"anchor":	5,
					"parent":	{
						"anchor":	8,
						"component":	null
					}
				}
			}
		}, {
			"name":	"4",
			"parent":	"3",
			"components":	{
				"crosshair":	{
					"style":	0
				},
				"compass":	{
					"rect":	{
						"x":	0,
						"y":	3,
						"w":	90,
						"h":	90
					},
					"style":	3,
					"anchor":	5,
					"parent":	{
						"anchor":	5,
						"component":	null
					}
				},
				"staminabar":	{
					"rect":	{
						"x":	-27.70001220703125,
						"y":	-3,
						"w":	12,
						"h":	72
					},
					"style":	5,
					"anchor":	4,
					"parent":	{
						"anchor":	5,
						"component":	null
					}
				},
				"breathbar":	{
					"rect":	{
						"x":	-27.70001220703125,
						"y":	-3,
						"w":	12,
						"h":	72
					},
					"style":	5,
					"anchor":	4,
					"parent":	{
						"anchor":	5,
						"component":	null
					}
				},
				"healthbar":	{
					"rect":	{
						"x":	42.79998779296875,
						"y":	-3,
						"w":	12,
						"h":	72
					},
					"style":	5,
					"anchor":	6,
					"parent":	{
						"anchor":	5,
						"component":	null
					}
				},
				"weaponchargebar":	{
					"rect":	{
						"x":	32.29998779296875,
						"y":	-3,
						"w":	12,
						"h":	72
					},
					"style":	5,
					"anchor":	6,
					"parent":	{
						"anchor":	5,
						"component":	null
					}
				},
				"healthtext":	{
					"rect":	{
						"x":	41,
						"y":	-59,
						"w":	57,
						"h":	14
					},
					"style":	1,
					"anchor":	6,
					"parent":	{
						"anchor":	5,
						"component":	null
					}
				},
				"xptext":	{
					"rect":	{
						"x":	-19.29998779296875,
						"y":	-17,
						"w":	58,
						"h":	14
					},
					"textAlign":	2,
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"ranktext":	{
					"rect":	{
						"x":	-19,
						"y":	-1,
						"w":	58,
						"h":	14
					},
					"textAlign":	2,
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"statsdisplay":	{
					"rect":	{
						"x":	-4,
						"y":	-3,
						"w":	14,
						"h":	72
					},
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"weaponicon":	{
					"rect":	{
						"x":	49.70001220703125,
						"y":	-92,
						"w":	60,
						"h":	32
					},
					"anchor":	6,
					"parent":	{
						"anchor":	5,
						"component":	null
					}
				},
				"weaponammo":	{
					"rect":	{
						"x":	50.399993896484375,
						"y":	-76,
						"w":	57,
						"h":	14
					},
					"anchor":	6,
					"parent":	{
						"anchor":	5,
						"component":	null
					}
				},
				"fireteam":	{
					"rect":	{
						"x":	10.29998779296875,
						"y":	-14,
						"w":	320,
						"h":	103
					},
					"showBackGround":	false,
					"showBorder":	false,
					"anchor":	2,
					"parent":	{
						"anchor":	1,
						"component":	null
					}
				},
				"popupmessages":	{
					"rect":	{
						"x":	4,
						"y":	82,
						"w":	284,
						"h":	72
					},
					"anchor":	0,
					"parent":	{
						"anchor":	0,
						"component":	null
					}
				},
				"powerups":	{
					"rect":	{
						"x":	26.399993896484375,
						"y":	-91,
						"w":	36,
						"h":	36
					},
					"anchor":	6,
					"parent":	{
						"anchor":	5,
						"component":	null
					}
				},
				"objectives":	{
					"rect":	{
						"x":	-26.20001220703125,
						"y":	-91,
						"w":	36,
						"h":	36
					},
					"anchor":	4,
					"parent":	{
						"anchor":	5,
						"component":	null
					}
				},
				"hudhead":	{
					"rect":	{
						"x":	-28,
						"y":	0,
						"w":	62,
						"h":	80
					},
					"anchor":	4,
					"parent":	{
						"anchor":	4,
						"component":	null
					}
				},
				"cursorhints":	{
					"style":	0
				},
				"weaponstability":	{
					"rect":	{
						"x":	-68.899993896484375,
						"y":	-5,
						"w":	10,
						"h":	64
					},
					"anchor":	3,
					"parent":	{
						"anchor":	8,
						"component":	null
					}
				},
				"livesleft":	{
					"rect":	{
						"x":	4,
						"y":	-96,
						"w":	48,
						"h":	24
					},
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"roundtimer":	{
					"rect":	{
						"x":	0,
						"y":	113,
						"w":	57,
						"h":	14
					},
					"anchor":	1,
					"parent":	{
						"anchor":	8,
						"component":	null
					}
				},
				"reinforcement":	{
					"rect":	{
						"x":	6,
						"y":	97,
						"w":	57,
						"h":	14
					},
					"textAlign":	1,
					"anchor":	0,
					"parent":	{
						"anchor":	8,
						"component":	null
					}
				},
				"spawntimer":	{
					"rect":	{
						"x":	-5.5,
						"y":	97,
						"w":	57,
						"h":	14
					},
					"textAlign":	1,
					"anchor":	2,
					"parent":	{
						"anchor":	8,
						"component":	null
					}
				},
				"localtime":	{
					"rect":	{
						"x":	0,
						"y":	0,
						"w":	57,
						"h":	14
					},
					"showBackGround":	false,
					"showBorder":	false,
					"anchor":	1,
					"parent":	{
						"anchor":	1,
						"component":	null
					}
				},
				"votetext":	{
					"rect":	{
						"x":	4,
						"y":	30,
						"w":	278,
						"h":	28
					},
					"mainColor":	"ffffffff",
					"secondaryColor":	"ffffffff",
					"anchor":	0,
					"parent":	{
						"anchor":	7,
						"component":	null
					}
				},
				"spectatortext":	{
					"rect":	{
						"x":	4,
						"y":	15,
						"w":	250,
						"h":	38
					},
					"style":	1,
					"anchor":	0,
					"parent":	{
						"anchor":	0,
						"component":	null
					}
				},
				"limbotext":	{
					"rect":	{
						"x":	4,
						"y":	15,
						"w":	278,
						"h":	38
					},
					"anchor":	0,
					"parent":	{
						"anchor":	0,
						"component":	null
					}
				},
				"followtext":	{
					"rect":	{
						"x":	4,
						"y":	56,
						"w":	278,
						"h":	24
					},
					"style":	1,
					"anchor":	0,
					"parent":	{
						"anchor":	0,
						"component":	null
					}
				},
				"demotext":	{
					"rect":	{
						"x":	10,
						"y":	0,
						"w":	57,
						"h":	14
					},
					"anchor":	0,
					"parent":	{
						"anchor":	0,
						"component":	null
					}
				},
				"missilecamera":	{
					"rect":	{
						"x":	4,
						"y":	28,
						"w":	160,
						"h":	112
					},
					"style":	1,
					"anchor":	6,
					"parent":	{
						"anchor":	7,
						"component":	null
					}
				},
				"sprinttext":	{
					"rect":	{
						"x":	-20.5,
						"y":	-75,
						"w":	57,
						"h":	14
					},
					"textAlign":	2,
					"anchor":	4,
					"parent":	{
						"anchor":	5,
						"component":	null
					}
				},
				"breathtext":	{
					"rect":	{
						"x":	-46,
						"y":	-75,
						"w":	57,
						"h":	14
					},
					"anchor":	4,
					"parent":	{
						"anchor":	5,
						"component":	null
					}
				},
				"weaponchargetext":	{
					"rect":	{
						"x":	25.5,
						"y":	-76,
						"w":	38,
						"h":	14
					},
					"textAlign":	0,
					"anchor":	6,
					"parent":	{
						"anchor":	5,
						"component":	null
					}
				},
				"fps":	{
					"showBackGround":	false,
					"showBorder":	false
				},
				"ping":	{
					"showBackGround":	false,
					"showBorder":	false
				},
				"speed":	{
					"showBackGround":	false,
					"showBorder":	false
				},
				"lagometer":	{
					"showBackGround":	false,
					"showBorder":	false
				},
				"disconnect":	{
					"showBackGround":	false,
					"showBorder":	false
				},
				"chat":	{
					"rect":	{
						"x":	4,
						"y":	-1,
						"w":	364,
						"h":	72
					},
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"warmuptext":	{
					"rect":	{
						"x":	4,
						"y":	70,
						"w":	300,
						"h":	39
					},
					"anchor":	0,
					"parent":	{
						"anchor":	7,
						"component":	null
					}
				},
				"objectivetext":	{
					"rect":	{
						"x":	4,
						"y":	-106,
						"w":	300,
						"h":	16
					},
					"style":	1,
					"showBackGround":	false,
					"showBorder":	false,
					"textAlign":	0,
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"centerprint":	{
					"rect":	{
						"x":	4,
						"y":	-76,
						"w":	300,
						"h":	23
					},
					"textAlign":	0,
					"anchor":	6,
					"parent":	{
						"anchor":	6,
						"component":	null
					}
				},
				"crosshairtext":	{
					"style":	1
				},
				"crosshairbar":	{
					"rect":	{
						"x":	0,
						"y":	-31,
						"w":	130,
						"h":	10
					},
					"style":	16,
					"anchor":	5,
					"parent":	{
						"anchor":	8,
						"component":	null
					}
				}
			}
		}, {
			"name":	"2_copy",
			"parent":	"2",
			"components":	{
				"popupmessages":	{
					"rect":	{
						"x":	0.49999237060546875,
						"y":	5,
						"w":	422,
						"h":	96
					},
					"anchor":	2,
					"parent":	{
						"anchor":	8,
						"component":	null
					}
				}
			}
		}, {
			"name":	"2_copy_copy",
			"parent":	"2_copy",
			"components":	{
				"popupmessages":	{
					"rect":	{
						"x":	4,
						"y":	5,
						"w":	422,
						"h":	96
					},
					"anchor":	0,
					"parent":	{
						"anchor":	7,
						"component":	null
					}
				}
			}
		}]
}

@Aranud Aranud added 🐞 Bug Something isn't working P3: Normal Priority 3 cat: mod CGAME Category mod (cgame) labels Apr 22, 2024
@Aranud Aranud added this to the Future milestone Apr 22, 2024
@Aranud
Copy link
Contributor

Aranud commented Apr 23, 2024

Your hud work fine, it could be something wrong from your cfg. Could it be possible for you to share it ?
image

@ramnes
Copy link
Author

ramnes commented Apr 23, 2024

Will it stay that way if you load another map?

Config (without bindings / name)
seta r_depthbits "24" unsafe
seta s_initsound "1" unsafe
seta r_mode "18" unsafe
seta ui_browserMaster "0"
seta ui_browserGameType "0"
seta ui_browserSortKey "4"
seta ui_browserShowPunkBuster "0"
seta ui_smallFont "0.25"
seta ui_bigFont "0.4"
seta b_edv_followzDistance "0"
seta b_edv_followyDistance "0"
seta b_edv_followxDistance "0"
seta b_edv_dynamitecam "0"
seta b_edv_grenadecam "0"
seta b_edv_mortarcam "0"
seta b_edv_panzercam "0"
seta b_demo_dynamitecounter "0"
seta b_demo_nametags "0"
seta cg_useScreenshotJPEG "1"
seta b_shovesounds "1"
seta b_chatsounds "0"
seta b_hitsounds "1"
seta cg_stereoSeparation "0.6"
seta b_placebo "1"
seta b_panzerhack "1"
seta cg_complaintPopUp "0"
seta b_noactivatelean "0"
seta b_optimizePrediction "1"
seta b_antilag "1"
seta b_cmdwarnings "1"
seta b_drawpromotions "1"
seta b_drawrewards "1"
seta b_altHud "2"
seta b_altHudFlags "4"
seta cg_cursorHints "1"
seta cg_noVoiceChats "0"
seta cg_noVoiceText "0"
seta b_numPopups "-1"
seta b_popupStayTime "2000"
seta b_popupFadeTime "2500"
seta b_popupTime "265"
seta b_smallPopups "1"
seta cg_drawSmallPopupIcons "1"
seta b_chatFlags "1"
seta b_chatAlpha "0.33"
seta cg_descriptiveText "1"
seta b_watermarkAlpha "1"
seta b_fireteamAlpha "1"
seta cg_drawFireteamOverlay "1"
seta b_speedinterval "100"
seta b_speedunit "0"
seta b_drawspeed "0"
seta b_lagometerAlpha "1"
seta cg_lagometer "1"
seta b_simpleitems "1"
seta b_drawranks "1"
seta b_drawclock "1"
seta cg_drawSnapshot "0"
seta cg_drawCompass "1"
seta cg_drawBuddies "1"
seta cg_drawRoundTimer "1"
seta cg_drawWeaponIconFlash "0"
seta cg_drawSpreadScale "1"
seta cg_drawCrosshairNames "1"
seta b_descriptiveTextscale "0.8"
seta b_votetextscale "0.8"
seta b_textcolorfilter ""
seta b_namecolorfilter ""
seta b_hudYoffset "10.0"
seta cg_crosshairPulse_f "0"
seta cg_crosshairHealth_f "1"
seta cg_crosshairX "0"
seta cg_crosshairY "3"
seta cg_runpitch "0"
seta cg_runroll "0"
seta cg_bobup "0"
seta cg_bobpitch "0"
seta cg_bobroll "0"
seta cg_bobyaw "0"
seta b_tracers "2"
seta cg_tracerSpeed "4500"
seta b_muzzleflash "0"
seta cg_wolfparticles "0"
seta s_separation "0.8"
seta s_mixahead "0.15"
seta s_mixPreStep "0.02"
seta s_defaultsound "0"
seta s_wavonly "0"
seta sndbits "32"
seta sndspeed "44100"
seta sndchannels "2"
seta snddevice "/dev/dsp"
seta r_intensity "1.500000"
seta r_rmse "0.0"
seta r_railCoreWidth "1"
seta r_inGameVideo "0"
seta r_highQualityVideo "0"
seta r_primitives "0"
seta r_subdivisions "20"
seta r_lodCurveError "0"
seta r_lodbias "3"
seta r_dlightBacks "1"
seta r_drawSun "0"
seta r_vertexlight "1"
seta r_fastsky "1"
seta r_detailtextures "0"
seta r_ext_NV_fog_dist "0"
seta r_ext_compiled_vertex_array "1"
seta r_ext_gamma_control "1"
seta r_clampToEdge "1"
seta r_roundImagesDown "2"
seta r_simpleMipMaps "0"
seta r_textureAnisotropy "0"
seta r_mapoverbrightbits "3"
seta r_overBrightBits "1"
seta r_dephtbits "32"
seta r_stereo "0"
seta r_uiFullScreen "0"
seta r_lastValidRenderer "GeForce 6600 GT/PCI/SSE2/3DNOW!"
seta r_nv_fogdist_mode "GL_EYE_RADIAL_NV"
seta r_glDriver "opengl32"
seta cl_nudge "-20"
seta cl_autoupdate "0"
seta cl_maxPing "999"
seta cl_anonymous "0"
seta cl_punkbuster "1"
seta con_debug "0"
seta cl_language "0"
seta r_smp "0"
seta com_watchdog "60"
seta com_recommended "0"
seta pmove_fixed "0"
seta cl_yawspeed "0"
seta cl_pitchspeed "0"
seta in_shiftedkeys "0"
seta in_dgamouse "2"
seta in_subframe "1"
seta joy_threshold "0.15"
seta com_hunkMegs "250"
seta com_maxfps "125"
seta com_introplayed "1"
seta com_recommendedSet "1"
seta timelimit "20"
seta sv_hostname "ETLHost"
seta sv_maxclients "20"
seta sv_floodProtect "0"
seta sv_userInfoFloodProtect "1"
seta g_friendlyFire "1"
seta g_maxlives "0"
seta sv_allowDownload "1"
seta sv_hidden "0"
seta g_altStopwatchMode "0"
seta g_complaintlimit "6"
seta g_fastres "0"
seta g_fastResMsec "1000"
seta g_antilag "1"
seta sv_wwwDownload "0"
seta sv_wwwBaseURL ""
seta sv_wwwDlDisconnected "0"
seta sv_wwwFallbackURL ""
seta sv_fullmsg "Server is full."
seta sv_advert "1"
seta sv_protect "0"
seta sv_protectLog ""
seta sv_protectLogInterval "1000"
seta sv_autoDemo "0"
seta sv_demoTolerant "0"
seta sv_demopath ""
seta sv_ipMaxClients "0"
seta con_background ""
seta irc_mode "0"
seta irc_server "irc.libera.chat"
seta irc_channel "etlegacy"
seta irc_port "6667"
seta irc_nickname "ETLClient"
seta irc_kick_rejoin "0"
seta irc_reconnect_delay "100"
seta cl_extrapolationMargin "1"
seta cl_timeNudge "0"
seta cl_avidemotype "0"
seta cl_maxpackets "125"
seta sensitivity "1.100000"
seta cg_autoswitch "0"
seta m_pitch "0.0151"
seta cl_consoleKeys "~ ` 0x7e 0x60"
seta cg_drawNotifyText "1"
seta cg_quickMessageAlt "1"
seta cg_popupLimboMenu "1"
seta cg_drawTeamOverlay "2"
seta cg_drawGun "1"
seta cg_voiceSpriteTime "6000"
seta cg_drawCrosshair "5"
seta cg_zoomDefaultSniper "20"
seta cg_zoomStepSniper "2"
seta rate "60000"
seta snaps "20"
seta cg_predictItems "1"
seta cg_autoactivate "1"
seta cg_autoReload "0"
seta cg_weapaltReloads "0"
seta cg_weapaltSwitches "1"
seta cl_lang "en"
seta cl_langDebug "0"
seta r_picmip "3"
seta r_ignoreFastPath "0"
seta r_flares "0"
seta r_dynamiclight "0"
seta r_textureMode "GL_LINEAR_MIPMAP_NEAREST"
seta r_gamma "2"
seta r_wolffog "0"
seta cg_shadows "0"
seta cg_skybox "1"
seta r_scale "1"
seta r_allowResize "0"
seta r_fullscreen "1"
seta r_centerWindow "0"
seta r_customwidth "3840"
seta r_customheight "2160"
seta r_windowLocation "0,0,0"
seta r_oldFullscreen ""
seta r_oldMode ""
seta in_mouse "-1"
seta in_nograb "0"
seta s_volume "1.00000"
seta s_musicvolume "0.895833"
seta s_muteWhenMinimized "1"
seta s_muteWhenUnfocused "0"
seta com_soundMegs "64"
seta cg_brassTime "0"
seta cg_drawCrosshairPickups "1"
seta cg_drawSpectatorNames "2"
seta cg_markTime "100"
seta ui_dedicated "0"
seta cg_selectedPlayer "0"
seta ui_netSource "1"
seta ui_menuFiles "ui/menus.txt"
seta ui_gametype "3"
seta ui_joinGametype "-1"
seta ui_netGametype "6"
seta ui_mapIndex "10"
seta ui_currentMap "10"
seta ui_currentNetMap "10"
seta ui_browserShowEmptyOrFull "0"
seta ui_browserShowPasswordProtected "2"
seta ui_browserShowFriendlyFire "0"
seta ui_browserShowMaxlives "0"
seta ui_browserShowAntilag "0"
seta ui_browserShowWeaponsRestricted "0"
seta ui_browserShowTeamBalanced "0"
seta ui_browserShowHumans "0"
seta ui_browserModFilter "0"
seta ui_browserMapFilter ""
seta ui_browserServerNameFilterCheckBox "0"
seta ui_disableOssFilter "0"
seta ui_serverStatusTimeOut "7000"
seta cg_showblood "0"
seta cg_bloodFlash "0"
seta cg_sharetimerText ""
seta cg_noAmmoAutoSwitch "1"
seta cg_useWeapsForZoom "1"
seta cg_printObjectiveInfo "1"
seta cg_coronafardist "0"
seta g_warmup "60"
seta g_lms_roundlimit "3"
seta g_lms_matchlimit "2"
seta g_lms_followTeamOnly "1"
seta g_heavyWeaponRestriction "100"
seta ui_currentCampaign "0"
seta ui_currentNetCampaign "0"
seta ui_campaignIndex "0"
seta ui_currentCampaignCompleted "0"
seta cg_shoutcastDrawPlayers "1"
seta cg_shoutcastDrawTeamNames "1"
seta cg_shoutcastTeamNameRed ""
seta cg_shoutcastTeamNameBlue ""
seta cg_shoutcastDrawHealth "0"
seta cg_shoutcastGrenadeTrail "0"
seta g_ipcomplaintlimit "3"
seta g_doWarmup "0"
seta g_inactivity "0"
seta refereePassword "none"
seta shoutcastPassword "none"
seta g_teamForceBalance "0"
seta g_spectatorInactivity "0"
seta match_latejoin "1"
seta match_minplayers "4"
seta match_mutespecs "0"
seta match_readypercent "100"
seta match_timeoutcount "3"
seta match_timeoutlength "180"
seta match_warmupDamage "1"
seta g_customConfig ""
seta server_motd0 " ^NEnemy Territory ^7MOTD "
seta server_motd1 ""
seta server_motd2 ""
seta server_motd3 ""
seta server_motd4 ""
seta server_motd5 ""
seta team_maxplayers "0"
seta team_nocontrols "0"
seta vote_allow_gametype "1"
seta vote_allow_kick "1"
seta vote_allow_map "1"
seta vote_allow_mutespecs "1"
seta vote_allow_nextmap "1"
seta vote_allow_config "1"
seta vote_allow_referee "0"
seta vote_allow_shuffleteams "1"
seta vote_allow_shuffleteams_norestart "1"
seta vote_allow_swapteams "1"
seta vote_allow_friendlyfire "1"
seta vote_allow_timelimit "0"
seta vote_allow_warmupdamage "1"
seta vote_allow_antilag "1"
seta vote_allow_muting "1"
seta vote_limit "5"
seta vote_percent "50"
seta vote_allow_surrender "1"
seta vote_allow_restartcampaign "1"
seta vote_allow_nextcampaign "1"
seta vote_allow_cointoss "1"
seta vote_allow_poll "1"
seta ui_cl_lang ""
seta ui_r_mode ""
seta ui_r_ext_texture_filter_anisotropic ""
seta ui_r_ext_multisample ""
seta ui_cg_shadows ""
seta ui_rate ""
seta ui_handedness ""
seta ui_sensitivity ""
seta ui_profile_mousePitch ""
seta ui_showtooltips "1"
seta cg_locations "3"
seta cg_allowGeoIP "1"
seta cg_customFont1 ""
seta cg_customFont2 ""
seta ui_r_colorbits ""
seta ui_r_lodbias ""
seta ui_r_subdivisions ""
seta ui_r_picmip ""
seta ui_r_texturebits ""
seta ui_r_depthbits ""
seta ui_r_ext_compressed_textures ""
seta ui_r_dynamiclight ""
seta ui_r_detailtextures ""
seta ui_r_texturemode ""
seta g_landminetimeout "1"
seta g_maxGameClients "0"
seta g_noTeamSwitching "0"
seta g_log ""
seta g_logSync "0"
seta g_banIPs ""
seta g_filterBan "1"
seta g_motd ""
seta g_filtercams "0"
seta g_maxlivesRespawnPenalty "0"
seta g_voiceChatsAllowed "5"
seta g_enforcemaxlives "1"
seta g_lms_teamForceBalance "1"
seta g_lms_lockTeams "0"
seta URL ""
seta g_autoFireteams "1"
seta g_disableComplaints "0"
seta g_guidCheck "1"
seta g_protect "0"
seta g_countryflags "1"
seta skill_soldier "20 50 90 140"
seta skill_medic "20 50 90 140"
seta skill_fieldops "20 50 90 140"
seta skill_engineer "20 50 90 140"
seta skill_covertops "20 50 90 140"
seta skill_battlesense "20 50 90 140"
seta skill_lightweapons "20 50 90 140"
seta g_fixedphysics "1"
seta g_fixedphysicsfps "125"
seta g_pronedelay "0"
seta g_corpses "0"
seta g_skillRating "2"
seta g_prestige "1"
seta g_multiview "0"
seta g_stickyCharge "0"
seta g_xpSaver "0"
seta g_suddenDeath "0"
seta g_dropObjDelay "3000"
seta g_floodProtection "1"
seta g_floodLimit "5"
seta g_floodWait "1000"
seta cg_weapAnims "15"
seta cg_fov "105"
seta cg_muzzleFlash "0"
seta cg_gibs "0"
seta cg_draw2D "1"
seta cg_railTrailTime "400"
seta cg_drawStatus "1"
seta cg_drawFPS "2"
seta cg_weaponCycleDelay "150"
seta cg_cycleAllWeaps "1"
seta cg_centertime "5"
seta cg_bobbing "0"
seta cg_drawEnvAwareness "0"
seta cg_dynamicIcons "0"
seta cg_dynamicIconsDistance "400"
seta cg_dynamicIconsSize "20"
seta cg_dynamicIconsMaxScale "1.0"
seta cg_dynamicIconsMinScale "0.5"
seta cg_swingSpeed "0.1"
seta cg_bloodTime "100"
seta cg_teamChatTime "8000"
seta cg_teamChatHeight "6"
seta cg_teamChatMention "1"
seta cg_coronas "0"
seta cg_teamChatsOnly "0"
seta cg_voiceChats "1"
seta cg_voiceText "1"
seta cf_wstats "1.2"
seta cf_wtopshots "1.0"
seta cg_autoFolders "1"
seta cg_autoAction "0"
seta cg_bloodDamageBlend "0"
seta cg_bloodFlashTime "1500"
seta cg_drawReinforcementTime "1"
seta cg_specHelp "1"
seta demo_avifpsF1 "0"
seta demo_avifpsF2 "10"
seta demo_avifpsF3 "15"
seta demo_avifpsF4 "20"
seta demo_avifpsF5 "24"
seta demo_drawTimeScale "1"
seta demo_infoWindow "1"
seta demo_weaponcam "0"
seta demo_followDistance "50 0 20"
seta demo_yawPitchRollSpeed "140 140 140"
seta demo_freecamspeed "800"
seta demo_nopitch "1"
seta demo_pvshint "0"
seta demo_autotimescaleweapons "0"
seta demo_autotimescale "1"
seta demo_teamonlymissilecam "0"
seta cg_predefineddemokeys "1"
seta mv_sensitivity "20"
seta cg_atmosphericEffects "0"
seta cg_instanttapout "0"
seta cg_announcer "1"
seta cg_hitSounds "1"
seta cg_locationMaxChars "0"
seta cg_logFile ""
seta cg_countryflags "1"
seta cg_altHud "2_copy"
seta cg_tracers "3"
seta cg_fireteamNameMaxChars "0"
seta cg_fireteamNameAlign "0"
seta cg_fireteamSprites "1"
seta cg_simpleItems "0"
seta cg_simpleItemsScale "1.0"
seta cg_automapZoom "2.487944"
seta cg_popupFadeTime "2500"
seta cg_popupStayTime "2000"
seta cg_popupTime "0"
seta cg_numPopups "7"
seta cg_fontScaleSP "0.22"
seta cg_optimizePrediction "1"
seta cg_scoreboard "0"
seta cg_quickchat "0"
seta cg_drawUnit "0"
seta cg_visualEffects "0"
seta cg_bannerTime "10000"
seta cg_activateLean "0"
seta cg_drawBreathPuffs "1"
seta cg_drawSpawnpoints "1"
seta cg_useCvarCrosshair "1"
seta cg_crosshairSize "32"
seta cg_crosshairAlpha "1.0"
seta cg_crosshairColor ""
seta cg_crosshairAlphaAlt "1.0"
seta cg_crosshairColorAlt ""
seta cg_crosshairPulse "0"
seta cg_crosshairHealth "1"
seta cg_drawCrosshairFade "1000"
seta cg_bloodPuff "1"
seta cg_drawEnvAwarenessScale "0.80"
seta cg_drawEnvAwarenessIconSize "14"
seta cg_teamVoiceChatsOnly "0"
seta cg_shoutcasterHud "Shoutcaster"
seta cg_popupXPGainFadeTime "250"
seta cg_popupXPGainStayTime "1000"
seta cg_popupXPGainTime "200"
seta cg_commandMapTime "250"
seta r_ignorehwgamma "1" unsafe
seta r_ext_compressed_textures "0" unsafe
seta r_ext_texture_filter_anisotropic "16" unsafe
seta r_texturebits "32" unsafe
seta r_ext_multisample "4" unsafe
seta r_colorbits "32" unsafe
seta cg_scopedSensitivityScaler "2.2"
seta db_uri "etl.db"
seta db_mode "2"
seta com_crashed "0"
seta com_ansiColor "1"
seta com_zoneMegs "24"

@x0rnn
Copy link
Contributor

x0rnn commented Apr 23, 2024

Convert your config first to legacy: https://www.hirntot.org/webcat/config_converter.html

@mittermichal
Copy link
Contributor

cg_crosshairX/Y cvars should definitely be brought back to retain feature parity with HUD editor crosshair and cvar crosshair.

or remove crosshair positioning completely. I don't see why it is needed

@mittermichal
Copy link
Contributor

oh sorry @ramnes actually wants to change crosshair position :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Something isn't working cat: mod CGAME Category mod (cgame) P3: Normal Priority 3
Projects
None yet
Development

No branches or pull requests

7 participants