Jump to content
tonic-_-

TAW View Distance Script (Addon Version)

Recommended Posts

View Distance Addon
Version: 1.7

Screen Shot
tawvd_new.jpg

v1.5 Video

 


SCRIPT VERSION:
TAW View Distance Script

Description:
This is something that was lacking for ARMA 3 (Alpha). So I have created a simple to use View Distance & Grass Settings Dialog to allow players to adjust their view distance levels. There are three types of view distance levels.

- On foot: View distance set will only effect a player while they're on foot.
- In Car: View distance set will only effect a player when they're in a land vehicle or ship.
- In Air: View distance set will only effect a player when they're in an aircraft.
- Drone: View distance while operating a UGV/UAV.
- Multiple Saves for various settings
- ACE3 Intergration (if ACE3 Detected then the menu can be accessed via self interact)

And it also features 4 grass settings (None/Low/Normal/High).

 

ACE3 Integration:

0ebe86cbfe687d9a9078df7b9b787f00.png


Notes:
To disable the grass Option 'None' place:
tawvd_disablenone = true;

To set a maximum allowed viewing distance you can put the following in your init.sqf:
tawvd_maxRange = 12000;

Change log:

v1.7:

Changed: Will no longer run on a client with no interface (Server/Headless Client), useful if included in mod packs for performance reasons.

Fixed: Error being thrown about undefined variable in certain circumstances.

 

v1.6:

Fixed: Save manager was not working (typo that took 4 years to fix PogChamp)

Added: Ground slider now controls both land and sea vehicles.

Changed: Better ACE integration


v1.5:
Changed: Code brought up to current coding techniques & small fixes
Added: Drone slider for changing the view & object settings while operating a UGV/UAV.
Added: Edit Boxes (Something the addon version has had for awhile).
Added: Save Manager for loading and saving various settings variations.
Added: ACE3 Integration, if ACE3 is running you can access the menu via ACE3 Self Interact menu.

v1.4:
Added: Ability to sync object rendering distance with view distance

v1.3:
Changed: Updated GUI Resources for new patch.

v1.2:
Changed: Updated the script version to be on par with the addon (updated technologies).
Added: Ability to disable the grass option 'None'

v1.1
Fixed: Players that JIP'd in couldn't use the menu.

Download:

TAW View Distance Addon v1.7 (My site)

TAW View Distance Addon v1.7 (Google Drive)
Armaholic - TAW View Distance v1.6

 

  • Like 2

Share this post


Link to post
Share on other sites

Perfect. If this goes in a modpack then I don't have to bother scripting it into every mission I make.

Share this post


Link to post
Share on other sites

Very nice, thanks. I was just wondering when such an option would be available.

Share this post


Link to post
Share on other sites

Thanks for sending us the release :cool:

Release frontpaged on the Armaholic homepage.

===================================================

We have also "connected" these pages to your account on Armaholic.

This means in the future you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and explain how things work and what options you have.

When you have any questions already feel free to PM or email me!

Share this post


Link to post
Share on other sites

Nice one, thanks for making and sharing!

Would it be possible to add a userconfig to set personal default values?

/KC

Share this post


Link to post
Share on other sites

I'm having issues getting this to work with VAS. I get an error when I open my mission when I tried:

#include "taw_vd\dialog.hpp"

class CfgFunctions
{
#include "taw_vd\CfgFunctions.hpp"
};

#include "VAS\menu.hpp"

class CfgFunctions
{
#include "VAS\cfgfunctions.hpp"
};

So then I tried this:

#include "taw_vd\dialog.hpp"
#include "VAS\menu.hpp"
class CfgFunctions
{
#include "taw_vd\CfgFunctions.hpp"
#include "VAS\cfgfunctions.hpp"
};

TAW doesn't seem to work at all. Am I doing this wrong?

Share this post


Link to post
Share on other sites

Hi,

we really like your addon. Good job.

We have a small bug: when we play on the VTS (and our community play only on the VTS), if a player change his class, your addon disappear in his action menu.

Share this post


Link to post
Share on other sites
I'm having issues getting this to work with VAS. I get an error when I open my mission when I tried:

#include "taw_vd\dialog.hpp"

class CfgFunctions
{
#include "taw_vd\CfgFunctions.hpp"
};

#include "VAS\menu.hpp"

class CfgFunctions
{
#include "VAS\cfgfunctions.hpp"
};

So then I tried this:

#include "taw_vd\dialog.hpp"
#include "VAS\menu.hpp"
class CfgFunctions
{
#include "taw_vd\CfgFunctions.hpp"
#include "VAS\cfgfunctions.hpp"
};

TAW doesn't seem to work at all. Am I doing this wrong?

This is the addon version, doing such methods are not required. If you are using the scripted version you need to refer to the script version: http://forums.bistudio.com/showthread.php?151669-TAW-View-Distance-Script

Hi,

we really like your addon. Good job.

We have a small bug: when we play on the VTS (and our community play only on the VTS), if a player change his class, your addon disappear in his action menu.

Not familiar with VTS but I would assume it lets you switch units in game? If so I can fix that issue.

Share this post


Link to post
Share on other sites

Yes it s that. You can change role, taking medic for healing soldier or technicien for repairing vehicule, etc. when we change class, the setting option disapear.

Share this post


Link to post
Share on other sites

Not work for me in the final released ArmA3 (before in Beta works).

P.D: I see work only if go to a ammbox or something.

Edited by Legolasindar

Share this post


Link to post
Share on other sites
Doesn't seem to be working anymore?
Singleplayer? Multiplayer? Dedicated?

Share this post


Link to post
Share on other sites

Which view distance does this adjust? Actual view distance of just object distance? I hope it's the latter, I really don't want a script to mess with my GFX settings that don't affect gameplay :\

Share this post


Link to post
Share on other sites

Does not seem to work for me on dev build.

How is it meant to be enabled? Via an action menu entry?

Share this post


Link to post
Share on other sites

I only run Dev build-works here.

It should show up in your action menu as 'settings' in red.

Pretty sure it does not work in the editor?

Edit:- any chance you could add 'object distance' too?

Edited by ck-claw

Share this post


Link to post
Share on other sites

Would love that VD is linked to object distance. So if I set 2000m VD objects also set at 2000m.

Share this post


Link to post
Share on other sites

Hmm, didn't realize peopled used this...

There isn't really a need to 'Object' distance as the Video settings one works both way, I really wish the command setObjectViewDistance array format one actually worked as then I could have options for Trees,Objects and statics but it's broken and has been since alpha. I also don't think linking the ObjVD to VD is a good idea considering the Object view distance is the most taxing thing on your system and it's brokenness is one of the leading causes to CPU over usage.

Share this post


Link to post
Share on other sites

I use this in my group's modpack, and it works in MP as far as I know. And for those talking about it not working in the editor, I refer you to the first page of this thread where it says 'This DOES NOT work in single player', and the editor is single player, so it will not work there and it never has.

Hmm, didn't realize peopled used this...

Most definitely. Adding it to our modpack means our mission creators have one less script to add to each and every mission. TAW VD is simple and gets the job done without cramming in unnecessary features other scripts attempt to do. :thumb:

Edited by BadHabitz

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×