Jump to content

rdvtrdvt

Member
  • Content Count

    6
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About rdvtrdvt

  • Rank
    Rookie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. One of us creates a LAN server (there are five of us and everyone tried to create a server). And almost everytime random player has a problem with the connection. A person connects and immediately disconnects. In this case, messages appear in the chat: - <nickname> connecting - <nickname> connected - <nickname> disconnected. At the same time, the rest of the players can easily connect. Sometimes a player with a problem can connect after several attempts (up to 30), even though no measures are taken to solve the problem. For the game we use RadminVPN (Hamachi analogue) To solve these problems, we tried: 1) Disable windows defender 2) Disable BattleEye 3) Restart the game and the server. How can this problem be solved? If needed, I can send the necessary files and Wireshark logs
  2. Thank you. Now this code works. But I still don't understand how inheritance works. Could you help with one more problem? I want to add "displayToolsForRHSfix" class to inner classes "VehicleSystemsDisplayManagerComponentLeft" and "VehicleSystemsDisplayManagerComponentRight". However, this code removes the parameters that the class already has and I have to restore them (the deleted parameters can be seen in the displayToolsForRHSfix class). Why is class parameters overwritten? After all, I already inherited them from the base class. At the same time, the Components class does not break. class displayToolsForRHSfix { class EmptyDisplay { componentType = "EmptyDisplayComponent"; }; class MinimapDisplay { componentType = "MinimapDisplayComponent"; resource = "RscCustomInfoAirborneMiniMap"; }; class SensorDisplay { componentType = "SensorsDisplayComponent"; range[] = {4000,2000,16000,8000}; resource = "RscCustomInfoSensors"; }; }; class CfgVehicles { class Plane_CAS_01_base_F; class RHS_A10: Plane_CAS_01_base_F { incomingMissileDetectionSystem = "16"; // AA sensor class Components { class VehicleSystemsDisplayManagerComponentLeft { class Components: displayToolsForRHSfix {}; }; class VehicleSystemsDisplayManagerComponentRight { componentType = "VehicleSystemsDisplayManager"; defaultDisplay = "EmptyDisplay"; right = 1; x = "(profilenamespace getvariable [""IGUI_GRID_CUSTOMINFORIGHT_X"", ((safezoneX + safezoneW) - ( (10 * ( ((safezoneW / safezoneH) min 1.2) / 40)) + 0.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)))])"; y = "(profilenamespace getvariable [""IGUI_GRID_CUSTOMINFORIGHT_Y"", (safezoneY + safezoneH - 21 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25))])"; class Components: displayToolsForRHSfix {}; }; }; }; };
  3. I made the code according to yours, but I get the error "config.cpp, line 19... RHS-A10: Member already defined" class CfgPatches { class RHSplaneFIX { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"rhs_main", "rhs_main_loadorder"}; }; }; // RHS_A10: Plane_CAS_01_base_F and RHS_Su25SM_vvs: RHS_Su25_VVS_Base class CfgVehicles { class Plane_CAS_01_base_F; class RHS_A10; class RHS_A10: Plane_CAS_01_base_F { incomingMissileDetectionSystem = "16"; // AA sensor }; class RHS_Su25_VVS_Base; class RHS_Su25SM_vvs; class RHS_Su25SM_vvs: RHS_Su25_VVS_Base { incomingMissileDetectionSystem = 16; // AA sensor }; };
  4. I'm trying to replace the "incomingMissileDetectionSystem" parameter in the A-10C from the RHS mod. For this I use this code: class CfgPatches { class RHSplaneFIX { units[] = {"RHS_A10"}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"rhs_main_loadorder"}; }; }; class RHS_A10; class CfgVehicles { class RHS_A10{ incomingMissileDetectionSystem = "16"; }; }; But this code removes all parameters that are passed to the class from other classes (in this case it is _generalMacro, displayName and others). i read the article "Arma 3: Replacement Config Tutorial"(https://community.bistudio.com/wiki/Arma_3:_Replacement_Config_Tutorial). But if I use the following code, it will create a new class called newRHS_A10 rather than replace the old one. This means that the original aircraft will spawn in various scenarios. class RHS_A10; class CfgVehicles { class newRHS_A10 : RHS_A10{}; };
  5. Which Sensor is responsible for marking missiles on the radar screen? I thought it was "PassiveRadarSensorComponent", but if you take a UH-80 (from the original game) and disable this radar with "this enableVehicleSensor ["PassiveRadarSensorComponent", false];" , but then the warning continues to work (this helicopter has only one sensor). There is nothing on the wiki about such radars
  6. Trying to add GPS for A-10C in RHS mod. To do this, I modify the "VehicleSystemsDisplayManagerComponentLeft" class. (Code below). But after that the class parameters (screenshoot #1) are removed (screenshoot #2) class CfgPatches { class RHSplaneFIX { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"rhsusf_main_loadorder"}; }; }; class CfgVehicles { class Plane_CAS_01_base_F; class RHS_A10 : Plane_CAS_01_base_F { class Components { class VehicleSystemsDisplayManagerComponentLeft { class Components { class MinimapDisplay { componentType = "MinimapDisplayComponent"; resource = "RscCustomInfoAirborneMiniMap"; }; }; }; }; }; }; before patch: https://imgur.com/a/ZZY318j after: https://imgur.com/a/VFbh1M8
×