meturok Posted Tuesday at 03:31 AM Share Posted Tuesday at 03:31 AM I am a baby to modding in general but i have managed to open stalker 2 with fmodel and look around at some of the files...I am not sure what steps i need to take to be able to look deeper then just the paks? So the following is my understanding of how offline a-life works: Npcs are spawned in a bubble around the player...the player triggers the spawns.... NPCs/squads don't spawn on different parts of the map independently of the player. Once the player has encountered a spawned npc/squad then for a short time the game keeps track of the squad in offline. So if you leave the online radius and come back the NPC is still there...and sometimes they can move offline but not to far and they either die or despawn or are replaced by another squad. Observing it casually it would appear it's the traditional simulated offline system but on closer examination it's not....it's just a cheap trick to emulate true offline. For instance nothing will happen in a far part of the map if you just hangout somewhere for a long time...the scenario spawner will eventually spawn a squad just outside the render bubble and it will look like a squad just wandered in from somewhere but it didn't. Nothing spawns ever without the player being present and nothing happens outside the player triggered spawn scenarios...in the old games and especially with mods you could observe NPCs and squads moving around the map...that actually spawned in locations even if the player wasn't there and they would roam the map fighting other squads or mutants they encountered..... and if this is correct...i wonder if there is potential for this short-hand offline system to be explioted to function almost the same as the original a-life and o na map-wide level...for instance use the code for scenario spawning but trick the game into spawning patrols all over the map "as if" the player was all over the map...hence you would get the same result...then the offline system would keep track of them because there is some limited offline function going on as i have already observed playing testing(unless i am wrong somehow) and then the parameters for how long offline stuff despawns once "activated" would have to be tweaked and the limit of how many active npc's etc. Please excuse me if what i say doesn't make sense as i am trying to make sense of all this myself and i have limited experience. But is is just general vague idea i hope more experienced modders have the skills to implement...if it is even possible...SDK will open things up alot i assume... Link to comment Share on other sites More sharing options...
Recommended Posts