Jump to content

New to stalker 2 modding.


meturok

Recommended Posts

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

  • 2 weeks later...

I'm not an expert in mods, but here's what I can say about this...
1) The easiest way to implement your plan is to increase the radius of the bot spawn bubble to the entire territory of the Zone. But this will be VERY resource-intensive. Considering this with poor optimization of the game, this is a big minus.
2) Even if it works out, and is also economical, then just what for? You are not there, you can't do anything there and somehow influence them. Then what is it for? Run there and shoot? Just a life simulation? It is more or less there, although not ideal. You will not see your squads on the map, so the meaning of the "simulation" is completely lost. Remember
the same quests at the beginning - you come to the location, and there, like, something happens. The main character gets hit on the head, the bandits storm someone in the house, and there it turns out they took someone else prisoner ... There is a lot of this in the game. Why is it not active?
3) What I would really do is just expand it within one location MAXIMUM (or up to 500-600 meters), with a spawn limitation around the main character of 100-200 meters. Why? Firstly, it saves resources. Secondly, I personally get annoyed by squads appearing 30 meters away from me out of nowhere, and not always friendly, 10+ people. The same problem with mutants...

P.S. My English is not very good, I use a translator. If there is an answer, please write without abbreviations and acronyms.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...