Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *UPDATED* 15 August 2023
- !!!!!!!!!!!!!!!!!USE AS A GUIDE ONLY.!!!!!!!!!!!!!!!!!
- Files needed to Add a gang can be found within the LosSantosRED folder.
- Gangs.xml
- GangTerritories.xml
- DispatchablePeople.xml
- DispatchableVehicle.xml
- Locations.xml
- IssuableWeapons.xml
- I recommend creating copies of the existing files adding a custom config Name and then modifying those files
- ****DO NOT DELETE ENTRIES**** From the files you are editing. You will be adding these entries in with the rest.
- These configs will be prioritized over default config files when loading the mod.
- Gangs_NAME.xml
- GangTerritories_NAME.xml
- DispatchablePeople_NAME.xml
- DispatchableVehicle_NAME.xml
- Locations_NAME.xml
- IssuableWeapons_NAME.xml
- ---------------------------------------------------------------------------------------------------------------------------------------
- Zones.xml - For getting Area IDs while setting up GangTerritories.xml.
- ---------------------------------------------------------------------------------------------------------------------------------------
- ShopMenu.xml
- *NOTE* The following file can be edited to create new custom entries for buyable items from your Hangout/Den.
- I won't be going into creating one for now and using a premade entry.
- ---------------------------------------------------------------------------------------------------------------------------------------
- IssuableWeapons.xml
- *NOTE* The following file can be edited to create new custom entries for weapons your gang members will use.
- I won't be going into creating one for now and using a premade entry.
- Current Premade Enties:
- <IssuableWeaponsID>Tasers</IssuableWeaponsID>
- <IssuableWeaponsID>Nightsticks</IssuableWeaponsID>
- <IssuableWeaponsID>AllSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>AllLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>BestSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>BestLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>MilitarySidearms</IssuableWeaponsID>
- <IssuableWeaponsID>MilitaryLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>HeliSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>HeliLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>LimitedSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>LimitedLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>GoodSniperLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>TaxiSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>TaxiLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>VendorMeleeWeapons</IssuableWeaponsID>
- <IssuableWeaponsID>VendorSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>VendorLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>MeleeWeapons</IssuableWeaponsID>
- <IssuableWeaponsID>AllGangSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>AllGangLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>FamiliesSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>FamiliesLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>LostSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>LostLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>VagosSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>VagosLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>BallasSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>BallasLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>MarabuntaSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>MarabuntaLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>VarriosSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>VarriosLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>TriadsSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>TriadsLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>KkangpaeSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>KkangpaeLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>MafiaSidearms</IssuableWeaponsID>
- <IssuableWeaponsID>MafiaLongGuns</IssuableWeaponsID>
- <IssuableWeaponsID>Minigun</IssuableWeaponsID>
- <IssuableWeaponsID>FireExtinguisher</IssuableWeaponsID>
- ---------------------------------------------------------------------------------------------------------------------------------------
- ---------------------------------------------------------------------------------------------------------------------------------------
- Starting with the Gang.xml
- ---------------------------------------------------------------------------------------------------------------------------------------
- Gang.xml Stuff
- ---------------------------------------------------------------------------------------------------------------------------------------
- <ID>AMBIENT_GANG_CUSTOMGANG</ID> ~~ Needed for GangTerritory.xml and Locations.xml ~~ NAMES MUST MATCH ~~
- <ContactName>GangLeaderName</ContactName> ~~ Phone and ingame message Contact Name ~~
- <ContactIcon>CHAR_TW</ContactIcon> ~~ Phone and ingame message Contact Icon ~~
- ~~ More Icons IDs can be found at the following link:
- https://wiki.rage.mp/index.php?title=Notification_Pictures
- <PersonnelID>CUSTOMGANGPeds</PersonnelID> ~~ Needed for DispatchablePeople.xml ~~
- <VehiclesID>CUSTOMGANGVehicles</VehiclesID> ~~ Needed for DispatchableVehicles.xml ~~
- ~~ ALL GANGS Listed, Add or Remove <string>THE_FULL_ENTRY</string> for gangs you want or don't want to be enemies with. ~~
- ~~ *NOTE* If You do not set an enemy all gangs will be eligable for missions ~~
- Enemy Gang List:
- <string>AMBIENT_GANG_ANCELOTTI</string>
- <string>AMBIENT_GANG_ARMENIAN</string>
- <string>AMBIENT_GANG_BALLAS</string>
- <string>AMBIENT_GANG_DIABLOS</string>
- <string>AMBIENT_GANG_FAMILY</string>
- <string>AMBIENT_GANG_GAMBETTI</string>
- <string>AMBIENT_GANG_HILLBILLY</string>
- <string>AMBIENT_GANG_KKANGPAE</string>
- <string>AMBIENT_GANG_LOST</string>
- <string>AMBIENT_GANG_LUPISELLA</string>
- <string>AMBIENT_GANG_MADRAZO</string>
- <string>AMBIENT_GANG_MARABUNTE</string>
- <string>AMBIENT_GANG_MESSINA</string>
- <string>AMBIENT_GANG_MEXICAN</string>
- <string>AMBIENT_GANG_PAVANO</string>
- <string>AMBIENT_GANG_SALVA</string>
- <string>AMBIENT_GANG_WEICHENG</string>
- <string>AMBIENT_GANG_YARDIES</string>
- Local Drug Dealer Selling List:
- CokeDealerMenu
- CrackDealerMenu
- HeroinDealerMenu
- MarijuanaDealerMenu
- MethamphetamineDealerMenu
- SPANKDealerMenu
- ToiletCleanerDealerMenu
- ~~ Mission Payouts can also be adjusted within the Gangs.xml ~~
- ---------------------------------------------------------------------------------------------------------------------------------------
- Gangs.xml Example Entry
- ---------------------------------------------------------------------------------------------------------------------------------------
- <Gang>
- <ID>AMBIENT_GANG_CUSTOMGANG</ID> ~~ Needed for GangTerritory.xml and Locations.xml.
- <FullName>Custom Gang</FullName>
- <ShortName>Gang</ShortName> ~~ Name is for Display and First Half HideOut/GangDen Name ~~
- <MemberName>Gang Member</MemberName>
- <ContactName>GangLeaderName</ContactName> ~~ Phone Contact Name ~~
- <ContactIcon>CHAR_BLANK_ENTRY</ContactIcon> ~~ Phone Contact Icon ~~
- <DenName>Hangout</DenName> ~~ Second Half HideOut/GangDen Name ~~
- <ColorPrefix>~y~</ColorPrefix>
- <ColorString>Yellow</ColorString>
- <LicensePlatePrefix>MYG-</LicensePlatePrefix>
- <SpawnLimit>10</SpawnLimit>
- <CanSpawnAnywhere>false</CanSpawnAnywhere>
- <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
- <MaxWantedLevelSpawn>6</MaxWantedLevelSpawn>
- <PersonnelID>CUSTOMGANGPeds</PersonnelID> ~~ Needed for DispatchablePeople.xml ~~
- <MeleeWeaponsID>MeleeWeapons</MeleeWeaponsID>
- <SideArmsID>VagosSidearms</SideArmsID>
- <LongGunsID>VagosLongGuns</LongGunsID>
- <VehiclesID>CUSTOMGANGVehicles</VehiclesID> ~~ Needed for DispatchableVehicles.xml ~~
- <MinimumRep>-5000</MinimumRep>
- <MaximumRep>5000</MaximumRep>
- <StartingRep>0</StartingRep>
- <NeutralRepLevel>0</NeutralRepLevel>
- <FriendlyRepLevel>1500</FriendlyRepLevel>
- <MemberOfferRepLevel>4500</MemberOfferRepLevel>
- <HitSquadRep>-4500</HitSquadRep>
- <AddAmbientRep>true</AddAmbientRep>
- <GameTimeToRecoverAmbientRep>5000</GameTimeToRecoverAmbientRep>
- <PickupPaymentMin>200</PickupPaymentMin>
- <PickupPaymentMax>1000</PickupPaymentMax>
- <TheftPaymentMin>1000</TheftPaymentMin>
- <TheftPaymentMax>5000</TheftPaymentMax>
- <HitPaymentMin>10000</HitPaymentMin>
- <HitPaymentMax>30000</HitPaymentMax>
- <DeliveryPaymentMin>1500</DeliveryPaymentMin>
- <DeliveryPaymentMax>4500</DeliveryPaymentMax>
- <WheelmanPaymentMin>15000</WheelmanPaymentMin>
- <WheelmanPaymentMax>35000</WheelmanPaymentMax>
- <ImpoundTheftPaymentMin>3000</ImpoundTheftPaymentMin>
- <ImpoundTheftPaymentMax>7000</ImpoundTheftPaymentMax>
- <BodyDisposalPaymentMin>4500</BodyDisposalPaymentMin>
- <BodyDisposalPaymentMax>6500</BodyDisposalPaymentMax>
- <FightPercentage>70</FightPercentage>
- <FightPolicePercentage>30</FightPolicePercentage>
- <DrugDealerPercentage>55</DrugDealerPercentage>
- <DealerMenuGroup>MarijuanaDealerMenu</DealerMenuGroup> ~~ Local Drug Dealer Sales Item ~~
- <AmbientMemberMoneyMin>100</AmbientMemberMoneyMin>
- <AmbientMemberMoneyMax>400</AmbientMemberMoneyMax>
- <DealerMemberMoneyMin>400</DealerMemberMoneyMin>
- <DealerMemberMoneyMax>1000</DealerMemberMoneyMax>
- <CostToPayoffGangScalar>5</CostToPayoffGangScalar>
- <RemoveRepOnWantedInTerritory>true</RemoveRepOnWantedInTerritory>
- <RemoveRepOnWantedInTerritoryScalar>5</RemoveRepOnWantedInTerritoryScalar>
- <PercentageTrustingOfPlayer>60</PercentageTrustingOfPlayer>
- <PercentageWithLongGuns>5</PercentageWithLongGuns>
- <PercentageWithSidearms>20</PercentageWithSidearms>
- <PercentageWithMelee>20</PercentageWithMelee>
- <VehicleSpawnPercentage>60</VehicleSpawnPercentage>
- <PedestrianSpawnPercentageAroundDen>80</PedestrianSpawnPercentageAroundDen>
- <MemberKickUpDays>7</MemberKickUpDays>
- <MemberKickUpAmount>2200</MemberKickUpAmount>
- <MemberKickUpMissLimit>3</MemberKickUpMissLimit>
- <GangClassification>Street</GangClassification>
- <EnemyGangs>
- <string>AMBIENT_GANG_ARMENIAN</string> ~ ALL GANGS Listed ~~
- <string>AMBIENT_GANG_BALLAS</string>
- <string>AMBIENT_GANG_DIABLOS</string>
- <string>AMBIENT_GANG_FAMILY</string>
- <string>AMBIENT_GANG_GAMBETTI</string>
- <string>AMBIENT_GANG_KKANGPAE</string>
- <string>AMBIENT_GANG_LOST</string>
- <string>AMBIENT_GANG_MADRAZO</string>
- <string>AMBIENT_GANG_MARABUNTE</string>
- <string>AMBIENT_GANG_MEXICAN</string>
- <string>AMBIENT_GANG_SALVA</string>
- <string>AMBIENT_GANG_WEICHENG</string>
- <string>AMBIENT_GANG_YARDIES</string>
- </EnemyGangs>
- </Gang>
- ---------------------------------------------------------------------------------------------------------------------------------------
- DispatchableVehicle.xml Stuff
- ---------------------------------------------------------------------------------------------------------------------------------------
- <DispatchableVehicleGroupID>CUSTOMGANGVehicles</DispatchableVehicleGroupID> ~~ Must match <VehiclesID> in Gangs.xml ~~
- <ModelName>faction2</ModelName> ~~ Vehicle Spawn ID ~~
- <MinOccupants>1</MinOccupants> ~~ Minimal Amount of People Per Vehicle ~~
- <MaxOccupants>2</MaxOccupants> ~~ Maximum Amount of People Per Vehicle ~~
- <AmbientSpawnChance>50</AmbientSpawnChance> ~~ How often the Vehicle will spawn Ambiently ~~
- <WantedSpawnChance>50</WantedSpawnChance> ~~ How often the Vehicle will spawn while Wanted ~~
- <RequiredPrimaryColorID>0</RequiredPrimaryColorID> ~~ Primary Car Color ~~
- <RequiredSecondaryColorID>0</RequiredSecondaryColorID> ~~ Secondary Car Color ~~
- ---------------------------------------------------------------------------------------------------------------------------------------
- DispatchableVehicle.xml Example Entry
- ---------------------------------------------------------------------------------------------------------------------------------------
- <DispatchableVehicleGroup>
- <DispatchableVehicleGroupID>CUSTOMGANGVehicles</DispatchableVehicleGroupID> ~~ Must match VehiclesID in Gangs.xml ~~
- <DispatchableVehicles>
- <DispatchableVehicle>
- <ModelName>faction2</ModelName> ~~ Vehicle Spawn ID ~~
- <RequiredPedGroup />
- <GroupName />
- <MinOccupants>1</MinOccupants> ~~ Minimal Amount of People Per Vehicle ~~
- <MaxOccupants>2</MaxOccupants> ~~ Maximum Amount of People Per Vehicle ~~
- <AmbientSpawnChance>50</AmbientSpawnChance> ~~ How often the Vehicle will spawn Ambiently ~~
- <WantedSpawnChance>50</WantedSpawnChance> ~~ How often the Vehicle will spawn while Wanted ~~
- <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
- <MaxWantedLevelSpawn>6</MaxWantedLevelSpawn>
- <RequiredPrimaryColorID>0</RequiredPrimaryColorID>
- <RequiredSecondaryColorID>0</RequiredSecondaryColorID>
- <RequiredLiveries />
- <VehicleExtras />
- <MaxRandomDirtLevel>5</MaxRandomDirtLevel>
- <RequiresDLC>false</RequiresDLC>
- </DispatchableVehicle>
- </DispatchableVehicles>
- </DispatchableVehicleGroup>
- ---------------------------------------------------------------------------------------------------------------------------------------
- DispatchablePeople.xml Stuff
- ---------------------------------------------------------------------------------------------------------------------------------------
- <DispatchablePersonGroupID>CUSTOMGANGPeds</DispatchablePersonGroupID> ~~ Must match <PersonnelID> in Gangs.xml ~~
- <ModelName>ig_g</ModelName> ~~ Spawn ID of Ped ~~
- <AmbientSpawnChance>30</AmbientSpawnChance> ~~ How often you want the GangPed to spawn Ambiently ~~
- <WantedSpawnChance>30</WantedSpawnChance> ~~ How often you want the GangPed to spawn while Wanted ~~
- The rest of the options available are pretty self explanatory so feel free to experiment and save backups.
- ---------------------------------------------------------------------------------------------------------------------------------------
- DispatchablePeople.xml Example Entry
- ---------------------------------------------------------------------------------------------------------------------------------------
- <DispatchablePersonGroup>
- <DispatchablePersonGroupID>CUSTOMGANGPeds</DispatchablePersonGroupID> ~~ Must match PersonnelID in Gangs.xml ~~
- <DispatchablePeople>
- <DispatchablePerson>
- <DebugName>CUSTOMGANGMale1</DebugName>
- <ModelName>ig_g</ModelName> ~~ Spawn ID of Ped ~~
- <GroupName />
- <AmbientSpawnChance>30</AmbientSpawnChance> ~~ How often the GangPed will spawn Ambiently ~~
- <WantedSpawnChance>30</WantedSpawnChance> ~~ How often the GangPed will spawn while Wanted ~~
- <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
- <MaxWantedLevelSpawn>6</MaxWantedLevelSpawn
- <HealthMin>85</HealthMin>
- <HealthMax>125</HealthMax>
- <ArmorMin>0</ArmorMin>
- <ArmorMax>0</ArmorMax>
- <AccuracyMin>5</AccuracyMin>
- <AccuracyMax>10</AccuracyMax>
- <ShootRateMin>400</ShootRateMin>
- <ShootRateMax>600</ShootRateMax>
- <CombatAbilityMin>0</CombatAbilityMin>
- <CombatAbilityMax>1</CombatAbilityMax>
- <CombatRange>-1</CombatRange>
- <CombatMovement>-1</CombatMovement>
- <TaserAccuracyMin>30</TaserAccuracyMin>
- <TaserAccuracyMax>30</TaserAccuracyMax>
- <TaserShootRateMin>100</TaserShootRateMin>
- <TaserShootRateMax>100</TaserShootRateMax>
- <VehicleAccuracyMin>2</VehicleAccuracyMin>
- <VehicleAccuracyMax>4</VehicleAccuracyMax>
- <VehicleShootRateMin>10</VehicleShootRateMin>
- <VehicleShootRateMax>15</VehicleShootRateMax>
- <TurretAccuracyMin>10</TurretAccuracyMin>
- <TurretAccuracyMax>30</TurretAccuracyMax>
- <TurretShootRateMin>500</TurretShootRateMin>
- <TurretShootRateMax>1000</TurretShootRateMax>
- <UnitCode />
- <RequiredHelmetType>-1</RequiredHelmetType>
- <AllowRandomizeBeforeVariationApplied>false</AllowRandomizeBeforeVariationApplied>
- <RandomizeHead>false</RandomizeHead>
- <OverrideAgencyLessLethalWeapons>false</OverrideAgencyLessLethalWeapons>
- <OverrideAgencySideArms>false</OverrideAgencySideArms>
- <OverrideAgencyLongGuns>false</OverrideAgencyLongGuns>
- <OptionalPropChance>30</OptionalPropChance>
- <OptionalComponentChance>30</OptionalComponentChance>
- <DisableWrithe>true</DisableWrithe>
- <DisableWritheShooting>true</DisableWritheShooting>
- <DisableCriticalHits>false</DisableCriticalHits>
- <DisableBulletRagdoll>false</DisableBulletRagdoll>
- <HasFullBodyArmor>false</HasFullBodyArmor>
- <FiringPatternHash>0</FiringPatternHash>
- <FaceFeatureRandomizePercentage>90</FaceFeatureRandomizePercentage>
- <AlwaysHasLongGun>false</AlwaysHasLongGun>
- <IsAnimal>false</IsAnimal>
- </DispatchablePerson>
- </DispatchablePeople>
- </DispatchablePersonGroup>
- ---------------------------------------------------------------------------------------------------------------------------------------
- Locations.xml Stuff
- ---------------------------------------------------------------------------------------------------------------------------------------
- How to get coordinates:
- While in game with LSR loaded press F11 to enter the Debug Menu and select the Location Menu and select "Log Game Location"
- which records your current coordinates and heading to a file within LosSantosRED folder named "StoredLocations.txt"
- StoredLocations.txt Example Entry:
- new GameLocation(new Vector3(4.840425f, -1217.857f, 29.32896f), 270.6059f,new Vector3(4.840425f, -1217.857f, 29.32896f), 270.6059f,
- LocationType.LocationType ped1, "Name ped1", "Name ped1"),
- ---------------------------------------------------------------------------------------------------------------------------------------
- X Y Z H
- Looking at the following: (4.840425f, -1217.857f, 29.32896f), 270.6059f
- ---------------------------------------------------------------------------------------------------------------------------------------
- X = 4.840425 <X>4.840425</X>
- Y = -1217.857 <Y>-1217.857</Y>
- Z = 29.32896 <Z>29.32896</Z>
- Heading = 270.6059 <EntranceHeading>270.6059</EntranceHeading>
- ---------------------------------------------------------------------------------------------------------------------------------------
- <BannerImagePath>CUSTOMGANG.png</BannerImagePath> ~~ Image can be created and put in the LosSantosRed/images folder ~~
- <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 ~~
- <EntrancePosition> ~~ Coordinates Entry For Gang Hideout/Den Entrance ~~
- <X>373.0611</X>
- <Y>-737.8757</Y>
- <Z>29.27004</Z>
- </EntrancePosition>
- <EntranceHeading>251.1981</EntranceHeading>
- <MenuID>FamiliesDenMenu</MenuID> ~~ Uses ShopMenu.xml for items sold within the Hideout/Den ~~
- ~~ Possible to create a custom entry within the ShopMenu.xml to use ~~
- Other Hangout/Den Premade Shop List:
- AncelottiDenMenu
- ArmenianDenMenu
- BallasDenMenu
- DiablosDenMenu
- FamiliesDenMenu
- GambettiDenMenu
- GenericGangDenMenu
- KkangpaeDenMenu
- LostDenMenu
- LupisellaDenMenu
- MadrazoDenMenu
- MarabunteDenMenu
- MessinaDenMenu
- PavanoDenMenu
- TriadsDenMenu
- VagosDenMenu
- VarriosDenMenu
- YardiesDenMenu
- <GangID>AMBIENT_GANG_CUSTOMGANG</GangID> ~~ Must Be Identical to <ID> used in Gang.xml ~~
- ~~ Needed for Ped/Vehicle Spawns Around the Hangout/Den ~~
- ~~ - For Ped and Vehicle Spawns - A random ped/vehicle will be selected from those you have setup within the Dispatchable files ~~
- <PossiblePedSpawns> ~~ Start OF PED spawns ~~
- <ConditionalLocation xsi:type="GangConditionalLocation"> ~~ Start Of PED Entry ~~
- <Location> ~~ Coordinates Entry Ped 1 spawn ~~
- <X>-608.3129</X>
- <Y>-1786.241</Y>
- <Z>23.63522</Z>
- </Location>
- <Heading>191.6332</Heading> ~~ Direction Ped will face ~~
- <Percentage>45</Percentage> ~~ Chance OF Spawning ~~
- <IsEmpty>true</IsEmpty>
- <GroupID />
- <AllowAirVehicle>false</AllowAirVehicle>
- <AllowBoat>false</AllowBoat>
- <TaskRequirements>None</TaskRequirements>
- <OverrideNightPercentage>-1</OverrideNightPercentage>
- <OverrideDayPercentage>-1</OverrideDayPercentage>
- <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
- <MinHourSpawn>0</MinHourSpawn>
- <MaxHourSpawn>24</MaxHourSpawn>
- <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
- <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
- <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
- <ForceMelee>false</ForceMelee>
- <ForceSidearm>false</ForceSidearm>
- <ForceLongGun>false</ForceLongGun>
- <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
- </ConditionalLocation> ~~ END Of PED Entry ~~
- </PossiblePedSpawns> ~~ End OF PED spawns ~~
- <PossibleVehicleSpawns> ~~ Start OF VEHICLES spawn ~~
- <ConditionalLocation xsi:type="GangConditionalLocation"> ~~ Start Of Vehicle Entry ~~
- <Location> ~~ Coordinates Entry Vehicle spawn ~~
- <X>-597.8096</X>
- <Y>-1791.076</Y>
- <Z>22.92511</Z>
- </Location>
- <Heading>300.9409</Heading>
- <Percentage>50</Percentage>
- <IsEmpty>true</IsEmpty>
- <GroupID />
- <AllowAirVehicle>false</AllowAirVehicle>
- <AllowBoat>false</AllowBoat>
- <TaskRequirements>None</TaskRequirements>
- <OverrideNightPercentage>-1</OverrideNightPercentage>
- <OverrideDayPercentage>-1</OverrideDayPercentage>
- <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
- <MinHourSpawn>0</MinHourSpawn>
- <MaxHourSpawn>24</MaxHourSpawn>
- <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
- <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
- <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
- <ForceMelee>false</ForceMelee>
- <ForceSidearm>false</ForceSidearm>
- <ForceLongGun>false</ForceLongGun>
- <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
- </ConditionalLocation> ~~ End Of Vehicle Entry ~~
- </PossibleVehicleSpawns> ~~ End OF VEHICLES spawn ~~
- ---------------------------------------------------------------------------------------------------------------------------------------
- Locations.xml Example Entry CUSTOM GANGDEN Entries are to entered within the <GangDens> section of the Locations.xml
- ---------------------------------------------------------------------------------------------------------------------------------------
- <GangDen>
- <Name>CUSTOMGANG Hangout</Name>
- <FullName>CUSTOMGANG Hangout</FullName>
- <Description />
- <IsEnabled>true</IsEnabled>
- <IsTemporarilyClosed>false</IsTemporarilyClosed>
- <BannerImagePath>CUSTOMGANG.png</BannerImagePath> ~~ Save Banner in LosSantosRed/images folder ~~
- <RemoveBanner>false</RemoveBanner>
- <IsBlipEnabled>false</IsBlipEnabled>
- <MapIcon>355</MapIcon> ~~ Currently Set to a D ~~
- <MapIconColorString>White</MapIconColorString>
- <MapIconScale>1</MapIconScale>
- <MapIconRadius>1</MapIconRadius>
- <MapOpenIconAlpha>1</MapOpenIconAlpha>
- <MapClosedIconAlpha>0.25</MapClosedIconAlpha>
- <EntrancePosition> ~~ Cordinates For Gang Hideout/Den Enterance ~~
- <X>-615.221</X>
- <Y>-1787.458</Y>
- <Z>23.69615</Z>
- </EntrancePosition>
- <EntranceHeading>210.6709</EntranceHeading>
- <OpenTime>0</OpenTime>
- <CloseTime>24</CloseTime>
- <InteriorID>-1</InteriorID>
- <IsWalkup>false</IsWalkup>
- <IsOnSPMap>true</IsOnSPMap>
- <IsOnMPMap>true</IsOnMPMap>
- <ShowsOnDirectory>false</ShowsOnDirectory>
- <TypeName>Gang Den</TypeName>
- <SortOrder>999</SortOrder>
- <ScannerFilePath />
- <ActivateCells>5</ActivateCells>
- <AssignedAssociationID>AMBIENT_GANG_CUSTOMGANG</AssignedAssociationID> ~~ Needed for Ped/Vehicle Spawns Around the Hangout/Den ~~
- <MenuID>FamiliesDenMenu</MenuID> ~~ Uses ShopMenu.xml for items sold within the Hideout/Den ~~
- <VendorPosition>
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </VendorPosition>
- <VendorHeading>0</VendorHeading>
- <CameraPosition>
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </CameraPosition>
- <CameraDirection>
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </CameraDirection>
- <CameraRotation>
- <Pitch>0</Pitch>
- <Roll>0</Roll>
- <Yaw>0</Yaw>
- </CameraRotation>
- <CanInteractWhenWanted>true</CanInteractWhenWanted>
- <ShowsMarker>true</ShowsMarker>
- <ActivateDistance>225</ActivateDistance>
- <PossiblePedSpawns> ~~ Start OF PED spawns ~~
- <ConditionalLocation xsi:type="GangConditionalLocation"> ~~ Start Of PED Entry ~~
- <Location> ~~ Coordinates Entry Ped 1 spawn ~~
- <X>-608.3129</X>
- <Y>-1786.241</Y>
- <Z>23.63522</Z>
- </Location>
- <Heading>191.6332</Heading> ~~ Direction Ped will face ~~
- <Percentage>45</Percentage> ~~ Chance OF Spawning ~~
- <IsEmpty>true</IsEmpty>
- <GroupID />
- <AllowAirVehicle>false</AllowAirVehicle>
- <AllowBoat>false</AllowBoat>
- <TaskRequirements>None</TaskRequirements>
- <OverrideNightPercentage>-1</OverrideNightPercentage>
- <OverrideDayPercentage>-1</OverrideDayPercentage>
- <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
- <MinHourSpawn>0</MinHourSpawn>
- <MaxHourSpawn>24</MaxHourSpawn>
- <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
- <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
- <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
- <ForceMelee>false</ForceMelee>
- <ForceSidearm>false</ForceSidearm>
- <ForceLongGun>false</ForceLongGun>
- <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
- </ConditionalLocation> ~~ END Of PED 1 Entry ~~
- <ConditionalLocation xsi:type="GangConditionalLocation"> ~~ Start Of PED 2 Entry ~~
- <Location> ~~ Coordinates Entry Ped 2 spawn ~~
- <X>-602.466</X>
- <Y>-1784.252</Y>
- <Z>23.64002</Z>
- </Location>
- <Heading>120.1152</Heading> ~~ Direction Ped will face ~~
- <Percentage>45</Percentage> ~~ Chance OF Spawning ~~
- <IsEmpty>true</IsEmpty>
- <GroupID />
- <AllowAirVehicle>false</AllowAirVehicle>
- <AllowBoat>false</AllowBoat>
- <TaskRequirements>None</TaskRequirements>
- <OverrideNightPercentage>-1</OverrideNightPercentage>
- <OverrideDayPercentage>-1</OverrideDayPercentage>
- <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
- <MinHourSpawn>0</MinHourSpawn>
- <MaxHourSpawn>24</MaxHourSpawn>
- <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
- <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
- <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
- <ForceMelee>false</ForceMelee>
- <ForceSidearm>false</ForceSidearm>
- <ForceLongGun>false</ForceLongGun>
- <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
- </ConditionalLocation> ~~ END Of PED 2 Entry ~~
- </PossiblePedSpawns> ~~ END OF PEDS spawn, It is possible to add many more
- <PossibleVehicleSpawns> ~~ Start OF VEHICLES spawn ~~
- <ConditionalLocation xsi:type="GangConditionalLocation"> ~~ Start Of Vehicle Entry ~~
- <Location> ~~ Coordinates Entry Vehicle spawn ~~
- <X>-597.8096</X>
- <Y>-1791.076</Y>
- <Z>22.92511</Z>
- </Location>
- <Heading>300.9409</Heading>
- <Percentage>50</Percentage>
- <IsEmpty>true</IsEmpty>
- <GroupID />
- <AllowAirVehicle>false</AllowAirVehicle>
- <AllowBoat>false</AllowBoat>
- <TaskRequirements>None</TaskRequirements>
- <OverrideNightPercentage>-1</OverrideNightPercentage>
- <OverrideDayPercentage>-1</OverrideDayPercentage>
- <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
- <MinHourSpawn>0</MinHourSpawn>
- <MaxHourSpawn>24</MaxHourSpawn>
- <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
- <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
- <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
- <ForceMelee>false</ForceMelee>
- <ForceSidearm>false</ForceSidearm>
- <ForceLongGun>false</ForceLongGun>
- <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
- </ConditionalLocation> ~~ END Of Vehicle Entry ~~
- </PossibleVehicleSpawns> ~~ END OF VEHICLES spawn
- <VehiclePreviewCameraPosition> ~~ Set Cordinates For Vehicle Preview ~~
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </VehiclePreviewCameraPosition>
- <VehiclePreviewCameraDirection>
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </VehiclePreviewCameraDirection>
- <VehiclePreviewCameraRotation>
- <Pitch>0</Pitch>
- <Roll>0</Roll>
- <Yaw>0</Yaw>
- </VehiclePreviewCameraRotation>
- <VehiclePreviewLocation>
- <Position>
- <X>-585.7418</X>
- <Y>-1792.97</Y>
- <Z>22.85472</Z>
- </Position>
- <Heading>53.11781</Heading>
- </VehiclePreviewLocation>
- <VehicleDeliveryLocations> ~~ Set Cordinates For Vehicle Delivery ~~
- <SpawnPlace>
- <Position>
- <X>-581.0074</X>
- <Y>-1797.569</Y>
- <Z>22.8803</Z>
- </Position>
- <Heading>322.0219</Heading>
- </SpawnPlace>
- <SpawnPlace>
- <Position>
- <X>-584.7271</X>
- <Y>-1780.009</Y>
- <Z>22.66464</Z>
- </Position>
- <Heading>144.9928</Heading>
- </SpawnPlace>
- <SpawnPlace>
- <Position>
- <X>-586.3314</X>
- <Y>-1804.048</Y>
- <Z>22.58966</Z>
- </Position>
- <Heading>115.4426</Heading>
- </SpawnPlace>
- </VehicleDeliveryLocations>
- <IsPrimaryGangDen>true</IsPrimaryGangDen>
- <HasVanillaGangSpawnedAroundToBeBlocked>false</HasVanillaGangSpawnedAroundToBeBlocked>
- </GangDen>
- ---------------------------------------------------------------------------------------------------------------------------------------
- GangTerritories.xml Stuff
- ---------------------------------------------------------------------------------------------------------------------------------------
- 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
- to spawn and remember its short id to find within GangTerritories.xml
- and then replace the existing gang with yours in the <AgencyID> section.
- ---------------------------------------------------------------------------------------------------------------------------------------
- A Custom Area can be created but i won't be going into it for this.
- ---------------------------------------------------------------------------------------------------------------------------------------
- <ZoneInternalGameName>TEXTI</ZoneInternalGameName> ~~ Area ID for Gang Location, More ID's for locations can be found within Zones.xml
- <AgencyID>AMBIENT_GANG_CUSTOMGANG</AgencyID> ~~ Must be identical to the <ID> used in Gangs.xml ~~
- ~~ Needed for Ped/Vehicle Spawns Around the Selected Gang Area ~~
- <AmbientSpawnChance>100</AmbientSpawnChance> ~~ How often the GangPed will spawn Ambiently around selected territory
- <WantedSpawnChance>100</WantedSpawnChance> ~~ How often the GangPed will spawn While Wanted is active around selected territory
- ---------------------------------------------------------------------------------------------------------------------------------------
- GangTerritories.xml Example
- ---------------------------------------------------------------------------------------------------------------------------------------
- <ZoneJurisdiction>
- <ZoneInternalGameName>TEXTI</ZoneInternalGameName> ~~ Gang Location Texti = Textile City ~~
- <AgencyID>AMBIENT_GANG_CUSTOMGANG</AgencyID> ~~ Needed for Ped/Vehicle Spawns Around the Selected Gang Area ~~
- <Priority>0</Priority>
- <AmbientSpawnChance>100</AmbientSpawnChance>
- <WantedSpawnChance>100</WantedSpawnChance>
- <CanSpawnPedestrianOfficers>false</CanSpawnPedestrianOfficers>
- </ZoneJurisdiction>
- ---------------------------------------------------------------------------------------------------------------------------------------
- USE AS A GUIDE ONLY. USE ENTRIES FROM THE CURRENTLY VERSION.
- Other Helpful Links and Refrences:
- https://wiki.rage.mp/index.php?title=Notification_Pictures
- https://wiki.gtanet.work/index.php?title=Blips
- https://docs.fivem.net/docs/game-references/
- https://wiki.rage.mp/index.php?title=Vehicles#Motorcycles
- https://wiki.rage.mp/index.php?title=Peds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement