Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Blank Location Break Down
- 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>
- <BlankLocation>
- <Name>Gang_life</Name>
- <Description>README</Description>
- <IsEnabled>true</IsEnabled>
- <IsTemporarilyClosed>false</IsTemporarilyClosed>
- <BannerImagePath />
- <RemoveBanner>false</RemoveBanner>
- <IsBlipEnabled>false</IsBlipEnabled>
- <MapIcon>162</MapIcon>
- <MapIconColorString>White</MapIconColorString>
- <MapIconScale>0.5</MapIconScale>
- <MapIconRadius>1</MapIconRadius>
- <MapOpenIconAlpha>1</MapOpenIconAlpha>
- <MapClosedIconAlpha>0.25</MapClosedIconAlpha>
- <EntrancePosition> Spawn Trigger
- <X>-339.7834</X>
- <Y>-1463.811</Y>
- <Z>30.29497</Z>
- </EntrancePosition>
- <EntranceHeading>-111.3623</EntranceHeading>
- <OpenTime>6</OpenTime> <--- Time When Activated --->
- <CloseTime>20</CloseTime> <--- Time When De-Activated --->
- <InteriorID>-1</InteriorID>
- <IsWalkup>false</IsWalkup>
- <IsOnSPMap>true</IsOnSPMap>
- <IsOnMPMap>true</IsOnMPMap>
- <ShowsOnDirectory>false</ShowsOnDirectory>
- <ShowsOnTaxi>false</ShowsOnTaxi>
- <TypeName>Blank Location</TypeName>
- <SortOrder>999</SortOrder>
- <StateID>SanAndreas</StateID>
- <ScannerFilePath />
- <ActivateCells>4</ActivateCells>
- <ActivateDistance>300</ActivateDistance>
- <AssignedAssociationID>AMBIENT_GANG_ARMENIAN</AssignedAssociationID> <---- Gang ID ---->
- <DisableRegularInteract>false</DisableRegularInteract>
- <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>false</CanInteractWhenWanted>
- <ShowsMarker>false</ShowsMarker>
- <PossibleGroupSpawns>
- <ConditionalGroup>
- <Name />
- <Percentage>60</Percentage>
- <OverrideNightPercentage>-1</OverrideNightPercentage>
- <OverrideDayPercentage>-1</OverrideDayPercentage>
- <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
- <MinHourSpawn>12</MinHourSpawn>
- <MaxHourSpawn>20</MaxHourSpawn>
- <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
- <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
- <PossiblePedSpawns> <---- START OF PED SPAWNS ----->
- <ConditionalLocation xsi:type="GangConditionalLocation"> <---- 1st PED entry Start ----->
- <Location>
- <X>-341.0255</X> <--- Spawning Coordinates --->
- <Y>-1460.561</Y>
- <Z>30.75321</Z>
- </Location>
- <Heading>-175.1071</Heading> <--- Direction Ped will face --->
- <Percentage>0</Percentage>
- <AssociationID />
- <RequiredPedGroup />
- <RequiredVehicleGroup />
- <IsEmpty>true</IsEmpty>
- <AllowAirVehicle>false</AllowAirVehicle>
- <AllowBoat>false</AllowBoat>
- <TaskRequirements>Guard</TaskRequirements> <---- Prevents PED walking away ---->
- <ForcedScenarios>
- <string>WORLD_HUMAN_HANG_OUT_STREET</string> <---- Set Custom Scenarios the Ped's will use when spawned ----->
- <string>WORLD_HUMAN_AA_COFFEE</string>
- <string>WORLD_HUMAN_SMOKING</string>
- </ForcedScenarios>
- <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> <---- 1nd PED entry End ----->
- <ConditionalLocation xsi:type="GangConditionalLocation"> <---- 2nd PED entry Start ----->
- <Location>
- <X>-342.3172</X>
- <Y>-1460.754</Y>
- <Z>30.75426</Z>
- </Location>
- <Heading>-126.9581</Heading>
- <Percentage>0</Percentage>
- <AssociationID />
- <RequiredPedGroup />
- <RequiredVehicleGroup />
- <IsEmpty>true</IsEmpty>
- <AllowAirVehicle>false</AllowAirVehicle>
- <AllowBoat>false</AllowBoat>
- <TaskRequirements>Guard</TaskRequirements>
- <ForcedScenarios>
- <string>WORLD_HUMAN_HANG_OUT_STREET</string>
- <string>WORLD_HUMAN_AA_COFFEE</string>
- <string>WORLD_HUMAN_SMOKING</string>
- </ForcedScenarios>
- <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> <---- 2nd PED entry end ----->
- <ConditionalLocation xsi:type="GangConditionalLocation"> <---- 3rd PED entry start ----->
- <Location>
- <X>-342.5989</X>
- <Y>-1462.05</Y>
- <Z>30.61145</Z>
- </Location>
- <Heading>-89.48071</Heading>
- <Percentage>0</Percentage>
- <AssociationID />
- <RequiredPedGroup />
- <RequiredVehicleGroup />
- <IsEmpty>true</IsEmpty>
- <AllowAirVehicle>false</AllowAirVehicle>
- <AllowBoat>false</AllowBoat>
- <TaskRequirements>Guard</TaskRequirements>
- <ForcedScenarios>
- <string>WORLD_HUMAN_LEANING_CASINO_TERRACE</string>
- <string>WORLD_HUMAN_AA_COFFEE</string>
- <string>WORLD_HUMAN_SMOKING</string>
- </ForcedScenarios>
- <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> <---- 3rd PED entry end ----->
- <ConditionalLocation xsi:type="GangConditionalLocation"> <---- 4th PED entry start ----->
- <Location>
- <X>-340.3219</X>
- <Y>-1462.547</Y>
- <Z>30.60857</Z>
- </Location>
- <Heading>29.69213</Heading>
- <Percentage>0</Percentage>
- <AssociationID />
- <RequiredPedGroup />
- <RequiredVehicleGroup />
- <IsEmpty>true</IsEmpty>
- <AllowAirVehicle>false</AllowAirVehicle>
- <AllowBoat>false</AllowBoat>
- <TaskRequirements>Guard</TaskRequirements>
- <ForcedScenarios>
- <string>WORLD_HUMAN_HANG_OUT_STREET</string>
- <string>WORLD_HUMAN_AA_COFFEE</string>
- <string>WORLD_HUMAN_SMOKING</string>
- </ForcedScenarios>
- <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> <---- 4th PED entry end ----->
- </PossiblePedSpawns> <---- END OF PED SPAWNS ----->
- <PossibleVehicleSpawns> <---- Start Of Vehicle SPAWNS ----->
- <ConditionalLocation xsi:type="GangConditionalLocation"> <---- 1st Vehicle entry start ----->
- <Location>
- <X>-339.7834</X>
- <Y>-1463.811</Y>
- <Z>30.29497</Z>
- </Location>
- <Heading>-82.86436</Heading>
- <Percentage>0</Percentage>
- <AssociationID />
- <RequiredPedGroup />
- <RequiredVehicleGroup />
- <IsEmpty>true</IsEmpty>
- <AllowAirVehicle>false</AllowAirVehicle>
- <AllowBoat>false</AllowBoat>
- <TaskRequirements>None</TaskRequirements>
- <ForcedScenarios />
- <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> <---- 1st Vehicle entry end ----->
- <ConditionalLocation xsi:type="GangConditionalLocation"> <---- 2nd Vehicle entry start ----->
- <Location>
- <X>-337.9729</X>
- <Y>-1459.476</Y>
- <Z>30.27439</Z>
- </Location>
- <Heading>99.35658</Heading>
- <Percentage>0</Percentage>
- <AssociationID />
- <RequiredPedGroup />
- <RequiredVehicleGroup />
- <IsEmpty>true</IsEmpty>
- <AllowAirVehicle>false</AllowAirVehicle>
- <AllowBoat>false</AllowBoat>
- <TaskRequirements>None</TaskRequirements>
- <ForcedScenarios />
- <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> <---- 2nd Vehicle entry end ----->
- </PossibleVehicleSpawns> <---- END Of Vehicle SPAWNS ----->
- </ConditionalGroup>
- </PossibleGroupSpawns>
- <VendorPosition>
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </VendorPosition>
- <VendorHeading>0</VendorHeading>
- <VehiclePreviewCameraPosition>
- <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>
- <VehicleDeliveryLocations />
- <RegisterCash>3500</RegisterCash>
- <NoEntryCam>false</NoEntryCam>
- <IgnoreEntranceInteract>false</IgnoreEntranceInteract>
- </BlankLocation>
- TaskRequirements
- ----------------------------------------------------------------------------------------------------------
- - Useable <TaskRequirements> -
- *NOTE* other than going by the name i don't have much more information on them.
- CanMoveWhenGuarding - a combo of guard+patrol?
- EquipLongGunWhenIdle - If using with Guard, The Ped Stands with shotgun/rifles etc in hand if gang/service has them.
- EquipSidearmWhenIdle - If using with Guard, The Ped Stands with a pistol in hand if gang/service has them.
- Guard - Stays in Place
- None
- Patrol - Walks Around
- StandardScenario
- LocalScenario - Uses Game Scenario if used on/near a game spawn point.
- Some single line examples:
- 1. <TaskRequirements>None</TaskRequirements>
- 2. <TaskRequirements>Guard</TaskRequirements>
- 3. <TaskRequirements>Patrol</TaskRequirements>
- 4. <TaskRequirements>Guard CanMoveWhenGuarding Patrol</TaskRequirements>
- 5. <TaskRequirements>Guard CanMoveWhenGuarding EquipSidearmWhenIdle</TaskRequirements>
- ----------------------------------------------------------------------------------------------------------
- //////////////////////////////////////////////////////////////////////////////////////////////////////////
- ----------------------------------------------------------------------------------------------------------
- ForcedScenarios
- ----------------------------------------------------------------------------------------------------------
- - Some Useable <ForcedScenarios> -
- 1. <string>WORLD_HUMAN_HANG_OUT_STREET</string>
- 2. <string>WORLD_HUMAN_DRINKING</string>
- 3. <string>WORLD_HUMAN_SMOKING</string>
- 4. <string>WORLD_HUMAN_SMOKING_POT</string>
- 5. <string>WORLD_HUMAN_DRUG_DEALER</string>
- 6. <string>WORLD_HUMAN_STAND_MOBILE</string>
- .
- When a Ped is spawned into the LSR world it will use 1 of the ForcedScenarios that's been listed.
- an example snippet:
- <ForcedScenarios>
- <string>WORLD_HUMAN_HANG_OUT_STREET</string>
- <string>WORLD_HUMAN_DRINKING</string>
- <string>WORLD_HUMAN_SMOKING</string>
- <string>WORLD_HUMAN_SMOKING_POT</string>
- <string>WORLD_HUMAN_DRUG_DEALER</string>
- <string>WORLD_HUMAN_STAND_MOBILE</string>
- </ForcedScenarios>
- *Note* other Scenarios can found be @ https://wiki.rage.mp/index.php?title=Scenarios
- or by searching online and using one of the ForcedScenarios names "WORLD_HUMAN_SMOKING_POT" for a more detailed search result.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement