Home   Help Search Login Register  

Author Topic: Is it possible to extend/override VisibleRange in MP?  (Read 2044 times)

0 Members and 1 Guest are viewing this topic.

AngryAngel

  • Guest
Hey guys

MP-maps have by default a limited visible range, compared to singeplayer ones.
Is it possible to override this setting?
This could help me a lot, because e.g. in sniper-missions itÂ's boring/stupid to move "close" to the target.

thx
AngryAngel

Tactician

  • Guest
Re:Is it possible to extend/override VisibleRange in MP?
« Reply #1 on: 24 Feb 2003, 16:35:06 »
Yes.  In init.sqs (or init trigger, whatever you prefer) add this line:

setViewDistance x

Where x is between 500 and 5000.

I'd say 1500 would be good for a sniper map, but it's up to you to determine the compromise between rendering performance and view distance.  The default in MP is around 900 I think, but I've never tested that.

You can also change the terrain detail in MP in a similar way:

setTerrainGrid x

50 is the default MP terrain detail, and lower is more detailed.  I recommend going in half-value steps, like 25 and 12.5, to find the detail you want.

AngryAngel

  • Guest
Re:Is it possible to extend/override VisibleRange in MP?
« Reply #2 on: 24 Feb 2003, 17:00:04 »
Great

Thank you for the detailed answer!

Offline mboshell

  • Members
  • *
Re: Is it possible to extend/override VisibleRange in MP?
« Reply #3 on: 08 Jan 2010, 18:52:17 »
I'm currently working on this but having trouble.  Please bare with my noobness while I explain what I'm doing.  I open a notepad file and type "setviewdistance 2000", then I save it as init.sqs under file type "all files" in my mission directory.  It's not working, what am I missing? 

Thanks.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Is it possible to extend/override VisibleRange in MP?
« Reply #4 on: 08 Jan 2010, 22:32:41 »
 :blink: 2003.

setViewDistance was not implemented in OFP version 1.46, it only came in with Resistance (1.75)... just in case you are only running 1.46   :cool2:

AFAIK setting a new viewdistance in MP is done on the server.


Planck
« Last Edit: 08 Jan 2010, 22:34:36 by Planck »
I know a little about a lot, and a lot about a little.

Offline mboshell

  • Members
  • *
Re: Is it possible to extend/override VisibleRange in MP?
« Reply #5 on: 09 Jan 2010, 23:12:57 »
You may have hit my problem, thanks!  I have resistance, but I let a friend use it.  In effort to try to play with him, I deleted all of my addons from the folder.  So, I may need to reinstall resistance for it.  I'll get my disc back and give it a try. 

Thanks for your help :)