Advertisement
PeterBadoingy

Adding Vehicles - Los Santos Red

Jan 27th, 2023 (edited)
509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 12.25 KB | Gaming | 0 0
  1. *UPDATED* 15 August 2023
  2. Putting the "https://www.gta5-mods.com/vehicles/audi-rs7-2021-add-on" in the shop as an example..
  3. Install the above car to follow exactly or use one you have installed already or a GTA5 DLC vehicle you want to add to the Dealerships and remember or save to a file the Spawn Code/Id and the Vehicle Name you will use.
  4.  
  5. I'm going to be using the Premium Deluxe Showroom within LSR to buy the vehicle when finished.
  6.  
  7. The following XML files we are editing are "ShopMenu.xml" and "ModItems.xml" both can be found within LosSantosRED folder.
  8.  
  9. _________________________________________________________________________________________________________
  10.  
  11. In the ShopMenu.xml search for PremiumDeluxeMenu which will show the following...
  12. _________________________________________________________________________________________________________
  13.  
  14.  
  15.  <ID>PremiumDeluxeMenu</ID>
  16.     <Name>PremiumDeluxe</Name>
  17.     <GroupName />
  18.     <BannerOverride />
  19.     <Items>
  20.       <MenuItem> <~~~ FROM HERE ~~~
  21.        <ModItemName>Bravado Youga</ModItemName>
  22.         <PurchasePrice>26000</PurchasePrice>
  23.         <SalesPrice>16000</SalesPrice>
  24.         <IsIllicilt>false</IsIllicilt>
  25.         <Extras />
  26.         <SubPrice>1</SubPrice>
  27.         <SubAmount>30</SubAmount>
  28.         <NumberOfItemsToSellToPlayer>-1</NumberOfItemsToSellToPlayer>
  29.         <NumberOfItemsToPurchaseFromPlayer>-1</NumberOfItemsToPurchaseFromPlayer>
  30.       </MenuItem> <~~~ TO HERE ~~~
  31.  
  32. _________________________________________________________________________________________________________
  33.  
  34.         Copy from <MenuItem> to </MenuItem> and then paste in the new entry so it looks like below...    
  35. _________________________________________________________________________________________________________    
  36.  
  37.      
  38.        <ID>PremiumDeluxeMenu</ID>
  39.     <Name>PremiumDeluxe</Name>
  40.     <GroupName />
  41.     <BannerOverride />
  42.     <Items>
  43.        <MenuItem>
  44.         <ModItemName>Bravado Youga</ModItemName>
  45.         <PurchasePrice>26000</PurchasePrice>
  46.         <SalesPrice>16000</SalesPrice>
  47.         <IsIllicilt>false</IsIllicilt>
  48.         <Extras />
  49.         <SubPrice>1</SubPrice>
  50.         <SubAmount>30</SubAmount>
  51.         <MinimumPurchaseAmount>1</MinimumPurchaseAmount>
  52.         <MaximumPurchaseAmount>10</MaximumPurchaseAmount>
  53.         <PurchaseIncrement>1</PurchaseIncrement>
  54.         <NumberOfItemsToSellToPlayer>-1</NumberOfItemsToSellToPlayer>
  55.         <NumberOfItemsToPurchaseFromPlayer>-1</NumberOfItemsToPurchaseFromPlayer>
  56.       </MenuItem>
  57.        <MenuItem>
  58.         <ModItemName>Bravado Youga</ModItemName>
  59.         <PurchasePrice>26000</PurchasePrice>
  60.         <SalesPrice>16000</SalesPrice>
  61.         <IsIllicilt>false</IsIllicilt>
  62.         <Extras />
  63.         <SubPrice>1</SubPrice>
  64.         <SubAmount>30</SubAmount>
  65.         <MinimumPurchaseAmount>1</MinimumPurchaseAmount>
  66.         <MaximumPurchaseAmount>10</MaximumPurchaseAmount>
  67.         <PurchaseIncrement>1</PurchaseIncrement>
  68.         <NumberOfItemsToSellToPlayer>-1</NumberOfItemsToSellToPlayer>
  69.         <NumberOfItemsToPurchaseFromPlayer>-1</NumberOfItemsToPurchaseFromPlayer>
  70.       </MenuItem>
  71. _
  72. ________________________________________________________________________________________________________
  73.  
  74.         Now rename your new entry for the vehicle your adding.. in this example the "Audi RS7" (ANY name can be used but it must MATCH the name used in ModItems.xml later)
  75.         You can also adjust the buy and sell price while here..
  76. _________________________________________________________________________________________________________
  77.  
  78.        
  79.                <ID>PremiumDeluxeMenu</ID>
  80.     <Name>PremiumDeluxe</Name>
  81.     <GroupName />
  82.     <BannerOverride />
  83.     <Items>
  84.       <MenuItem>
  85.         <ModItemName>Audi RS7</ModItemName>
  86.         <PurchasePrice>66666</PurchasePrice>
  87.         <SalesPrice>33333</SalesPrice>
  88.         <IsIllicilt>false</IsIllicilt>
  89.         <Extras />
  90.         <SubPrice>1</SubPrice>
  91.         <SubAmount>30</SubAmount>
  92.         <MinimumPurchaseAmount>1</MinimumPurchaseAmount>
  93.         <MaximumPurchaseAmount>10</MaximumPurchaseAmount>
  94.         <PurchaseIncrement>1</PurchaseIncrement>
  95.         <NumberOfItemsToSellToPlayer>-1</NumberOfItemsToSellToPlayer>
  96.         <NumberOfItemsToPurchaseFromPlayer>-1</NumberOfItemsToPurchaseFromPlayer>
  97.       </MenuItem>
  98.       <MenuItem>
  99.         <ModItemName>Bravado Youga</ModItemName>
  100.         <PurchasePrice>26000</PurchasePrice>
  101.         <SalesPrice>16000</SalesPrice>
  102.         <IsIllicilt>false</IsIllicilt>
  103.         <Extras />
  104.         <SubPrice>1</SubPrice>
  105.         <SubAmount>30</SubAmount>
  106.         <MinimumPurchaseAmount>1</MinimumPurchaseAmount>
  107.         <MaximumPurchaseAmount>10</MaximumPurchaseAmount>
  108.         <PurchaseIncrement>1</PurchaseIncrement>
  109.         <NumberOfItemsToSellToPlayer>-1</NumberOfItemsToSellToPlayer>
  110.         <NumberOfItemsToPurchaseFromPlayer>-1</NumberOfItemsToPurchaseFromPlayer>
  111.       </MenuItem>
  112.          
  113. _____________________________________________________________________________________________________________________________
  114.  
  115.         You are now done with ShopMenus.xml so make sure you SAVE before you close and now it's time to open ModItems.xml ...      
  116. _____________________________________________________________________________________________________________________________
  117.        
  118.         Open ModItems.xml and search "Albany Alpha" for the start of the vehicle information section and like we did above we are going to copy and paste in a new entry..
  119.  
  120.  
  121.        
  122.  <VehicleItems>
  123.     <VehicleItem> <~~~ FROM HERE ~~~
  124.      <menusToUpdate />
  125.       <Name>Albany Alpha</Name>
  126.       <Description>Blending modern performance and design with the classic luxury styling of a stately car, the Alpha is sleek, sexy and handles so well you'll forget you're driving it. Which could be a problem at 150 mph...</Description>
  127.       <ItemType>Vehicles</ItemType>
  128.       <ItemSubType>None</ItemSubType>
  129.       <MeasurementName>Item</MeasurementName>
  130.       <AmountPerPackage>1</AmountPerPackage>
  131.       <IsPossessionIllicit>false</IsPossessionIllicit>
  132.       <PercentLostOnUse>0</PercentLostOnUse>
  133.       <ConsumeOnPurchase>false</ConsumeOnPurchase>
  134.       <CanConsume>false</CanConsume>
  135.       <FindPercentage>0</FindPercentage>
  136.       <PoliceFindDuringPlayerSearchPercentage>85</PoliceFindDuringPlayerSearchPercentage>
  137.       <RequiresDLC>true</RequiresDLC>
  138.       <ModelName>alpha</ModelName>
  139.       <ModelHash>767087018</ModelHash>
  140.     </VehicleItem> <~~~ TO HERE ~~~
  141.    
  142. _________________________________________________________________________________________________________
  143.  
  144.             Copy from <VehicleItem> to </VehicleItem> and then paste in the new entry so it looks like below...
  145. _________________________________________________________________________________________________________    
  146.      
  147.  
  148.           <VehicleItems>
  149.     <VehicleItem>
  150.       <menusToUpdate />
  151.       <Name>Albany Alpha</Name>
  152.       <Description>Blending modern performance and design with the classic luxury styling of a stately car, the Alpha is sleek, sexy and handles so well you'll forget you're driving it. Which could be a problem at 150 mph...</Description>
  153.       <ItemType>Vehicles</ItemType>
  154.       <ItemSubType>None</ItemSubType>
  155.       <MeasurementName>Item</MeasurementName>
  156.       <AmountPerPackage>1</AmountPerPackage>
  157.       <IsPossessionIllicit>false</IsPossessionIllicit>
  158.       <PercentLostOnUse>0</PercentLostOnUse>
  159.       <ConsumeOnPurchase>false</ConsumeOnPurchase>
  160.       <CanConsume>false</CanConsume>
  161.       <FindPercentage>0</FindPercentage>
  162.       <PoliceFindDuringPlayerSearchPercentage>85</PoliceFindDuringPlayerSearchPercentage>
  163.       <RequiresDLC>true</RequiresDLC>
  164.       <ModelName>alpha</ModelName>
  165.       <ModelHash>767087018</ModelHash>
  166.     </VehicleItem>
  167.     <VehicleItem>
  168.       <menusToUpdate />
  169.       <Name>Albany Alpha</Name>
  170.       <Description>Blending modern performance and design with the classic luxury styling of a stately car, the Alpha is sleek, sexy and handles so well you'll forget you're driving it. Which could be a problem at 150 mph...</Description>
  171.       <ItemType>Vehicles</ItemType>
  172.       <ItemSubType>None</ItemSubType>
  173.       <MeasurementName>Item</MeasurementName>
  174.       <AmountPerPackage>1</AmountPerPackage>
  175.       <IsPossessionIllicit>false</IsPossessionIllicit>
  176.       <PercentLostOnUse>0</PercentLostOnUse>
  177.       <ConsumeOnPurchase>false</ConsumeOnPurchase>
  178.       <CanConsume>false</CanConsume>
  179.       <FindPercentage>0</FindPercentage>
  180.       <PoliceFindDuringPlayerSearchPercentage>85</PoliceFindDuringPlayerSearchPercentage>
  181.       <RequiresDLC>true</RequiresDLC>
  182.       <ModelName>alpha</ModelName>
  183.       <ModelHash>767087018</ModelHash>
  184.     </VehicleItem>
  185.    
  186. _________________________________________________________________________________________________________
  187.  
  188.         Now give the new entry the exact name as you used in the ShopMenu.xml  or the vehicle won't be found in the shop
  189.        
  190.         In the new entry change the Albany Alpha in "<Name>Albany Alpha</Name>" to use the Name used in ShopMenu.xml
  191.         For this example it would be <Name>Audi RS7</Name>
  192.  
  193.         In the new entry change the alpha in "<ModelName>alpha</ModelName>" to use the spawn code of the new vehicle you are adding.         
  194.         For this example it would be <ModelName>rs721</ModelName> to spawn Audi RS7
  195.  
  196.         Description can be changed to nothing by using <Description />
  197.         Or use <Description>ENTER INFO HERE</Description> if you want to add that information.
  198. _________________________________________________________________________________________________________      
  199.    
  200.  
  201.  <VehicleItems>
  202.     <VehicleItem>
  203.       <menusToUpdate />
  204.       <Name>Audi RS7</Name>  <--- THIS NAME MUST MATCH NAME USED IN SHOPMENU.XML
  205.      <Description />
  206.       <ItemType>Vehicles</ItemType>
  207.       <ItemSubType>None</ItemSubType>
  208.       <MeasurementName>Item</MeasurementName>
  209.       <AmountPerPackage>1</AmountPerPackage>
  210.       <IsPossessionIllicit>false</IsPossessionIllicit>
  211.       <PercentLostOnUse>0</PercentLostOnUse>
  212.       <ConsumeOnPurchase>false</ConsumeOnPurchase>
  213.       <CanConsume>false</CanConsume>
  214.       <FindPercentage>0</FindPercentage>
  215.       <RequiresDLC>true</RequiresDLC>  <---- Can Be Changed to false
  216.      <ModelName>rs721</ModelName>  <--- VEHICLE SPAWNID / SPAWN CODE
  217.      <ModelHash>0</ModelHash>
  218.     </VehicleItem>
  219.     <VehicleItem>
  220.       <menusToUpdate />
  221.       <Name>Albany Alpha</Name>
  222.       <Description>Blending modern performance and design with the classic luxury styling of a stately car, the Alpha is sleek, sexy and handles so well you'll forget you're driving it. Which could be a problem at 150 mph...</Description>
  223.       <ItemType>Vehicles</ItemType>
  224.       <ItemSubType>None</ItemSubType>
  225.       <MeasurementName>Item</MeasurementName>
  226.       <AmountPerPackage>1</AmountPerPackage>
  227.       <IsPossessionIllicit>false</IsPossessionIllicit>
  228.       <PercentLostOnUse>0</PercentLostOnUse>
  229.       <ConsumeOnPurchase>false</ConsumeOnPurchase>
  230.       <CanConsume>false</CanConsume>
  231.       <FindPercentage>0</FindPercentage>
  232.       <PoliceFindDuringPlayerSearchPercentage>85</PoliceFindDuringPlayerSearchPercentage>
  233.       <RequiresDLC>true</RequiresDLC>
  234.       <ModelName>alpha</ModelName>
  235.       <ModelHash>767087018</ModelHash>
  236.     </VehicleItem> 
  237.    
  238. _________________________________________________________________________________________________________
  239.  
  240. And.... now save ModItems.xml.    
  241.  
  242. _________________________________________________________________________________________________________
  243.  
  244.  
  245. Now in-game with LSR loaded press F10 then Settings > Change Player Settings Sub Menu > Other Settings and enable AllowDLCVehiclesInStores.
  246. You could also set the  "<RequiresDLC>true</RequiresDLC>" to "<RequiresDLC>false</RequiresDLC>" so you don't need to enable DLC cars in settings.
  247. You should now be able to go to Premium Deluxe and buy your new vehicle if you have followed the instructions.
  248. Image of the vehicle in showroom "https://postimg.cc/FkfsqtTj"
  249.  
  250. :....Other Helpful Info....:
  251. LSR Vehicle Dealerships List.
  252.  
  253. <ID>AlbanyMenu</ID>
  254.  
  255. <ID>BenefactorGallavanterMenu</ID>
  256.  
  257. <ID>BravadoMenu</ID>
  258.  
  259. <ID>ElitasMenu</ID> -- Planes, Helicopters --
  260.  
  261. <ID>GetAweighMenu</ID> -- Boats, JetSki's  --
  262.  
  263. <ID>HelmutMenu</ID>
  264.  
  265. <ID>KarinMenu</ID>
  266.  
  267. <ID>LarrysRVMenu</ID>
  268.  
  269. <ID>LuxuryAutosMenu</ID>
  270.  
  271. <ID>PremiumDeluxeMenu</ID>
  272.  
  273. <ID>SandersMenu</ID> -- Motorcycles --
  274.  
  275. <ID>VapidMenu</ID>
Tags: Gta5 LSR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement