Jump to content

Holdenman5000

Member
  • Content Count

    3
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About Holdenman5000

  • Rank
    Rookie
  1. I am trying to edit the Black Wasp pylons to allow it to place any of its missiles onto any of its pylons. I tried following some guides but I still cant get it to work. Im not sure if I did it correctly. Could someone help me to take a look? Thanks! class TransportPylonsComponent { class pylons { class Pylon1 { hardpoints[] = {"B_AGM65_DUAL_RAIL", "I_AGM65_DUAL_RAIL", "B_BOMB_PYLON", "B_MISSILE_PYLON", "B_HARM_INT", "I_HARM_INT", "B_GBU12_DUAL_RAIL", "I_GBU12_DUAL_RAIL", "B_SDB_QUAD_RAIL", "B_AMRAAM_D_DUAL_RAIL", "I_AMRAAM_D_DUAL_RAIL", "B_BIM9X_DUAL_RAIL", "I_BIM9X_DUAL_RAIL"}; // Define hardpoints for AGM-65 missiles priority = 1; // Priority for loading the rack (higher values load first) maxweight = 1000; // Maximum weight that can be carried by this pylon }; class Pylon2 { hardpoints[] = {"B_AGM65_DUAL_RAIL", "I_AGM65_DUAL_RAIL", "B_BOMB_PYLON", "B_MISSILE_PYLON", "B_HARM_INT", "I_HARM_INT", "B_GBU12_DUAL_RAIL", "I_GBU12_DUAL_RAIL", "B_SDB_QUAD_RAIL", "B_AMRAAM_D_DUAL_RAIL", "I_AMRAAM_D_DUAL_RAIL", "B_BIM9X_DUAL_RAIL", "I_BIM9X_DUAL_RAIL"}; priority = 1; maxweight = 1000; }; class Pylon3 { hardpoints[] = {"B_AGM65_DUAL_RAIL", "I_AGM65_DUAL_RAIL", "B_BOMB_PYLON", "B_MISSILE_PYLON", "B_HARM_INT", "I_HARM_INT", "B_GBU12_DUAL_RAIL", "I_GBU12_DUAL_RAIL", "B_SDB_QUAD_RAIL", "B_AMRAAM_D_DUAL_RAIL", "I_AMRAAM_D_DUAL_RAIL", "B_BIM9X_DUAL_RAIL", "I_BIM9X_DUAL_RAIL"}; priority = 1; maxweight = 1000; }; class Pylon4 { hardpoints[] = {"B_AGM65_DUAL_RAIL", "I_AGM65_DUAL_RAIL", "B_BOMB_PYLON", "B_MISSILE_PYLON", "B_HARM_INT", "I_HARM_INT", "B_GBU12_DUAL_RAIL", "I_GBU12_DUAL_RAIL", "B_SDB_QUAD_RAIL", "B_AMRAAM_D_DUAL_RAIL", "I_AMRAAM_D_DUAL_RAIL", "B_BIM9X_DUAL_RAIL", "I_BIM9X_DUAL_RAIL"}; priority = 1; maxweight = 1000; }; class pylonBayLeft1 { hardpoints[] = {"B_AGM65_DUAL_RAIL", "I_AGM65_DUAL_RAIL", "B_BOMB_PYLON", "B_MISSILE_PYLON", "B_HARM_INT", "I_HARM_INT", "B_GBU12_DUAL_RAIL", "I_GBU12_DUAL_RAIL", "B_SDB_QUAD_RAIL", "B_AMRAAM_D_DUAL_RAIL", "I_AMRAAM_D_DUAL_RAIL", "B_BIM9X_DUAL_RAIL", "I_BIM9X_DUAL_RAIL"}; priority = 2; maxweight = 1000; }; class pylonBayRight1 { hardpoints[] = {"B_AGM65_DUAL_RAIL", "I_AGM65_DUAL_RAIL", "B_BOMB_PYLON", "B_MISSILE_PYLON", "B_HARM_INT", "I_HARM_INT", "B_GBU12_DUAL_RAIL", "I_GBU12_DUAL_RAIL", "B_SDB_QUAD_RAIL", "B_AMRAAM_D_DUAL_RAIL", "I_AMRAAM_D_DUAL_RAIL", "B_BIM9X_DUAL_RAIL", "I_BIM9X_DUAL_RAIL"}; priority = 2; maxweight = 1000; }; class pylonBayCenter1 { hardpoints[] = {"B_AGM65_DUAL_RAIL", "I_AGM65_DUAL_RAIL", "B_BOMB_PYLON", "B_MISSILE_PYLON", "B_HARM_INT", "I_HARM_INT", "B_GBU12_DUAL_RAIL", "I_GBU12_DUAL_RAIL", "B_SDB_QUAD_RAIL", "B_AMRAAM_D_DUAL_RAIL", "I_AMRAAM_D_DUAL_RAIL", "B_BIM9X_DUAL_RAIL", "I_BIM9X_DUAL_RAIL"}; priority = 3; maxweight = 1000; }; class pylonBayCenter2 { hardpoints[] = {"B_AGM65_DUAL_RAIL", "I_AGM65_DUAL_RAIL", "B_BOMB_PYLON", "B_MISSILE_PYLON", "B_HARM_INT", "I_HARM_INT", "B_GBU12_DUAL_RAIL", "I_GBU12_DUAL_RAIL", "B_SDB_QUAD_RAIL", "B_AMRAAM_D_DUAL_RAIL", "I_AMRAAM_D_DUAL_RAIL", "B_BIM9X_DUAL_RAIL", "I_BIM9X_DUAL_RAIL"}; priority = 3; maxweight = 1000; }; class pylonBayCenter3 { hardpoints[] = {"B_AGM65_DUAL_RAIL", "I_AGM65_DUAL_RAIL", "B_BOMB_PYLON", "B_MISSILE_PYLON", "B_HARM_INT", "I_HARM_INT", "B_GBU12_DUAL_RAIL", "I_GBU12_DUAL_RAIL", "B_SDB_QUAD_RAIL", "B_AMRAAM_D_DUAL_RAIL", "I_AMRAAM_D_DUAL_RAIL", "B_BIM9X_DUAL_RAIL", "I_BIM9X_DUAL_RAIL"}; priority = 3; maxweight = 1000; }; class pylonBayCenter4 { hardpoints[] = {"B_AGM65_DUAL_RAIL", "I_AGM65_DUAL_RAIL", "B_BOMB_PYLON", "B_MISSILE_PYLON", "B_HARM_INT", "I_HARM_INT", "B_GBU12_DUAL_RAIL", "I_GBU12_DUAL_RAIL", "B_SDB_QUAD_RAIL", "B_AMRAAM_D_DUAL_RAIL", "I_AMRAAM_D_DUAL_RAIL", "B_BIM9X_DUAL_RAIL", "I_BIM9X_DUAL_RAIL"}; priority = 3; maxweight = 1000; }; class pylonBayCenter5 { hardpoints[] = {"B_AGM65_DUAL_RAIL", "I_AGM65_DUAL_RAIL", "B_BOMB_PYLON", "B_MISSILE_PYLON", "B_HARM_INT", "I_HARM_INT", "B_GBU12_DUAL_RAIL", "I_GBU12_DUAL_RAIL", "B_SDB_QUAD_RAIL", "B_AMRAAM_D_DUAL_RAIL", "I_AMRAAM_D_DUAL_RAIL", "B_BIM9X_DUAL_RAIL", "I_BIM9X_DUAL_RAIL"}; priority = 3; maxweight = 1000; }; class pylonBayCenter6 { hardpoints[] = {"B_AGM65_DUAL_RAIL", "I_AGM65_DUAL_RAIL", "B_BOMB_PYLON", "B_MISSILE_PYLON", "B_HARM_INT", "I_HARM_INT", "B_GBU12_DUAL_RAIL", "I_GBU12_DUAL_RAIL", "B_SDB_QUAD_RAIL", "B_AMRAAM_D_DUAL_RAIL", "I_AMRAAM_D_DUAL_RAIL", "B_BIM9X_DUAL_RAIL", "I_BIM9X_DUAL_RAIL"}; priority = 3; maxweight = 1000;
  2. Holdenman5000

    'a' encountered instead of '=' error

    Sorry for the late reply. I will go find the proper way to do this. Thanks!
  3. Im trying to repack a custom mod with arma 3 tools but im getting an error in line 14 for 'a' encountered instead of '='. The thing is that line 14 is blank... Im very new to modding and scripting and would appreciate it if someone could take a look and provide some feedback. Thanks! class CfgVehicles { class B_Plane_Fighter_01_F; // Base class for the Black Wasp class B_Plane_Fighter_01_StealthWasp : B_Plane_Fighter_01_F { scope = 2; // Set the scope to 2 to make the class accessible displayName = "Stealth Wasp"; // Display name radarTargetSize = 0.65; // Adjust these values as needed radarTargetSizeConc = 0.65; irTargetSize = 0.75; irTargetSizeConc = 0.75; // Laser Interception Script laserFiring = false; this addEventHandler ["FiredNear", { params ["_missile", "_shooter", "_distance"]; // Check if the missile is targeting this vehicle if (vehicle _missile == _this) then { // Trigger laser firing sound _missile playSound3D "Explosion15"; // Calculate the distance between the missile and this vehicle _missileDistance = _missile distance _this; // Check if the missile is intercepted (distance threshold can be adjusted) if (_missileDistance < 100) then { // Trigger explosion particle effects _missile spawn { sleep 0.1; deleteVehicle _this; }; _this spawn { sleep 0.5; deleteVehicle _this; }; // Play explosion sound _this playSound3D "Explosion20"; // Apply any other gameplay effects // Reset laserFiring state laserFiring = false; }; }; }]; while {true} do { // Sleep for a short duration before checking again sleep 0.1; }; }; };
×