Author: Outlawled
Author Website:

Requirements: Community Base addons A3

Version: 0.7
Signed: Yes, serverkey included

Short description: When the player is in third-person, this script will hide enemy units that the player's character does not have a direct line of sight to.

Date: 2013-12-08 09:40


Comments: (0)
Rating:



 



The Fourth Wall

by
Outlawled


Description:
This is a mod/script which attempts to find a compromise between the first-person-only vs. all-of-the-persons debate.
Personally, I prefer to play first-person only, but I do understand the appeal of being able to look at your character in third-person to check out your awesome gear and/or totes hot bod.
Essentially, the script hides enemy units that the player shouldn't be able to see when in third-person.

If you are in first-person, and you can't see a unit, you will not be able to see that unit in third-person either, he will be invisible.
By default, this is true for all enemy units up to 100 meters. Enemy units up to 400 meters will be set to invisible if they are moving 5m/s or faster. Units beyond 400 meters are completely ignored.


Features:
- Prevents players from looking around corners without exposing themselves.
- Third-person is disabled in vehicles.
- Units that are beyond 100m from the player will not be set to invisible unless they are moving 5m/s or faster.
- Units that are beyond 400m from the player will not be set to invisible no matter what.


Installation:
Extract into the ArmA 3 Directory, by default this is located in:
32-Bit - C:\Program Files\Steam/Steamapps\Common\ArmA 3\
64-Bit - C:\Program Files (x86)\Steam/Steamapps\Common\ArmA 3\
After extraction it should look like this:
Steam\Steamapps\Common\ArmA 3\@your_mod_folder_name\addons\

You can also use the "Arma 3 Alpha" folder in your "My Documents" folder. Your folder setup could than look like for example this:
mydocuments\Arma3 Alpha\@your_mod_folder_name1\addons\
mydocuments\Arma3 Alpha\@your_mod_folder_name2\addons\
mydocuments\Arma3 Alpha\@your_mod_folder_name2\addons\

When present place the "userconfig" folder into your game install folder, usually:
"C:\Program Files (x86)\Steam\steamapps\common\Arma 3".
You may already have "userconfig" folder from other addons and/or mods in which case it is safe to merge the contents from this archive.

You'll also need to add a Launch Parameter to Steam, in order to do so right-click on ArmA 3 Alpha and click Properties and then Set Launch Options. In the window that opens enter in -mod=@your_mod_folder_name
For using multiple mods you would then do so like this:
-mod=@mod_name;@mod_name2;@mod_name3;@mod_name4;@mod_name5

Note:
You can also use -nosplash to get rid of the splash art and intro videos.


And of course you can also enable and disable community made addons and mods through the in-game Options Expansions menu if you do not want to mess with startup parameters!

When the above information still does not provide you with enough to learn how to install custom addons and mods you can always ask in our Guide On Installing Mods.


Included files:
outlw_theFourthWall.pbo


Usage:
The following are all of the variables that server admins can adjust:
_outDis = 400; /////////////////// Outer perimeter. Units outside this radius are ignored. (meters)
_inDis = 100; //////////////////// Inner perimeter. Units outside this radius are ignored if they are moving slower than 5m/s. (meters)
_refresh1P = 0.04; /////////////// How often the script should check to see if the player is still in first person. (seconds)
_refresh3P = 0.5; //////////////// How often the script iterates through the array of units inside the outer perimeter while in third-person. (seconds)
_vMethod = 2; //////////////////// Method for how to treat the player if he's in a vehicle. (integer from 0 to 2, 0 = same as when not in vehicle, 1 = same as vanilla ArmA 3, 2 = no 3P while in vehicle)
_refreshV = 0.1; ///////////////// How often the script should check to see if the player is still in a vehicle. (seconds)
_hideFriendlies = false; ///////// Whether or not the script should hide friendly and civilian units.


Media:



Notes:
- This mod requires CBA.
- Feel free to unpack the PBO and look through the code and change stuff, but please don't steal anything. That would not be tits. Just email me if you want to use any of my code in your own public release.


Changelog:
v0.7
- Initial release.


Forum topic:
- BI forums



- Community Base addons A3




Enable javascript to be able to download from Armaholic please!