Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The actual spawn position used for those is still based off of the player itself, not the point zone.
2. Random every time based on min and max distance unless using location spawns.
"Spatial_Radius": 1000.0,
"Spatial_ZoneLoadout": "TestLoadout.json",
"Spatial_Faction": "East",
"Spatial_Name": "East",
"Spatial_HuntMode": 3,
"Spatial_MinCount": 1,
"Spatial_MaxCount": 1,
"Spatial_Safe": 0,
"Spatial_Position": [
[
4489.23,
7.54147,
2524.87
]
Where TestLoadout.json should only spawn with an apple and a glock, but it's spawning this group and loadout...
"Spatial_MinCount": 2,
"Spatial_MaxCount": 3,
"Spatial_Weight": 350.0,
"Spatial_Loadout": "EastLoadout.json",
"Spatial_Faction": "Passive",
"Spatial_Name": "Passive"
11:02:56.164 [Spatial AI] points Enabled
11:02:56.164 [Spatial AI] Trigger at location: <4489.229980, 7.541470, 2524.870117> - Radius: 1000
11:02:56.164 [Spatial AI] Safe: false - Faction: East - Loadout: TestLoadout.json - counts: 1:1
11:13:34.886 [Spatial AI] Player: theonlytalkinggoat Number: 2, Faction name: Passive, Loadout: EastLoadout.json
11:13:34.890 [Spatial AI] Spawning 2 Passive bots at <4735.895508, 9.673083, 2476.846436>
Ok, so I got it to spawn, but it seems it won't work unless I'm within 50 meters of the spawn point. Still testing.
I see, in MissionServer.c, where you're sending the data to the log in the function InitSpatialTriggers.
But I'm not seeing an evaluation of whether or not the player is within the spatial radius or a logic cycle to tell it to use the layout in Spatial_ZoneLoadout.
I'll look into it.