====== Marketing Game Mechanics ======
The Game Mechanics section of the manual details the internal formula used in the game's calculations. This section of the manual uses pseudo-code and may not be 100% the same as the code in the game.
The Game Mechanics part of the manual is mainly designed to be a reference for the frequently asked question, "Why do I get this rating when I do X, Y, Z?!" Usually, this answer involves many different variables, which this section of the manual demonstrates.
**The game mechanics section of the manual shows [[https://idioms.thefreedictionary.com/seeing+how+the+sausage+gets+made|how the sausage gets made]]. So you really may want to avoid this portion of the manual if you enjoy the game.**
===== Variables =====
^ Name ^ Description ^ ^ Name ^ Description ^
| **Selected_City_PerCapita** | The per capita of the selected city | | **Selected_City_Population** | The population of the selected city |
| **Marketing_Slider_Percentage** | This is the marketing slider percentage | | **Total_City_Marketing_Budget** | The total amount of marketing money you're spending in a city |
| **Category_Current_Budget** | The budget for a specific marketing category (newspapers, billboards, etc) for the selected city | | **Category_Max_Budget** | This is the maximum budget for a specific category (newspapers, billboards, etc) for the selected city |
| **Employees** | This is the number of employees you employ for marketing in the selected city. | | **Full_Employment** | This is the number of marketing employees needed in the selected city to operate at full employment. |
| **Employee_Morale** | This is your marketing employee's morale. | | **Company_Marketing_Skills** | This is your company's marketing skills. |
| **Current_Efficiency** | This is your current marketing efficiency for the specific category (newspapers, billboards, etc). | | **SelectedCity_NewspaperEfficency** | Selected city's newspaper marketing efficiency |
| **SelectedCity_BillboardsEfficency** | Selected city's billboard marketing efficiency | | **SelectedCity_MagsEfficency** | Selected city's magazine marketing efficiency |
| **SelectedCity_SportsEfficency** | Selected city's sports marketing efficiency | | **SelectedCity_EventsEfficency** | Selected city's events marketing efficiency |
| **SelectedCity_RadioEfficency** | Selected city's radio marketing efficiency | | **SelectedCity_TVEfficency** | Selected city's TV marketing efficiency |
| **SelectedCity_InternetEfficency** | Selected city's internet marketing efficiency | | **SelectedCity_MiscEfficency** | Selected city's miscellaneous marketing efficiency |
| **WealthDemoTopRange** | This is the upper range of the wealth demographics chart who are interested in purchasing this design. The higher this value is, the more wealthy people interested in buying this vehicle. | | **Graph_Center** | This is the center point of the wealth demographic chart. The lower this value is, the more people who will be interested in purchasing this vehicle. |
| **Vehicle_Type_Wealth_Index** | This is the wealth index of the specific vehicle type, see [[http://wiki.gearcity.info/doku.php?id=gamemanual:references_vehicletypeimportance|Vehicle Type Importance Ratings]] for details | | **MarketingBuyerPoolIndex** | This is the marketing's effect on the buyer pool. |
| **ex_1d01p_year99** | 1.02%%^%%(year-1899) | | **** | |
===== Marketing Budgets =====
Newspaper = (10+(Selected_City_PerCapita * 0.00001) * ( Selected_City_Population/4)) * Marketing_Slider_Percentage
Billboards = (10+( Selected_City_PerCapita * 0.0001) * ( Selected_City_Population/10)) * Marketing_Slider_Percentage
Magazines = (10+( Selected_City_PerCapita * 0.000021) * ( Selected_City_Population/4)) * Marketing_Slider_Percentage
Sports = (10+( Selected_City_PerCapita * 0.00021) * ( Selected_City_Population/5)) * Marketing_Slider_Percentage
Events = (10+( Selected_City_PerCapita * 0.00012) * ( Selected_City_Population/6)) * Marketing_Slider_Percentage
Radio = (10+( Selected_City_PerCapita * 0.0005) * ( Selected_City_Population/3)) * Marketing_Slider_Percentage
TV = (10+( Selected_City_PerCapita * 0.002) * ( Selected_City_Population/4)) * Marketing_Slider_Percentage
Internet = (10+( Selected_City_PerCapita * 0.00002) * ( Selected_City_Population/8)) * Marketing_Slider_Percentage
Miscellaneous = (10+( Selected_City_PerCapita * 0.0005) * ( Selected_City_Population/3)) * Marketing_Slider_Percentage
===== Marketing Employees =====
Max_Employees = ( Total_City_Marketing_Budget / (10000 *ex_1d01p_year99)) + 3;
===== Marketing Efficiency Change =====
Max_Efficiency = ( Category_Current_Budget/Category_Max_Budget ) * ((Employees/Full_Employment) * (Employee_Morale / 100.0))
Max_Efficiency = (Max_Efficiency*0.7) + ((Max_Efficiency*0.3)*Company_Marketing_Skills)
if( Max_Efficiency > Current_Efficiency * 4)
Current_Efficiency = Max_Efficiency * 0.25
else if( Max_Efficiency > Current_Efficiency * 2)
Current_Efficiency = Current_Efficiency + 0.05
else if( Max_Efficiency > Current_Efficiency)
Current_Efficiency = Current_Efficiency + 0.02
else if( Max_Efficiency < Current_Efficiency )
Current_Efficiency = Max_Efficiency
===== Sales Effect =====
SelectedCity_MarketingValue = (SelectedCity_NewspaperEfficency +
SelectedCity_BillboardsEfficency * 1.1 + SelectedCity_MagsEfficency * 1.3 +
SelectedCity_SportsEfficency * 1.3 + SelectedCity_EventsEfficency * 1.2 +
SelectedCity_RadioEfficency * 2 + SelectedCity_TVEfficency * 10 +
SelectedCity_InternetEfficency * 5 + SelectedCity_MiscEfficency * 2 ) / 9
if(SelectedCity_MarketingValue > 4.5)
SelectedCity_MarketingValue = 4.5
//Marketing's Effect On Buyer Rating
BuyersRating = BuyersRating + (SelectedCity_MarketingValue *
(2000 + Random Number Between 0 and 100))
//Marketing Effect on Wealth Demographics
MarketingWealthIndex = SelectedCity_MarketingValue
if(MarketingWealthIndex > 1.5)
MarketingWealthIndex = 1.5;
WealthDemoTopRange = Graph_Center + ((Vehicle_Type_Wealth_Index/3.0)*0.225)+(MarketingWealthIndex*0.15);
//Marketing's effect on Buyer Pool
MarketingBuyerPoolIndex = SelectedCity_MarketingValue
if(MarketingBuyerPoolIndex > 2.5)
MarketingBuyerPoolIndex = 2.5;