logo
Main

Forums

Downloads

Unreal-Netiquette

Donate for Oldunreal:
Donate

borderline

Links to our wiki:
Wiki

Walkthrough

Links

Tutorials

Unreal Reference

Usermaps

borderline

Contact us:
Submit News
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic PlayerCanSeeMe() limited to 1024 UU? (Read 367 times)
Bleeder91[NL]
Betatester
Offline


Personal Text:

Posts: 1000
Location: Location, Location, Location.
Joined: Oct 4th, 2009
Gender: Male
PlayerCanSeeMe() limited to 1024 UU?
Apr 27th, 2019 at 10:50pm
Print Post  
It seems to me this should work whenever the player is rendering (part of) the enemy, but it is limited to 1024 UU, or close to it. I tried extending player's sightradius to no avail. I suppose LineOfSightTo() could work but I don't get why we would need PlayerCanSeeMe(). Any ideas on this?
  
Back to top
 
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7925
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: PlayerCanSeeMe() limited to 1024 UU?
Reply #1 - May 31st, 2019 at 6:32am
Print Post  
seems this was hardcoded:

Code (C++)
Select All
...
if ( (Direction.SizeSquared() < 110000.f * CollisionRadius)
...
 

  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
TONI-M
Junior Member
**
Offline


Oldunreal member

Posts: 77
Joined: Mar 14th, 2019
Re: PlayerCanSeeMe() limited to 1024 UU?
Reply #2 - May 31st, 2019 at 5:16pm
Print Post  
Dear Smirftsch, The above expression is a decisional case with variables or a decisional case that uses a function. I don't know c, so I got curiosity. Grazie.Toni-m Smiley
  
Back to top
 
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7925
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: PlayerCanSeeMe() limited to 1024 UU?
Reply #3 - Jun 9th, 2019 at 8:06am
Print Post  
it just means that it was (arbitrarily) cut off at some point for whatever reason.
Back then when designed a lot of stuff was done with performance in mind or with the at this time existing maps & mods and still works in the same way, this might be one.
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo