Advertisement
Brenner650

R3F_DisableLockedVehsTow.nfo

Feb 20th, 2020
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1. Installing R3F logistics on the latest version of exile resulted in locked vehicles being towable/liftable on my server. I've noticed some other people on these and other forums having the same issue so here's the solution to the problem.
  2.  
  3. 1. unPBO @ExileServer\addons\exile_server.pbo.
  4.  
  5. 2. Copy the following 3 files from the code directory in the exile_server pbo to somewhere in your unPBO'ed Exile mission (i.e. Exile.Altis). I recommend creating a folder called overrides in the root mission folder and copying them there:
  6.  
  7. Quote
  8.  
  9. ExileServer_object_lock_network_hotwireLockRequest.sqf
  10.  
  11. ExileServer_object_lock_network_lockToggle.sqf
  12.  
  13. ExileServer_object_vehicle_database_load.sqf
  14.  
  15. 3. In ExileServer_object_lock_network_hotwireLockRequest.sqf
  16.  
  17. Add the following line after "_object enableRopeAttach true;":
  18.  
  19. _object setVariable ["R3F_LOG_disabled", false, true];
  20.  
  21. 4. In ExileServer_object_lock_network_lockToggle.sqf
  22.  
  23. Add the following line after "_object enableRopeAttach true;":
  24.  
  25. _object setVariable ["R3F_LOG_disabled", false, true];
  26.  
  27. Add the following line after "_object enableRopeAttach false;":
  28.  
  29. _object setVariable ["R3F_LOG_disabled", true, true];
  30.  
  31. 5. In ExileServer_object_vehicle_database_load.sqf
  32.  
  33. Add the following line after "_object enableRopeAttach false;":
  34.  
  35. _vehicleObject setVariable ["R3F_LOG_disabled", true, true];
  36.  
  37. Add the following line after "_object enableRopeAttach true;":
  38.  
  39. _vehicleObject setVariable ["R3F_LOG_disabled", false, true];
  40.  
  41. 6. Open config.cpp in your root mission folder and add the following to the CfgExileCustomCode class (assuming you created the overrides directory):
  42.  
  43. ExileServer_object_vehicle_database_load = "overrides\ExileServer_object_vehicle_database_load.sqf";
  44. ExileServer_object_lock_network_lockToggle = "overrides\ExileServer_object_lock_network_lockToggle.sqf";
  45. ExileServer_object_lock_network_hotwireLockRequest = "overrides\ExileServer_object_lock_network_hotwireLockRequest.sqf"
  46.  
  47. It should now look like this if you haven't overridden any other files:
  48.  
  49. class CfgExileCustomCode
  50. {
  51. /*
  52. You can overwrite every single file of our code without touching it.
  53. To do that, add the function name you want to overwrite plus the
  54. path to your custom file here. If you wonder how this works, have a
  55. look at our bootstrap/fn_preInit.sqf function.
  56.  
  57. Simply add the following scheme here:
  58.  
  59. <Function Name of Exile> = "<New File Name>";
  60.  
  61. Example:
  62.  
  63. ExileClient_util_fusRoDah = "myaddon\myfunction.sqf";
  64. */
  65.  
  66. ExileServer_object_vehicle_database_load = "overrides\ExileServer_object_vehicle_database_load.sqf";
  67. ExileServer_object_lock_network_lockToggle = "overrides\ExileServer_object_lock_network_lockToggle.sqf";
  68. ExileServer_object_lock_network_hotwireLockRequest = "overrides\ExileServer_object_lock_network_hotwireLockRequest.sqf"
  69. };
  70.  
  71. 7. re-PBO your mission file, put it back in place, and start up your server.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement