Search the Community
Showing results for tags 'script error'.
Found 4 results
-
After A3 update, CUP workshop mods giving script errors
Boss-Starstreams posted a topic in ARMA 3 - TROUBLESHOOTING
Note: I'm not having an issue with the base game (all add-ons disabled) after the last update at the time of this post: Hotfix 1.82 ArmA3 vers, 1.82.144710, I'm getting a few script errors. Seems every major update for A3 breaks the mods. I don't blame BIS for that. But some people are saying to go to CUP's website and download the add-ons because the workshop can't handle huge files. Some are saying that BIS never anticipated such large downloads. What ever the cause, I thought the whole point of using the workshop was the have your mods kept up to date automatically. Has anyone else experienced this when adding CUP assets into the editor and then playing the game? No Entry 'bin\config.bin/CUP_D_RadarProtocal_RU/SentConvering.'. There's also another error I'm getting that's freezing the game temporary until the error leaves the screen. Something about a Transit function. Again, everything was fine till this last main update to A3. These CUP mods are HUGE, I don't what to have to download them all again, but I guess I don't have a choice. The only mods I'm running are CUP, CBA, Eden settings and RedHammer. These are are workshop subscriptions. I've tried the Repair feature on each and every mod. Everything show OK for the status. I don't know what to do with this, and ArmA3 is getting to be more work then it's fun. I'm always trying to fix things after each major update. Maybe I just need to turn updates off once everything is working and not update again until everything settles. EDIT Well I just downloaded all the CUP add-ons, added them manually to the launcher options, and I'm still getting bin, function.. ect..ect errors. Like I said, every time there is an update to ArmA3, something gets broke. I don't remember dealing with this as often back in the A2 days. I'm getting sick of spending all my time trouble shooting this game. BIS, stop releasing DLC's and focus on compatibility. 22 years I've been playing this since OFP, and I'm about to hang it up with this title. -
I'm getting an "Error Missing ;" in the code below. I'm at a lose as to way. Either I'm blind or I'm missing something basic scripting wise. If I remove the if-statement, there are no errors and it works. What am I missing here? addMissionEventHandler [ "TeamSwitch", { private ["_from","_to","_grpFrom","_grpTo"]; _from = _this select 0; _to = _this select 1; _grpFrom = group _from; _grpTo = group _to; _grpTo selectLeader _to; if (_grpFrom != _grpTo) { systemChat "DEBUG: Switched group."; }; } ]; The error I'm getting is as seen below: 19:19:25 Error in expression <ectLeader _to; if (_grpFrom != _grpTo) { systemChat "DEBUG: Switched group."; }> 19:19:25 Error position: <{ systemChat "DEBUG: Switched group."; }> 19:19:25 Error Missing ; 19:19:25 File C:\Users\Søren\Documents\Arma 3 - Other Profiles\Lassen\missions\My_Missions\Freedom.Altis\init.sqf, line 11 19:19:25 Error in expression <ectLeader _to; if (_grpFrom != _grpTo) { systemChat "DEBUG: Switched group."; }> 19:19:25 Error position: <{ systemChat "DEBUG: Switched group."; }> 19:19:25 Error Missing ; 19:19:25 File C:\Users\Søren\Documents\Arma 3 - Other Profiles\Lassen\missions\My_Missions\Freedom.Altis\init.sqf, line 11 19:19:25 Error in expression <.Altis\init.sqf" addMissionEventHandler [ "TeamSwitch", { private ["_from","_to"> 19:19:25 Error position: <[ "TeamSwitch", { private ["_from","_to"> 19:19:25 Error Generic error in expression 19:19:25 File C:\Users\Søren\Documents\Arma 3 - Other Profiles\Lassen\missions\My_Missions\Freedom.Altis\init.sqf, line 1
-
Hey all. I've decided to make my own mod for personal use. I've no problems with export to PBO, I've managed to learn enough to not get any export errors - but I've failed to find out why my vest isn't showing in the list of vests in Arsenal. Here is my config.cpp: #define private 0 #define protected 1 #define public 2 #define true 1 #define false 0 class CfgPatches { class DenMenMod { units[] = {"DenMen_Vest"}; weapons[] = {"OD_Heavy_Vest"}; requiredVersion = 0.1; requiredAddons[] = {"A3_Characters_F"}; }; }; class cfgWeapons { class Vest_Camo_Base; // External class reference class V_PlateCarrierIAGL_dgtl; // External class reference class VestItem; // External class reference class OD_Heavy_Vest : V_PlateCarrierIAGL_dgtl { author = "DenMen"; displayname = "OD Heavy Vest"; model = "A3\Characters_F_Beta\INDEP\equip_ia_ga_carrier_gl_rig"; picture = "\A3\Characters_F_Mark\Data\UI\icon_ga_carrier_gl_rig_digi.paa"; scope = public; hiddenSelections[] = {"camo1", "camo2"}; hiddenSelectionsTextures[] = {"\DenMen\Data\OD.paa", "\DenMen\Data\OD_h.paa"}; descriptionShort = $STR_A3_SP_AL_IV; class ItemInfo : VestItem { uniformModel = "\A3\Characters_F_beta\INDEP\equip_ia_ga_carrier_gl_rig.p3d"; containerClass = "Supply120"; mass = 80; hiddenSelections[] = {"camo1", "camo2"}; class HitpointsProtectionInfo { class Neck { hitpointName = "HitNeck"; armor = 10; passThrough = 0.5; }; class Arms { hitpointName = "HitArms"; armor = 10; passThrough = 0.5; }; class Chest { hitpointName = "HitChest"; armor = 80; passThrough = 0.6; }; class Diaphragm { hitpointName = "HitDiaphragm"; armor = 80; passThrough = 0.6; }; class Abdomen { hitpointName = "HitAbdomen"; armor = 25; passThrough = 0.3; }; class Pelvis { hitpointName = "HitPelvis"; armor = 25; passThrough = 0.3; }; class Body { hitpointName = "HitBody"; passThrough = 0.8; }; }; }; }; }; class cfgMods { author = "DenMen"; };
-
When I launch arma 3 after using addon builder I get this error: --------------------------- Arma 3 --------------------------- File Pointman_Industires\rhib\config.cpp, line 241: '/CfgVehicles/RHIB.define': 'D' encountered instead of '=' --------------------------- OK --------------------------- class DefaultEventhandlers; class CfgPatches { class CAWater { units[] = { "RHIB" }; weapons[] = {}; requiredVersion = 0.10; requiredAddons[] = {"A3_Data_F"}; }; }; #define mag_xx(a, class _xx_##a {magazine = a; count = b;} #define weap_xx(a, class _xx_##a {weapon = a; count = b;} #define DefaultWestMagazines(x) \ class TransportMagazines \ { \ };\ #define DefaultEastMagazines(x) \ class TransportMagazines \ { \ }; #define DefaultGuerMagazines(x) \ class TransportMagazines \ { \ }; #include "basicDefines.hpp" #include "CrewAnimations.hpp" class CfgVehicles { class All; class AllVehicles:All { class ViewPilot; }; class Ship: AllVehicles { unitInfoType=UnitInfoCar; //By default no hud information class HitPoints { class HitEngine {armor=1.2;material=60;name="motor";visual="motor";passThrough=1;} }; class NewTurret; class Turrets; enableGPS = false; getInAction = GetInLow; getOutAction = GetOutLow; cargoGetInAction[] = {"GetInLow"}; cargoGetOutAction[] = {"GetOutLow"}; class MarkerLights { class RedStill { name = "cerveny pozicni"; color[] = {1.0, 0.1, 0.1, 1}; ambient[] = {0.1, 0.01, 0.01, 1}; brightness = 0.01; blinking = false; }; class GreenStill { name = "zeleny pozicni"; color[] = {0.1, 1.0, 0.1, 1}; ambient[] = {0.01, 0.1, 0.01, 1}; brightness = 0.01; blinking = false; }; class WhiteStill { name = "bily pozicni"; color[] = {1.0, 1.0, 1.0, 1}; ambient[] = {0.1, 0.1, 0.1, 1}; brightness = 0.01; blinking = false; }; }; class ViewPilot: ViewPilot { initFov=0.7; minFov=0.25; maxFov=1.4; initAngleX=0; minAngleX=-65; maxAngleX=+85; //Rg initAngleY=0; minAngleY=-150; maxAngleY=+150; //Rg }; precision=10; class Eventhandlers : DefaultEventhandlers {}; class DestructionEffects{}; }; class Boat: Ship { // boats are quite able to maneuver precisely and brake fast precision=6; brakeDistance=20; }; class RHIB: Boat { scope=2; displayName="PMI_RHIB"; vehicleClass = "Ship"; accuracy=0.50; crew = "B_Soldier_F"; faction="NATO"; side="West"; model="Pointman_Industires\RHIB\rhib"; picture="Pointman_Industires\RHIB\data\ico\rhib_CA.paa"; Icon="Pointman_Industires\RHIB\Data\map_ico\icomap_RHIB_CA.paa"; mapSize = 8; unitInfoType=UnitInfoShip; //soundEngine[] = {"", db18, 1}; //RHIB_1 soundEnviron[] = {"", db-25, 0.9}; class SoundEvents { /* class AccelerationOut { sound[] = {"\ca\SOUNDS\Vehicles\Water\RHIB\ext-boat-engine-acceler-01", db0, 1.0}; limit = "0.3"; expression = "(engineOn*camPos)*gmeterZ"; }; class AccelerationIn { sound[] = {"\ca\SOUNDS\Vehicles\Water\RHIB\ext-boat-engine-acceler-01", db0, 1.0}; limit = "0.3"; expression = "(engineOn*(1-camPos))*gmeterZ"; }; */ }; insideSoundCoef = 1; soundEngineOnInt[] = {"Pointman_Industires\RHIB\sounds\ext-boat-start-01", db-20, 1.0}; soundEngineOnExt[] = {"Pointman_Industires\RHIB\sounds\ext-boat-start-01", db0, 1.0, 150}; soundEngineOffInt[] = {"Pointman_Industires\RHIB\sounds\ext-boat-stop-01", db-20, 1.0}; soundEngineOffExt[] = {"Pointman_Industires\RHIB\sounds\ext-boat-stop-01", db0, 1.0, 150}; class Sounds { /*----------------------------*/ /* EXTERNAL SOUNDS RHIB */ /*----------------------------*/ class Engine { sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-engine-low-01", db0, 0.9, 300}; frequency = "(randomizer*0.05+0.95)*rpm"; volume = "engineOn*(rpm factor[0.5, 0.1])"; }; class EngineHighOut { sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-engine-high-01", db0, 0.8, 300}; frequency = "(randomizer*0.05+0.95)*rpm"; volume = "engineOn*(rpm factor[0.4, 1.3])"; }; class IdleOut { sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-engine-idle-03", db-5, 1.0, 150}; frequency = "1"; volume = "engineOn*(rpm factor[0.3, 0])"; }; class WaternoiseOutW0 { sound[] = {"Pointman_Industires\RHIB\sounds\ext-water-noise-nospeed", db-8, 1.0, 100}; frequency = "1"; volume = "(speed factor[7, 0])"; }; class WaternoiseOutW1 { sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-lospd-noise-02", db-8, 1.0, 100}; frequency = "1"; volume = "((speed factor[2, 12]) min (speed factor[12, 2]))"; }; class WaternoiseOutW2 { sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-hispd-noise-02", db-8, 1.0, 100}; frequency = "1"; volume = "(speed factor[9, 18.7])"; }; /*----------------------------*/ /* INTERNAL SOUNDS RHIB */ /*----------------------------*/ /* class EngineLowIn { sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-engine-low-01", db15, 0.9,300}; frequency = "(randomizer*0.05+0.95)*rpm"; volume = "engineOn*(1-camPos)*(rpm factor[0.5, 0.1])"; }; class EngineHighIn { sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-engine-high-01", db15, 0.8,300}; frequency = "(randomizer*0.05+0.95)*rpm"; volume = "engineOn*(1-camPos)*(rpm factor[0.4, 1.3])"; }; class IdleIn { sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-engine-idle-03", db-20, 1.0,150}; frequency = "1"; volume = "engineOn*(1-camPos)*(rpm factor[0.3, 0])"; }; class WaternoiseInW0 { sound[] = {Pointman_Industires\RHIB\sounds\ext-water-noise-nospeed", db-8, 1.0}; frequency = "1"; volume = "(1-camPos)*(speed factor[7, 0])"; }; class WaternoiseInW1 { sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-lospd-noise-02", db-8, 1.0}; frequency = "1"; volume = "(1-camPos)*((speed factor[2, 12]) min (speed factor[12, 2]))"; }; class WaternoiseInW2 { sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-hispd-noise-02", db-8, 1.0}; frequency = "1"; volume = "(1-camPos)*(speed factor[9, 18.7])"; }; */ }; driverAction = RHIB_Driver; cargoAction[] = {RHIB_Cargo}; getInAction = GetInMedium; getOutAction = GetOutMedium; cargoGetInAction[] = {"GetInMedium"}; cargoGetOutAction[] = {"GetOutMedium"}; castDriverShadow=true; castCargoShadow=true; gunnerHasFlares = false; maxSpeed=60; enableGPS = true; transportSoldier = 1; typicalCargo[]={B_Soldier_F}; supplyRadius = 3; class Exhausts { class Exhaust1 { position = "vyfuk start"; direction = "vyfuk konec"; effect = ""; }; }; DefaultWestMagazines(1) cost=10000; armor=30; class AnimationSources { class ReloadAnim{source="reload";weapon="HMG_M2";}; class ReloadMagazine{source="reloadmagazine";weapon="HMG_M2";}; class Revolving{source="revolving";weapon="HMG_M2";}; }; class Turrets: Turrets { class MainTurret: NewTurret { class HitPoints { class HitTurret {armor=0.8;material=60;name="vez";visual="vez";passThrough=1;}; class HitGun {armor=0.6;material=60;name="zbran";visual="zbran";passThrough=1;}; }; stabilizedInAxes = 0; body = "MainTurret"; gun = "MainGun"; animationSourceBody = "mainTurret"; animationSourceGun = "mainGun"; gunnerAction = RHIB_Gunner; gunnerGetInAction = GetInMedium; gunnerGetOutAction = GetOutMedium; ejectDeadGunner = true; outGunnerMayFire = 1; inGunnerMayFire = 0; minElev=-25; maxElev=+60; initElev=5; minTurn=-135; maxTurn=135; initTurn=0; soundServo[]={"A3\sounds_f\dummysound", db-45, 1.0}; //soundServo[]={,db-40,1.0}; gunBeg = "usti hlavne"; //gunBeg = endpoint of the gun gunEnd = "konec hlavne"; //gunEnd = chamber of the gun weapons[]={"HMG_M2"}; magazines[]={"100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red"}; gunnerName = $STR_POSITION_FRONTGUNNER; gunnerOpticsModel = "Pointman_Industires\RHIB\optika_empty"; gunnerForceOptics = 0; startEngine = 0; commanding = 2; primaryGunner = 0; primaryObserver = 1; class ViewOptics { initAngleX=0; minAngleX=-30; maxAngleX=+30; initAngleY=0; minAngleY=-100; maxAngleY=+100; initFov=0.7; minFov=0.25; maxFov=1.1; }; class ViewGunner { initAngleX=5; minAngleX=-65; maxAngleX=+85; //Rg 30; initAngleY=0; minAngleY=-150; maxAngleY=+150; //Rg 0; initFov=0.7; minFov=0.25; maxFov=1.1; }; }; }; class Library { libTextDesc = "One Boat to rule them all"; }; extCameraPosition[]={0,4.0,-14.0}; class Damage { tex[]={}; mat[]={ "Pointman_Industires\RHIB\data\rhib.rvmat", "Pointman_Industires\RHIB\data\rhib.rvmat", "Pointman_Industires\RHIB\data\rhib_destruct.rvmat", "Pointman_Industires\RHIB\data\rhib_dash.rvmat", "Pointman_Industires\RHIB\data\rhib_dash.rvmat", "Pointman_Industires\RHIB\data\rhib_dash_destruct.rvmat" }; }; }; }; /////////////////////////////////////////Found error////////////////////////////////////////