Jump to content

L3TUC3

Member
  • Content Count

    580
  • Joined

  • Last visited

  • Medals

  • Medals

Everything posted by L3TUC3

  1. L3TUC3

    [Poll] ArmA Reforger / Arm4

    I bought Reforger because I like BIS products and want to mess with the new scripting before A4.
  2. L3TUC3

    Prarie Fire discussion

    I'm enjoying this so far. The only thing I'd like to see change for the official servers is to make it easier to vote/change to a new mission because I'm having a hard time finding any dedicated servers that aren't stuck on mission 01. It appears the vote mechanic disables after a while. I managed to get the vote to work on empty servers, but this means waiting for ~5 minutes while the vote timer goes.
  3. That was pretty fun, but the low FPS was really disappointing and detracted from the experience a lot. Averaged about 20.
  4. I somehow managed to get the "Punch Out" achievement while playing the final Altis Requiem mission, despite operating a tank. I think one of the jet pilots in the mission ejected.
  5. Beyond Hope - Avenging Furies
  6. Thus far every DLC release/DEV staging took a little while to show as purchased for Supporters. They'll fix it.
  7. I was trying out the Combat Patrol sample mission from the samples and it threw an error with a MOUT unit. Is this removed content or something that's not released/part of the dev branch yet?
  8. L3TUC3

    Jets DLC revealed

    I noticed the planes have number decals on them. Will these be akin to RHS vehicle decals and be customizable? Also, if it is a thing, can these be ported to vehicles in general? This would be very welcome addition!
  9. this addEventHandler ["GetIn", { _spot = _this select 1; //the seat the unit got into _unit = _this select 2; //the unit itself if (!(side _unit == west)) then //if the unit got into the vehicle is not side west { _unit action ["Eject", vehicle _unit]; //eject the unit hint "You can't enter this vehicle!" //show a hint }; }]; Adjust as needed.
  10. You'll want to combine the "Take" eventHandler with the isKindOf command this addEventHandler ["Take", { _unit = _this select 0; //the unit doing the action _item = _this select 2; //the item taken if ((_item isKindOf ["Rifle", configFile >> "CfgWeapons"]) || (_item isKindOf ["Pistol", configFile >> "CfgWeapons"]) || (_item isKindOf ["Launcher", configFile >> "CfgWeapons"])) then { _unit setCaptive false; hint "You picked up a weapon enemies will now be hostile!"; }; }]; The eventhandler will fire whenever the unit takes items, and the assigned script using isKindOf will check the item if it's part of a restricted category by looking at the weapon configuration file. For simplicity's sake the example above only checks for rifles, pistols and launchers. Simply add the eventHandler to the player unit init boxes. Check out eventHandlers, odds are they can do a lot of stuff on actions you want already.
  11. Yes. https://community.bistudio.com/wiki/linkItem https://community.bistudio.com/wiki/forceAddUniform https://community.bistudio.com/wiki/addWeapon
  12. L3TUC3

    only pilots fly

    There's a variety of ways to do it. I would use a GetIn and SeatSwitched eventhandler on the vehicle: The GetIn EH will fire when a unit enters a vehicle. You can then check if the unit is in an allowed slot. The same for SeatSwitched (if the unit entered into cargo first, then switched to a pilot seat). The following will probably not work for all situations, but should get you started: this addEventHandler ["GetIn", { _pilots = [pilot1,pilot2]; //variable names of the pilot slot objects _spot = _this select 1; //the seat the unit got into _unit = _this select 2; //the unit itself if (_spot == "driver" && !(_unit in _pilots)) then //if the unit got into the driver seat and is not a pilot { _unit action ["Eject", vehicle _unit]; //eject the unit hint "You are not a Pilot!" //show a hint }; }]; this addEventHandler ["SeatSwitched", { _pilots = [pilot1,pilot2]; //variable names of the pilot slot objects _vehicle = _this select 0; //the vehicle the seats were switched in _unit1 = _this select 1; //the unit initiating the switching _unit2 = _this select 2; //the unit that got switched (if not an emty seat) _spot1 = assignedVehicleRole _unit1; //the new seat for unit 1 _spot2 = assignedVehicleRole _unit2; //the new seat for unit 2 if (_spot1 == "driver" && !(_unit in _pilots)) then { _unit1 action ["Eject", vehicle _unit1]; }; if (_spot2 == "driver" && !(_unit in _pilots)) then { _unit2 action ["Eject", vehicle _unit2]; }; }];
  13. _spawnposarray = ["spawnpos1","spawnpos2","spawnpos3"]; //array with three marker names _spawnpos = selectRandom _spawnposarray; //select a random spawnposition _mygroup = [getmarkerpos _spawnpos, EAST, ["O_officer_F"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; //spawn the unit on the random position. Here's an example.
  14. In this case I don't. That's just the way I've done it before that's worked for me. Thanks.
  15. I've a mission in the works where I need to know how many enemy units are currently in play. My current solution is this: _badguys = east countSide list eastTrig; This simply counts all units on side East in that particular trigger. However this will count units being transported in vehicles as a single unit. So if I've one truck with 10 guys being transported, the count will be 1 instead of 11. How can I get all the crew and transported infantry? I don't really care about knowing how many vehicles there are. Thanks.
  16. L3TUC3

    RHS Escalation (AFRF and USAF)

    Just wanted to say thanks for making all the patchless uniforms. They make it so much nicer to create varied scenarios! Really appreciate it.
  17. I've a problem where scripted disembarked units are getting stuck, refusing to move to their next waypoint. I'm using RHS vehicles. Situation is as follows: Truck is spawned. Squad is spawned. Squad is assigned as cargo. Squad is put in truck cargo. Truck is given TR UNLOAD waypoint. Truck is given waypoint back to original spawn location. Squad is given GET OUT waypoint. Squad is given SAD waypoint on player location. Truck drives to waypoint. Squad gets out. Truck drives away. Squadleader goes to SAD WP, but squadmates are stuck. This happens with other vehicles as well, such as the btr and bmp. The squadleader always works, but the rest does not? I'm thinking that it's got something to do with cargopositions now being considered turrets for FFV. OR the units are somehow not realizing they've disembarked.
  18. Almost two years later, but I got this resolved. Turns out that units that are freshly spawned take a moment to fully initialize/play animations, especially custom content from addons. If you spawn them and force move them immediately into a vehicle, their reload/gesture/heal/ whatever gets interrupted and they become unable to move. By adding a sleep of about 20 after the function call, the units can finish their animations and behave as they should on the waypoints.
  19. L3TUC3

    64-bit Executables Feedback

    No pagefile will still throw out of memory errors with 64bit. No problems with 32bit. 16GB Ram 8GB R9 390
  20. Well, that explains the email spam of random tickets I got today.
  21. There's also a few hats & uniforms still in the files. Quality varies wildly. Old news, even made a little config addon that unlocked them. http://forums.unitedoperations.net/index.php/topic/24672-l3tuc3-a3-addons/
  22. For one of my missions I'm trying to create a slap-dash mobile AT platform by attaching a static Titan AT launcher in the cargo bed of a 4x4 offroad, and it looks and functions admirably with one big problem: The proper animation doesn't seem to be set when the gunner enters the static AT, which is a big no-no for using this. Does anyone know why this happens and if it can be solved? If I remember correctly this wasn't a problem before, at least not in A2.
  23. You got it. Attach it to an invisible atv or something, then give the ATV the waypoint until its at the location you want.
  24. L3TUC3

    [SP] Pilgrimage

    I think it might be the 7.62x54 or 7.62x51 ammo that was added/changed with 1.42. I've had this error pop up pretty often during playthroughs on dev.
  25. L3TUC3

    SAGE camo

    Those would only work for uniforms and vehicles. I'll try to compile a list sometime tomorrow.
×