Advertisement
PeterBadoingy

Adding Vehicles - Los Santos Red

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