Advertisement
PeterBadoingy

Los Santos Red Adding a Gang

Feb 6th, 2023 (edited)
378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 24.18 KB | None | 0 0
  1.     Files that will be needed for Adding a gang can be found within the LosSantosRED folder.
  2.  
  3.     Gangs.xml
  4.     GangTerritories.xml
  5.     DispatchablePeople.xml
  6.     DispatchableVehicle.xml
  7.     Locations.xml
  8.  
  9.     I recommend creating copies of the existing files and adding a custom config Name and then modifying those files.
  10.     These configs will be prioritized over default config files when loading the mod.
  11.  
  12.     Gangs_NAME.xml
  13.     GangTerritories_NAME.xml
  14.     DispatchablePeople_NAME.xml
  15.     DispatchableVehicle_NAME.xml
  16.     Locations_NAME.xml
  17.  
  18.        
  19. ---------------------------------------------------------------------------------------------------------------------------------------
  20.     Zones.xml - For getting Area IDs while setting up GangTerritories.xml -
  21.  
  22.  
  23. ---------------------------------------------------------------------------------------------------------------------------------------
  24.     ShopMenu.xml
  25.  
  26.     *NOTE* The following file can be edited to create a new custom entry for buyable items from your Hangout/Den.
  27.     I won't be going into creating one for now and using a premade entry.
  28.  
  29. ---------------------------------------------------------------------------------------------------------------------------------------
  30.  
  31.  
  32.     Starting off with the Gang.xml
  33. ---------------------------------------------------------------------------------------------------------------------------------------
  34.      Gang.xml Stuff
  35. ---------------------------------------------------------------------------------------------------------------------------------------
  36.  
  37.     <ID>AMBIENT_GANG_FOLKS</ID>                    ~~ Needed for GangTerritory.xml and Locations.xml  ~~  NAMES MUST MATCH ~~
  38.    
  39.      <ContactName>Master Disciple</ContactName>                     ~~  Phone and ingame message Contact Name ~~
  40.     <ContactIcon>CHAR_TW</ContactIcon>                              ~~  Phone and ingame message Contact Icon ~~
  41.                                                                     ~~ More Icons IDs can be found at the following link:
  42.                                                                     https://wiki.rage.mp/index.php?title=Notification_Pictures
  43.  
  44.     <PersonnelID>FOLKSPeds</PersonnelID>           ~~ Needed for DispatchablePeople.xml ~~
  45.  
  46.     <VehiclesID>FOLKSVehicles</VehiclesID>         ~~ Needed for DispatchableVehicles.xml ~~
  47.    
  48.  
  49.     ~~ ALL GANGS Listed, Add or Remove <string>THE_FULL_ENTRY</string> for gangs you want or don't want to be enemies with. ~~
  50.     ~~ *NOTE* If You do not set an enemy all gangs will be eligable for missions ~~
  51.  
  52.     Enemy Gang List:
  53.  
  54.       <string>AMBIENT_GANG_ARMENIAN</string>                       
  55.       <string>AMBIENT_GANG_BALLAS</string>
  56.       <string>AMBIENT_GANG_DIABLOS</string>
  57.       <string>AMBIENT_GANG_FAMILY</string>
  58.       <string>AMBIENT_GANG_GAMBETTI</string>
  59.       <string>AMBIENT_GANG_HILLBILLY</string>
  60.       <string>AMBIENT_GANG_KKANGPAE</string>
  61.       <string>AMBIENT_GANG_LOST</string>
  62.       <string>AMBIENT_GANG_MADRAZO</string>
  63.       <string>AMBIENT_GANG_MARABUNTE</string>
  64.       <string>AMBIENT_GANG_MEXICAN</string>
  65.       <string>AMBIENT_GANG_SALVA</string>
  66.       <string>AMBIENT_GANG_WEICHENG</string>
  67.       <string>AMBIENT_GANG_YARDIES</string>
  68.  
  69.     Local Drug Dealer Selling List:
  70.    
  71.     CokeDealerMenu
  72.     CrackDealerMenu
  73.     HeroinDealerMenu
  74.     MarijuanaDealerMenu
  75.     MethamphetamineDealerMenu
  76.     SPANKDealerMenu
  77.     ToiletCleanerDealerMenu
  78.    
  79.     ~~ Mission Payouts can also be adjusted within the Gangs.xml ~~
  80.  
  81.  
  82. ---------------------------------------------------------------------------------------------------------------------------------------
  83.     Gangs.xml Example Entry
  84. ---------------------------------------------------------------------------------------------------------------------------------------
  85.  
  86.    
  87.     <Gang>
  88.     <ID>AMBIENT_GANG_FOLKS</ID>                                     ~~ Needed for GangTerritory.xml and Locations.xml.
  89.     <FullName>The Gangster Disciples</FullName>
  90.     <ShortName>The Disciples</ShortName>                            ~~ Name is for Display and First Half HideOut/GangDen Name ~~
  91.     <MemberName>Disciple</MemberName>
  92.     <ContactName>Master Disciple</ContactName>                      ~~  Phone Contact Name ~~
  93.     <ContactIcon>CHAR_TW</ContactIcon>                              ~~  Phone Contact Icon ~~
  94.     <DenName>Hangout</DenName>                                      ~~ Second Half HideOut/GangDen Name ~~
  95.     <ColorPrefix>~p~</ColorPrefix>
  96.     <ColorString>Purple</ColorString>
  97.     <LicensePlatePrefix />
  98.     <SpawnLimit>10</SpawnLimit>
  99.     <CanSpawnAnywhere>false</CanSpawnAnywhere>
  100.     <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  101.     <MaxWantedLevelSpawn>6</MaxWantedLevelSpawn>
  102.     <PersonnelID>FOLKSPeds</PersonnelID>                            ~~ Needed for DispatchablePeople.xml  ~~
  103.     <MeleeWeaponsID>MeleeWeapons</MeleeWeaponsID>
  104.     <SideArmsID>FamiliesSidearms</SideArmsID>
  105.     <LongGunsID>FamiliesLongGuns</LongGunsID>
  106.     <VehiclesID>FOLKSVehicles</VehiclesID>                          ~~ Needed for DispatchableVehicles.xml ~~
  107.     <MinimumRep>-3000</MinimumRep>
  108.     <MaximumRep>3000</MaximumRep>
  109.     <StartingRep>0</StartingRep>
  110.     <NeutralRepLevel>0</NeutralRepLevel>
  111.     <FriendlyRepLevel>1500</FriendlyRepLevel>
  112.     <AddAmbientRep>true</AddAmbientRep>
  113.     <GameTimeToRecoverAmbientRep>5000</GameTimeToRecoverAmbientRep>
  114.     <PickupPaymentMin>2000</PickupPaymentMin>
  115.     <PickupPaymentMax>1000</PickupPaymentMax>
  116.     <TheftPaymentMin>1000</TheftPaymentMin>
  117.     <TheftPaymentMax>5000</TheftPaymentMax>
  118.     <HitPaymentMin>10000</HitPaymentMin>
  119.     <HitPaymentMax>30000</HitPaymentMax>
  120.     <DeliveryPaymentMin>1000</DeliveryPaymentMin>
  121.     <DeliveryPaymentMax>4000</DeliveryPaymentMax>
  122.     <WheelmanPaymentMin>15000</WheelmanPaymentMin>
  123.     <WheelmanPaymentMax>35000</WheelmanPaymentMax>
  124.     <FightPercentage>30</FightPercentage>
  125.     <FightPolicePercentage>50</FightPolicePercentage>
  126.     <DrugDealerPercentage>55</DrugDealerPercentage>
  127.     <DealerMenuGroup>CrackDealerMenu</DealerMenuGroup>              ~~ Local Drugs Dealer Sales Item ~~
  128.     <AmbientMemberMoneyMin>20</AmbientMemberMoneyMin>
  129.     <AmbientMemberMoneyMax>50</AmbientMemberMoneyMax>
  130.     <DealerMemberMoneyMin>100</DealerMemberMoneyMin>
  131.     <DealerMemberMoneyMax>250</DealerMemberMoneyMax>
  132.     <CostToPayoffGangScalar>5</CostToPayoffGangScalar>
  133.     <RemoveRepOnWantedInTerritory>true</RemoveRepOnWantedInTerritory>
  134.     <RemoveRepOnWantedInTerritoryScalar>5</RemoveRepOnWantedInTerritoryScalar>
  135.     <PercentageTrustingOfPlayer>60</PercentageTrustingOfPlayer>
  136.     <PercentageWithLongGuns>2</PercentageWithLongGuns>
  137.     <PercentageWithSidearms>15</PercentageWithSidearms>
  138.     <PercentageWithMelee>15</PercentageWithMelee>
  139.     <VehicleSpawnPercentage>60</VehicleSpawnPercentage>
  140.     <MemberKickUpDays>7</MemberKickUpDays>
  141.     <MemberKickUpAmount>100</MemberKickUpAmount>
  142.     <MemberKickUpMissLimit>3</MemberKickUpMissLimit>
  143.     <EnemyGangs>
  144.       <string>AMBIENT_GANG_ARMENIAN</string>                        ~ ALL GANGS Listed ~~
  145.       <string>AMBIENT_GANG_BALLAS</string>
  146.       <string>AMBIENT_GANG_DIABLOS</string>
  147.       <string>AMBIENT_GANG_FAMILY</string>
  148.       <string>AMBIENT_GANG_GAMBETTI</string>
  149.       <string>AMBIENT_GANG_KKANGPAE</string>
  150.       <string>AMBIENT_GANG_LOST</string>
  151.       <string>AMBIENT_GANG_MADRAZO</string>
  152.       <string>AMBIENT_GANG_MARABUNTE</string>
  153.       <string>AMBIENT_GANG_MEXICAN</string>
  154.       <string>AMBIENT_GANG_SALVA</string>
  155.       <string>AMBIENT_GANG_WEICHENG</string>
  156.       <string>AMBIENT_GANG_YARDIES</string>
  157.     </EnemyGangs>
  158.   </Gang>
  159.  
  160.  
  161. ---------------------------------------------------------------------------------------------------------------------------------------
  162.      DispatchableVehicle.xml Stuff
  163. ---------------------------------------------------------------------------------------------------------------------------------------
  164.  
  165.  
  166.     <DispatchableVehicleGroupID>FOLKSVehicles</DispatchableVehicleGroupID>      ~~ Must match <VehiclesID> in Gangs.xml ~~
  167.  
  168.  
  169.     <ModelName>faction2</ModelName>                                             ~~ Vehicle Spawn ID ~~
  170.  
  171.  
  172.     <MinOccupants>1</MinOccupants>                                              ~~ Minimal Amount of People Per Vehicle ~~
  173.     <MaxOccupants>2</MaxOccupants>                                              ~~ Maximum Amount of People Per Vehicle ~~
  174.        
  175.        
  176.     <AmbientSpawnChance>50</AmbientSpawnChance>                                 ~~ How often the Vehicle will spawn Ambiently ~~
  177.     <WantedSpawnChance>50</WantedSpawnChance>                                   ~~ How often the Vehicle will spawn while Wanted ~~
  178.  
  179.  
  180.     <RequiredPrimaryColorID>0</RequiredPrimaryColorID>                          ~~ Primary Car Color ~~
  181.     <RequiredSecondaryColorID>0</RequiredSecondaryColorID>                      ~~ Secondary Car Color ~~
  182.  
  183.  
  184. ---------------------------------------------------------------------------------------------------------------------------------------
  185.      DispatchableVehicle.xml Example Entry
  186. ---------------------------------------------------------------------------------------------------------------------------------------
  187.  
  188.  
  189.      <DispatchableVehicleGroup>
  190.        <DispatchableVehicleGroupID>FOLKSVehicles</DispatchableVehicleGroupID>   ~~ Must match VehiclesID in Gangs.xml ~~
  191.     <DispatchableVehicles>
  192.       <DispatchableVehicle>
  193.         <ModelName>faction2</ModelName>                                         ~~ Vehicle Spawn ID ~~
  194.         <RequiredPedGroup />
  195.         <MinOccupants>1</MinOccupants>                                          ~~ Minimal Amount of People Per Vehicle ~~
  196.         <MaxOccupants>2</MaxOccupants>                                          ~~ Maximum Amount of People Per Vehicle ~~
  197.         <AmbientSpawnChance>50</AmbientSpawnChance>                             ~~ How often the Vehicle will spawn Ambiently ~~
  198.         <WantedSpawnChance>50</WantedSpawnChance>                               ~~ How often the Vehicle will spawn while Wanted ~~
  199.         <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  200.         <MaxWantedLevelSpawn>6</MaxWantedLevelSpawn>
  201.         <RequiredPrimaryColorID>0</RequiredPrimaryColorID>                 
  202.         <RequiredSecondaryColorID>0</RequiredSecondaryColorID>             
  203.         <RequiredLiveries />
  204.         <VehicleExtras />
  205.       </DispatchableVehicle>     
  206.     </DispatchableVehicles>
  207.   </DispatchableVehicleGroup>
  208.  
  209.  
  210. ---------------------------------------------------------------------------------------------------------------------------------------
  211.      DispatchablePeople.xml Stuff
  212. ---------------------------------------------------------------------------------------------------------------------------------------
  213.    
  214.        <DispatchablePersonGroupID>FOLKSPeds</DispatchablePersonGroupID>         ~~ Must match <PersonnelID> in Gangs.xml ~~
  215.        
  216.        
  217.        <ModelName>ig_g</ModelName>                                              ~~ Spawn ID of Ped ~~
  218.        
  219.        
  220.         <AmbientSpawnChance>30</AmbientSpawnChance>                             ~~ How often you want the GangPed to spawn Ambiently ~~
  221.         <WantedSpawnChance>30</WantedSpawnChance>                               ~~ How often you want the GangPed to spawn while Wanted ~~
  222.        
  223.        
  224.         The rest of the options available are pretty self explanatory so feel free to experiment and save backups.
  225.    
  226.    
  227. ---------------------------------------------------------------------------------------------------------------------------------------  
  228.      DispatchablePeople.xml Example Entry
  229. ---------------------------------------------------------------------------------------------------------------------------------------    
  230.    
  231.  
  232.       <DispatchablePersonGroup>
  233.     <DispatchablePersonGroupID>FOLKSPeds</DispatchablePersonGroupID>            ~~ Must match PersonnelID in Gangs.xml ~~
  234.     <DispatchablePeople>
  235.       <DispatchablePerson>
  236.         <DebugName>FOLKSMale1</DebugName>
  237.         <ModelName>ig_g</ModelName>                                             ~~ Spawn ID of Ped ~~
  238.         <GroupName />
  239.         <AmbientSpawnChance>30</AmbientSpawnChance>                             ~~ How often the GangPed will spawn Ambiently ~~
  240.         <WantedSpawnChance>30</WantedSpawnChance>                               ~~ How often the GangPed will spawn while Wanted ~~
  241.         <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  242.         <MaxWantedLevelSpawn>6</MaxWantedLevelSpawn>
  243.         <HealthMin>85</HealthMin>
  244.         <HealthMax>125</HealthMax>
  245.         <ArmorMin>0</ArmorMin>
  246.         <ArmorMax>0</ArmorMax>
  247.         <AccuracyMin>5</AccuracyMin>
  248.         <AccuracyMax>10</AccuracyMax>
  249.         <ShootRateMin>400</ShootRateMin>
  250.         <ShootRateMax>600</ShootRateMax>
  251.         <CombatAbilityMin>0</CombatAbilityMin>
  252.         <CombatAbilityMax>1</CombatAbilityMax>
  253.         <TaserAccuracyMin>30</TaserAccuracyMin>
  254.         <TaserAccuracyMax>30</TaserAccuracyMax>
  255.         <TaserShootRateMin>100</TaserShootRateMin>
  256.         <TaserShootRateMax>100</TaserShootRateMax>
  257.         <VehicleAccuracyMin>2</VehicleAccuracyMin>
  258.         <VehicleAccuracyMax>4</VehicleAccuracyMax>
  259.         <VehicleShootRateMin>10</VehicleShootRateMin>
  260.         <VehicleShootRateMax>15</VehicleShootRateMax>
  261.         <UnitCode />
  262.         <RequiredHelmetType>-1</RequiredHelmetType>
  263.         <AllowRandomizeBeforeVariationApplied>false</AllowRandomizeBeforeVariationApplied>
  264.         <RandomizeHead>false</RandomizeHead>
  265.         <OptionalPropChance>30</OptionalPropChance>
  266.         <OptionalComponentChance>30</OptionalComponentChance>
  267.       </DispatchablePerson>
  268.     </DispatchablePeople>
  269.   </DispatchablePersonGroup>
  270.  
  271.  
  272. ---------------------------------------------------------------------------------------------------------------------------------------
  273.     Locations.xml Stuff
  274. ---------------------------------------------------------------------------------------------------------------------------------------  
  275.    How to get coordinates:
  276.     While in game with LSR loaded press F11 to enter the Debug Menu and select the Location Menu and select "Log Game Location"
  277.     which records your current coordinates and heading to a file within LosSantosRED folder named "StoredLocations.txt"
  278.  
  279.     StoredLocations.txt Example Entry:
  280.    
  281.     new GameLocation(new Vector3(4.840425f, -1217.857f, 29.32896f), 270.6059f,new Vector3(4.840425f, -1217.857f, 29.32896f), 270.6059f,          
  282.     LocationType.LocationType ped1, "Name ped1", "Name ped1"),
  283. ---------------------------------------------------------------------------------------------------------------------------------------
  284.                                    X         Y           Z           H
  285.     Looking at the following: (4.840425f, -1217.857f, 29.32896f), 270.6059f
  286. ---------------------------------------------------------------------------------------------------------------------------------------
  287.     X = 4.840425                      <X>4.840425</X>
  288.     Y = -1217.857                     <Y>-1217.857</Y>
  289.     Z = 29.32896                      <Z>29.32896</Z>
  290.     Heading = 270.6059  <EntranceHeading>270.6059</EntranceHeading>
  291. ---------------------------------------------------------------------------------------------------------------------------------------
  292.  
  293.     <BannerImagePath>disciples.png</BannerImagePath>          ~~ Image can be created and put in the LosSantosRed/images folder ~~
  294.    
  295.    
  296.     <MapIcon>355</MapIcon>                                    ~~ Gang Icon shown on the map/minimap more ID's can be found at https://wiki.gtanet.work/index.php?title=Blips ~~
  297.    
  298.    
  299.     <EntrancePosition>                                        ~~ Coordinates Entry For Gang Hideout/Den Entrance ~~
  300.         <X>373.0611</X>      
  301.         <Y>-737.8757</Y>
  302.         <Z>29.27004</Z>
  303.     </EntrancePosition>
  304.     <EntranceHeading>251.1981</EntranceHeading>
  305.    
  306.    
  307.     <MenuID>FamiliesDenMenu</MenuID>                          ~~ Uses ShopMenu.xml for items sold within the Hideout/Den ~~
  308.                                                               ~~ Possible to create a custom entry within the ShopMenu.xml to use ~~
  309.    
  310.     Other Hangout/Den Premade Shop List:
  311.    
  312.     AncelottiDenMenu
  313.     ArmenianDenMenu
  314.     BallasDenMenu
  315.     DiablosDenMenu
  316.     FamiliesDenMenu
  317.     GambettiDenMenu
  318.     GenericGangDenMenu
  319.     KkangpaeDenMenu
  320.     LostDenMenu
  321.     LupisellaDenMenu
  322.     MadrazoDenMenu
  323.     MarabunteDenMenu
  324.     MessinaDenMenu
  325.     PavanoDenMenu
  326.     TriadsDenMenu
  327.     VagosDenMenu
  328.     VarriosDenMenu
  329.     YardiesDenMenu
  330.    
  331.    
  332.     <GangID>AMBIENT_GANG_FOLKS</GangID>                      ~~ Must Be Identical to <ID> used in Gang.xml ~~
  333.                                                              ~~ Needed for Ped/Vehicle Spawns Around the Hangout/Den ~~
  334.    
  335.     ~~ - For Ped and Vehicle Spawns - A random ped/vehicle will be selected from those you have setup within the Dispatchable files ~~
  336.  
  337.  
  338.        <PossiblePedSpawns>                                   ~~ Coordinates Entry Example for a single Ped spawn ~~
  339.         <ConditionalLocation>
  340.           <Location>
  341.             <X>375.3718</X>  
  342.             <Y>-735.5668</Y>
  343.             <Z>29.28307</Z>
  344.           </Location>
  345.           <Heading>213.5318</Heading>                        ~~ Direction Ped will face ~~
  346.           <Percentage>50</Percentage>                        ~~ Chance OF Spawning ~~
  347.         </ConditionalLocation>    
  348.       </PossiblePedSpawns>
  349.      
  350.      
  351.        <PossibleVehicleSpawns>                               ~~ Coordinates Entry Example for a single Vehicle spawn ~~
  352.         <ConditionalLocation>
  353.           <Location>
  354.             <X>372.3062</X>    
  355.             <Y>-749.1945</Y>
  356.             <Z>29.27776</Z>
  357.           </Location>
  358.           <Heading>336.5012</Heading>                        ~~ Direction Vehicle will face ~~
  359.           <Percentage>75</Percentage>                        ~~ Chance OF Spawning ~~
  360.         </ConditionalLocation>
  361.       </PossibleVehicleSpawns>
  362.  
  363.  
  364. ---------------------------------------------------------------------------------------------------------------------------------------  
  365.     Locations.xml Example Entry
  366. ---------------------------------------------------------------------------------------------------------------------------------------  
  367.  <GangDen>
  368.       <Name>Gangster Disciples Hangout</Name>
  369.       <FullName>Gangster Disciples Hangout</FullName>
  370.       <Description />
  371.       <IsEnabled>false</IsEnabled>
  372.       <IsTemporarilyClosed>false</IsTemporarilyClosed>
  373.       <BannerImagePath>disciples.png</BannerImagePath>       ~~ Save Banner in LosSantosRed/images folder ~~
  374.       <RemoveBanner>false</RemoveBanner>
  375.       <IsBlipEnabled>true</IsBlipEnabled>
  376.       <MapIcon>355</MapIcon>                                 ~~ Currently Set to a D ~~
  377.       <MapIconColor />
  378.       <MapIconScale>1</MapIconScale>
  379.       <MapIconRadius>1</MapIconRadius>
  380.       <MapOpenIconAlpha>1</MapOpenIconAlpha>
  381.       <MapClosedIconAlpha>0.25</MapClosedIconAlpha>
  382.       <EntrancePosition>                                    ~~ Cordinates For Gang Hideout/Den Enterance ~~
  383.         <X>373.0611</X>      
  384.         <Y>-737.8757</Y>
  385.         <Z>29.27004</Z>
  386.       </EntrancePosition>
  387.       <EntranceHeading>251.1981</EntranceHeading>
  388.       <OpenTime>0</OpenTime>
  389.       <CloseTime>24</CloseTime>
  390.       <InteriorID>-1</InteriorID>
  391.       <IsWalkup>false</IsWalkup>
  392.       <ShowsOnDirectory>true</ShowsOnDirectory>
  393.       <TypeName>Gang Den</TypeName>
  394.       <SortOrder>999</SortOrder>
  395.       <ScannerFilePath />
  396.       <MenuID>FamiliesDenMenu</MenuID>                      ~~ Uses ShopMenu.xml for items sold within the Hideout/Den ~~
  397.       <VendorPosition>
  398.         <X>0</X>
  399.         <Y>0</Y>
  400.         <Z>0</Z>
  401.       </VendorPosition>
  402.       <VendorHeading>0</VendorHeading>
  403.       <CameraPosition>
  404.         <X>0</X>
  405.         <Y>0</Y>
  406.         <Z>0</Z>
  407.       </CameraPosition>
  408.       <CameraDirection>
  409.         <X>0</X>
  410.         <Y>0</Y>
  411.         <Z>0</Z>
  412.       </CameraDirection>
  413.       <CameraRotation>
  414.         <Pitch>0</Pitch>
  415.         <Roll>0</Roll>
  416.         <Yaw>0</Yaw>
  417.       </CameraRotation>
  418.       <CanInteractWhenWanted>true</CanInteractWhenWanted>
  419.       <ItemDeliveryLocations />
  420.       <GangID>AMBIENT_GANG_FOLKS</GangID>               ~~ Needed for Ped/Vehicle Spawns Around the Hangout/Den ~~
  421.       <ItemPreviewPosition>
  422.         <X>0</X>
  423.         <Y>0</Y>
  424.         <Z>0</Z>
  425.       </ItemPreviewPosition>
  426.       <ItemPreviewHeading>0</ItemPreviewHeading>
  427.       <PossiblePedSpawns>
  428.         <ConditionalLocation>                           ~~ Coordinates Entry Ped 1 spawn ~~
  429.           <Location>
  430.             <X>375.3718</X>  
  431.             <Y>-735.5668</Y>
  432.             <Z>29.28307</Z>
  433.           </Location>
  434.           <Heading>213.5318</Heading>                   ~~ Direction Ped will face ~~
  435.           <Percentage>50</Percentage>                   ~~ Chance OF Spawning ~~
  436.         </ConditionalLocation>
  437.         <ConditionalLocation>                           ~~ Coordinates Entry Ped 2 spawn ~~
  438.           <Location>
  439.             <X>372.3325</X>    
  440.             <Y>-741.61</Y>
  441.             <Z>29.27051</Z>
  442.           </Location>
  443.           <Heading>247.4083</Heading>                   ~~ Direction Ped will face ~~
  444.           <Percentage>50</Percentage>                   ~~ Chance OF Spawning ~~
  445.         </ConditionalLocation>
  446.         <ConditionalLocation>                           ~~ Coordinates Entry Ped 3 spawn ~~
  447.           <Location>
  448.             <X>387.0685</X>    
  449.             <Y>-733.2847</Y>
  450.             <Z>29.29255</Z>
  451.           </Location>
  452.           <Heading>206.9936</Heading>                   ~~ Direction Ped will face ~~
  453.           <Percentage>50</Percentage>                   ~~ Chance OF Spawning ~~
  454.         </ConditionalLocation>
  455.         <ConditionalLocation>                           ~~ Coordinates Entry Ped 4 spawn ~~
  456.           <Location>
  457.             <X>389.297</X>    
  458.             <Y>-733.4128</Y>
  459.             <Z>29.29111</Z>
  460.           </Location>
  461.           <Heading>157.1843</Heading>                   ~~ Direction Ped will face ~~
  462.           <Percentage>50</Percentage>                   ~~ Chance OF Spawning ~~
  463.         </ConditionalLocation>
  464.       </PossiblePedSpawns>
  465.       <PossibleVehicleSpawns>
  466.         <ConditionalLocation>                           ~~ Coordinates Entry Vehicle 1 spawn ~~
  467.           <Location>
  468.             <X>372.3062</X>    
  469.             <Y>-749.1945</Y>
  470.             <Z>29.27776</Z>
  471.           </Location>
  472.           <Heading>336.5012</Heading>                   ~~ Direction Vehicle will face ~~
  473.           <Percentage>75</Percentage>                   ~~ Chance OF Spawning ~~
  474.         </ConditionalLocation>
  475.         <ConditionalLocation>                           ~~ Coordinates Entry Vehicle 2 spawn ~~
  476.           <Location>
  477.             <X>368.8668</X>    
  478.             <Y>-758.3209</Y>
  479.             <Z>29.27802</Z>
  480.           </Location>
  481.           <Heading>158.0254</Heading>                   ~~ Direction Vehicle will face ~~
  482.           <Percentage>75</Percentage>                   ~~ Chance OF Spawning ~~
  483.         </ConditionalLocation>
  484.       </PossibleVehicleSpawns>
  485.     </GangDen> 
  486.    
  487.  
  488. ---------------------------------------------------------------------------------------------------------------------------------------  
  489.     GangTerritories.xml Stuff
  490. ---------------------------------------------------------------------------------------------------------------------------------------    
  491.    
  492.     The only thing to change in this file is : <AgencyInitials> : All zones are premade, use Zones.xml to find the area you want your gang
  493.     to spawn and remember its short id to find within GangTerritories.xml
  494.     and then replace the existing gang with yours in the <AgencyInitials> section.
  495.    
  496. ---------------------------------------------------------------------------------------------------------------------------------------
  497.     A Custom Area can be created, I haven't set one up yet so i have no info to share on that right now.
  498. ---------------------------------------------------------------------------------------------------------------------------------------
  499.  
  500.     <ZoneInternalGameName>TEXTI</ZoneInternalGameName>  ~~ Area ID for Gang Location, More ID's for locations can be found within Zones.xml
  501.    
  502.    
  503.     <AgencyInitials>AMBIENT_GANG_FOLKS</AgencyInitials> ~~ Must be identical to the <ID> used in Gangs.xml ~~
  504.                                                         ~~ Needed for Ped/Vehicle Spawns Around the Selected Gang Area ~~
  505.    
  506.    
  507.     <AmbientSpawnChance>100</AmbientSpawnChance>        ~~ How often the GangPed will spawn Ambiently around selected territory
  508.     <WantedSpawnChance>100</WantedSpawnChance>          ~~ How often the GangPed will spawn While Wanted is active around selected territory
  509.    
  510.  
  511. ---------------------------------------------------------------------------------------------------------------------------------------
  512.     GangTerritories.xml Example
  513. ---------------------------------------------------------------------------------------------------------------------------------------
  514.  
  515.  
  516.       <ZoneJurisdiction>
  517.     <ZoneInternalGameName>TEXTI</ZoneInternalGameName>   ~~ Gang Location Texti = Textile City ~~
  518.     <AgencyInitials>AMBIENT_GANG_FOLKS</AgencyInitials>  ~~ Needed for Ped/Vehicle Spawns Around the Selected Gang Area ~~
  519.     <Priority>0</Priority>
  520.     <AmbientSpawnChance>100</AmbientSpawnChance>
  521.     <WantedSpawnChance>100</WantedSpawnChance>
  522.     <CanSpawnPedestrianOfficers>false</CanSpawnPedestrianOfficers>
  523.   </ZoneJurisdiction>
  524.  
  525. ---------------------------------------------------------------------------------------------------------------------------------------
  526.  
  527.  All ~~ Comments ~~ within Each Example can be deleted, So you can use it as a template for setting up your own.
  528.  
  529. Other Helpful Links and Refrences:
  530.  
  531. https://wiki.rage.mp/index.php?title=Notification_Pictures
  532. https://wiki.gtanet.work/index.php?title=Blips
  533. https://docs.fivem.net/docs/game-references/
  534. https://wiki.rage.mp/index.php?title=Vehicles#Motorcycles
  535. https://wiki.rage.mp/index.php?title=Peds
Tags: Gta5 LSR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement