japp
japp copied to clipboard
Fix: cg_smartEntities not functional on racearena
Hi,
client-side:
- latest OpenJK build (Linux 32 & 64 + Windows)
- latest JA++
- latest RaceArena map (from http://upsgaming.com/)
server-side:
- ip: 31.31.75.196:29072 (private)
- japlus 2.4 build 7 with 1.4 build 4 client
When I join to the server, I can't see anyone else, players or bots. In spectator when I clicking on mouse, I can see player model.
Also tested on clean OpenJK with JA++ without users pk3 files. If JA++ deleted, everything is OK. On another map WITH JA++ everything is OK too.
Was tested on Linux Mint 17.2 64bit and Windows 10 Pro 64bit.
Screenshots:
Hm. Are you using cg_smartEntities 1
? Try without that. It may be a map-specific VIS issue that's making it think everyone is occluded. Racearena is fairly large with a lot of special stuff after all.
Kinda weird that their saber is visible though :^D
:D Yea it's weird and funny. Huh, cg_smartEntities 0 and voila, bot1 appeared! :D
edit: Is cg_smartEntities important on 1? Or for what is it? Thanks for helping :).
It's safe to leave it at 0 - that's basejka behaviour. It's an attempt to avoid rendering players that aren't in your direct field of vision. I'm unsure why it fails on racearena. I'll leave this issue open as a reminder to investigate it some day.
the map has a lot of weird vis-work, perhaps the problem is with one of the following worldspawn keys:
"gridsize" "800 800 864" "blocksize" "0" "chopsize" "0" "distancecull" "48000"
or maybe the use of "antiportal" shaders
Almost certainly it is "distancecull" "48000"
I think cg_smartEntities does not take distancecull into account.
And why should it? It's a line of sight check.