Jump to content

MrMichael

Member
  • Content Count

    10
  • Joined

  • Last visited

  • Medals

  • Medals

Community Reputation

10 Good

About MrMichael

  • Rank
    Private
  1. Just tested all solutions above, still end up with the same result as before. On dedicated servers, it removes the NVGs but not replace the designator with the flashlight Whereas on local server, it works fine. EDIT: Seems the solution is to remove: if (isServer OR isDedicated) then { then it works. Thanks for you all your help!
  2. Sorry, I didn't know it made a difference. I actually do have it like that In Init.sqf: //NVGs if (isserver) then {execVM "nvg.sqf";}; and in nvg.sqf //if (isserver) then { //while {true} do { //{ // if (side _x == east) then // { // _x removeweapon "NVGoggles_OPFOR"; // _x removePrimaryWeaponItem "acc_pointer_IR"; // _x addPrimaryWeaponItem "acc_flashlight"; // }; // }foreach allUnits; // //sleep 5; //} //}; // //if (isserver) then { //while {true} do { //{ // if (side _x == west) then // { // _x removeweapon "NVGoggles_BLUFOR"; // _x removePrimaryWeaponItem "acc_pointer_IR"; // _x addPrimaryWeaponItem "acc_flashlight"; // }; // }foreach allUnits; // //sleep 5; //} //}; // if (isserver) then { while {true} do { { if (side _x == independent) then { _x removeweapon "NVGoggles_INDEP"; _x removePrimaryWeaponItem "acc_pointer_IR"; _x addPrimaryWeaponItem "acc_flashlight"; _x enableGunLights "forceon"; }; }foreach allUnits; sleep 5; } }; So far it's working with Independant, but only on non-dedicated servers. With dedicated server, it runs up to the point of removing the NVGs, but not removing the IR laser and adding the flashlight. I'll give Kushluk's solution a try now
  3. Hello, I'm trying to make a script that constantly removes nightvision and adds flashlight attachments to units spawned in a dedicated server ZEUS environment. Currently it looks like this in init.sqf: if (isserver) then { while {true} do { { if (side _x == independent) then { _x removeweapon "NVGoggles_INDEP"; _x removePrimaryWeaponItem "acc_pointer_IR"; _x addPrimaryWeaponItem "acc_flashlight"; _x enableGunLights "forceon"; }; }foreach allUnits; sleep 5; } }; While removing nightvision seems to work, the next parts, removing the acc_pointer_ir and adding acc_flashlight do not do anything. It all runs fine on a non-dedicated server, but I have no idea how to make it work on a dedicated server. Does anyone have any ideas on how I could make this work?
  4. Could you elaborate on how you got it working? I seem to be having trouble hosting it on a dedicated server also. The error on launch is: Include file x\cba\addons\main\script_macros_commons.hpp not found.
  5. MrMichael

    [TvT] Gang Warfare

    Updated to v0.3 v0.3 Fixed AI not getting into the fight, added radios to pickup trucks for use with ACRE (Not required).
  6. MrMichael

    [TvT] Gang Warfare

    This is a simple non serious, small scale TvT mission with a twist. You're not fight with or against professional soldiers, but a bunch of thugs. Both sides start with only sidearms, smoke grenades and a pickup truck with supplies in it. There are various backpacks scattered around the map with extra supplies. Situation The two gangs, the P07s and the Rooks have had disputes in the past, but this time it's escalated to a fight over Frankston. Both sides claim this area as their turf and is willing to have a fight over it. There are civilians who live in the town, don't harm them, otherwise the cops will come intervene. We don't want that. Objectives Do what ever it takes to drive the opposing gang from the town. Download links Armaholic mirror: - Gang Warfare (6 vs 6) [ALPHA] v0.3 Ge.tt mirror: http://ge.tt/3s0epvb/v/0 Notes This is my first mission that I've decided to release publicly! Please leave any comments or suggestions for any bugs or how to improve upon the mission! Have fun! Versions v0.3 Fixed AI not getting into the fight, added radios to pickup trucks. v0.2 Fixed some things, added version number. v0.1 Initial release Credits Kegetys' Spectating script 1.06 for Arma 3
  7. I'm not quite sure how to work it. I'm trying: this setOwner 1 but this has a Type Bool Expect Nothing error. I'm assuming I'm doing it horribly wrong?
  8. Hi! I was wondering, how does one use/attach the setOwner command to units for use with the Headless client? I currently have a mission ready made and want to make all Opfor AI, many in different groups to be controlled by this client. Thanks!
  9. MrMichael

    Laser Show, the Mk20, Extensive recoil

    What is a Mk20? If you're talking about the Mk17 (SCAR H), then yes, I kind of find the recoil to be a bit excessive on it, so I tend to stick with 5.56 weapons
  10. MrMichael

    High resolution wallpapers

    Could Bohemia release high resolution variants of the screenshots that could be used for wallpapers please? :)
×