Advertisement
PeterBadoingy

Los Santos Red Adding a Gang

Feb 6th, 2023 (edited)
1,669
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 31.83 KB | None | 0 0
  1.     *UPDATED* 15 August 2023
  2.  
  3.      All ~~ Comments ~~ within Each Example can be deleted, So you can use it as a template for setting up your own, You will only need to enter the coordinates for your new Gang Location and PED/Vehicle Spawns.
  4.  
  5.     Files that will be needed for Adding a gang can be found within the LosSantosRED folder.
  6.  
  7.     Gangs.xml
  8.     GangTerritories.xml
  9.     DispatchablePeople.xml
  10.     DispatchableVehicle.xml
  11.     Locations.xml
  12.  
  13.     I recommend creating copies of the existing files and adding a custom config Name and then modifying those files
  14.     ****DO NOT DELETE ENTRIES**** From the files you are editing. You will be adding these entries in with the rest.
  15.     These configs will be prioritized over default config files when loading the mod.
  16.  
  17.     Gangs_NAME.xml
  18.     GangTerritories_NAME.xml
  19.     DispatchablePeople_NAME.xml
  20.     DispatchableVehicle_NAME.xml
  21.     Locations_NAME.xml
  22.  
  23.        
  24. ---------------------------------------------------------------------------------------------------------------------------------------
  25.     Zones.xml - For getting Area IDs while setting up GangTerritories.xml -
  26.  
  27.  
  28. ---------------------------------------------------------------------------------------------------------------------------------------
  29.     ShopMenu.xml
  30.  
  31.     *NOTE* The following file can be edited to create a new custom entry for buyable items from your Hangout/Den.
  32.     I won't be going into creating one for now and using a premade entry.
  33.  
  34. ---------------------------------------------------------------------------------------------------------------------------------------
  35.  
  36.  
  37.     Starting off with the Gang.xml
  38. ---------------------------------------------------------------------------------------------------------------------------------------
  39.      Gang.xml Stuff
  40. ---------------------------------------------------------------------------------------------------------------------------------------
  41.  
  42.     <ID>AMBIENT_GANG_CUSTOMGANG</ID>                   ~~ Needed for GangTerritory.xml and Locations.xml  ~~  NAMES MUST MATCH ~~
  43.    
  44.      <ContactName>GangLeaderName</ContactName>                      ~~  Phone and ingame message Contact Name ~~
  45.     <ContactIcon>CHAR_TW</ContactIcon>                              ~~  Phone and ingame message Contact Icon ~~
  46.                                                                     ~~ More Icons IDs can be found at the following link:
  47.                                                                     https://wiki.rage.mp/index.php?title=Notification_Pictures
  48.  
  49.     <PersonnelID>CUSTOMGANGPeds</PersonnelID>          ~~ Needed for DispatchablePeople.xml ~~
  50.  
  51.     <VehiclesID>CUSTOMGANGVehicles</VehiclesID>            ~~ Needed for DispatchableVehicles.xml ~~
  52.    
  53.  
  54.     ~~ ALL GANGS Listed, Add or Remove <string>THE_FULL_ENTRY</string> for gangs you want or don't want to be enemies with. ~~
  55.     ~~ *NOTE* If You do not set an enemy all gangs will be eligable for missions ~~
  56.  
  57.     Enemy Gang List:
  58.  
  59.       <string>AMBIENT_GANG_ANCELOTTI</string>
  60.       <string>AMBIENT_GANG_ARMENIAN</string>                       
  61.       <string>AMBIENT_GANG_BALLAS</string>
  62.       <string>AMBIENT_GANG_DIABLOS</string>
  63.       <string>AMBIENT_GANG_FAMILY</string>
  64.       <string>AMBIENT_GANG_GAMBETTI</string>
  65.       <string>AMBIENT_GANG_HILLBILLY</string>
  66.       <string>AMBIENT_GANG_KKANGPAE</string>
  67.       <string>AMBIENT_GANG_LOST</string>
  68.       <string>AMBIENT_GANG_LUPISELLA</string>
  69.       <string>AMBIENT_GANG_MADRAZO</string>
  70.       <string>AMBIENT_GANG_MARABUNTE</string>
  71.       <string>AMBIENT_GANG_MESSINA</string>
  72.       <string>AMBIENT_GANG_MEXICAN</string>
  73.       <string>AMBIENT_GANG_PAVANO</string>
  74.       <string>AMBIENT_GANG_SALVA</string>
  75.       <string>AMBIENT_GANG_WEICHENG</string>
  76.       <string>AMBIENT_GANG_YARDIES</string>
  77.  
  78.     Local Drug Dealer Selling List:
  79.    
  80.     CokeDealerMenu
  81.     CrackDealerMenu
  82.     HeroinDealerMenu
  83.     MarijuanaDealerMenu
  84.     MethamphetamineDealerMenu
  85.     SPANKDealerMenu
  86.     ToiletCleanerDealerMenu
  87.    
  88.     ~~ Mission Payouts can also be adjusted within the Gangs.xml ~~
  89.  
  90.  
  91. ---------------------------------------------------------------------------------------------------------------------------------------
  92.     Gangs.xml Example Entry
  93. ---------------------------------------------------------------------------------------------------------------------------------------
  94.  
  95.    
  96.   <Gang>
  97.     <ID>AMBIENT_GANG_CUSTOMGANG</ID>                        ~~ Needed for GangTerritory.xml and Locations.xml.
  98.     <FullName>Custom Gang</FullName>
  99.     <ShortName>Gang</ShortName>                             ~~ Name is for Display and First Half HideOut/GangDen Name ~~
  100.     <MemberName>Gang Member</MemberName>
  101.     <ContactName>GangLeaderName</ContactName>               ~~  Phone Contact Name ~~
  102.     <ContactIcon>CHAR_BLANK_ENTRY</ContactIcon>             ~~  Phone Contact Icon ~~
  103.     <DenName>Hangout</DenName>                              ~~ Second Half HideOut/GangDen Name ~~
  104.     <ColorPrefix>~y~</ColorPrefix>
  105.     <ColorString>Yellow</ColorString>
  106.     <LicensePlatePrefix>MYG-</LicensePlatePrefix>
  107.     <SpawnLimit>10</SpawnLimit>
  108.     <CanSpawnAnywhere>false</CanSpawnAnywhere>
  109.     <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  110.     <MaxWantedLevelSpawn>6</MaxWantedLevelSpawn>
  111.     <PersonnelID>CUSTOMGANGPeds</PersonnelID>               ~~ Needed for DispatchablePeople.xml  ~~
  112.     <MeleeWeaponsID>MeleeWeapons</MeleeWeaponsID>
  113.     <SideArmsID>VagosSidearms</SideArmsID>
  114.     <LongGunsID>VagosLongGuns</LongGunsID>
  115.     <VehiclesID>CUSTOMGANGVehicles</VehiclesID>             ~~ Needed for DispatchableVehicles.xml ~~
  116.     <MinimumRep>-5000</MinimumRep>
  117.     <MaximumRep>5000</MaximumRep>
  118.     <StartingRep>0</StartingRep>
  119.     <NeutralRepLevel>0</NeutralRepLevel>
  120.     <FriendlyRepLevel>1500</FriendlyRepLevel>
  121.     <MemberOfferRepLevel>4500</MemberOfferRepLevel>
  122.     <HitSquadRep>-4500</HitSquadRep>
  123.     <AddAmbientRep>true</AddAmbientRep>
  124.     <GameTimeToRecoverAmbientRep>5000</GameTimeToRecoverAmbientRep>
  125.     <PickupPaymentMin>200</PickupPaymentMin>
  126.     <PickupPaymentMax>1000</PickupPaymentMax>
  127.     <TheftPaymentMin>1000</TheftPaymentMin>
  128.     <TheftPaymentMax>5000</TheftPaymentMax>
  129.     <HitPaymentMin>10000</HitPaymentMin>
  130.     <HitPaymentMax>30000</HitPaymentMax>
  131.     <DeliveryPaymentMin>1500</DeliveryPaymentMin>
  132.     <DeliveryPaymentMax>4500</DeliveryPaymentMax>
  133.     <WheelmanPaymentMin>15000</WheelmanPaymentMin>
  134.     <WheelmanPaymentMax>35000</WheelmanPaymentMax>
  135.     <ImpoundTheftPaymentMin>3000</ImpoundTheftPaymentMin>
  136.     <ImpoundTheftPaymentMax>7000</ImpoundTheftPaymentMax>
  137.     <BodyDisposalPaymentMin>4500</BodyDisposalPaymentMin>
  138.     <BodyDisposalPaymentMax>6500</BodyDisposalPaymentMax>
  139.     <FightPercentage>70</FightPercentage>
  140.     <FightPolicePercentage>30</FightPolicePercentage>
  141.     <DrugDealerPercentage>55</DrugDealerPercentage>
  142.     <DealerMenuGroup>MarijuanaDealerMenu</DealerMenuGroup>      ~~ Local Drug Dealer Sales Item ~~
  143.     <AmbientMemberMoneyMin>100</AmbientMemberMoneyMin>
  144.     <AmbientMemberMoneyMax>400</AmbientMemberMoneyMax>
  145.     <DealerMemberMoneyMin>400</DealerMemberMoneyMin>
  146.     <DealerMemberMoneyMax>1000</DealerMemberMoneyMax>
  147.     <CostToPayoffGangScalar>5</CostToPayoffGangScalar>
  148.     <RemoveRepOnWantedInTerritory>true</RemoveRepOnWantedInTerritory>
  149.     <RemoveRepOnWantedInTerritoryScalar>5</RemoveRepOnWantedInTerritoryScalar>
  150.     <PercentageTrustingOfPlayer>60</PercentageTrustingOfPlayer>
  151.     <PercentageWithLongGuns>5</PercentageWithLongGuns>
  152.     <PercentageWithSidearms>20</PercentageWithSidearms>
  153.     <PercentageWithMelee>20</PercentageWithMelee>
  154.     <VehicleSpawnPercentage>60</VehicleSpawnPercentage>
  155.     <PedestrianSpawnPercentageAroundDen>80</PedestrianSpawnPercentageAroundDen>
  156.     <MemberKickUpDays>7</MemberKickUpDays>
  157.     <MemberKickUpAmount>2200</MemberKickUpAmount>
  158.     <MemberKickUpMissLimit>3</MemberKickUpMissLimit>
  159.     <GangClassification>Street</GangClassification>
  160.     <EnemyGangs>
  161.       <string>AMBIENT_GANG_ARMENIAN</string>                        ~ ALL GANGS Listed ~~
  162.       <string>AMBIENT_GANG_BALLAS</string>
  163.       <string>AMBIENT_GANG_DIABLOS</string>
  164.       <string>AMBIENT_GANG_FAMILY</string>
  165.       <string>AMBIENT_GANG_GAMBETTI</string>
  166.       <string>AMBIENT_GANG_KKANGPAE</string>
  167.       <string>AMBIENT_GANG_LOST</string>
  168.       <string>AMBIENT_GANG_MADRAZO</string>
  169.       <string>AMBIENT_GANG_MARABUNTE</string>
  170.       <string>AMBIENT_GANG_MEXICAN</string>
  171.       <string>AMBIENT_GANG_SALVA</string>
  172.       <string>AMBIENT_GANG_WEICHENG</string>
  173.       <string>AMBIENT_GANG_YARDIES</string>
  174.     </EnemyGangs>
  175.   </Gang>
  176.  
  177.  
  178. ---------------------------------------------------------------------------------------------------------------------------------------
  179.      DispatchableVehicle.xml Stuff
  180. ---------------------------------------------------------------------------------------------------------------------------------------
  181.  
  182.  
  183.     <DispatchableVehicleGroupID>CUSTOMGANGVehicles</DispatchableVehicleGroupID> ~~ Must match <VehiclesID> in Gangs.xml ~~
  184.  
  185.  
  186.     <ModelName>faction2</ModelName>                                             ~~ Vehicle Spawn ID ~~
  187.  
  188.  
  189.     <MinOccupants>1</MinOccupants>                                              ~~ Minimal Amount of People Per Vehicle ~~
  190.     <MaxOccupants>2</MaxOccupants>                                              ~~ Maximum Amount of People Per Vehicle ~~
  191.        
  192.        
  193.     <AmbientSpawnChance>50</AmbientSpawnChance>                                 ~~ How often the Vehicle will spawn Ambiently ~~
  194.     <WantedSpawnChance>50</WantedSpawnChance>                                   ~~ How often the Vehicle will spawn while Wanted ~~
  195.  
  196.  
  197.     <RequiredPrimaryColorID>0</RequiredPrimaryColorID>                          ~~ Primary Car Color ~~
  198.     <RequiredSecondaryColorID>0</RequiredSecondaryColorID>                      ~~ Secondary Car Color ~~
  199.  
  200.  
  201. ---------------------------------------------------------------------------------------------------------------------------------------
  202.      DispatchableVehicle.xml Example Entry
  203. ---------------------------------------------------------------------------------------------------------------------------------------
  204.  
  205.  
  206.      <DispatchableVehicleGroup>
  207.        <DispatchableVehicleGroupID>CUSTOMGANGVehicles</DispatchableVehicleGroupID>   ~~ Must match VehiclesID in Gangs.xml ~~
  208.     <DispatchableVehicles>
  209.       <DispatchableVehicle>
  210.         <ModelName>faction2</ModelName>                                         ~~ Vehicle Spawn ID ~~
  211.         <RequiredPedGroup />
  212.         <GroupName />
  213.         <MinOccupants>1</MinOccupants>                                          ~~ Minimal Amount of People Per Vehicle ~~
  214.         <MaxOccupants>2</MaxOccupants>                                          ~~ Maximum Amount of People Per Vehicle ~~
  215.         <AmbientSpawnChance>50</AmbientSpawnChance>                             ~~ How often the Vehicle will spawn Ambiently ~~
  216.         <WantedSpawnChance>50</WantedSpawnChance>                               ~~ How often the Vehicle will spawn while Wanted ~~
  217.         <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  218.         <MaxWantedLevelSpawn>6</MaxWantedLevelSpawn>
  219.         <RequiredPrimaryColorID>0</RequiredPrimaryColorID>                 
  220.         <RequiredSecondaryColorID>0</RequiredSecondaryColorID>             
  221.         <RequiredLiveries />
  222.         <VehicleExtras />
  223.         <MaxRandomDirtLevel>5</MaxRandomDirtLevel>
  224.         <RequiresDLC>false</RequiresDLC>
  225.       </DispatchableVehicle>     
  226.     </DispatchableVehicles>
  227.   </DispatchableVehicleGroup>
  228.  
  229.  
  230. ---------------------------------------------------------------------------------------------------------------------------------------
  231.      DispatchablePeople.xml Stuff
  232. ---------------------------------------------------------------------------------------------------------------------------------------
  233.    
  234.        <DispatchablePersonGroupID>CUSTOMGANGPeds</DispatchablePersonGroupID>        ~~ Must match <PersonnelID> in Gangs.xml ~~
  235.        
  236.        
  237.        <ModelName>ig_g</ModelName>                                              ~~ Spawn ID of Ped ~~
  238.        
  239.        
  240.         <AmbientSpawnChance>30</AmbientSpawnChance>                             ~~ How often you want the GangPed to spawn Ambiently ~~
  241.         <WantedSpawnChance>30</WantedSpawnChance>                               ~~ How often you want the GangPed to spawn while Wanted ~~
  242.        
  243.        
  244.         The rest of the options available are pretty self explanatory so feel free to experiment and save backups.
  245.    
  246.    
  247. ---------------------------------------------------------------------------------------------------------------------------------------  
  248.      DispatchablePeople.xml Example Entry
  249. ---------------------------------------------------------------------------------------------------------------------------------------    
  250.    
  251.  
  252.   <DispatchablePersonGroup>
  253.     <DispatchablePersonGroupID>CUSTOMGANGPeds</DispatchablePersonGroupID>           ~~ Must match PersonnelID in Gangs.xml ~~
  254.     <DispatchablePeople>
  255.       <DispatchablePerson>
  256.         <DebugName>CUSTOMGANGMale1</DebugName>
  257.         <ModelName>ig_g</ModelName>                                             ~~ Spawn ID of Ped ~~
  258.         <GroupName />
  259.         <AmbientSpawnChance>30</AmbientSpawnChance>                             ~~ How often the GangPed will spawn Ambiently ~~
  260.         <WantedSpawnChance>30</WantedSpawnChance>                               ~~ How often the GangPed will spawn while Wanted ~~
  261.         <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  262.         <MaxWantedLevelSpawn>6</MaxWantedLevelSpawn>
  263.         <HealthMin>85</HealthMin>
  264.         <HealthMax>125</HealthMax>
  265.         <ArmorMin>0</ArmorMin>
  266.         <ArmorMax>0</ArmorMax>
  267.         <AccuracyMin>5</AccuracyMin>
  268.         <AccuracyMax>10</AccuracyMax>
  269.         <ShootRateMin>400</ShootRateMin>
  270.         <ShootRateMax>600</ShootRateMax>
  271.         <CombatAbilityMin>0</CombatAbilityMin>
  272.         <CombatAbilityMax>1</CombatAbilityMax>
  273.         <CombatRange>-1</CombatRange>
  274.         <CombatMovement>-1</CombatMovement>
  275.         <TaserAccuracyMin>30</TaserAccuracyMin>
  276.         <TaserAccuracyMax>30</TaserAccuracyMax>
  277.         <TaserShootRateMin>100</TaserShootRateMin>
  278.         <TaserShootRateMax>100</TaserShootRateMax>
  279.         <VehicleAccuracyMin>2</VehicleAccuracyMin>
  280.         <VehicleAccuracyMax>4</VehicleAccuracyMax>
  281.         <VehicleShootRateMin>10</VehicleShootRateMin>
  282.         <VehicleShootRateMax>15</VehicleShootRateMax>
  283.         <TurretAccuracyMin>10</TurretAccuracyMin>
  284.         <TurretAccuracyMax>30</TurretAccuracyMax>
  285.         <TurretShootRateMin>500</TurretShootRateMin>
  286.         <TurretShootRateMax>1000</TurretShootRateMax>
  287.         <UnitCode />
  288.         <RequiredHelmetType>-1</RequiredHelmetType>
  289.         <AllowRandomizeBeforeVariationApplied>false</AllowRandomizeBeforeVariationApplied>
  290.         <RandomizeHead>false</RandomizeHead>
  291.         <OverrideAgencyLessLethalWeapons>false</OverrideAgencyLessLethalWeapons>
  292.         <OverrideAgencySideArms>false</OverrideAgencySideArms>
  293.         <OverrideAgencyLongGuns>false</OverrideAgencyLongGuns>
  294.         <OptionalPropChance>30</OptionalPropChance>
  295.         <OptionalComponentChance>30</OptionalComponentChance>
  296.         <DisableWrithe>true</DisableWrithe>
  297.         <DisableWritheShooting>true</DisableWritheShooting>
  298.         <DisableCriticalHits>false</DisableCriticalHits>
  299.         <DisableBulletRagdoll>false</DisableBulletRagdoll>
  300.         <HasFullBodyArmor>false</HasFullBodyArmor>
  301.         <FiringPatternHash>0</FiringPatternHash>
  302.         <FaceFeatureRandomizePercentage>90</FaceFeatureRandomizePercentage>
  303.         <AlwaysHasLongGun>false</AlwaysHasLongGun>
  304.         <IsAnimal>false</IsAnimal>
  305.       </DispatchablePerson>
  306.     </DispatchablePeople>
  307.   </DispatchablePersonGroup>
  308.  
  309.  
  310. ---------------------------------------------------------------------------------------------------------------------------------------
  311.     Locations.xml Stuff
  312. ---------------------------------------------------------------------------------------------------------------------------------------  
  313.    How to get coordinates:
  314.     While in game with LSR loaded press F11 to enter the Debug Menu and select the Location Menu and select "Log Game Location"
  315.     which records your current coordinates and heading to a file within LosSantosRED folder named "StoredLocations.txt"
  316.  
  317.     StoredLocations.txt Example Entry:
  318.    
  319.     new GameLocation(new Vector3(4.840425f, -1217.857f, 29.32896f), 270.6059f,new Vector3(4.840425f, -1217.857f, 29.32896f), 270.6059f,          
  320.     LocationType.LocationType ped1, "Name ped1", "Name ped1"),
  321. ---------------------------------------------------------------------------------------------------------------------------------------
  322.                                    X         Y           Z           H
  323.     Looking at the following: (4.840425f, -1217.857f, 29.32896f), 270.6059f
  324. ---------------------------------------------------------------------------------------------------------------------------------------
  325.     X = 4.840425                      <X>4.840425</X>
  326.     Y = -1217.857                     <Y>-1217.857</Y>
  327.     Z = 29.32896                      <Z>29.32896</Z>
  328.     Heading = 270.6059  <EntranceHeading>270.6059</EntranceHeading>
  329. ---------------------------------------------------------------------------------------------------------------------------------------
  330.  
  331.     <BannerImagePath>CUSTOMGANG.png</BannerImagePath>          ~~ Image can be created and put in the LosSantosRed/images folder ~~
  332.    
  333.    
  334.     <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 ~~
  335.    
  336.    
  337.     <EntrancePosition>                                        ~~ Coordinates Entry For Gang Hideout/Den Entrance ~~
  338.         <X>373.0611</X>      
  339.         <Y>-737.8757</Y>
  340.         <Z>29.27004</Z>
  341.     </EntrancePosition>
  342.     <EntranceHeading>251.1981</EntranceHeading>
  343.    
  344.    
  345.     <MenuID>FamiliesDenMenu</MenuID>                          ~~ Uses ShopMenu.xml for items sold within the Hideout/Den ~~
  346.                                                               ~~ Possible to create a custom entry within the ShopMenu.xml to use ~~
  347.    
  348.     Other Hangout/Den Premade Shop List:
  349.    
  350.     AncelottiDenMenu
  351.     ArmenianDenMenu
  352.     BallasDenMenu
  353.     DiablosDenMenu
  354.     FamiliesDenMenu
  355.     GambettiDenMenu
  356.     GenericGangDenMenu
  357.     KkangpaeDenMenu
  358.     LostDenMenu
  359.     LupisellaDenMenu
  360.     MadrazoDenMenu
  361.     MarabunteDenMenu
  362.     MessinaDenMenu
  363.     PavanoDenMenu
  364.     TriadsDenMenu
  365.     VagosDenMenu
  366.     VarriosDenMenu
  367.     YardiesDenMenu
  368.    
  369.    
  370.     <GangID>AMBIENT_GANG_CUSTOMGANG</GangID>                     ~~ Must Be Identical to <ID> used in Gang.xml ~~
  371.                                                              ~~ Needed for Ped/Vehicle Spawns Around the Hangout/Den ~~
  372.    
  373.     ~~ - For Ped and Vehicle Spawns - A random ped/vehicle will be selected from those you have setup within the Dispatchable files ~~
  374.  
  375.     <PossiblePedSpawns>                                                         ~~ Start OF PED spawns ~~
  376.         <ConditionalLocation xsi:type="GangConditionalLocation">                ~~ Start Of PED Entry ~~
  377.           <Location>                                                            ~~ Coordinates Entry Ped 1 spawn ~~
  378.             <X>-608.3129</X>
  379.             <Y>-1786.241</Y>
  380.             <Z>23.63522</Z>
  381.           </Location>
  382.           <Heading>191.6332</Heading>                                           ~~ Direction Ped will face ~~
  383.           <Percentage>45</Percentage>                                           ~~ Chance OF Spawning ~~
  384.           <IsEmpty>true</IsEmpty>
  385.           <GroupID />
  386.           <AllowAirVehicle>false</AllowAirVehicle>
  387.           <AllowBoat>false</AllowBoat>
  388.           <TaskRequirements>None</TaskRequirements>
  389.           <OverrideNightPercentage>-1</OverrideNightPercentage>
  390.           <OverrideDayPercentage>-1</OverrideDayPercentage>
  391.           <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
  392.           <MinHourSpawn>0</MinHourSpawn>
  393.           <MaxHourSpawn>24</MaxHourSpawn>
  394.           <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  395.           <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
  396.           <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
  397.           <ForceMelee>false</ForceMelee>
  398.           <ForceSidearm>false</ForceSidearm>
  399.           <ForceLongGun>false</ForceLongGun>
  400.           <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
  401.         </ConditionalLocation>                                                  ~~ END Of PED Entry ~~
  402.        </PossiblePedSpawns>                                                     ~~ End OF PED spawns ~~
  403.      
  404.      
  405.       <PossibleVehicleSpawns>                                                   ~~ Start OF VEHICLES spawn ~~
  406.         <ConditionalLocation xsi:type="GangConditionalLocation">                ~~ Start Of Vehicle Entry ~~
  407.           <Location>                                                            ~~ Coordinates Entry Vehicle spawn ~~
  408.             <X>-597.8096</X>
  409.             <Y>-1791.076</Y>
  410.             <Z>22.92511</Z>
  411.           </Location>
  412.           <Heading>300.9409</Heading>
  413.           <Percentage>50</Percentage>
  414.           <IsEmpty>true</IsEmpty>
  415.           <GroupID />
  416.           <AllowAirVehicle>false</AllowAirVehicle>
  417.           <AllowBoat>false</AllowBoat>
  418.           <TaskRequirements>None</TaskRequirements>
  419.           <OverrideNightPercentage>-1</OverrideNightPercentage>
  420.           <OverrideDayPercentage>-1</OverrideDayPercentage>
  421.           <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
  422.           <MinHourSpawn>0</MinHourSpawn>
  423.           <MaxHourSpawn>24</MaxHourSpawn>
  424.           <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  425.           <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
  426.           <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
  427.           <ForceMelee>false</ForceMelee>
  428.           <ForceSidearm>false</ForceSidearm>
  429.           <ForceLongGun>false</ForceLongGun>
  430.           <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
  431.         </ConditionalLocation>                                      ~~ End Of Vehicle Entry ~~
  432.       </PossibleVehicleSpawns>                                      ~~ End OF VEHICLES spawn ~~
  433.  
  434.  
  435. ---------------------------------------------------------------------------------------------------------------------------------------  
  436.     Locations.xml Example Entry  CUSTOM GANGDEN Entries are to entered within the <GangDens> section of the Locations.xml
  437. ---------------------------------------------------------------------------------------------------------------------------------------  
  438.     <GangDen>
  439.       <Name>CUSTOMGANG Hangout</Name>
  440.       <FullName>CUSTOMGANG Hangout</FullName>
  441.       <Description />
  442.       <IsEnabled>true</IsEnabled>
  443.       <IsTemporarilyClosed>false</IsTemporarilyClosed>
  444.       <BannerImagePath>CUSTOMGANG.png</BannerImagePath>                         ~~ Save Banner in LosSantosRed/images folder ~~
  445.       <RemoveBanner>false</RemoveBanner>
  446.       <IsBlipEnabled>false</IsBlipEnabled>
  447.       <MapIcon>355</MapIcon>                                                    ~~ Currently Set to a D ~~
  448.       <MapIconColorString>White</MapIconColorString>
  449.       <MapIconScale>1</MapIconScale>
  450.       <MapIconRadius>1</MapIconRadius>
  451.       <MapOpenIconAlpha>1</MapOpenIconAlpha>
  452.       <MapClosedIconAlpha>0.25</MapClosedIconAlpha>
  453.       <EntrancePosition>                                                        ~~ Cordinates For Gang Hideout/Den Enterance ~~
  454.         <X>-615.221</X>
  455.         <Y>-1787.458</Y>
  456.         <Z>23.69615</Z>
  457.       </EntrancePosition>
  458.       <EntranceHeading>210.6709</EntranceHeading>
  459.       <OpenTime>0</OpenTime>
  460.       <CloseTime>24</CloseTime>
  461.       <InteriorID>-1</InteriorID>
  462.       <IsWalkup>false</IsWalkup>
  463.       <IsOnSPMap>true</IsOnSPMap>
  464.       <IsOnMPMap>true</IsOnMPMap>
  465.       <ShowsOnDirectory>false</ShowsOnDirectory>
  466.       <TypeName>Gang Den</TypeName>
  467.       <SortOrder>999</SortOrder>
  468.       <ScannerFilePath />
  469.       <ActivateCells>5</ActivateCells>
  470.       <AssignedAssociationID>AMBIENT_GANG_CUSTOMGANG</AssignedAssociationID>    ~~ Needed for Ped/Vehicle Spawns Around the Hangout/Den ~~
  471.       <MenuID>FamiliesDenMenu</MenuID>                                          ~~ Uses ShopMenu.xml for items sold within the Hideout/Den ~~
  472.       <VendorPosition>
  473.         <X>0</X>
  474.         <Y>0</Y>
  475.         <Z>0</Z>
  476.       </VendorPosition>
  477.       <VendorHeading>0</VendorHeading>
  478.       <CameraPosition>
  479.         <X>0</X>
  480.         <Y>0</Y>
  481.         <Z>0</Z>
  482.       </CameraPosition>
  483.       <CameraDirection>
  484.         <X>0</X>
  485.         <Y>0</Y>
  486.         <Z>0</Z>
  487.       </CameraDirection>
  488.       <CameraRotation>
  489.         <Pitch>0</Pitch>
  490.         <Roll>0</Roll>
  491.         <Yaw>0</Yaw>
  492.       </CameraRotation>
  493.       <CanInteractWhenWanted>true</CanInteractWhenWanted>
  494.       <ShowsMarker>true</ShowsMarker>
  495.       <ActivateDistance>225</ActivateDistance>
  496.     <PossiblePedSpawns>                                                         ~~ Start OF PED spawns ~~
  497.         <ConditionalLocation xsi:type="GangConditionalLocation">                ~~ Start Of PED Entry ~~
  498.           <Location>                                                            ~~ Coordinates Entry Ped 1 spawn ~~
  499.             <X>-608.3129</X>
  500.             <Y>-1786.241</Y>
  501.             <Z>23.63522</Z>
  502.           </Location>
  503.           <Heading>191.6332</Heading>                                           ~~ Direction Ped will face ~~
  504.           <Percentage>45</Percentage>                                           ~~ Chance OF Spawning ~~
  505.           <IsEmpty>true</IsEmpty>
  506.           <GroupID />
  507.           <AllowAirVehicle>false</AllowAirVehicle>
  508.           <AllowBoat>false</AllowBoat>
  509.           <TaskRequirements>None</TaskRequirements>
  510.           <OverrideNightPercentage>-1</OverrideNightPercentage>
  511.           <OverrideDayPercentage>-1</OverrideDayPercentage>
  512.           <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
  513.           <MinHourSpawn>0</MinHourSpawn>
  514.           <MaxHourSpawn>24</MaxHourSpawn>
  515.           <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  516.           <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
  517.           <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
  518.           <ForceMelee>false</ForceMelee>
  519.           <ForceSidearm>false</ForceSidearm>
  520.           <ForceLongGun>false</ForceLongGun>
  521.           <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
  522.         </ConditionalLocation>                                                  ~~ END Of PED 1 Entry ~~
  523.         <ConditionalLocation xsi:type="GangConditionalLocation">                ~~ Start Of PED 2 Entry ~~
  524.           <Location>                                                            ~~ Coordinates Entry Ped 2 spawn ~~                                    
  525.             <X>-602.466</X>
  526.             <Y>-1784.252</Y>
  527.             <Z>23.64002</Z>
  528.           </Location>
  529.           <Heading>120.1152</Heading>                                           ~~ Direction Ped will face ~~
  530.           <Percentage>45</Percentage>                                           ~~ Chance OF Spawning ~~
  531.           <IsEmpty>true</IsEmpty>
  532.           <GroupID />
  533.           <AllowAirVehicle>false</AllowAirVehicle>
  534.           <AllowBoat>false</AllowBoat>
  535.           <TaskRequirements>None</TaskRequirements>
  536.           <OverrideNightPercentage>-1</OverrideNightPercentage>
  537.           <OverrideDayPercentage>-1</OverrideDayPercentage>
  538.           <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
  539.           <MinHourSpawn>0</MinHourSpawn>
  540.           <MaxHourSpawn>24</MaxHourSpawn>
  541.           <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  542.           <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
  543.           <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
  544.           <ForceMelee>false</ForceMelee>
  545.           <ForceSidearm>false</ForceSidearm>
  546.           <ForceLongGun>false</ForceLongGun>
  547.           <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
  548.         </ConditionalLocation>                                                  ~~ END Of PED 2 Entry ~~
  549.       </PossiblePedSpawns>                                                      ~~ END OF PEDS spawn, It is possible to add many more
  550.       <PossibleVehicleSpawns>                                                   ~~ Start OF VEHICLES spawn ~~
  551.         <ConditionalLocation xsi:type="GangConditionalLocation">                ~~ Start Of Vehicle Entry ~~
  552.           <Location>                                                            ~~ Coordinates Entry Vehicle spawn ~~
  553.             <X>-597.8096</X>
  554.             <Y>-1791.076</Y>
  555.             <Z>22.92511</Z>
  556.           </Location>
  557.           <Heading>300.9409</Heading>
  558.           <Percentage>50</Percentage>
  559.           <IsEmpty>true</IsEmpty>
  560.           <GroupID />
  561.           <AllowAirVehicle>false</AllowAirVehicle>
  562.           <AllowBoat>false</AllowBoat>
  563.           <TaskRequirements>None</TaskRequirements>
  564.           <OverrideNightPercentage>-1</OverrideNightPercentage>
  565.           <OverrideDayPercentage>-1</OverrideDayPercentage>
  566.           <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
  567.           <MinHourSpawn>0</MinHourSpawn>
  568.           <MaxHourSpawn>24</MaxHourSpawn>
  569.           <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  570.           <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
  571.           <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
  572.           <ForceMelee>false</ForceMelee>
  573.           <ForceSidearm>false</ForceSidearm>
  574.           <ForceLongGun>false</ForceLongGun>
  575.           <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
  576.         </ConditionalLocation>                                                  ~~ END Of Vehicle Entry ~~
  577.       </PossibleVehicleSpawns>                                                  ~~ END OF VEHICLES spawn
  578.       <VehiclePreviewCameraPosition>                                            ~~ Set Cordinates For Vehicle Preview ~~
  579.         <X>0</X>
  580.         <Y>0</Y>
  581.         <Z>0</Z>
  582.       </VehiclePreviewCameraPosition>
  583.       <VehiclePreviewCameraDirection>
  584.         <X>0</X>
  585.         <Y>0</Y>
  586.         <Z>0</Z>
  587.       </VehiclePreviewCameraDirection>
  588.       <VehiclePreviewCameraRotation>
  589.         <Pitch>0</Pitch>
  590.         <Roll>0</Roll>
  591.         <Yaw>0</Yaw>
  592.       </VehiclePreviewCameraRotation>                                
  593.       <VehiclePreviewLocation>
  594.         <Position>
  595.           <X>-585.7418</X>
  596.           <Y>-1792.97</Y>
  597.           <Z>22.85472</Z>
  598.         </Position>
  599.         <Heading>53.11781</Heading>
  600.       </VehiclePreviewLocation>
  601.       <VehicleDeliveryLocations>                                                ~~ Set Cordinates For Vehicle Delivery ~~
  602.         <SpawnPlace>
  603.           <Position>
  604.             <X>-581.0074</X>
  605.             <Y>-1797.569</Y>
  606.             <Z>22.8803</Z>
  607.           </Position>
  608.           <Heading>322.0219</Heading>
  609.         </SpawnPlace>
  610.         <SpawnPlace>
  611.           <Position>
  612.             <X>-584.7271</X>
  613.             <Y>-1780.009</Y>
  614.             <Z>22.66464</Z>
  615.           </Position>
  616.           <Heading>144.9928</Heading>
  617.         </SpawnPlace>
  618.         <SpawnPlace>
  619.           <Position>
  620.             <X>-586.3314</X>
  621.             <Y>-1804.048</Y>
  622.             <Z>22.58966</Z>
  623.           </Position>
  624.           <Heading>115.4426</Heading>
  625.         </SpawnPlace>
  626.       </VehicleDeliveryLocations>
  627.       <IsPrimaryGangDen>true</IsPrimaryGangDen>
  628.       <HasVanillaGangSpawnedAroundToBeBlocked>false</HasVanillaGangSpawnedAroundToBeBlocked>
  629.     </GangDen>
  630.    
  631.  
  632. ---------------------------------------------------------------------------------------------------------------------------------------  
  633.     GangTerritories.xml Stuff
  634. ---------------------------------------------------------------------------------------------------------------------------------------    
  635.    
  636.     The only thing to change in this file is : <AgencyID> : All zones are premade, use Zones.xml to find the area you want your gang
  637.     to spawn and remember its short id to find within GangTerritories.xml
  638.     and then replace the existing gang with yours in the <AgencyID> section.
  639.    
  640. ---------------------------------------------------------------------------------------------------------------------------------------
  641.     A Custom Area can be created but i won't be going into it for this.
  642. ---------------------------------------------------------------------------------------------------------------------------------------
  643.  
  644.     <ZoneInternalGameName>TEXTI</ZoneInternalGameName>  ~~ Area ID for Gang Location, More ID's for locations can be found within Zones.xml
  645.    
  646.    
  647.     <AgencyID>AMBIENT_GANG_CUSTOMGANG</AgencyID>    ~~ Must be identical to the <ID> used in Gangs.xml ~~
  648.                                                         ~~ Needed for Ped/Vehicle Spawns Around the Selected Gang Area ~~
  649.    
  650.    
  651.     <AmbientSpawnChance>100</AmbientSpawnChance>        ~~ How often the GangPed will spawn Ambiently around selected territory
  652.     <WantedSpawnChance>100</WantedSpawnChance>          ~~ How often the GangPed will spawn While Wanted is active around selected territory
  653.    
  654.  
  655. ---------------------------------------------------------------------------------------------------------------------------------------
  656.     GangTerritories.xml Example
  657. ---------------------------------------------------------------------------------------------------------------------------------------
  658.  
  659.  
  660.  <ZoneJurisdiction>
  661.     <ZoneInternalGameName>TEXTI</ZoneInternalGameName>   ~~ Gang Location Texti = Textile City ~~
  662.     <AgencyID>AMBIENT_GANG_CUSTOMGANG</AgencyID>     ~~ Needed for Ped/Vehicle Spawns Around the Selected Gang Area ~~
  663.     <Priority>0</Priority>
  664.     <AmbientSpawnChance>100</AmbientSpawnChance>
  665.     <WantedSpawnChance>100</WantedSpawnChance>
  666.     <CanSpawnPedestrianOfficers>false</CanSpawnPedestrianOfficers>
  667.   </ZoneJurisdiction>
  668.  
  669. ---------------------------------------------------------------------------------------------------------------------------------------
  670.  
  671.  All ~~ Comments ~~ within Each Example can be deleted, So you can use it as a template for setting up your own.
  672.  
  673. Other Helpful Links and Refrences:
  674.  
  675. https://wiki.rage.mp/index.php?title=Notification_Pictures
  676. https://wiki.gtanet.work/index.php?title=Blips
  677. https://docs.fivem.net/docs/game-references/
  678. https://wiki.rage.mp/index.php?title=Vehicles#Motorcycles
  679. https://wiki.rage.mp/index.php?title=Peds
Tags: Gta5 LSR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement