Search the Community
Showing results for tags 'addons'.
Found 79 results
-
I think my issue is clear from this link. The mod folder normally does contain an addons folder. The developer of the mod comes from my Unit, and they aren't too happy that its not working on my system. Things tried to rectify the issue: Deleted the entire mods list manually, failed. Repaired each mod manually, failed. Rebooted, failed. Confirmed game issue as a verfication of game files also did not fix it. If I linked the mod here, I would end up discharged dishonerably for exposing "classified" items if you will. Please copy and paste this into your browser as inserting an image from a URL is not working for me again: https://imgur.com/a/8Mb4DPN
-
What is the name of the smoke effect that follows a missile launch? I'm currently using this effect mod https://steamcommunity.com/sharedfiles/filedetails/?id=1484261993. But I couldn't find a similar plugin. The settings are at maximum, but is there another setting or a different plugin? I've been scanning for hours but I still can't find this effect. The funny thing is that this effect is almost present in thousands of videos.
-
Tutorial: Installation & Configuration of ArmA3 Dedicated Server
terox posted a topic in ARMA 3 - SERVERS & ADMINISTRATION
CONTENTS Setting up your server What you need how you do it Links Information useful Tools Useful Addons Selecting between Stable & Dev Builds, full or Dedi package installs Port Forwarding Battleye Configuration Location of files Server Admin Commands Running Dedicated Server and client on same machine Running multiple servers on one machine Re-locating MpMissions Bandwidth Optimisation Trouble Shooting & Help Best way to use this thread Live chat help What cannot be done Known Issues Example files CONFIG_Vanilla.cfg Arma3.cfg .Arma3Profile Advanced configuration -profiles AutoServer_Restart.bat File Firedeamon Addons and Mods Basic introduction Installation Miscellaneous Downloading & Addon Management Changelog The tutorial is intended for the lowest level of knowledge and skill, I make no apologies to those who think it is patronising. if you do, why are you reading a tutorial :j: LAST UPDATED: Thursday 21st March 2017 up too and including this post ************************************************************************************ IMPORTANT UPDATE (16th March 2017) arma3server_x64.exe 64 (Released 16th March 2017) 1) Update your firewall rules to include the 64 bit binary 2) BattleEye changes 64 bit binary runs the beserver_x64.dll It also needs a BEServer_x64.cfg (Which is simply a renamed copy of your BEServer.cfg If you run an addon server and are having issues, then try running the 32 bit arma3server.exe until the addon makers have fixed their content ************************************************************************************ SETTING UP YOUR SERVER What you need 1 Standalone Windows server (2008 or later) (Sound and GPU not required) 1 Steam Account Ownership of ArmA3 No longer required if installing the server using the the Dedicated server package. (Required for Headless client or full client install) According to this THIS POST you can run the ArmA3server on Win2003 now This is how you do it. Take note. There are additions within these instructions that you may not need, if you only intend running 1 instance of an Arma3 server on your machine However, adding these superfluous commands and content will not be detrimental to single instance servers Directory paths are all customisable but for the sake of this tutorial, all file examples and command lines used will be consistent with the tutorial instructions Login as Administrator: (You will need to run Arma3server.exe as "Administrator" or "System". Battleye requires it.) Install the latest version of DirectX Recommended to install install the 32 & 64-bit 2013 VC++ redist from https://www.microsoft.com/en-GB/download/details.aspx?id=40784 Create the following empty directories D:\Apps\Steam D:\Games\ArmA3\A3Master D:\Games\ArmA3\A3Files Download steamcmd.exe unpack it and save it to your targetted Steam install directory (E.g D:\Apps\Steam) Run the steamcmd.exe. (This will download and install the required steam files to your custom steam directory) Create an ArmA3_Steam_updater.cmd file, (Example shown below) and save it to D:\Games\ArmA3\A3Files Run the ArmA3_Steam_updater.cmd file Just after logging into Steam, the console window will hang and ask for a validation key Steam will have automatically sent you an email with this validation code, which you then need to input at the command prompt The Update console window should then continue to run and install ArmA3 ((DEV or STABLE) version to the target directory as defined in the .cmd file) eg (D:\Games\ArmA3\A3Master) Create a shortcut for the ArmA3Server_x64.exe on the server desktop Add the following parameters to the Target Line in the shortcut tab of the newly created desktop shortcut -port=2302 (Required if running multiple server instances) "-profiles=d:\Games\Arma3\A3Master" -config=CONFIG_Vanilla.cfg -world=empty -mod= -mod= (Exaclty as it looks, an empty mod parameter so it looks something similar to the following "D:\Games\Arma3\A3Master\arma3server_x64.exe" "-profiles=d:\Games\Arma3\A3Master" -port=2302 -config=CONFIG_Vanilla.cfg -world=empty -mod= Add firewall rules for the UDP ports (See below for -Port information) Add firewall rule for the arma3server_x64.exe Create a simple Notepad document called "CONFIG_vanilla.cfg" and save it to the root folder of your ArmA3 install on the server D:\Games\ArmA3\A3Master (See below for ".cfg" content) Then start up your shortcut, check the server runs. (You will see a console pop up in your desktop after a few seconds) Close the console window down, then you will need to edit the following files which will have been created D:\Games\Arma3\A3Master\Users\Adminstrator\Administrator.Arma3Profile D:\Games\Arma3\A3Master\Users\Administrator\Arma3.cfg These files contain minimal content, and require a lot of editing, so to make this easier, there are example files listed below which you can copy n paste from Restart the server Start up your client Arma3 (Running the same branch as the server, (eg Stable or DEV) and you should then be able to see your server in the server browser (Filters are available to reduce the server list) Login to your server using the password you defined in CONFIG_Vanilla.cfg by typing "/" to open the chat window and then type (#login ADMINPASSWORD followed by enter Once logged in you will be presented with a mission list, select one of the missions to start the game Prove the stability of your server by running BIS missions initially before you start adding user made content You should now have successfully installed and be running a stable "Vanilla" (Default) server You can then set up Battleye, The ArmA3 anti cheat system (See the Battleye Configuration section below) *** SUPPORTING INFORMATION *** USEFUL LINKS, TOOLS & ADDONS Open the spoiler for more info TICKETS RAISED that need your Vote SELECTING DEVELOPMENT OR STABLE BUILD Open the spoiler for more info PORT FORWARDING (ArmA3) (Firewalls) Open the spoiler for more info BATTLEYE CONFIGURATION Open the spoiler for more info LOCATION OF FILES (When setting parameters) Open the spoiler for more info SERVER ADMIN COMMANDS Open the spoiler for more info RUNNING DEDICATED SERVER & CLIENT ON SAME MACHINE If you have followed these instructions, the only known issue, is to make sure you start the server up before you start the steam client Failing to do this causes steam port issues and your client wont be able to connect to the server RUNNING MULTIPLE SERVERS ON SAME MACHINE Open the spoiler for more info RE-LOCATING MPmIssions (For example to a dropbox) Open the spoiler for more info BANDWIDTH OPTIMISATION Open the spoiler for more info TROUBLE SHOOTING Open the spoiler for more info EXAMPLE FILES Arma3_Steam_Updater.cmd CONFIG_Vanilla.cfg ****.Arma3Profile Important to note, the defaul;t B.I classes, Regular, veteran cannot be edited, so if you want to run an edited version, then edit the custom class and run that The following config is set to do just that Arma3.cfg ADVANCED CONFIGURATION -Profiles Open the spoiler for more info AUTO SERVER RESTART .BAT File Open the spoiler for more info Firedeamon Open the spoiler for more info ADDONS & MODS BASIC EXPLANATION Open the spoiler for more info WHITE-LISTING / BLACK-LISTING (How does it work) Open the spoiler for more info ADDON SIGNING Open the spoiler for more info INSTALLATION Open the spoiler for more info MISCELLANEOUS Open the spoiler for more info DOWNLOADING & ADDON MANAGEMENT Open the spoiler for more info CHANGELOG Open the spoiler for more info -
[solved]How to make HUD working
CN_Lurker_1011 posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
i tried to import a JET to ARMA3 base on the reference of TO201, copied the config ,memory points, and proxies form to201, and adjust the axis in memory LOD, rewritten the key parameters in config (i did not touch class MFD), everything just works except the HUD ( only the class To201_parallax_HUD not work),. then i checked the class MFD and MFD_config_reference, noticed that there are three memory points needed in P3D, so i checked the memory LOD and confirmed that memory points was still there with correct names. there must be something i forget for HUD, but i do not find it. -
Hello, I am looking for an experienced developer (or two) that are willing to help my life role-play server expand and grow to something much more unique. The server/community currently uses/has: Lakeside heavily modded Custom mission file with plenty to do Some bugs, not majorly game-breaking 55 players all-time peak 20-40 players average but we have the money to spend on advertising once the server is more unique Approval for Bohemia monetization We're looking for someone who has advanced knowledge in developing scripts (not just configuring) and is familiar with MySQL (not a requirement). I really hope I'm not breaking any rules by posting this but from what I read on the forum guidelines, it seems alright. Just to be safe, I won't be posting any links/mentioning the community name. Please contact me if you're interested, I will look forward to working with you.
-
I have a lattice object that I attached to the technique, but when the technique is defeated, the textures of the lattice object remain the same, I decided to use hiddenSelections[] = {"green", "sand", "broken"}; hiddenSelectionsTextures[] = {"data\green.paa", "data\sand.paa", "data\broken.paa"}; I decided to connect a script that will execute in a .skf file, but the arma does not react in any way, the object remains the same color. Help! How to make an object change color depending on whether the vehicle is alive or not. .sqf file: is there any other way to implement this idea?
-
Whitelisted ACE Arsenal via function in Addon
Nilia posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hi, I'm kinda experienced already with modding of Items, Uniforms and stuff, but I never had to make any functions in ArmA, and I am only beginning to understand it. I was trying to add a Whitelisted ACE Arsenal to an Ammobox via Function: So far I have this: The Structure is (currently) simple: Addons\Arsenal\ The config just utilizes #includes. cfgPatches.hpp: class cfgPatches { class Nilia_Server_Functions { units[]={}; weapons[]={}; requiredVersion=0; requiredAddons[]={}; version="1.0"; versionStr="1.0"; versionAr[]={1,0,0}; author[]= { "Nilia" }; authorUrl=""; magazines[]={}; ammo[]={}; }; }; cfgFunctions.hpp class CfgFunctions { class Nilia_Server_Functions { class Nilia_Server_Functions { file="\Arsenal\functions"; class Nilia_Arsenal { preInit=1; }; }; }; }; In the functions folder: fn_Nilia.Arsenal.sqf if (!isServer) exitWith {}; private _Unit = this; if (!alive _Unit) exitWith { hint "Arsenal could not be Loaded" }; hint "Arsenal was loaded"; [_Unit, ["Item1","Item2","Item3" ] ] call ace_arsenal_fnc_initBox; If I call this function in the init field of an Ammobox (in the 3den Editor) call fn_Nilia_Arsenal; The Mission is Loading as it is supposed to be, the hint "Arsenal was Loaded", but the Arsenal is not added to the Ammobox. (The item1,2,3 are just placeholders for a bunch of Items, the array is confirmed working, when I replace "_Unit" with "Arsenal" and exectVM the Arsenal.sqf in the init field (and name the Ammobox "Arsenal") it is loading properly.) With this function, I want to achieve to load our restricted Arsenal on my Unit's Server in multiple Missions, without having to update every Mission (instead only the Addon), when I add any Items. This Addon is supposed to be running Server Side. Thank you very much for your Help :D -
Intercept: A library for writing Arma Addons in native C++
noubernou posted a topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Intercept is a C/C++ binding interface to the Arma 3 engine (internally referred to as the Real Virtuality or RV engine). It's goal is to provide easy to use library for addon makers to develop addons in a native language, or to develop language extensions for the Arma 3 engine. In a nutshell, Intercept provides a full C/C++ binding system for calling the base C++ functions which are declared in RVEngine for SQF functions. All SQF functions within the RVEngine are actually native code, which is called by SQF via the function names. Intercept bypasses SQF entirely, allowing native C++ plugins to seamlessly interact with the game engine. In essence, Intercept allows for expansions of the game engine, calling internal functionality of the engine which has been exposed via SQF functions. This was the idea behind the intended Java implementation by Bohemia Interactive in Take On Helicopters and was planned for, but never implemented in Arma 3. Intercept not only completes the intended functionality of what Java was meant to provide but has gone much further, including returning data to SQF and multithreaded addons. Intercept works on a host/client based system, in which the host, Intercept itself, hosts client DLLs that implement the Intercept library. The Intercept host handles access to the RV engine by clients through a layer that provides thread concurrency, memory handling, and event dispatching. Client DLLs are then able to be written in a way that can safely ignore most internal nuances of handling data in the RV engine and work with standard C++ STD/STL data types, and only a few specialized objects specific to the game engine. The Intercept library also provides raw C bindings to the C++ versions of SQF functions, so it is entirely possible to use Intercept as the basis for writing in additional scripting languages to the RV engine, such as Python or Lua. You can find more information on our GitHub project page. Technical Details Intercept works by making direct calls to the SQF functions in the RV engine. These functions are themselves C++ functions which are then exposed to SQF for allowing interaction with the underlying game engine; Intercept completely bypasses SQF and allows C++ plugins to interact with the engine directly. User created threads can even be created and by properly using the provided thread concurrency functionality it is possible to execute game functionality safely and concurrently. Intercept clients are able to invoke through the host these commands by provided wrapper functions that replicate and emulate the SQF command namespace (minus some unneeded functionality, like arrays or control structures). These wrapper functions take standard inputs, such as simple primitives like float or bool, and standard std::string arguments and convert them into the proper SQF command variables, providing a seamless layer to the clients. An example of a very simple client that invokes nular, unary, and binary SQF functions (aka functions that take no arguments, a right side argument only, and both a left and right side argument respectively) is demonstrated below and a more examples can be found here. #include <Windows.h> #include <stdio.h> #include <cstdint> #include <sstream> // the Intercept library, only one include required. #include "intercept.hpp" // required exported function to return API version int __cdecl intercept::api_version() { return 1; } // This function is exported and is called by the host each frame. void __cdecl intercept::on_frame() { // get the player object and store it intercept::types::object player = intercept::sqf::player(); // get the post of the player intercept::types::vector3 pos = intercept::sqf::get_pos(player); // build a string... std::stringstream side_chat_msg; side_chat_msg << "Hello Arma World, here is the player pos: " << pos.x << "," << pos.y << "," << pos.z; // send it to the binary SQF sideChat command intercept::sqf::side_chat(player, side_chat_msg.str()); } // Normal Windows DLL junk... BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: break; case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: break; } return TRUE; } Completion Status As of now (3/13/16) Intercept is over 82% language feature complete. You can view the progress of wrapper completion here. Almost all normally used SQF functions are available to the end user, and with the added ability of writing inline SQF code, you can call any function that has not had a wrapper written for it yet (though with a small performance penalty). We will post a release thread when we start releasing builds of the host. Contributions Feel free to contribute as much as you want to this project in terms of time and code. The goal of this project is to be a tool for the community to provide better performing and more complex addons for the Arma 3 platform. If you would like to contribute or want more information please join our Slack channels and get involved! License Intercept is licensed under the MIT license. You can find the full license in the LICENSE file. Prior to commit f9fe4d5 the project was licensed under the GNU/GPL v2 license and continues to be for any commit prior to that.- 52 replies
-
- 31
-
addCuratorAddons with mod - some not working
lawman_actual posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I am trying to get to the bottom of why not all assets from some mods are made available for a zeus curator when initiated through an in-game script. Note that this is not related to needing to adjust the module to read "all addons including unofficial ones" in the editor. I have a script which creates a curator module and assigns it to the designated player (usually me), and is supposed to add all addons to it. This works fine with almost everything; all vanilla factions are added without fault and almost all downloaded mods. However, for a couple of faction mods, some assets are not being added even when some of them are. While it is usually quite consistent which fail to add, it is not always completely. At first I assumed it was a case of some assets in the mod having scopeCurator set such that this was intended, but even having been into the configs and successfully changed it, it still fails most the time. It also wouldn't explain why on some occasions these assets do get added. Here is the script I have been using to add the curator and configure it in singleplayer: _unit = player; // Exit if unit is already curator if (!isNull (getAssignedCuratorLogic _unit)) exitWith { systemChat format["[Zeus] Logic already assigned to %1, remove it first",name _unit]; }; private _curator = missionNamespace getVariable [format["f_zeusCurator_%1",getPlayerUID _unit],objNull]; // Check curator exists, if not create it if !(isNull _curator) then { format["[Zeus] Curator variable already assigned to %1, reassigning", name _unit] remoteExec ["systemChat",_unit]; unassignCurator _curator; deleteVehicle _curator; sleep 1; } else { //format["No Curator.", _curator] remoteExec ["systemChat",_unit]; unassignCurator _curator; f_var_sideCenter = createCenter sideLogic; format["Creating....", _curator] remoteExec ["systemChat",_unit] }; _var = missionNameSpace getVariable ["l_var_sideLogic","Fail"]; // Create a new curator logic _curator = (createGroup f_var_sideCenter) createUnit ["ModuleCurator_F",[0,0,0],[],0,""]; _curator setVariable ["owner",format["%1",getPlayerUID _unit],true]; _curator setVariable ["showNotification",false,true]; _curator setVariable ["Addons",3,true]; //Set Zeus Vision Modes [_curator, [-1, -2, 0]] call bis_fnc_setcuratorvisionmodes; // Assign the passed unit as curator //_unit assignCurator _curator; _unit assignCurator _curator; private _curator = getAssignedCuratorLogic _unit; systemChat format["Curator: %1", _curator];; if (isNull _curator) then { _curator = _unit; }; // If curator is null or not the correct logic exit with an error message. if (isNull _curator || typeOf _curator != "ModuleCurator_F") exitWith { systemChat format["Failed to resolve curator for %1", _unit]; }; // Decide which addons to add based on passed mode _mode = True; _addons = []; switch (typeName _mode) do { case "ARRAY"; case "STRING": { if (_mode isEqualType "") then { if (_mode == "basic") then { // Load predefined basic modules _mode = ["A3_Data_F","A3_Data_F_Curator","A3_Functions_F_Curator","A3_Misc_F","A3_Modules_F_EPB","A3_Ui_F_Curator","A3_Modules_F_Curator","A3_Modules_F_Curator_Misc","CuratorOnly_Modules_F_Curator_Chemlights","CuratorOnly_Modules_F_Curator_Environment","CuratorOnly_Modules_F_Curator_Flares","CuratorOnly_Modules_F_Curator_Ordnance","CuratorOnly_Modules_F_Curator_Smokeshells","A3_Modules_F_Bootcamp","A3_Modules_F_Bootcamp_Misc"]; } else { // Convert to array _mode = [_mode]; }; }; { if (isClass (configFile >> "cfgPatches" >> _x)) then { _addons pushBack (configName (configFile >> "cfgPatches" >>_x)); }; } forEach _mode; }; case "BOOL": { if (_mode) then { // If true was passed, add all available addons to curator list _cfgPatches = configFile >> "cfgPatches"; for "_i" from 0 to (count _cfgPatches - 1) do { _class = _cfgPatches select _i; if (isClass _class) then { _addons pushBack (configName _class); }; }; } else { removeAllCuratorAddons _curator; }; }; }; // Nothing to add! if (count _addons == 0) exitWith {}; // Remove existing addons removeAllCuratorAddons _curator; _curator addCuratorAddons _addons; systemChat format["[Zeus] Added %1 addons",count _addons]; // Reduce costs for all actions _curator setCuratorWaypointCost 0; { _curator setCuratorCoef [_x,0]; } forEach ["place","edit","delete","destroy","group","synchronize"]; systemChat format["[Zeus] Curator set-up complete for %1.",name _unit]; _unit assignCurator _curator; I have checked my patch file that is supposed to be fixing this to ensure that the vehicles are listed in cfgPatches, and that the assets I am looking for have scopeCurator = 2. I am not getting any error messages other than: This confuses me because I read on a biki page that addons can be added "on the fly" for a curator, and it works despite this error message for most addons. So I'm not entirely sure what to be looking for from here. Pointers appreciated. Cheers, Law -
Hi anyone knows why my custom module works when the attribute isTriggerActivated is disabled? (it didn't work when its enable). # Config: class CfgPatches { class FCLA_Modules { units[] = {}; requiredAddons[] = {}; author = "hozlucas28"; version = "2.0"; authorUrl = "https://steamcommunity.com/profiles/76561198137876583/"; requiredVersion = 2.0; }; }; class CfgFactionClasses { class FCLA_Modules { side = 7; priority = 1; displayName = "FCLA"; }; }; class CfgFunctions { class FCLA_Modules { class 3DEN { class createACEObjectAction3DEN {file = "\FCLA_Modules\3DEN\functions\ACE_Actions\fn_objectAction.sqf";}; }; }; }; class CfgVehicles { class Logic; class Module_F: Logic { class AttributesBase { class Default; class Edit; class Combo; class CheckBox; class CheckBoxNumber; class ModuleDescription; }; class ModuleDescription { class Anything; }; }; class FCLA_Module_ACE_Object_Action_v1: Module_F { author = "hozlucas28"; displayName = "Crear acción (ACE - objeto)"; //icon = "\FCLA_Modules\3DEN\data\ACE_Interaction_Object.paa"; //portrait = "\FCLA_Modules\3DEN\data\ACE_Interaction_Object.paa"; category = "FCLA_Modules"; function = "FCLA_Modules_fnc_createACEObjectAction3DEN"; is3DEN = 0; isGlobal = 1; canSetArea = 0; isDisposable = 0; canSetAreaHeight = 0; isTriggerActivated = 1; scope = 2; class Attributes: AttributesBase { class FCLA_Name: Edit { tooltip = "Nombre que tendra la acción."; typeName = "STRING"; property = "FCLA_Name"; displayName = "Nombre"; defaultValue = "''"; }; class FCLA_Icon: Edit { tooltip = "Icono de la acción, opcional.\n• Se recomienda que el tamaño sea de 32x32 en formato '.paa'."; typeName = "STRING"; property = "FCLA_Icon"; displayName = "Icono"; defaultValue = "''"; }; class FCLA_Condition: Edit { tooltip = "Determina que condición/es deben cumplirse para que la acción se muestre.\n• Variables reservadas:\n - _target = entidad asociada a la acción.\n - _player = unidad que ejecuta la acción."; typeName = "STRING"; property = "FCLA_Condition"; displayName = "Condición/es"; defaultValue = "''"; }; class FCLA_Statement: Edit { tooltip = "Determina el código que se ejecutara al seleccionar la acción.\n• Variables reservadas:\n - _target = entidad asociada a la acción.\n - _player = unidad que ejecuta la acción."; typeName = "STRING"; property = "FCLA_Statement"; displayName = "Sentencia/s"; defaultValue = "''"; }; class FCLA_Associated_Object: Edit { tooltip = "Variable de la entidad a la que se le asociara la acción, opcional.\n• Si no se define ningúna variable, se le asociara la acción a la entidad sincronizada solo si es la única sincronizada al módulo."; typeName = "STRING"; property = "FCLA_Associated_Object"; displayName = "Variable"; defaultValue = "''"; }; class FCLA_Type_Of_Action: Combo { tooltip = "• Propia: solo la entidad asociada tiene acceso a la acción.\n• Externa: todas las entidades ajenas a la asociada tienen acceso a la acción."; typeName = "NUMBER"; property = "FCLA_Type_Of_Action"; displayName = "Tipo de acción"; defaultValue = 1; class Values { class Self { name = "Propia"; value = 1; }; class External { name = "Externa"; value = 0; }; }; }; class FCLA_Parent_Path: Edit { tooltip = "Determina en que acción padre se colocara la acción que queremos crear.\n• Por ejemplo:\n- Acción externa = ['ACE_MainActions']\n- Acción propia = ['ACE_SelfActions', 'ACE_Equipment']"; typeName = "STRING"; property = "FCLA_Parent_Path"; displayName = "Padres"; defaultValue = "''"; }; class ModuleDescription: ModuleDescription {}; }; class ModuleDescription: ModuleDescription { description[] = {"Crea una acción ACE 3D asociada a una entidad específica.<br/>• Más información: <a href='https://ace3mod.com/wiki/framework/interactionMenu-framework.html'>https://ace3mod.com/wiki/framework/interactionMenu-framework.html</a>"}; }; }; }; # Function: /* ---------------------------------------------------------------------------- * Author: hozlucas28 * * Description: * Crea una acción ACE 3D para una entidad específica. * * Public: [No] ---------------------------------------------------------------------------- */ params [ ["_module", objNull, [objNull], 0], ["_synchronizedObjects", [], [[]], []], ["_isActivated", true, [true], 0] ]; if ((is3DEN) || (isNull _module) || (!_isActivated)) exitWith {["FCLA (server log): No Entro 1"] call ACE_Common_fnc_serverLog;}; //Verificar argumentos. _name = _module getVariable ["FCLA_Name", ""]; _icon = _module getVariable ["FCLA_Icon", ""]; _condition = _module getVariable ["FCLA_Condition", ""]; _statement = _module getVariable ["FCLA_Statement", ""]; _parentPath = _module getVariable ["FCLA_Parent_Path", []]; _typeOfAction = _module getVariable ["FCLA_Type_Of_Action", -1]; _associatedObject = _module getVariable ["FCLA_Associated_Object", objNull]; _numberOfCompatibleSynchronizedObjects = {!(_x isKindOf "EmptyDetector")} count _synchronizedObjects; if ((_name == "") || (_condition == "") || (_statement == "") || (_typeOfAction <= -1)) exitWith {["FCLA (server log): No Entro 2"] call ACE_Common_fnc_serverLog;["¡Error! El/Un módulo 'Crear acción (ACE - objeto)' no se pudo inicializar con éxito."] call BIS_fnc_error;}; //Pasar ruta de padres y classnames asociadas al formato correcto. _parentPath = parseSimpleArray ([_parentPath, """", "'"] call CBA_fnc_replace); _findedEntity = _synchronizedObjects findIf {!(_x isKindOf "EmptyDetector")}; _associatedObject = if ((_findedEntity > -1) && (_numberOfCompatibleSynchronizedObjects == 1)) then {_synchronizedObjects select _findedEntity;} else {call compile format ["%1", _associatedObject];}; //Crear y asociar acción. _actionCreated = [_name, _name, _icon, [_statement] call FCLA_Common_fnc_stringToCode, [_condition] call FCLA_Common_fnc_stringToCode, {}, [], {[0, 0, 0]}, 2, [false, false, false, false, false], {}] call ACE_Interact_Menu_fnc_createAction; _return = [_associatedObject, _typeOfAction, _parentPath, _actionCreated] call ACE_Interact_menu_fnc_addActionToObject; //Eliminar módulo. //deleteVehicle _module; ["FCLA (server log): Entro " + str _associatedObject + " " + str _return] call ACE_Common_fnc_serverLog;
-
Hello dear people, this is my first forum topic and please dont kill me if I do everything wrong! I am a beginner server administrator and trying to get some things to work. I rented a A3Wasteland server and got it running with https://github.com/MayhemServers/MAYHEM_A3Wasteland.Altis mission. Now theres an addons folder and I try to get some of them working but nothing I tried was a success. For example the buryDeadBody addon can someone explain how to get it running? Im thankful for any help and tipps 😃 Also theres an AI_Spawner folder but I dont get it running too. We hoped to have a nice Wasteland server with occasionally spawning AI troops to support or attack. Im trying my best but its hard. Thank you guys in advance. Nils
-
Hello I know that already has models of T10 parachute but it seems that the project was abandoned so I decided to work on two models of parachutes (MC1 MC4 And T11), mods that I believe will be very useful for the community. I am finishing MC1 and MC4 with only the uv mapping missing and T11 is still on paper. follows some photos of the progress... Sorry for my English: D
- 49 replies
-
- 23
-
Need help adding a map marker to an already existing addon!
rosb posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hi. I'm relatively new to modding Arma 3 and using C++, and I would like to know how to add a script to an existing code block. To illustrate this I will provide an example of what I have already done and what I would like to add. What I have already done: class CfgPatches { class insignia_addon { units[] = {}; weapons[] = {}; requiredAddons[] = {}; version = "1.0.0"; author[] = {author}; authorUrl = "url"; }; }; class CfgUnitInsignia { class patch1 { displayName = "name"; author = "author"; texture = "texture"; textureVehicle = ""; }; class patch2 { displayName = "name"; author = "author"; texture = "texture"; textureVehicle = ""; }; class patch3 { displayName = "name"; author = "author"; texture = "texture"; textureVehicle = ""; }; class patch4 { displayName = "name"; author = "author"; texture = "texture"; textureVehicle = ""; }; class patch5 { displayName = "name"; author = "author"; texture = "texture"; textureVehicle = ""; }; class patch6 { displayName = "name"; author = "author"; texture = "texture"; textureVehicle = ""; }; }; What I would like to add is the following code I found on Arma Dev reddit, which is seven years old. I don't know if it works so if someone could tell me if it still does that would be very appreciated. Here it is: class CfgPatches { class Markers { units[] = {}; weapons[] = {}; requiredVersion=1.00; }; }; class CfgMarkers { class flag1 { name="name"; icon="texture"; color[]={1,1,1,1}; size=32; shadow = 0; scope = 2; markerClass = "Flags"; }; class flag2 { name="name"; icon="texture"; color[]={1,1,1,1}; size=32; shadow = 0; scope = 2; markerClass = "Flags"; }; }; I do not know where to go from where I currently am or where to insert the code. I do not know how to make a separate code block in C++ for the flags. If anyone could help me, I would really appreciate it! -
RCWC Team presents! "1985 Real Soviet Army" pack (1985 RSA) is an element of "1985 Real Cold War Crisis" project, intended to reconstruct Soviet Army units 1969-1991. Download [1]: yadi.sk or Download [2]: mediafire Required addon "NewCloud": Download from yadi.sk or mediafire http://imgur.com/a/3Lar7 More pictures inside the archive with the addon. It contains the following components: ----- MODPACK AUTHORS ----- RCWC Projects Team: GURAN aka Special Soldier alexanbros40 Sovietkot aka st90 Nimus ----- CONSULTANTS ----- Kirill Pen'chinskij Vladislav Danilov Stalker2011 aka Eugene Tackleberry NERV ----- ENGLISH LOCALISATION ----- FOXlauncher SoldierEPilot Nimus -Sapper- ----- SPECIAL THANKS ----- ORCS Development Studio team Psykke RHS OFPCAT Liberation mod team Vladislav Danilov ___________________________________________________________________________________________________________________________ ALL MODELS, TEXTURES AND OTHER COMPONENTS, INCLUDED IN THIS PACK, ARE THE PROPERTY OF THEIR RESPECTIVE OWNERS
-
Door animations not working on terrain
Prodeath21 posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hey guys, I have created several buildings and objects to use them on my terrain. After placing them with the terrain builder and exporting them ingame, the doors are not working anymore. No scroll option either. In EDEN everything is working perfect! Here´s my object class and model.cfg class CfgVehicles { class Static; class PDE_larmschutz_tur : Static { author = "Prodeath21"; displayName = "$STR_PDE_larmschutz_tur"; scope = 2; scopecurator = 2; model = "\projekt_deutschland_structures\larmschutz\larmschutz_tur.p3d"; icon = "iconObject_4x1"; editorCategory = "PDE_Addon"; editorSubcategory = "PDE_larmschutz"; editorPreview = "\projekt_deutschland_structures\larmschutz\icons\preview_PDE_larmschutz_tur.jpg"; class AnimationSources { class Door_1_sound_source { source = "user"; initPhase = 0; animPeriod = 1; sound = "MetalOldDoorsSound"; //From: A3\sounds_f\config.cpp soundPosition = "Door_1_trigger"; }; class Door_1_noSound_source { source = "user"; initPhase = 0; animPeriod = 1; }; class Door_1_locked_source { source = "user"; initPhase = 0; animPeriod = 0.80000001; }; }; class UserActions { class OpenDoor { displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />"; displayName = "$STR_DN_OUT_O_DOOR"; position = "Door_1_trigger"; priority = 1; actionNamedSel = "door"; radius = 2; aiMaxRange = 5.25; onlyForPlayer = 0; condition = "((this animationSourcePhase 'Door_1_sound_source') < 0.5) && (cameraOn isKindOf 'CAManBase')"; statement = "([this, 1, 1] call BIS_fnc_Door)"; }; class CloseDoor: OpenDoor { displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />"; displayName = "$STR_DN_OUT_C_DOOR"; priority = 1; condition = "((this animationSourcePhase 'Door_1_sound_source') >= 0.5) && ((this getVariable ['bis_disabled_Door_1', 0]) != 1) && (cameraOn isKindOf 'CAManBase')"; statement = "([this, 1, 0] call BIS_fnc_Door)"; }; }; }; }; My P3D name: "larmschutz_tur.p3d" class CfgSkeletons { class Default { isDiscrete = 1; skeletonInherit = ""; skeletonBones[] = {}; }; class PDE_larmschutz_sceleton: Default { skeletonInherit = "Default"; skeletonBones[]= { "", "" }; }; class PDE_larmschutz_tur_sceleton: Default { skeletonInherit = "Default"; skeletonBones[]= { "door", "" }; }; }; class CfgModels { class Default { skeletonName=""; sections[]={}; sectionsInherit=""; }; class larmschutz: Default { skeletonName="PDE_larmschutz_sceleton"; sections[]={""}; sectionsInherit=""; }; class larmschutz_tur: larmschutz { skeletonName="PDE_larmschutz_tur_sceleton"; sections[]={""}; class Animations { class Door_1 { type = rotation; source = Door_1_sound_source; selection = door; axis = door_axis; memory = 1; minValue = 0.1; maxValue = 1; angle0 = 0; angle1 = (rad 80); }; }; }; }; In the Geometry LOD I added the propertys "class = building", "map = wall" I allready tryed for 2 weeks without a solution... Thx for your help! :) -
class compartmentsLights [config base]
Piloto_Spyke posted a topic in ARMA 3 - ADDONS & MODS: COMPLETE
Hi, I will post this because i havent found so much info related to class compartmentsLights. I have been helped by reyhard on the Arma 3 Discord. - Requieres the "points" to be defined in the model.p3d Memory LOD. - Requires compartments defined for all: driverCompartments = Compartment1; cargoCompartments[] = {Compartment1}; // and gunnerCompartments = "Compartment1"; in his respective turret class And this in myVehicle class: class compartmentsLights { class Comp1 // first class is asociated with Compartment1, second with Compartment2,.... { class Light1 { color[] = { 100,100,100 }; ambient[] = { 100,100,100 }; intensity = 0.1; size = 0; useFlare = 0; flareSize = 0; flareMaxDistance = 0; dayLight = 0; blinking = 0; class Attenuation { start = 0; constant = 0; linear = 1; quadratic = 70; hardLimitStart = 0.15; hardLimitEnd = 1.0; }; point = "light_interior1"; }; class Light2 : Light1 { point = "light_interior4"; }; class Light3 : Light1 { color[] = { 300,0,0 }; ambient[] = { 300,0,0 }; point = "light_interior2"; class Attenuation: Attenuation { start = 0; constant = 0; linear = 1; quadratic = 70; hardLimitStart = 0.5; hardLimitEnd = 1.5; }; }; class Light4 : Light3 { point = "light_interior3"; }; }; };- 1 reply
-
- 1
-
- class
- compartmentslights
-
(and 2 more)
Tagged with:
-
So, I love that BI included the P90 in Arma 3 bases game, but I was wondering if there would be any mod teams that could bring the AR-7 to the game? It's a perfect weapon for pilots and crewman as it takes up VERY little space in a backpack (and being 22LR the mags are tiny and light). Obviously 22LR isn't very useful against CSAT armor and even most armor, so potentially increasing the caliber up to 9mm for effective sake.
- 1 reply
-
- new content
- mods
-
(and 2 more)
Tagged with:
-
Hey, I am currently working on an Arma object and now want to implement the ladder function on to the model. But it´s not working and I don´t know why. Tryed out several things, but still not working... I also surched for a thread about it but could not fined one. Here´s my object class class Static; class Pro21_Autobahnschild : Static { author = "Prodeath21"; displayName = "$STR_Pro21_autobahnschild"; scope=2; model = "\Pro21_Autobahnschild\autobahnschild\autobahnschild.p3d"; //icon = "\Pro21_Autobahnschild\autobahnschild\icons\autobahnschild.paa"; editorCategory="Pro21_Addon"; editorSubcategory="Pro21_Objects"; //editorPreview="\A3\EditorPreviews_F\Data\CfgVehicles\I_Boat_Transport_01_F.jpg"; //picture = "\Pro21_Autobahnschild\autobahnschild\icons\autobahnschild.paa"; //vehicleClass = ""; ladders[]= { { "Ladder_1_start", "Ladder_1_end", 2.5, "Ladder_1_action" } }; }; I configured: Ladder_1_start -> Memory LOD -> at the start of the ladder Ladder_1_end -> Memory LOD -> at the end of the ladder Ladder_1_action -> Geometry LOD -> geometry selection of the ladder I looked it up here: https://community.bistudio.com/wiki/CfgVehicles_Config_Reference#ladders But the player option to climbe is still not showing up ingame.. Am I missing something? Pls Help Thanks in advance. Transfered to other section --> https://forums.bohemia.net/forums/topic/231663-problems-with-ladder-class-config/
-
Scripting cycling planes with ZSU ambient fire?
EnderZC posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello! I am making a mission with addons. My main idea for the scripting is to have 2-3 airplanes in formation fly over the AO and having a ZSU fire around the airplanes, maybe ocassionaly taking one down. I want these airplanes and ZSU fire to go every 10-15 minutes or so to create ambiance for the soldiers on the ground. If anyone has any solutions/scripts for this I'd be happy to know! Kind regards// Ender from Zeus Community -
How do I allow my mod to be configured via Addon Options?
juleshuxley posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I've noticed that many mods and their keybindings can be tweaked via the "Addon Options" entry in the main menu. How do I give my mod an Addon Options page so the user can change various variables of my mod? -
How to change the mass of an EXISTING uniform?
Isaacdevil posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I've tried everything related to changing the mass field via a CfgWeapons patch of the ItemInfo class but nothing has been working. Any way to change the mass? -
dediserver [Solved] ArmA 3 Dedicated Server > Missing Addons
JFisher posted a topic in ARMA 3 - TROUBLESHOOTING
Hey Guys, So im trying to setup a dedicated server also to play on with my group. I use Ubuntu server and get the following problem when i load the mission: Even tho the mods are loaded: I made all files small letters already (removed capitals) and this is my startup line: ./arma3server -mod="mods\@cba_a3;mods\@cupterrainscore;mods\@cupterrainscwa;mods\@cupterrainsmaps;mods\@lingordingorisland;mods\@rhsafrf;mods\@rhsgref;mods\@rhssaf;mods\@rhsusaf;mods\@task_force_radio;" -port=2302 -name="FisherServer" -config="server.cfg" The folders contain the PBO files that are in the error, I tried to fix it for 5 hours already :/ Anyone have an idea where this is going wrong? -
Error in Updating Damage Values [Help]
Trilux posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I've been tinkering with values of a mod that my Milsim unit uses. With all the mods we have somewhere along the pipeline has overly increased and made more realistic A.I. in which they also have more health but the weapons we use our simulated extremely well. The problem is the mod we use for our mortar damage range just isn't realistic and a direct impact may kill a single person on a group of 20 with no armor on. I wrote a script similar to what I'm doing here but with RHS and updated the weapon damage values just by using CfgPatches and I'm trying to do the exact same thing here but they named their ammo with a "( )" in it. Which upon compiling the addon doesn't allow it to continue as it returns an error along the lines of [line 13 expected = received "("] does anyone know a workaround or how to get this to work properly? TL:DR - Can't update damage of an ammo type because the class name has a symbol in it that the addon builder assumes is apart of the code rather than just being apart of the name. VZ99 CfgAmmo.hpp My CfgPatches in a separate addon I'm creating giving me the error. (Only editing the HE and HE_Multi ammo) As far as I can determine the issue is that the class name having ( ) is the issue but I can't edit the original addon CfgAmmo due to their licensing. If anyone knows a solution I'm open to anything. -
Hi to all! For my server, it was necessary to perform a whitelist for players who connect to the server. To do this, I created a separate mod that works almost perfectly, but the problem is that checking for all given parameters occurs only after a briefing. How to run a script in an addon loop for example when starting the server itself or when connecting the player to the server (not in the game - possibly in the lobby or simply connecting the mission selection screen). Here is my example implementation: config.cpp In config, we create a Security class and set the preInit parameter (I understand that it executes before loading the mission, and I need it when connecting to the server) fn_init.sqf And it works as follows: the server has a config containing an array of player data (name, guid, ban status) and an access password (required in the server configuration using the command serverCommandPassword = "010101"; specify the same password which is also in the "Security \ functions \ config.ccp"). Then after the start of the game (after the briefing) the script makes a check: 1) The presence of GUID in whiteList, if not - kick, if so then step two 2) Checking player on banned: if paremetr false - then next step if parametr true - so does the kick. 3) Checking the registered name if it does not match what is indicated in the whiteList - kick 4) If the player passes all three checks, he successfully connected the game and receives a notification in the chat "Accepted". And now my main question to the specialists (if they are still here is): How to make this script work not when the mission starts, but when the server starts? Any variations are accepted (When connecting the player, when starting in the lobby (but not further than the lobby), it can be a cycle or something). Maybe something smarter than this nonsense.
-
Description LRG Fundamentals is a complete mission makers tool, used to create complex missions with ease. Using the huge Library of functions, settings and modules you can create almost any type of mission. LRG Fundamentals is designed to be entirely modular, meaning you can use as much or as little as you want. By default, the master switches are set to off so only what you want to use will be used. See the Key features below for further details. LRG Fundamentals has been used by the LRG in one form or another for nearly 3 years. At the turn of 2019 we decided to publish our work and make all our files open source. That means your free to download, edit, change and create your own work, based on what's we've already made. Download Links Version 1.6.4 Released 02/04/20 Key Features AI Spawn LRG Main LRG Channels LRG QS Icons LRG Weather Player Attributes Safe Zones Vehicle Loadouts Equipment Loadouts Vehicle Servicing Medical Facilities Zeus Configuration Functions Library Third party Features More information on available functions and features as well as our functions library, our Wiki is available here. How do I get in touch? If you want to find out more about LRG Fundamentals or about the community itself, the best way to get in touch is to join our Discord Server. Issues/Suggestions/Faction Requests If you come across any issues, have an idea for an improvement or simply want another faction added to the AI Spawn module, please submit your request here. Latest Changes v1.6.4 IMPORTANT CHANGE: We've updated the spawn AI modules in Zeus to use Zeus Enhanced (ZEN) instead of Achilles. This is due to the discontinued support of Achilles announced on their Steam page. Unfortunately this won't be backwards compatible as the work required to maintain 2 separate systems wasn't deemed appropriate due to the work this would require. Any further Zeus Modules we add will likely require this mod so if you wish to use these, please download the mod linked above! As before, this is optional, if you don't use Zeus Enhanced, the modules won't appear in Zeus but the rest of the mod will function as before. AI Change - Zeus Modules now use Zeus Enhanced (ZEN) instead of Achilles Tweak - Garrison Radius Default set to 100m Added - Sniper Team Min & Sniper Team Max Options to Spawn AI Modules Medical Tweaked - MedicalFacility set to global to be more reliable in MP FOBs Added - Ability to respawn on deployed FOBs Weather Fixed - Real Weather Change Times
- 38 replies
-
- 9