Author Topic: Can't place explosives or drop friendly personnel [RESOLVED]  (Read 2714 times)

SFC (Ret) Otto

  • 11B4O Infantryman
  • Retired
  • Posts: 196
Can't place explosives or drop friendly personnel [RESOLVED]
« on: February 22, 2016, 07:58:52 PM »
I think I may have found the issue with not being able to place explosives or drop friendly personnel.

It appears that the removeAllActions script command interferes with ACE 3. See below.

Github ACE 3 Issue Tracker

Our "Viewdistance.sqf" script
Code: [Select]
/*
50 - smoothest, less lag
25 - default in multiplayer
12.5 - default in singleplayer
6.25
3.125 - bumpiest, higher lag
*/

 if (!local _unit) exitWith {};

removeallactions player;

view1 = player addAction ["Grass Off", {
setTerrainGrid 50;
player removeAction view1;
player removeAction view2;
player removeAction view3;
player removeAction view4;
player removeAction view5;
player removeAction view6;
player removeAction view7;
view = player addAction ["Settings", "scripts\Viewdistance.sqf", [],-99,false,false];
}, [],-93,false,false,"","alive player"];

view2 = player addAction ["Low", {
setTerrainGrid 25;
player removeAction view1;
player removeAction view2;
player removeAction view3;
player removeAction view4;
player removeAction view5;
player removeAction view6;
player removeAction view7;
view = player addAction ["Settings", "scripts\Viewdistance.sqf", [],-99,false,false];
}, [],-94,false,false,"","alive player"];

view3 = player addAction ["Normal", {
setTerrainGrid 12.5;
player removeAction view1;
player removeAction view2;
player removeAction view3;
player removeAction view4;
player removeAction view5;
player removeAction view6;
player removeAction view7;
view = player addAction ["Settings", "scripts\Viewdistance.sqf", [],-99,false,false];
}, [],-95,false,false,"","alive player"];

view4 = player addAction ["High", {
setTerrainGrid 6.25;
player removeAction view1;
player removeAction view2;
player removeAction view3;
player removeAction view4;
player removeAction view5;
player removeAction view6;
player removeAction view7;
view = player addAction ["Settings", "scripts\Viewdistance.sqf", [],-99,false,false];
}, [],-96,false,false,"","alive player"];

view5 = player addAction ["Ultra", {
setTerrainGrid 3.125;
player removeAction view1;
player removeAction view2;
player removeAction view3;
player removeAction view4;
player removeAction view5;
player removeAction view6;
player removeAction view7;
view = player addAction ["Settings", "scripts\Viewdistance.sqf", [],-99,false,false];
}, [],-97,false,false,"","alive player"];

view6 = player addAction ["", {}, [],-98,false,false,"","alive player"];

view7 = player addAction ["Disable Settings", {
Removeallactions player;
}, [],-99,false,false,"","alive player"];

« Last Edit: February 23, 2016, 08:06:59 PM by SSG Otto »
W. OTTO
SFC, USA
Retired


SGT (Ret) T. Cummings

  • 68W Health Care Specialist
  • Retired
  • Posts: 240
Re: Can't place explosives or drop friendly personnel
« Reply #1 on: February 22, 2016, 10:54:23 PM »
From my Point of View I don't understand why we don't remove this script entirely?

Considering the fact is that you can change it in your own settings.

Yes that it may be quick to change the terrain quality but if it causes this issue then the script is of more concern and logical to remove.
T. CUMMINGS
SGT, USA
Retired


1LT (Ret) Ryan

  • 11A Infantry Officer
  • Retired
  • Posts: 374
Re: Can't place explosives or drop friendly personnel
« Reply #2 on: February 23, 2016, 08:45:43 AM »
Thanks for reporting this, frankly that bug is annoying as hell.

I'll test it tonight to be sure and hopefully have a fix by the op.
J. RYAN
1LT, USA
Retired


1LT (Ret) Ryan

  • 11A Infantry Officer
  • Retired
  • Posts: 374
Re: Can't place explosives or drop friendly personnel
« Reply #3 on: February 23, 2016, 08:01:12 PM »
Solution found and applied, it was fairly easy, wish i'd caught it sooner.

This will be applied for Operation, my mission pack will follow this weekend at some point.

Thanks for posting this SSG.
J. RYAN
1LT, USA
Retired


SFC (Ret) Otto

  • 11B4O Infantryman
  • Retired
  • Posts: 196
Re: Can't place explosives or drop friendly personnel
« Reply #4 on: February 23, 2016, 08:06:46 PM »
I'm glad it was an easy fix! Thanks for looking into it LT.
W. OTTO
SFC, USA
Retired