Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Custom Territories/ Area Information.
- How to get coordinates:
- While in game with LSR loaded press F11 to enter the Debug Menu and select the Location Logging 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>
- Zones.xml:
- <Zone>
- <InternalGameName>MyGangTerritory</InternalGameName> <-- Name Of Territory -->
- <DisplayName>Tongva Hills</DisplayName> <-- Display Name -->
- <CountyID>LosSantosCounty</CountyID>
- <State>San Andreas</State>
- <IsRestrictedDuringWanted>false</IsRestrictedDuringWanted>
- <IsSpecificLocation>true</IsSpecificLocation>
- <Boundaries>
- <Vector2>
- <X>-2491.46</X>
- <Y>1955.868</Y>
- </Vector2>
- <Vector2>
- <X>-2648.825</X>
- <Y>1953.005</Y>
- </Vector2>
- <Vector2>
- <X>-2648.722</X>
- <Y>1836.511</Y>
- </Vector2>
- <Vector2>
- <X>-2524.957</X>
- <Y>1863.897</Y>
- </Vector2>
- </Boundaries>
- <Economy>Middle</Economy>
- <Type>Rural</Type>
- <DealerMenuContainerID>HeroinAreaDrugDealerMenuGroupID</DealerMenuContainerID>
- <CustomerMenuContainerID>HeroinAreaDrugCustomerMenuGroupID</CustomerMenuContainerID>
- </Zone>
- <-- InternalGameName = Name of Custom Zone -->
- <-- DisplayName = is what is shown in-game. for example, if you use Strawberry and then go through Strawberry ingame it will display "Strawberry/LSPD/GangName" -->
- <-- More CustomerMenuContainerID & DealerMenuContainerID MenuGroupIDs can be found in ShopMenus.xml -->
- <-- Use Find "AreaDrug" to quickly find other MenuGroupIDs in ShopMenus.xml -->
- --------------------------------------------------------------------
- Boundaries
- <Boundaries>
- <Vector2>
- <X>-2491.46</X>
- <Y>1955.868</Y>
- </Vector2>
- <Vector2>
- <X>-2648.825</X>
- <Y>1953.005</Y>
- </Vector2>
- <Vector2>
- <X>-2648.722</X>
- <Y>1836.511</Y>
- </Vector2>
- <Vector2>
- <X>-2524.957</X>
- <Y>1863.897</Y>
- </Vector2>
- </Boundaries>
- <-- This is 4 coordinate points set around Devon Weston Mansion in Tongva Hills. -->
- <-- If you want your gang members to spawn ambiently in the area it's best to include roads/pavement in your zone. -->
- <-- You can use as many coordinate points as you need to make the area as big or small and detailed as you want. -->
- ----------------------------------------------------------------------------------------
- Gang Territories.xml:
- <ZoneJurisdiction>
- <ZoneInternalGameName>MyGangTerritory</ZoneInternalGameName> <-- Name Of Territory -->
- <AgencyInitials>AMBIENT_GANG_MyGang</AgencyInitials> <-- Id Of your Gang -->
- <Priority>0</Priority>
- <AmbientSpawnChance>100</AmbientSpawnChance>
- <WantedSpawnChance>100</WantedSpawnChance>
- <CanSpawnPedestrianOfficers>false</CanSpawnPedestrianOfficers>
- </ZoneJurisdiction>
- ------------------------------------------------------------------------------------------
- If you want Police
- Zone Jurisdictions.xml:
- <ZoneJurisdiction>
- <ZoneInternalGameName>MyGangTerritory</ZoneInternalGameName> <-- Name Of Territory -->
- <AgencyID>LSMC</AgencyID> <-- Police IDs for area -->
- <Priority>0</Priority>
- <AmbientSpawnChance>100</AmbientSpawnChance>
- <WantedSpawnChance>100</WantedSpawnChance>
- <CanSpawnPedestrianOfficers>false</CanSpawnPedestrianOfficers>
- </ZoneJurisdiction>
- <--*Note* You can create multiple ZoneJurisdiction entries for different Police IDs for all of the Police that would typically roam the area -->
- <ZoneJurisdiction>
- <ZoneInternalGameName>MyGangTerritory</ZoneInternalGameName> <-- Name Of Territory -->
- <AgencyID>LSMC</AgencyID> <-- Police IDs for area -->
- <Priority>0</Priority>
- <AmbientSpawnChance>100</AmbientSpawnChance>
- <WantedSpawnChance>100</WantedSpawnChance>
- <CanSpawnPedestrianOfficers>false</CanSpawnPedestrianOfficers>
- </ZoneJurisdiction>
- <ZoneJurisdiction>
- <ZoneInternalGameName>MyGangTerritory</ZoneInternalGameName> <-- Name Of Territory -->
- <AgencyID>LSPD</AgencyID> <-- Police IDs for area -->
- <Priority>0</Priority>
- <AmbientSpawnChance>100</AmbientSpawnChance>
- <WantedSpawnChance>100</WantedSpawnChance>
- <CanSpawnPedestrianOfficers>false</CanSpawnPedestrianOfficers>
- </ZoneJurisdiction>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement