Disable R3F on mission reward vehicles until mission done

  • Offline night
  • First Blood
  • ***
  • Posts: 96

Disable R3F on mission reward vehicles until mission done

« posted: Apr 01, 2018, 05:55 PM »
Hey Agent, can you please implement that? Right now people can tow or lift all vehicles created with mission_VehicleCapture.sqf as it seems.
I can do myself but don't want to desync with your github.
Thanks!
  • Offline AgentRev
  • Developer
  • Veteran
  • ******
  • Posts: 2493

Re: Disable R3F on mission reward vehicles until mission done

« Reply #1 posted: Apr 03, 2018, 01:12 AM »
I cannot reproduce this bug, everything works fine on my end. Are you able to pinpoint what line in the A3W GitHub that supposedly needs fixing?
  • Offline night
  • First Blood
  • ***
  • Posts: 96

Re: Disable R3F on mission reward vehicles until mission done

« Reply #2 posted: Apr 03, 2018, 01:18 AM »
Seems like r3f is just not disabled by default on mission reward vehicles. Probably mission_VehicleCapture is a good place to add it?
In some missions themselves there are lines to disable r3f, but maybe it can just be done in the mission_VehicleCapture for all of them?
Right now they can tow MBT, jet and a mission i added based on MBT.
  • Offline AgentRev
  • Developer
  • Veteran
  • ******
  • Posts: 2493

Re: Disable R3F on mission reward vehicles until mission done

« Reply #3 posted: Apr 03, 2018, 01:25 AM »
R3F is definitely disabled by default on mission reward vehicles for me. I cannot tow or lift MBTs or any other mission vehicles. Maybe you broke something in your scripts?
  • Offline night
  • First Blood
  • ***
  • Posts: 96

Re: Disable R3F on mission reward vehicles until mission done

« Reply #4 posted: Apr 03, 2018, 02:37 AM »
Just ran diff on missions folders. Everything relevant is identical. Weird.
  • Offline night
  • First Blood
  • ***
  • Posts: 96

Re: Disable R3F on mission reward vehicles until mission done

« Reply #6 posted: Apr 03, 2018, 02:02 PM »
I'm using newer r3f https://pastebin.com/zufU153i
Is there some easy fix maybe?
 :(
  • Offline AgentRev
  • Developer
  • Veteran
  • ******
  • Posts: 2493

Re: Disable R3F on mission reward vehicles until mission done

« Reply #7 posted: Apr 03, 2018, 02:07 PM »


That file is pure cancer, and is one of the reasons why I still haven't migrated to R3F v3. It needs to be completely rewritten down from scratch.
  • Offline night
  • First Blood
  • ***
  • Posts: 96

Re: Disable R3F on mission reward vehicles until mission done

« Reply #8 posted: Apr 03, 2018, 02:10 PM »
So i will revert back to older r3f i guess. Meh.
That's like a third time of going back and forth lol.
  • Offline AgentRev
  • Developer
  • Veteran
  • ******
  • Posts: 2493

Re: Disable R3F on mission reward vehicles until mission done

« Reply #9 posted: Apr 03, 2018, 02:15 PM »
Wait, actually, I think you can simply put this below A3W_lockpickDisabled in createMissionVehicle.sqf:

Code: [Select]
_veh setVariable ["R3F_LOG_disabled", true, true];
I removed that line in v1.4b, I'm not really sure why, I probably thought it was unnecessary to keep it since I added a vehicle lock condition in surveiller_conditions_actions_menu.sqf
  • Offline night
  • First Blood
  • ***
  • Posts: 96

Re: Disable R3F on mission reward vehicles until mission done

« Reply #10 posted: Apr 03, 2018, 02:21 PM »
Thanks!