Storm Posted August 12, 2014 Report Share Posted August 12, 2014 Ok I found a way to stop users from knocking down the ATMs and other objects. You can do this for any object. Open up banks.sqf in the .pbo file I am not really going into detail on how about doing this as it would take a while to explain, but you can get the general idea from my banks.sqf _vehicle_1 = objNull; // Stary if (true) then { _this = createVehicle ["HeliHEmpty",[6324.71, 7787, 0.00143433],[],0,"CAN_COLLIDE"]; _this setDir 244.89; _vehicle_1 = createVehicle ["Infostand_2_EP1", [6324.71, 7787, 0.00143433], [], 0, "CAN_COLLIDE"]; _vehicle_1 attachTo [_this,[0,0,0.6]]; _this = _vehicle_1; }; _vehicle_2 = objNull; //Bash if (true) then { _this = createVehicle ["HeliHEmpty",[4057.35, 11662.7, 0.000128174],[],0,"CAN_COLLIDE"]; _this setDir 207.046; _vehicle_2 = createVehicle ["Infostand_2_EP1", [4057.35, 11662.7, 0.000128174], [], 0, "CAN_COLLIDE"]; _vehicle_2 attachTo [_this,[0,0,0.9]]; _this = _vehicle_2; }; _vehicle_3 = objNull; //Klen if (true) then { _this = createVehicle ["HeliHEmpty",[11461, 11348.6, 0.00143433],[],0,"CAN_COLLIDE"]; _this setDir 132.225; _vehicle_3 = createVehicle ["Infostand_2_EP1", [11461, 11348.6, 0.00143433], [], 0, "CAN_COLLIDE"]; _vehicle_3 attachTo [_this,[0,0,0.6]]; _this = _vehicle_3; }; _vehicle_4 = objNull; //Air if (true) then { _this = createVehicle ["HeliHEmpty",[12063.9, 12636, 0.0584259],[],0,"CAN_COLLIDE"]; _this setDir 190.5211; _vehicle_4 = createVehicle ["Infostand_2_EP1", [12063.9, 12636, 0.0584259], [], 0, "CAN_COLLIDE"]; _vehicle_4 attachTo [_this,[0,0,0.6]]; _this = _vehicle_4; }; _vehicle_5 = objNull; //Hero if (true) then { _this = createVehicle ["HeliHEmpty",[12944.4, 12766.1, 0.00157166],[],0,"CAN_COLLIDE"]; _this setDir 4.05031; _vehicle_5 = createVehicle ["Infostand_2_EP1", [12944.4, 12766.1, 0.00157166], [], 0, "CAN_COLLIDE"]; _vehicle_5 attachTo [_this,[0,0,0.6]]; _this = _vehicle_5; }; _vehicle_23102 = objNull; //Bandit if (true) then { _this = createVehicle ["HeliHEmpty",[1623.8, 7800.66, 0.00140381],[],0,"CAN_COLLIDE"]; _this setDir -239.602; _vehicle_6 = createVehicle ["Infostand_2_EP1", [1623.8, 7800.66, 0.00140381], [], 0, "CAN_COLLIDE"]; _vehicle_6 attachTo [_this,[0,0,0.6]]; _this = _vehicle_6; }; mgm 1 Link to comment Share on other sites More sharing options...
Ghost Posted August 24, 2014 Report Share Posted August 24, 2014 On my server I added Dynamic Traders and added a Banker which trades metals for coins and has the bank dialog. Link to comment Share on other sites More sharing options...
Gr8 Posted August 24, 2014 Report Share Posted August 24, 2014 On my server I added Dynamic Traders and added a Banker which trades metals for coins and has the bank dialog. Good to know, but its in the wrong topic Link to comment Share on other sites More sharing options...
Soul Posted August 27, 2014 Report Share Posted August 27, 2014 _this enableSimulation false; does magic to mgm 1 Link to comment Share on other sites More sharing options...
Storm Posted August 27, 2014 Author Report Share Posted August 27, 2014 _this enableSimulation false; does magic to Yeah on my new one I did this one instead. Just because my old one would disappear due to the heliempty. mgm 1 Link to comment Share on other sites More sharing options...
mgm Posted August 31, 2014 Report Share Posted August 31, 2014 _this enableSimulation false; does magic to So I installed this, jumped in an SUV to test, galloped at the "infostand" and bam it's down (20 meters away from it's usual location). I did some more testing (at other traders) they are like Rocky Balboa, keep coming back up when you beat em good. I think I hit the first one at a sweet angle or something? Anyhow - this has been an improvement for us as it protects the poor infostand most of the time from attacks whereas our previous protection rate was zero. Thanks for sharing. Link to comment Share on other sites More sharing options...
Storm Posted September 1, 2014 Author Report Share Posted September 1, 2014 So I installed this, jumped in an SUV to test, galloped at the "infostand" and bam it's down (20 meters away from it's usual location). I did some more testing (at other traders) they are like Rocky Balboa, keep coming back up when you beat em good. I think I hit the first one at a sweet angle or something? Anyhow - this has been an improvement for us as it protects the poor infostand most of the time from attacks whereas our previous protection rate was zero. Thanks for sharing. Well here is the good thing about the enablesimulation it only does it locally. Meaning if you knock it down, it will only be knocked down for you no other players will see it knocked down. Link to comment Share on other sites More sharing options...
mgm Posted September 3, 2014 Report Share Posted September 3, 2014 Well here is the good thing about the enablesimulation it only does it locally. Meaning if you knock it down, it will only be knocked down for you no other players will see it knocked down. Excellent. It's better than I could come up with. Troublemakers will waste their time lol Link to comment Share on other sites More sharing options...
DangerRuss Posted February 10, 2015 Report Share Posted February 10, 2015 can anyone elaborate on where exactly to add _this setsimulation false _vehicle_187 = objNull; if (true) then { _this = createVehicle ["FoldTable", [6221.2905, 4625.8779, -0.079633094], [], 0, "CAN_COLLIDE"]; _vehicle_187 = _this; _this setDir 118.5292; _this setPos [6221.2905, 4625.8779, -0.079633094]; _this enableSimulation false; }; like so? Link to comment Share on other sites More sharing options...
DangerRuss Posted February 14, 2015 Report Share Posted February 14, 2015 bump Link to comment Share on other sites More sharing options...
DangerRuss Posted February 15, 2015 Report Share Posted February 15, 2015 any input on this would be much appreciated. using the heli pads is probably the least preferable way for me, and so far I can't seem to get _this enableSimulation false; to work as you can still knock stuff down. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now