ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

Ships dont have speedlimiter

Open Ghost77788 opened this issue 10 years ago • 1 comments

Arma 3 Version: 1.64 (stable) CBA Version: 3.0.0 (stable ) ACE3 Version: 3.7.0 (stable)

Mods:

  • @CBA_A3
  • @ace

Description:

  • Seeing as boats have throttles i would like to see the implementation of speedlimiter to boats. In addition lowering the minimum speed capable because boats have greater speed control.

Steps to improve: from file XEH_postinit.sqf in the ace_vehicle.pbo Starting at Line 17. // Conditions: canInteract if !([ACE_player, objNull, ["isnotinside"]] call EFUNC(common,canInteractWith)) exitWith {false}; // Conditions: specific if !(ACE_player == driver vehicle ACE_player && {vehicle ACE_player isKindOf 'Car' || {vehicle ACE_player isKindOf 'Tank'} || {vehicle ACE_player isKindOf 'Ship'}}) exitWith {false};

        GVAR(isUAV) = false;
    // Statement
    [ACE_player, vehicle ACE_player] call FUNC(speedLimiter);
    true
};

And from file fnc_speedlimiter.sqf in the ace_vehicle.pbo Starting at LINE 31.

private _maxSpeed = speed _vehicle max 10;
if (_vehicle isKindOf "Ship") then {_maxSpeed = speed _vehicle max 5;};

Where did the issue occur? No Error

Placed Modules: None

RPT log file:

  • Add a link (gist or pastebin) to the client and/or server RPT file. An instruction to find your RPT files can be found here.
  • If possible at the time the bug is encountered, go to ACE Options and select "Debug To Clipboard", this will print extensive debug information to the RPT file.

Ghost77788 avatar Oct 02 '16 23:10 Ghost77788

#3594

commy2 avatar Oct 03 '16 00:10 commy2