Commit Graph

59 Commits

Author SHA1 Message Date
Whigital
50100b8178
Viewdistance - Fix viewdistance from videosettings (#9140) 2023-03-18 14:28:27 -05:00
GhostIsSpooky
998f86f034
General - Move to CBA Settings (#8461)
* first pass

* second pass

* third pass

* final pass

* missing commas

* newlines

* switch to cba eventhandler

* newlines, formatting

* laser - movedToSQF

* add logging to ace_common_fnc_cbaSettings_loadFromConfig

* Update initSettings.sqf

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-10-11 15:48:30 -05:00
PabstMirror
a9a69ac4ff
Headers - Fix function names in examples (#7663) 2020-04-25 08:41:45 +02:00
jonpas
f1b1ec0d55
Fix undefined variable in View Distance 2019-08-14 17:42:01 +02:00
Dedmen Miller
e2ac18a05d [WIP] Fix script errors reporting wrong line numbers (#6407)
* advanced_ballistics

* advanced_fatigue

* advanced_throwing

* ai

* aircraft

* arsenal

* atragmx

* attach

* backpacks

* ballistics

* captives

* cargo

* chemlights

* common

* concertina_wire

* cookoff

* dagr

* disarming

* disposable

* dogtags

* dragging

* explosives

* fastroping

* fcs

* finger

* frag

* gestures

* gforces

* goggles

* grenades

* gunbag

* hearing

* hitreactions

* huntir

* interact_menu

* interaction

* inventory

* kestrel4500

* laser

* laserpointer

* logistics_uavbattery

* logistics_wirecutter

* magazinerepack

* map

* map_gestures

* maptools

* markers

* medical

* medical_ai

* medical_blood

* medical_menu

* microdagr

* minedetector

* missileguidance

* missionmodules

* mk6mortar

* modules

* movement

* nametags

* nightvision

* nlaw

* optics

* optionsmenu

* overheating

* overpressure

* parachute

* pylons

* quickmount

* rangecard

* rearm

* recoil

* refuel

* reload

* reloadlaunchers

* repair

* respawn

* safemode

* sandbag

* scopes

* slideshow

* spectator

* spottingscope

* switchunits

* tacticalladder

* tagging

* trenches

* tripod

* ui

* vector

* vehiclelock

* vehicles

* viewdistance

* weaponselect

* weather

* winddeflection

* yardage450

* zeus

* arsenal defines.hpp

* optionals

* DEBUG_MODE_FULL 1

* DEBUG_MODE_FULL 2

* Manual fixes

* Add SQF Validator check for #include after block comment

* explosives fnc_openTimerUI

* fix uniqueItems
2018-09-17 14:19:29 -05:00
Josuan Albin
9f85a53711 Fix error in setupExplosive with CBA 3.8.0 (#6476)
* Fix error in setupExplosive with CBA 3.8.0

getFov has a param check now, this function was passing args to it and causing an error.

* Fix getFov call in attach and viewDistance modules
2018-07-31 17:36:22 -05:00
PabstMirror
cd30b09b4f Convert ACE_settings to CBA_settings (#4895)
* Convert ACE_settings to CBA_settings

* Run Modules Globaly, BWC for SetSetting

* Add support for string settings

* ACE_ServerSettings warning

* Add handler for global setting being changed

* Add deprecated and replaced not to Settings Framework doc

* Remove options menu UI, Move Debug and HeadBug Fix to Options in Pause Menu

* Change modules scope to 1

* Disable debug
2017-11-11 20:21:55 +01:00
Wanderrful
635b667a74 Fixed viewdistance error while controlling UAV (#5308)
* Fixed viewdistance error while controlling UAV.

When you take control of UAV drones, the view distance does not properly update to your setting because it thinks that you are still the land infantry guy.  So I've experimented a bit in the editor and found a condition that will properly return true when you are in control of a drone aircraft.  I've also adapted this for use with land-based UAV stuff (like the Stomper).

To accomplish this, I created a private *_isControllingDrone* variable that will detect if the player is currently in control of any UAV.  I also edited the _landVehicle and _airVehicle scripts so if and only *_isControllingDrone* returns true, then it will check whether the drone is a subclass of "LandVehicle" or an "Air".

That's all I did.  Please accept my pull request!

* Use ACE_controlledUAV event
2017-09-10 14:42:19 -05:00
Phyma
ffaa195fe5 Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script

* Fixed rest of the files

* Fixed ace-team
2017-06-08 15:31:51 +02:00
commy2
05d30c5573 convert log macros to cba versions (#4282)
* convert log macros to cba versions

* Add changes to AB

* remove obsolete macro
2016-10-02 12:55:31 +02:00
jonpas
04831267f2 Use lazy evaluation 2016-04-14 13:55:15 +02:00
jonpas
dec266a546 Fix ship view distance using foot instead of vehicle setting, Cleanup view distance component 2016-04-14 13:52:20 +02:00
PabstMirror
c0eccc67c3 Change all SCALAR to NUMBER in headers 2016-01-28 18:19:15 -06:00
Glowbal
c1fa81f28b Fix tabs in sqf files 2015-12-21 17:05:48 +01:00
Thomas Kooi
c132ef86cf Merge pull request #2133 from jonpas/dynamicViewDistance
Mk 1 eyeballs Integration
2015-11-28 20:40:29 +01:00
Michael Braun
5047d4de1c Switched to ACE_LOG<LEVEL>_# variation 2015-08-26 17:39:44 +02:00
Michael Braun
097506076f Fixed format usage in macros requiring ARR_# for it to work 2015-08-26 16:48:55 +02:00
Michael Braun
9e10aa86d7 Standardize logging format through ACE_LOG macros 2015-08-26 15:32:54 +02:00
jonpas
f43282024a Updated FoV Based PFH function header 2015-08-22 22:26:04 +02:00
jonpas
a24da99722 Merge branch 'master' into dynamicViewDistance
Conflicts:
	addons/viewdistance/README.md
	addons/viewdistance/XEH_clientInit.sqf
2015-08-22 00:49:57 +02:00
jonpas
64c1a93517 Renamed macro, removed debug 2015-08-17 18:50:02 +02:00
jonpas
f14830624b Added separate handling for Air vehicles (longer view distances), Fixed normal zoom level to actual A3 value 2015-08-17 18:46:14 +02:00
jonpas
3147cb038b Removed unnecessary param assignment, fixed comment example 2015-08-17 18:22:03 +02:00
jonpas
fe9e4fee07 Fixed viewdistance limit not applied when Video Settings option is selected, Removed unnecessary EHs 2015-08-17 18:12:00 +02:00
jonpas
b1408af43a Mk 1 eyeballs integration 2015-08-12 22:09:59 +02:00
jonpas
e20811c0f2 Cleaned up headers, newlines in viewdistance 2015-08-12 20:16:01 +02:00
Glowbal
bd0593f8f4 fixed missing semi-column 2015-08-08 17:49:43 +02:00
Michael Braun
ade6c99dac Updated parameterization in Viewdistance module. 2015-08-04 23:33:03 +02:00
gienkov
00c5abecc2 Merge remote-tracking branch 'origin' into module-translations-2
Conflicts:
	addons/viewdistance/ACE_Settings.hpp
	addons/viewdistance/functions/fnc_changeViewDistance.sqf
2015-05-23 17:55:06 +02:00
esteldunedain
23117db401 - Default viewDistance to video settings - Add 500m and 100m as optional view distances 2015-05-20 17:17:08 +02:00
gienkov
4bebedf73e Stringtable Zeus and View Distance
* Stringtabled ACE Zeus module
* Stringtabled ACE View Distance
* Lowered default view distance to 1500 because default value (10000)
makes enormous FPS drop at start for low end machines
2015-05-17 00:53:55 +02:00
esteldunedain
a9197a8e33 Make viewdistance disabable through settings and module 2015-05-14 16:36:12 -03:00
esteldunedain
195643d557 Handle player not existing 2015-05-14 15:24:35 -03:00
esteldunedain
2027a28959 Modify changeViewDistance so:
- Displays objects distance percentage instead of coeficient
- Only display that if not off
2015-05-14 15:16:02 -03:00
SAM
8c7d752fcc Made final adjustments
Centred prompts, fixed erroneous if statement, adjusted function
headers.
2015-05-14 18:25:41 +02:00
SAM
3480168e05 Integrated new function into module 2015-05-14 17:44:35 +02:00
SAM
853333ac49 Added new function, updated settings 2015-05-14 17:19:14 +02:00
SAM
495e94f3f0 Merged fnc_init.sqf into XEH_postInit.sqf 2015-05-10 13:04:08 +02:00
SAM
283768fabb Fixed code style in switch statement 2015-05-10 12:56:05 +02:00
SAM
6a6681872c Replaced player with ACE_player 2015-05-10 12:54:53 +02:00
SAM
c05a91f530 Suppress prompts when changing vehicle.
They're only shown when the player changes the setting.
2015-05-10 12:15:34 +02:00
SAM
69648f0e1b Added adaptive view distance depending on vehicle 2015-05-10 12:00:19 +02:00
SAM
737b1cc216 Renamed variable limit to limitViewDistance
For future limiting of terraingrid
2015-05-09 18:42:02 +02:00
SAM
cad86280c1 Fixed module value not overriding. 2015-05-09 14:51:23 +02:00
SAM
f4d7c6818b Attempted fix #2 2015-05-09 13:05:36 +02:00
SAM
a9d6fbd841 Attempting to fix module value not being read 2015-05-09 12:36:11 +02:00
SAM
f64f76e92f Fixed wrong file name 2015-05-09 12:07:05 +02:00
SAM
2dfaaa047a Reworked limiting system
Module limit still not being set properly.
2015-05-09 11:56:27 +02:00
SAM
bba216ebd2 Rewrote switch statement
Per @Glowbal's comment
2015-05-09 10:53:09 +02:00
SAM
ae1628ef03 Renamed init file for neatness 2015-05-09 10:41:55 +02:00