Advertisement
PeterBadoingy

Los Santos Red Adding a Gang

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