Jump to content

champ-1

Member
  • Content Count

    434
  • Joined

  • Last visited

  • Medals

  • Medals

Everything posted by champ-1

  1. CH View Distance v1.13 Download from Dropbox Subscribe on Steam Workshop Download on Armaholic Download on withSIX Description: This little addon allows you to flexibly adjust your view distance and terrain quality based on actual ingame situation. It's neatly packed with features: - adjust view distance or terrain quality based on current vehicle type; - synchronize object view distance to your view distance or adjust it automatically based on your current zoom; - all settings save to profile and load seamlessly on every mission start; - supports CBA Keybindings and swift view distance change with hotkeys; - mission makers have the ability to limit maximum view distance and restrict deactivation of ground vegetation in the scenario. Mission version included in download files. Videos: Screenshots: How to install script version: Changelog: v1.13 - added: new CBA keybindings for changing terrain quality - added: one more terrain quality value for finer control - changed: reduced time hints displaying on the screen when changing view distance with hotkeys - changed: better looking hints - fixed: addon and script version conflicting on rare occasion - fixed: terrain quality listbox not working on rare occasion Download
  2. CH Specialized Arsenal v0.94 Download from Dropbox Download on Armaholic Description: This script is mostly designed for mission makers who have basic understanding of scripts and want to fine tune their mission. It allows you to create specializations for Arsenal, configure available items and number of slots for every class. Installation: Configuration: Videos: Changelog: v0.94 - added: ability to have several Specialized Arsenals attached to the same object (as long as they have different "target") - added: ability to reload/load another Specialized Arsenal during the mission (can be useful if "target" is a group) - added: icons for action menu v0.93 - added: any gear that picked up through rearm action removed from inventory instantly - changed: access to any containers in restricted zone is completely forbidden now - changed: reworked dialogs v0.92 - changed: method how inventory restriction handled (hopefully it's more reliable) v0.91 - added: Russian localization - changed: color of current specialization name for greater visibility - fixed: method how occupied slots are handled (position could be occupied by auto-assigned units only if it has free slots or set to -1) v0.9 - beta release Download
  3. CH Mobile Headquarters v0.91 Download from Dropbox Download on Armaholic Description: This script modifies certain vehicles for use as a mobile headquarters. In other words it allows to teleport from the object at the base to one of the HQ vehicles deployed on the map. For now it supports these vehicles: - HEMTT Transport - Tempest Transport - Zamak Transport (CSAT) - Zamak Transport (AAF) - Truck (FIA) But you can configure any vehicle for use with this script. (see section "for advanced users") Features: - HQ composition for every faction - any action (Arsenal, VAS) can be attached to any object in composition - customizable HQ and cargo objects - immersive HQ deployment - can work with any custom vehicles and objects - different map markers for mobile and deployed HQ - immersive teleport to HQ - supports multiple HQs at a time Installation: For advanced users: Videos: Changelog: v0.91 - added: ability to execute code for every object in composition (for more information read section "for advanced users") - added: algorithm to measure object composition size and check for suitable conditions only in that radius - changed: removed dummy unit inside deployed HQ until (forever?) I learn how to make him invisible and stop from getting out of the vehicle - fixed: marker names not having a proper ID - fixed: disabled simulation for some objects in composition v0.9 - beta release Download
  4. CH Bright Nights v1.03 Download from Dropbox Subscribe on Steam Workshop Download from Armaholic Download from Arma3.de Download on withSIX Videos: Description: This small addon changes brightness of illumination during the night time. Basicly it makes so there is no completly pitch black conditions. Although this addon works as is out of the box, mission makers can configure level of brightness and color of illumination with these two variables: CHBN_adjustBrightness - SCALAR: brightness of the terrain and objects on the ground, ranging from 0 to 1. To disable script, set this variable to 0. Default value is 0.5. CHBN_adjustColor - ARRAY: color of illumination in format [RED, GREEN, BLUE] where every color varies in range from 0 to 1. To disable change of color, set this variable to [0,0,0]. Default value is [0.3,0.5,1]. Changelog: v1.03 - changed: variable "CHBN_adjustBrightness" is now capped and has maximum and minimum values ranging from 0 to 1. Make sure you adjust this variable in your mission files accordingly (although it will work anyway) - changed: illumination has a cooler tone to simulate moonlight v1.02 - fixed: posible error in rpt v1.01 - fixed: possible bug in multiplayer v1.0 - first public release Download or Subscribe on Steam Workshop
  5. This thread is no longer maintained. Script version included in download of the addon.
  6. How to stop display event handler "keyDown" from repeatedly executing script while key is pressed? Also is it just me or "keyUp" event handler doesn't fire every time? Here's my code: "KeyDown" works every time, all the time while the button down. "KeyUp" works only half of the time. Thanks. ---------- Post added at 22:03 ---------- Previous post was at 22:02 ---------- damn it i messed up the thread name :D
  7. champ-1

    CH View Distance Addon

    People wouldn't know this feature exists if they don't see message like that. Since there is no indication anywhere else. Besides that if someone sets up keybindings and then forgets about them. Without message like that this thread would be flooded with messages "WHY YO THING NO WORK????"
  8. champ-1

    CH Bright Nights

    Because it isn't suppose to be a cheating tool. During the darkest night it suppose to be dark, even with this addon. The difference is that with CHBN you can make out some silhouettes, and without it's just 100% black screen. Anyway I can tweak it a bit more if people have problems with it.
  9. This works for some reason: CH_fnc_evacHeliShowMenu = { params ["_menu"]; showCommandingMenu format ["#USER:%1",_menu]; }; CH_evacHeliComms = [ ["Transport", false], ["Move to LZ", [3], "", -5, [["expression", "player setVariable ['CH_evacHeliWPType','move']; call CH_fnc_evacMove"]], "1", _markerSetNum], ["Hover over LZ", [4], "", -5, [["expression", "player setVariable ['CH_evacHeliWPType','hover']; ['CH_evacHeliHoverAltitudeMenu'] spawn CH_fnc_evacHeliShowMenu"]], "1", _markerSetNum] ];
  10. So apparently if communication menu has submenu attached, it doesn't execute code on activation. Even though example on wiki clearly shows it does. This topic isn't very well documented so maybe I'm doing something wrong? Here's examples of what I've tried: CH_evacHeliComms = [ ["Transport", false], ["Move to LZ", [3], "", -5, [["expression", "player setVariable ['CH_evacHeliWPType','move']; call CH_fnc_evacMove"]], "1", "1"], // THIS EXECUTES CODE ["Hover over LZ", [4], "#USER:CH_evacHeliHoverAltitudeMenu", -5, [["expression", "player setVariable ['CH_evacHeliWPType','hover']"]], "1", "1"] // THIS DOESN'T EXECUTE CODE ]; Alternatively i've tried to open submenus from execution field: CH_evacHeliComms = [ ["Transport", false], ["Move to LZ", [3], "", -5, [["expression", "player setVariable ['CH_evacHeliWPType','move']; call CH_fnc_evacMove"]], "1", "1"], // THIS EXECUTES CODE ["Hover over LZ", [4], "", -5, [["expression", "player setVariable ['CH_evacHeliWPType','hover']; showCommandingMenu '#USER:CH_evacHeliHoverAltitudeMenu'"]], "1", "1"] // THIS EXECUTES CODE, OPENS SUBMENU AND CLOSES IT RIGHTAWAY ]; And slightly different version but same result: CH_evacHeliComms = [ ["Transport", false], ["Move to LZ", [3], "", -5, [["expression", "player setVariable ['CH_evacHeliWPType','move']; call CH_fnc_evacMove"]], "1", "1"], // THIS EXECUTES CODE ["Hover over LZ", [4], "", -5, [["expression", "player setVariable ['CH_evacHeliWPType','hover']; showCommandingMenu ''; showCommandingMenu '#USER:CH_evacHeliHoverAltitudeMenu'"]], "1", "1"] // THIS EXECUTES CODE, OPENS SUBMENU AND CLOSES IT RIGHTAWAY ]; Any ideas how to gather information about what submenus have been activated or how to open submenus with "showCommandingMenu" without it closing rightaway?
  11. I think you might look into BIS_fnc_findOverwatch function.
  12. I'm new to Arma config files and still confused about many things, so I have a question: Basically I want to know size of the object before I spawn it. This is similar to the command "boundingBox" but from config files. It seems there is no documentation on this case. At least I haven't found anything. Also, I'm looking for a way to know how many building positions has given building without having actual object on the map. Alternatively, I'm thinking of running createVehicleLocal and using some of the commands to get the information I need, but it's not ideal really.
  13. Well, I want to select all vehicles from config and then split them in different categories based of height. What kind of config are you talking about? Just some variables?
  14. Yeah, thats what I thought. But I think createVehicleLocal better since it doesn't sync across clients in multiplayer.
  15. @Larrow Problem: when your removing one of the loadouts in "Load" menu all restricted loadouts changing they color from orange to grey. My view on it: maybe you shouldn't change their color to orange at the first place. It's kinda not necessary.
  16. champ-1

    CH View Distance Addon

    CH View Distance v1.13 Changelog: v1.13 - added: new CBA keybindings for changing terrain quality - added: one more terrain quality value for finer control - changed: reduced time hints displaying on the screen when changing view distance with hotkeys - changed: better looking hints - fixed: addon and script version conflicting on rare occasion - fixed: terrain quality listbox not working on rare occasion Download or Subscribe on Steam Workshop
  17. champ-1

    CH View Distance Addon

    It's probably because you have different terrain quality setting when you in vehicle and on foot. Changing terrain quality from "Low" to "Very High" could cause lag.
  18. Oh yeah, it works now. Must be something wrong on my side. Another little thing: when you save new loadout it doesn't appear in the list right away, you need to close and open window for it to show up. In vanilla Arsenal it just closes "save" dialog after you press save button.
  19. Thanks for update. Works fine now. I was wondering is it possible to have a "light version" of your script, which doesn't have all those fancy settings and popup windows and blocked shortcuts, but it just removes restricted items when you load them from saved loadout? P.S. "LARs_overrideVA_showMsg = -1" doesn't show any messages for me.
  20. Thanks. I was looking for some options. That's why didn't just report error. P.S. Can you make Esc close Arsenal? It's like muscle memory for me and with your script it doesn't do anything.
  21. You totally ignored that part about RPT error :D
  22. Larrow's script gives some RPT errors. I don't trust it :) 9:31:47 Error Zero divisor 9:31:47 File C:\Users\Vlad\Documents\Arma 3 - Other Profiles\Champ\missions\override_VA_templates.VR\LARs\override_VA_templates\functions\fn_overrideVAButtonDown.sqf, line 67
  23. Is there any good solution for this yet? It seems like this bug have been in game since September 2016 and still no one notices it. Btw, code above doesn't prevent players from loading loadouts. They still can use hotkeys to open same menu. You need much more complex code to block hotkeys too.
  24. champ-1

    CH View Distance Addon

    If you running CBA you can access view distance settings with hotkey. You can configure your hotkeys in "Options > Controls > Configure Addons > CH View Distance".
  25. champ-1

    CH View Distance Addon

    CH View Distance v1.12 Changelog: v1.12 - hotfix: broken sliders and some minor fixes Download or Subscribe on Steam Workshop
×