Advertisement
PeterBadoingy

BlankLocations

Dec 28th, 2023 (edited)
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.41 KB | None | 0 0
  1. Blank Location Break Down
  2.  
  3. Locations.xml Stuff
  4. ---------------------------------------------------------------------------------------------------------------------------------------
  5. How to get coordinates:
  6. While in game with LSR loaded press F11 to enter the Debug Menu and select the Location Menu and select "Log Game Location"
  7. which records your current coordinates and heading to a file within LosSantosRED folder named "StoredLocations.txt"
  8.  
  9. StoredLocations.txt Example Entry:
  10.  
  11. new GameLocation(new Vector3(4.840425f, -1217.857f, 29.32896f), 270.6059f,new Vector3(4.840425f, -1217.857f, 29.32896f), 270.6059f,
  12. LocationType.LocationType ped1, "Name ped1", "Name ped1"),
  13. ---------------------------------------------------------------------------------------------------------------------------------------
  14. X Y Z H
  15. Looking at the following: (4.840425f, -1217.857f, 29.32896f), 270.6059f
  16. ---------------------------------------------------------------------------------------------------------------------------------------
  17. X = 4.840425 <X>4.840425</X>
  18. Y = -1217.857 <Y>-1217.857</Y>
  19. Z = 29.32896 <Z>29.32896</Z>
  20. Heading = 270.6059 <EntranceHeading>270.6059</EntranceHeading>
  21.  
  22.  
  23.  
  24. <BlankLocation>
  25. <Name>Gang_life</Name>
  26. <Description>README</Description>
  27. <IsEnabled>true</IsEnabled>
  28. <IsTemporarilyClosed>false</IsTemporarilyClosed>
  29. <BannerImagePath />
  30. <RemoveBanner>false</RemoveBanner>
  31. <IsBlipEnabled>false</IsBlipEnabled>
  32. <MapIcon>162</MapIcon>
  33. <MapIconColorString>White</MapIconColorString>
  34. <MapIconScale>0.5</MapIconScale>
  35. <MapIconRadius>1</MapIconRadius>
  36. <MapOpenIconAlpha>1</MapOpenIconAlpha>
  37. <MapClosedIconAlpha>0.25</MapClosedIconAlpha>
  38. <EntrancePosition> Spawn Trigger
  39. <X>-339.7834</X>
  40. <Y>-1463.811</Y>
  41. <Z>30.29497</Z>
  42. </EntrancePosition>
  43. <EntranceHeading>-111.3623</EntranceHeading>
  44. <OpenTime>6</OpenTime> <--- Time When Activated --->
  45. <CloseTime>20</CloseTime> <--- Time When De-Activated --->
  46. <InteriorID>-1</InteriorID>
  47. <IsWalkup>false</IsWalkup>
  48. <IsOnSPMap>true</IsOnSPMap>
  49. <IsOnMPMap>true</IsOnMPMap>
  50. <ShowsOnDirectory>false</ShowsOnDirectory>
  51. <ShowsOnTaxi>false</ShowsOnTaxi>
  52. <TypeName>Blank Location</TypeName>
  53. <SortOrder>999</SortOrder>
  54. <StateID>SanAndreas</StateID>
  55. <ScannerFilePath />
  56. <ActivateCells>4</ActivateCells>
  57. <ActivateDistance>300</ActivateDistance>
  58. <AssignedAssociationID>AMBIENT_GANG_ARMENIAN</AssignedAssociationID> <---- Gang ID ---->
  59. <DisableRegularInteract>false</DisableRegularInteract>
  60. <CameraPosition>
  61. <X>0</X>
  62. <Y>0</Y>
  63. <Z>0</Z>
  64. </CameraPosition>
  65. <CameraDirection>
  66. <X>0</X>
  67. <Y>0</Y>
  68. <Z>0</Z>
  69. </CameraDirection>
  70. <CameraRotation>
  71. <Pitch>0</Pitch>
  72. <Roll>0</Roll>
  73. <Yaw>0</Yaw>
  74. </CameraRotation>
  75. <CanInteractWhenWanted>false</CanInteractWhenWanted>
  76. <ShowsMarker>false</ShowsMarker>
  77. <PossibleGroupSpawns>
  78. <ConditionalGroup>
  79. <Name />
  80. <Percentage>60</Percentage>
  81. <OverrideNightPercentage>-1</OverrideNightPercentage>
  82. <OverrideDayPercentage>-1</OverrideDayPercentage>
  83. <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
  84. <MinHourSpawn>12</MinHourSpawn>
  85. <MaxHourSpawn>20</MaxHourSpawn>
  86. <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  87. <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
  88. <PossiblePedSpawns> <---- START OF PED SPAWNS ----->
  89. <ConditionalLocation xsi:type="GangConditionalLocation"> <---- 1st PED entry Start ----->
  90. <Location>
  91. <X>-341.0255</X> <--- Spawning Coordinates --->
  92. <Y>-1460.561</Y>
  93. <Z>30.75321</Z>
  94. </Location>
  95. <Heading>-175.1071</Heading> <--- Direction Ped will face --->
  96. <Percentage>0</Percentage>
  97. <AssociationID />
  98. <RequiredPedGroup />
  99. <RequiredVehicleGroup />
  100. <IsEmpty>true</IsEmpty>
  101. <AllowAirVehicle>false</AllowAirVehicle>
  102. <AllowBoat>false</AllowBoat>
  103. <TaskRequirements>Guard</TaskRequirements> <---- Prevents PED walking away ---->
  104. <ForcedScenarios>
  105. <string>WORLD_HUMAN_HANG_OUT_STREET</string> <---- Set Custom Scenarios the Ped's will use when spawned ----->
  106. <string>WORLD_HUMAN_AA_COFFEE</string>
  107. <string>WORLD_HUMAN_SMOKING</string>
  108. </ForcedScenarios>
  109. <OverrideNightPercentage>-1</OverrideNightPercentage>
  110. <OverrideDayPercentage>-1</OverrideDayPercentage>
  111. <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
  112. <MinHourSpawn>0</MinHourSpawn>
  113. <MaxHourSpawn>24</MaxHourSpawn>
  114. <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  115. <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
  116. <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
  117. <ForceMelee>false</ForceMelee>
  118. <ForceSidearm>false</ForceSidearm>
  119. <ForceLongGun>false</ForceLongGun>
  120. <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
  121. </ConditionalLocation> <---- 1nd PED entry End ----->
  122. <ConditionalLocation xsi:type="GangConditionalLocation"> <---- 2nd PED entry Start ----->
  123. <Location>
  124. <X>-342.3172</X>
  125. <Y>-1460.754</Y>
  126. <Z>30.75426</Z>
  127. </Location>
  128. <Heading>-126.9581</Heading>
  129. <Percentage>0</Percentage>
  130. <AssociationID />
  131. <RequiredPedGroup />
  132. <RequiredVehicleGroup />
  133. <IsEmpty>true</IsEmpty>
  134. <AllowAirVehicle>false</AllowAirVehicle>
  135. <AllowBoat>false</AllowBoat>
  136. <TaskRequirements>Guard</TaskRequirements>
  137. <ForcedScenarios>
  138. <string>WORLD_HUMAN_HANG_OUT_STREET</string>
  139. <string>WORLD_HUMAN_AA_COFFEE</string>
  140. <string>WORLD_HUMAN_SMOKING</string>
  141. </ForcedScenarios>
  142. <OverrideNightPercentage>-1</OverrideNightPercentage>
  143. <OverrideDayPercentage>-1</OverrideDayPercentage>
  144. <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
  145. <MinHourSpawn>0</MinHourSpawn>
  146. <MaxHourSpawn>24</MaxHourSpawn>
  147. <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  148. <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
  149. <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
  150. <ForceMelee>false</ForceMelee>
  151. <ForceSidearm>false</ForceSidearm>
  152. <ForceLongGun>false</ForceLongGun>
  153. <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
  154. </ConditionalLocation> <---- 2nd PED entry end ----->
  155. <ConditionalLocation xsi:type="GangConditionalLocation"> <---- 3rd PED entry start ----->
  156. <Location>
  157. <X>-342.5989</X>
  158. <Y>-1462.05</Y>
  159. <Z>30.61145</Z>
  160. </Location>
  161. <Heading>-89.48071</Heading>
  162. <Percentage>0</Percentage>
  163. <AssociationID />
  164. <RequiredPedGroup />
  165. <RequiredVehicleGroup />
  166. <IsEmpty>true</IsEmpty>
  167. <AllowAirVehicle>false</AllowAirVehicle>
  168. <AllowBoat>false</AllowBoat>
  169. <TaskRequirements>Guard</TaskRequirements>
  170. <ForcedScenarios>
  171. <string>WORLD_HUMAN_LEANING_CASINO_TERRACE</string>
  172. <string>WORLD_HUMAN_AA_COFFEE</string>
  173. <string>WORLD_HUMAN_SMOKING</string>
  174. </ForcedScenarios>
  175. <OverrideNightPercentage>-1</OverrideNightPercentage>
  176. <OverrideDayPercentage>-1</OverrideDayPercentage>
  177. <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
  178. <MinHourSpawn>0</MinHourSpawn>
  179. <MaxHourSpawn>24</MaxHourSpawn>
  180. <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  181. <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
  182. <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
  183. <ForceMelee>false</ForceMelee>
  184. <ForceSidearm>false</ForceSidearm>
  185. <ForceLongGun>false</ForceLongGun>
  186. <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
  187. </ConditionalLocation> <---- 3rd PED entry end ----->
  188. <ConditionalLocation xsi:type="GangConditionalLocation"> <---- 4th PED entry start ----->
  189. <Location>
  190. <X>-340.3219</X>
  191. <Y>-1462.547</Y>
  192. <Z>30.60857</Z>
  193. </Location>
  194. <Heading>29.69213</Heading>
  195. <Percentage>0</Percentage>
  196. <AssociationID />
  197. <RequiredPedGroup />
  198. <RequiredVehicleGroup />
  199. <IsEmpty>true</IsEmpty>
  200. <AllowAirVehicle>false</AllowAirVehicle>
  201. <AllowBoat>false</AllowBoat>
  202. <TaskRequirements>Guard</TaskRequirements>
  203. <ForcedScenarios>
  204. <string>WORLD_HUMAN_HANG_OUT_STREET</string>
  205. <string>WORLD_HUMAN_AA_COFFEE</string>
  206. <string>WORLD_HUMAN_SMOKING</string>
  207. </ForcedScenarios>
  208. <OverrideNightPercentage>-1</OverrideNightPercentage>
  209. <OverrideDayPercentage>-1</OverrideDayPercentage>
  210. <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
  211. <MinHourSpawn>0</MinHourSpawn>
  212. <MaxHourSpawn>24</MaxHourSpawn>
  213. <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  214. <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
  215. <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
  216. <ForceMelee>false</ForceMelee>
  217. <ForceSidearm>false</ForceSidearm>
  218. <ForceLongGun>false</ForceLongGun>
  219. <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
  220. </ConditionalLocation> <---- 4th PED entry end ----->
  221. </PossiblePedSpawns> <---- END OF PED SPAWNS ----->
  222. <PossibleVehicleSpawns> <---- Start Of Vehicle SPAWNS ----->
  223. <ConditionalLocation xsi:type="GangConditionalLocation"> <---- 1st Vehicle entry start ----->
  224. <Location>
  225. <X>-339.7834</X>
  226. <Y>-1463.811</Y>
  227. <Z>30.29497</Z>
  228. </Location>
  229. <Heading>-82.86436</Heading>
  230. <Percentage>0</Percentage>
  231. <AssociationID />
  232. <RequiredPedGroup />
  233. <RequiredVehicleGroup />
  234. <IsEmpty>true</IsEmpty>
  235. <AllowAirVehicle>false</AllowAirVehicle>
  236. <AllowBoat>false</AllowBoat>
  237. <TaskRequirements>None</TaskRequirements>
  238. <ForcedScenarios />
  239. <OverrideNightPercentage>-1</OverrideNightPercentage>
  240. <OverrideDayPercentage>-1</OverrideDayPercentage>
  241. <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
  242. <MinHourSpawn>0</MinHourSpawn>
  243. <MaxHourSpawn>24</MaxHourSpawn>
  244. <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  245. <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
  246. <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
  247. <ForceMelee>false</ForceMelee>
  248. <ForceSidearm>false</ForceSidearm>
  249. <ForceLongGun>false</ForceLongGun>
  250. <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
  251. </ConditionalLocation> <---- 1st Vehicle entry end ----->
  252. <ConditionalLocation xsi:type="GangConditionalLocation"> <---- 2nd Vehicle entry start ----->
  253. <Location>
  254. <X>-337.9729</X>
  255. <Y>-1459.476</Y>
  256. <Z>30.27439</Z>
  257. </Location>
  258. <Heading>99.35658</Heading>
  259. <Percentage>0</Percentage>
  260. <AssociationID />
  261. <RequiredPedGroup />
  262. <RequiredVehicleGroup />
  263. <IsEmpty>true</IsEmpty>
  264. <AllowAirVehicle>false</AllowAirVehicle>
  265. <AllowBoat>false</AllowBoat>
  266. <TaskRequirements>None</TaskRequirements>
  267. <ForcedScenarios />
  268. <OverrideNightPercentage>-1</OverrideNightPercentage>
  269. <OverrideDayPercentage>-1</OverrideDayPercentage>
  270. <OverridePoorWeatherPercentage>-1</OverridePoorWeatherPercentage>
  271. <MinHourSpawn>0</MinHourSpawn>
  272. <MaxHourSpawn>24</MaxHourSpawn>
  273. <MinWantedLevelSpawn>0</MinWantedLevelSpawn>
  274. <MaxWantedLevelSpawn>3</MaxWantedLevelSpawn>
  275. <LongGunAlwaysEquipped>false</LongGunAlwaysEquipped>
  276. <ForceMelee>false</ForceMelee>
  277. <ForceSidearm>false</ForceSidearm>
  278. <ForceLongGun>false</ForceLongGun>
  279. <TerritorySpawnsForceMainGang>false</TerritorySpawnsForceMainGang>
  280. </ConditionalLocation> <---- 2nd Vehicle entry end ----->
  281. </PossibleVehicleSpawns> <---- END Of Vehicle SPAWNS ----->
  282. </ConditionalGroup>
  283. </PossibleGroupSpawns>
  284. <VendorPosition>
  285. <X>0</X>
  286. <Y>0</Y>
  287. <Z>0</Z>
  288. </VendorPosition>
  289. <VendorHeading>0</VendorHeading>
  290. <VehiclePreviewCameraPosition>
  291. <X>0</X>
  292. <Y>0</Y>
  293. <Z>0</Z>
  294. </VehiclePreviewCameraPosition>
  295. <VehiclePreviewCameraDirection>
  296. <X>0</X>
  297. <Y>0</Y>
  298. <Z>0</Z>
  299. </VehiclePreviewCameraDirection>
  300. <VehiclePreviewCameraRotation>
  301. <Pitch>0</Pitch>
  302. <Roll>0</Roll>
  303. <Yaw>0</Yaw>
  304. </VehiclePreviewCameraRotation>
  305. <VehicleDeliveryLocations />
  306. <RegisterCash>3500</RegisterCash>
  307. <NoEntryCam>false</NoEntryCam>
  308. <IgnoreEntranceInteract>false</IgnoreEntranceInteract>
  309. </BlankLocation>
  310.  
  311.  
  312.  
  313. TaskRequirements
  314. ----------------------------------------------------------------------------------------------------------
  315. - Useable <TaskRequirements> -
  316. *NOTE* other than going by the name i don't have much more information on them.
  317.  
  318.  
  319. CanMoveWhenGuarding - a combo of guard+patrol?
  320. EquipLongGunWhenIdle - If using with Guard, The Ped Stands with shotgun/rifles etc in hand if gang/service has them.
  321. EquipSidearmWhenIdle - If using with Guard, The Ped Stands with a pistol in hand if gang/service has them.
  322. Guard - Stays in Place
  323. None
  324. Patrol - Walks Around
  325. StandardScenario
  326. LocalScenario - Uses Game Scenario if used on/near a game spawn point.
  327.  
  328. Some single line examples:
  329.  
  330. 1. <TaskRequirements>None</TaskRequirements>
  331.  
  332. 2. <TaskRequirements>Guard</TaskRequirements>
  333.  
  334. 3. <TaskRequirements>Patrol</TaskRequirements>
  335.  
  336. 4. <TaskRequirements>Guard CanMoveWhenGuarding Patrol</TaskRequirements>
  337.  
  338. 5. <TaskRequirements>Guard CanMoveWhenGuarding EquipSidearmWhenIdle</TaskRequirements>
  339.  
  340.  
  341. ----------------------------------------------------------------------------------------------------------
  342. //////////////////////////////////////////////////////////////////////////////////////////////////////////
  343. ----------------------------------------------------------------------------------------------------------
  344. ForcedScenarios
  345. ----------------------------------------------------------------------------------------------------------
  346.  
  347. - Some Useable <ForcedScenarios> -
  348.  
  349.  
  350. 1. <string>WORLD_HUMAN_HANG_OUT_STREET</string>
  351.  
  352. 2. <string>WORLD_HUMAN_DRINKING</string>
  353.  
  354. 3. <string>WORLD_HUMAN_SMOKING</string>
  355.  
  356. 4. <string>WORLD_HUMAN_SMOKING_POT</string>
  357.  
  358. 5. <string>WORLD_HUMAN_DRUG_DEALER</string>
  359.  
  360. 6. <string>WORLD_HUMAN_STAND_MOBILE</string>
  361. .
  362.  
  363. When a Ped is spawned into the LSR world it will use 1 of the ForcedScenarios that's been listed.
  364.  
  365. an example snippet:
  366.  
  367. <ForcedScenarios>
  368. <string>WORLD_HUMAN_HANG_OUT_STREET</string>
  369. <string>WORLD_HUMAN_DRINKING</string>
  370. <string>WORLD_HUMAN_SMOKING</string>
  371. <string>WORLD_HUMAN_SMOKING_POT</string>
  372. <string>WORLD_HUMAN_DRUG_DEALER</string>
  373. <string>WORLD_HUMAN_STAND_MOBILE</string>
  374. </ForcedScenarios>
  375.  
  376. *Note* other Scenarios can found be @ https://wiki.rage.mp/index.php?title=Scenarios
  377. 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