Razish / japp

JA++ server and client modification for Jedi Academy
GNU General Public License v2.0
44 stars 30 forks source link

Fix: cg_smartEntities not functional on racearena #355

Open Paullik74 opened 8 years ago

Paullik74 commented 8 years ago

Hi,

client-side:

server-side:

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

Razish commented 8 years ago

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

Paullik74 commented 8 years ago

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

Razish commented 8 years ago

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.

videoP commented 8 years ago

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

ensiform commented 8 years ago

Almost certainly it is "distancecull" "48000"

ensiform commented 8 years ago

I think cg_smartEntities does not take distancecull into account.

Razish commented 8 years ago

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