OpenJO x64: Crosshair location/offset not updating from config file
System: OpenJO May 23, 2025 release (latest-13-g2f6abb4f) Xubuntu 25.04 64-bit CPU: Info: dual core model: Intel Core i5-3210M bits: 64 type: MT MCP cache: L2: 512 KiB Graphics: Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel Device-2: Advanced Micro Devices [AMD/ATI] Chelsea LP [Radeon HD 7730M] driver: radeon v: kernel Display: x11 server: X.Org v: 21.1.16 driver: X: loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915 resolution: 1280x720~60Hz API: EGL v: 1.5 drivers: crocus,kms_swrast,radeonsi,swrast platforms: gbm,x11,surfaceless,device API: OpenGL v: 4.5 compat-v: 4.2 vendor: intel mesa v: 25.0.7-0ubuntu0.25.04.1 renderer: Mesa Intel HD Graphics 4000 (IVB GT2)
Issue: The aiming in the early missions seemed off to me. After looking into it, there is a stub on the PCGW section for the crosshairs; to adjust the crosshair location for better agreement with where the weapons seem to fire (e.g. slightly to right and down; all weapons). In the OpenJO config file, I adjusted: seta cg_crosshairX "0" seta cg_crosshairY "0" as recommended, X=3 and Y=5. However, the setting did not seem to move the crosshair screen location. I tried putting in X=30 and Y=50 to exaggerate the displacement to determine if the lack of change was because I set a custom resolution (1280 x 720), too, but there was no change for a second time. I also tried changing the setting using the console command while the game was running and nothing changed using that method either. I appreciate any advice on if I should be doing something differently in the config settings or if this could be a bug with the engine. Thank you!
Not a bug. You have dynamic crosshair turned on which disallows use of manual X/Y placement.
cg_dynamicCrosshair 0 will allow it but it becomes static in or the given position offsets.
Seems that a better place for discussions would be the jk community discord or jkhub forums before creating an issue for every little thing IMHO.
You have dynamic crosshair turned on
seta cg_dynamicCrosshair "0" in my config file and tried it off and on before. Sorry to be a pain. I won't submit any more reports. Thanks.
What config file would that be? autoexec.cfg is not used by the single player engines if you made one of those. It would be autoexec_sp.cfg
These settings have all been modified in ~.local/share/openjo/base/openjo_sp.cfg . As a sanity check, I figured out why JediOutcastLinux (separate project) wouldn't run and then tested the crosshair offset commands using that program. The crosshair location updates in real-time through the console commands and also become permanent when editing in JOL's directory config file. This exercise has demonstrated that the commands I'm using are valid, but don't appear to be working in OpenJO.
Code is the same in both projects. Would need some others to clarify and see if reproducible
Not convinced this is related to openjk or if it's always been non functional until others try it