Search the Community
Showing results for tags 'box'.
Found 4 results
-
Simple script which allows the player to move a crate around and probably load it in vehicle. Paste this in crate, box, etc. init this addAction["Pickup Box",{ _object = (_this select 0); _user = (_this select 1); _object attachTo[_user,[0,1,1],"Pelivs"]; },nil,1.5,false,false,"","true",2,false,"",""]; this addAction["Drop Box",{ { detach _x; _x enableSimulationGlobal true; } forEach attachedObjects player; },nil,1.5,false,false,"","true",2,false,"",""]; You can pick up, move around and drop the crate. Enjoy this dead simple script. 🙂 You can make it "loadable" in a specific vehicle (it work only for RZOR vehicle of SOCOM faction (@RHS USAF) called "rzr" ). Unloading the box is simply using the addAction pickup while you are in the vehicle and then drop it when you get out. this addAction["Load in RZR",{ _object = (_this select 0); _user = (_this select 1); _object attachTo[rzr,[0,-1.1,-0.3]]; },nil,1.5,false,false,"","true",2,false,"",""];
-
Tank Max Speed - Limited by Gears, Torque or...?
lawman_actual posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hey people. I'm working on config for a tank, using other tanks as references to make sure my values hit at least close to workable. Trouble is...I can't seem to get the damned thing past about 28km/h. I can't seem to figure what's holding it back since everything I've checked seems to be at least similar to values for the two tanks above that both work fine. Here are my related entries in vehicles.cfg: accelAidForceCoef = 1.5; accelAidForceSpd = 1.4; brakeDistance = 12; brakeIdleSpeed = 0.1; changeGearMinEffectivity[] = { 0.95, 0.15, 0.95, 0.95, 0.95, 0.95, 0.95 }; changeGearOmegaRatios[] = {1,0.424242,0.454545,0.333333,0.984848,0.424242,0.984848,0.606061,0.984848,0.575758,1,0.545455}; changeGearType = "rpmratio"; //Have also tried "effective" with similar issue. clutchStrength = 45; dampersBumpCoef = 4.5; dampingRateFullThrottle = 1.0; //1.4: T100 0.8: Kamysh dampingRateZeroThrottleClutchDisengaged = 0.65; //0.8: T100 0.5: Kaymsh dampingRateZeroThrottleClutchEngaged = 0.45; //5.0: T100 4.0: Kaymsh driveOnComponent[] = {"Track_L","Track_R","Slide"}; engineMOI = 12; //12 - T100 7 - Kamysh enginePower = 1119; //kW engineStartSpeed = 5; //common value epeImpulseDamageCoef = 18; //Same for T100 and Kuma gearBox[] = {-7,0,11,8,5.7,4.2}; //Same in T100 and Kuma idleRpm = 1200; latency = 0.5; maxOmega = 335; maxSpeed = 80; minOmega = 140; normalSpeedForwardCoef = 0.75; numberPhysicalWheels = 16; peakTorque = 5300; redRpm = 3200; sensitivity = 2.5; simulation = "tankX"; slowSpeedForwardCoef = 0.25; switchTime = 0.3; tankTurnForce = 950000; tankTurnForceAngMinSpd = 0.7; tankTurnForceAngSpd = 0.76; thrustDelay = 0.5; torqueCurve[] = {{0.424242,0.8},{0.545455,0.95},{0.606061,0.99},{0.636364,1},{0.666667,0.98},{0.727273,0.93},{0.878788,0.76},{1,0.6}}; tracksSpeed = 1.35; class complexGearbox { driveString = "D"; //String displayed in HUD for Forward Gear neutralString = "N"; // string to display in the HUD for neutral gear. reverseString = "R"; // string to display in the HUD for reverse gears. gearBoxMode = "auto"; GearboxRatios[] = {"R1",-3.4,"N",0,"D1",4.4,"D2",3,"D3",1.75,"D4",1}; //KUMA //GearboxRatios[] = {"R1",-4.5,"N",0,"D1",7.8,"D2",5.6,"D3",4,"D4",2.9,"D5",2.1,"D6",1.5,"D7",1.1}; //ANGARA moveOffGear = 1; transmissionRatios[] = {"High",11.5}; }; Can't seem to figure this on my own, so help would be appreciated! I've checked vehicle mass and it seems to be as expected (about 52 tonnes) Cheers, Law -
Hi, I recently started to get addicted to Zeus missions and I'm currently working on a second mission for my friends. However this mission is a Campaign. I want to "recreate" the Arma Cold War Assault: Resistance campaign. The Idea is: The players would be spawned in as civilians, each with a different profession for instance, Mechanic, Motorcrosser, Doctor, Chemistry Teacher, etc. Their loadout being matched to that profession. Shorty after the players spawned they will get a radio message signalling the start of the russian invasion into Nogova and they'll have to find the Resistance and support it. They are supposed to recruit civilians, find weapons and ammo and claim vehicles and eventually turn into resistance commanders with the forces they gathered. Now I can deal with the recruits they get and the vehicles they find but I still need a solution for their personal loadout that needs to get saved between missions and a solution to keep all the items they find and store in crates. The problem is I want to keep editing the mission in the editor so I can plan the next mission, enemy moves, etc, etc. But I need to know what my players collected in the crates and on their own loadouts. Maybe there is some way to save the mission while it is in progres or when it ends and to then edit that mission in the editor with every loadout and container inventory saved? I do not want to use arsenal since I know my players and they WILL take weapons and items that are not related to the mission. Also I'm not a scripter. I do understand a few little things but I cannot write a simple script without help. Just so you guys know my level. Thanks in advance.
-
Detect name of player and select the box
bullkanox posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi, i need to know if i can detect what player is executing the script, and then depending of the name of the player send it to the box. thanks for support!!! _fnc_group = [["player_1", box_1], ["player_2", box_2]]; _fnc_select = (_fnc_group select 0) select 1; if (cash< 100) then { hint "no money to buy this!" } else { cash = cash - 100; _fnc_select addWeaponCargoGlobal ["rhs_weap_m4a1_blockII_bk", 1]; _fnc_select addMagazineCargoGlobal ["rhs_mag_30Rnd_556x45_Mk318_Stanag", 1]; hintSilent parseText format["<t color='#00FF3C'>thanks for for you buy</t>"]; };