You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,9 @@ MF-Tow is also fully compatible with the popular '=BTC=_Logistic (DayZ Epoch Ver
18
18
- Disable towing of locked vehicles (optional)
19
19
- Requires a player to have a toolbox in their inventory in order to be able to attach a tow.
20
20
21
-
## Configuring Tow Vehicles ##
21
+
## Configuration ##
22
+
23
+
### Configuring tow vehicles & towable vehicles ###
22
24
23
25
[Download](https://github.com/matt-d-rat/mf-tow/archive/master.zip) and extract the zip file to a folder called ```mf-tow```, inside you will find a file called ```init.sqf```, open this file up in a text editor.
24
26
@@ -54,9 +56,19 @@ So for example, we can see that the code above permits the ```ArmoredSUV_PMC```
54
56
To add a new vehicle which can be used as a towing vehicle, add a new case to the switch statement and define an array of the types of vehicles which can be towed (be careful not to have a trailing comma after the last entry in the array!):
55
57
56
58
```sqf
57
-
case "Pickup_PK_INS_DZE": {_array = ["Motorcycle","Car"];};
59
+
case "Pickup_PK_INS_DZE": {_array = ["Motorcycle","Car"];};
60
+
```
61
+
62
+
### Enabling Multi-tow ###
63
+
64
+
By default, towing vehicles which are currently towing another vehicle is disabled (patched in v1.1.1). To enable this functionality, set the ```MF_Tow_Multi_Towing``` variable in ```init.sqf``` to true.
65
+
66
+
```sqf
67
+
MF_Tow_Multi_Towing = true; // Warning, this is not recommended!
58
68
```
59
69
70
+
Although this may seem like a nice feature, in reality the only purpose it will probably serve is to allow people to troll one another. The choice is entirely yours though :-).
@@ -240,6 +252,10 @@ __Step 18: Repack ```dayz_server.pbo``` and upload it to your server.
240
252
241
253
### Change Log ###
242
254
255
+
#### v1.1.1 ###
256
+
- Fixed exploit which allowed players to tow vehicles which were already being towed.
257
+
- Fixed exploit which allowed players to tow vehicles which were already towing another vehicle. This functionality can be turned back on via the ```MF_Tow_Multi_Towing``` config param being set to true (default value is false). Be warned, turning this on produces "interesting" results and probably only serves as a means for trolling.
258
+
243
259
#### v1.1.0 ###
244
260
- Non-breaking changes to the check for whether the cursor target is a towable vehicle.
245
261
- Deprecated MF_Tow_Towable variable as it is no longer used as a check condition.
0 commit comments