grendel [aps] 0 Posted May 10, 2009 Is there any way to ensure that all ai vehicles, and not just RACS, are unlocked as a default? I'd like to be able to capture abandoned enemy vehicles or jump in an allied vehicle and get a lift to the battle. I know you can get into human bought vehicles but ai bought remain locked. I've altered the "SetVehicleLock" sqf file in the Client/PVFunctions folder to: Private["_unlocked","_vehicle"]; _vehicle = _this Select 0; _unlocked = _this Select 1; _vehicle Lock _unlocked; And the "RequestVehicleLock" sqf in the Server/PVFunctions folder to: Private["_client","_unlocked","_side","_vehicle"]; _side = _this Select 0; _client = _this Select 1; _vehicle = _this Select 2; _unlocked = _this Select 3; _vehicle Lock _locked; [CMDSETVEHICLELOCK,_vehicle,_unlocked] Exec "Server\Server_CommandToClients.sqs" While the above settings cause no errors, ai vehicles remain locked. Any help appreciated. Even if it's to confirm my worry that it can't be done. Share this post Link to post Share on other sites
Doomguy 0 Posted May 10, 2009 It's easy, in the file Server\Server_BuyUnit.sqs look for the label #LockVehicle. There, change _vehicle Lock true into _vehicle Lock false Note that you may pork the AI if you board their vehicles while they are still operational. Doomguy Share this post Link to post Share on other sites
grendel [aps] 0 Posted May 11, 2009 Excelent! Thanks Doomguy. Share this post Link to post Share on other sites