About Custom Shop Support

Synopsis

This hack allows you to specify custom NPCs for car shops.
It also allows you to blacklist and whitelist specific cars at specific phone booths.

Configuration

This is an example configuration for this hack with comments explaining how it works.

This configuration file goes into CustomShopSupport.xml in the root of your mod.

We do not recommend copying this entire example into your mod. We recommend only using what is necessary.

<?xml version="1.0" encoding="utf-8"?>
<CustomShopSupport>

	<!--
	
	<CarShop>
		=Level: The level the carshop is in.
		=Conversation: The conversation name to use. Specify "" to have no conversation.
		=Character: The character that owns the car shop.
	<PhoneBooth>
		=Drawable: The drawable to display above the phonebooth.
		<Selector>
			=Level: The level to use this phonebooth on.
			=Locator: The SummonVehiclePhone locator to use this phonebooth on.
		<FreeItems>: Used to offer free cars at this phonebooth.
			<Car>
				=Path: The path to the car. Defaults to "art\cars\CARNAME.p3d".
				=RepairCost: The cost to repair this car.
				Contents: Specify a car name inside this element to add to the blacklist.
		<Blacklist>: Used to blacklist specific cars at this phonebooth.
			<Car>
				Contents: Specify a car name inside this element to add to the blacklist.
		<Whitelist>: Used to whitelist specific cars at this phonebooth.
			<Car>
				=RepairCost: The cost to repair this car.
				Contents: Specify a car name inside this element to add to the whitelist.
  
	-->
  
	<!-- Default Car Shops -->
	<CarShop Level="1" Conversation="plowking" Character="reward_barney" />
	<CarShop Level="2" Conversation="son" Character="reward_homer" />
	<CarShop Level="3" Conversation="bus" Character="reward_otto" />
	<CarShop Level="4" Conversation="tractor" Character="reward_tractor" />
	<CarShop Level="5" Conversation="borrowing" Character="reward_homer" />
	<CarShop Level="6" Conversation="swine" Character="reward_kearney" />
	<CarShop Level="7" Conversation="" Character="zombie" />
	
	<!-- Custom Phone Booths -->
	<PhoneBooth>
		<!-- Select this Phonebooth if it's Level 1 or 7 -->
		<Selector Level="1" />
		<Selector Level="7" />
		
		<!--  Make it so Homer can't use Apu's car -->
		<Blacklist>
			<Car>apu_v</Car>
		</Blacklist>
	</PhoneBooth>
	
	<PhoneBooth Drawable="wrench"> <!-- Use a wrench drawable for fun! -->
		<!-- Select Level 1 and the Phonebooth across the Simpson's House -->
		<Selector Level="1" Locator="Z1p1"/>
		
		<!-- Specify an empty Whitelist to exclude all Reward Cars -->
		<Whitelist />
		
		<FreeItems>
			<!-- And then here we add a couple cars to the phonebooth -->
			<Car>bart_v</Car>
			<Car>homer_v</Car>
		</FreeItems>
	</PhoneBooth>
</CustomShopSupport>
Back to top