Page MenuHomeFeedback Tracker

setObjectViewDistance appears to do nothing + wiki error
Closed, ResolvedPublic

Description

According to wiki http://community.bistudio.com/wiki/setObjectViewDistance it supposed to change rendering distance of objects. I haven't managed to make it to produce any effect whatsoever be it 0m distance or 10000m distance

Also when array supplied it wants only 2 elements while wiki says it can take 3. The ingame help doesn't even have mention of array parameter.

Details

Legacy ID
1849030373
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce

open debug console type

setObjectViewDistance 0
no change
setObjectViewDistance 10000
no change
setObjectViewDistance [0,0]
no change
setObjectViewDistance [10000,10000]
no change

setObjectViewDistance [100,100,100] <- error too many elements.

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Scripting.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to None.
Killzone_Kid set Resolution to Fixed.
Killzone_Kid set Legacy ID to 1849030373.May 7 2016, 3:37 PM

Apologies ingame debug console popup also says it can take 3 element array like on wiki, but obviously it is n0t true

qbt added a subscriber: qbt.May 7 2016, 3:37 PM
qbt added a comment.Aug 7 2013, 2:26 AM

Still needs fixing.

yep, tried setting to 12000, objects not visible beyond 3km.

Version 1.05.111658 and still not working. We also need a objectViewDistance command akin to the viewDistance command that returns the value(s) currently set.

We can avoid objectViewDistance if setObjectViewDistance will accept -1 values as default user-set values in video options.

still not working unfortunately.

Cyruz added a subscriber: Cyruz.May 7 2016, 3:37 PM

Nearly a year, can we get an update on this please.

BIS, I am guessing this is not an easy fix?

Bumping this ticket, this fix is really needed for King of the Hill because it is very troublesome to go into video options each time you look through optics.

ECID added a subscriber: ECID.May 7 2016, 3:37 PM
ECID added a comment.Oct 4 2014, 8:45 PM

Could we get this fixed pls ?

This script command should be fixed in current dev version. Biki documentation was edited.

I'll be darned. :D Thanks!

Mass-closing all resolved issues not updated in the last month.

Please PM me in BI Forums (http://forums.bistudio.com/member.php?55374-Fireball) if you feel your bug was closed in error.