# [LSR] 1.0.0.140 XML Migration
:::info
:bulb: This is written with the 1.0.0.140 nightly build and release version 1.0.0.136 in mind. I will update this article upon the release of a new version on 5mods/lcpdfr. The images in the guide were taken using the default config, so your exact settings may differ.
:::
---
:::warning
:warning: Before beginnging, I **highly** recommend using an alternative text editor to Notepad, such as [Notepad++](https://notepad-plus-plus.org/) or [Sublime Text](https://www.sublimetext.com/). It makes things much easier. I also **highly** recommend **backing up** your current XML files before attempting this.
:::
# Settings.xml
Use **Ctrl+F** to search the document while following the steps below.
1. Search for:
```xml
<AllowDLCVehiclesInStores>
```
- Remove the lines containing:
```xml
<AllowDLCVehiclesInStores> and <AllowDLCVehiclesToDispatch>
```
- Add the following line in their place:
```xml
<AllowDLCVehicles>true</AllowDLCVehicles>
```

---
2. Search for:
```xml
<PercentageToGetRandomWeapons>
```
- Add the following lines under it:
```xml
<PercentageOfGangVehiclesToGetRandomWeapons>75</PercentageOfGangVehiclesToGetRandomWeapons>
<PercentageOfPoliceVehiclesToGetRandomWeapons>90</PercentageOfPoliceVehiclesToGetRandomWeapons>
```

---
3. Search for:
```xml
<EscortSpeed>
```
- Replace it with the following:
```xml
<EscortSpeedFast>100</EscortSpeedFast>
<EscortSpeedNormal>30</EscortSpeedNormal>
```

---
# Other file changes
:::info
:bulb: Files not specifically mentioned here can be left alone; XML comparison tools showed no changes between versions.
:::
- DispatchableVehicles.xml
- ArmyVehicles
- :wrench: Crusader
```xml
<AmbientSpawnChance>: 85 > 25
<WantedSpawnChance>: 25 > 10
```
- :wrench: Barracks
```xml
<AmbientSpawnChance>: 15 > 25
<WantedSpawnChance>: 75 > 10
```
- :wrench: Rhino
```xml
<WantedSpawnChance>: 25 > 15
```
- :wrench: Valkyrie
```xml
<WantedSpawnChance>: 100 > 75
```
- :wrench: Crusader
```xml
<AmbientSpawnChance>: 85 > 25
<WantedSpawnChance>: 25 > 10
```
- :heavy_plus_sign: Squaddie
```xml
<DispatchableVehicle>
<ModelName>squaddie</ModelName>
<RequiredPedGroup />
<GroupName />
<MinOccupants>1</MinOccupants>
<MaxOccupants>3</MaxOccupants>
<AmbientSpawnChance>50</AmbientSpawnChance>
<WantedSpawnChance>50</WantedSpawnChance>
<MinWantedLevelSpawn>6</MinWantedLevelSpawn>
<MaxWantedLevelSpawn>10</MaxWantedLevelSpawn>
<RequiredPrimaryColorID>-1</RequiredPrimaryColorID>
<RequiredSecondaryColorID>-1</RequiredSecondaryColorID>
<RequiredLiveries />
<VehicleExtras />
<MaxRandomDirtLevel>15</MaxRandomDirtLevel>
<RequiresDLC>false</RequiresDLC>
</DispatchableVehicle>
```
- :heavy_plus_sign: Insurgent Pick-Up Custom
```xml
<DispatchableVehicle>
<ModelName>insurgent3</ModelName>
<RequiredPedGroup />
<GroupName />
<MinOccupants>1</MinOccupants>
<MaxOccupants>3</MaxOccupants>
<AmbientSpawnChance>0</AmbientSpawnChance>
<WantedSpawnChance>25</WantedSpawnChance>
<MinWantedLevelSpawn>6</MinWantedLevelSpawn>
<MaxWantedLevelSpawn>10</MaxWantedLevelSpawn>
<RequiredPrimaryColorID>-1</RequiredPrimaryColorID>
<RequiredSecondaryColorID>-1</RequiredSecondaryColorID>
<RequiredLiveries />
<VehicleExtras />
<MaxRandomDirtLevel>15</MaxRandomDirtLevel>
<RequiresDLC>false</RequiresDLC>
</DispatchableVehicle>
```
- :heavy_plus_sign: APC
```xml
<DispatchableVehicle>
<ModelName>apc</ModelName>
<RequiredPedGroup />
<GroupName />
<MinOccupants>1</MinOccupants>
<MaxOccupants>2</MaxOccupants>
<AmbientSpawnChance>0</AmbientSpawnChance>
<WantedSpawnChance>25</WantedSpawnChance>
<MinWantedLevelSpawn>6</MinWantedLevelSpawn>
<MaxWantedLevelSpawn>10</MaxWantedLevelSpawn>
<ForceStayInSeats>
<int>-1</int>
</ForceStayInSeats>
<RequiredPrimaryColorID>-1</RequiredPrimaryColorID>
<RequiredSecondaryColorID>-1</RequiredSecondaryColorID>
<RequiredLiveries />
<VehicleExtras />
<MaxRandomDirtLevel>15</MaxRandomDirtLevel>
<RequiresDLC>false</RequiresDLC>
</DispatchableVehicle>
```
- ModItems.xml
- Too many changes to reasonably manually migrate the file. It is recommended to replace this with the new ModItems.xml.
- ShopMenus.xml
- Too many changes to migrate manually. Seems to just be slight price modifications. It is recommended to replace this with the new ShopMenus.xml.