japp icon indicating copy to clipboard operation
japp copied to clipboard

Fix: cg_smartEntities not functional on racearena

Open Paullik74 opened this issue 9 years ago • 7 comments

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: shot2015-12-06_02-57-33 shot2015-12-06_02-57-43 shot2015-12-06_02-58-58 shot2015-12-06_02-59-01 shot2015-12-06_02-59-05

Paullik74 avatar Dec 06 '15 02:12 Paullik74

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

Razish avatar Dec 06 '15 07:12 Razish

: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 :).

Paullik74 avatar Dec 06 '15 12:12 Paullik74

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.

Razish avatar Dec 06 '15 14:12 Razish

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

videoP avatar Dec 06 '15 23:12 videoP

Almost certainly it is "distancecull" "48000"

ensiform avatar Dec 07 '15 01:12 ensiform

I think cg_smartEntities does not take distancecull into account.

ensiform avatar Jan 20 '16 06:01 ensiform

And why should it? It's a line of sight check.

Razish avatar Jan 20 '16 08:01 Razish