Occasionally fills the half-empty squads with more NPCs.
Description
Just sharing my another tweak that will fill up the random non-important travelling squads. Once it fires it will try to add 1 new member to each of these squads (spawned NPC is picked randomly from their squad section). I just don't like seeing mostly one guy travelling around ;]
Change these to your liking (first is time to fire, second is chance for each squad, third is NPCs spawn limit for each squad):
Should be compatible with everything. Also guards from my Guard spawner addon will always have 100% chance to be re-filled.
Yey. You finally released it here. I've been using it for a long time. Hehehe.
;]
yaaa-sss king !
I apologize for the stupid question.
if you put "max_squad_count" to a value like 15? Will I have HUGE units walking after a while?
Or does this value not affect the squad size limit?
rip your fps bro
Bro, at a value of 10, it works fine. But sometimes there is not enough ammo.
Question is fine ;]
I believe there is no limit in game. So yeah, in theory it should spawn NPCs till squad size is 15.
Just increase the ZCP "stalker squad size", no?
does this lag the game at all
I'm not sure what you mean or what can cause the lags.
does this addon affecting companions? Like if you recruited a squad of 2 stalkers to be your companions, are they going to refill?
No, companions are excluded while they are in your squad.
This comment is currently awaiting admin approval, join now to view.
Can this allow Squads to merge? Like say you have two guys recruited from two separate squads, but their friends all died so both are the sole guy alive in the squad.
Well after you dismiss them they can join up into one squad and work together since they have already worked together when you recruited them?
This addon no, but I have another one that can merge squads. I'm just not sure it's stable enough, need too much testings and still can't guarantee that won't be some weird crashes, so I just abandoned it ;[
This addon is more safe and nobody will notice the difference anyway.
I use just about every single one of your mods my guy, I really appreciate you. If I am reading that right... if there's already 3 in a squad it won't spawn more?
Hey, yes, if you keep the value at 3 and squad size is 3 - it won't spawn.
so in warfare will the squads be refilled?
i seem to be having a problem, i cant figure out how to modify it or see its settings, its not in the mcm or as something that comes up with an edit screen once its installed, i might be just missing something but any help would be greatly appreciated.
There is screenshot in description, open script with any text editor and edit numbers.
Does this work with Warfare? do those squads also replenish? Oh lawd pls
No idea.
First of all great mod, i do have a question, say i would use the values in your screenshot would that remove the possibility of squads being able to spawn with 4 or 5 like normally or would 3 be the max for all new squads aswell?
I get this error when I sleep...
! [SCRIPT ERROR]: c:/anomaly/bin/..\gamedata\scripts\squads_filler.script:34: attempt to index local 'commander' (a nil value)
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_pcall_failed
[error]File : E:\Github\xray-monolith\src\xrServerEntities\script_engine.cpp
[error]Line : 257
[error]Description : fatal error
[error]Arguments :
1 : [Lua] c:/anomaly/bin/..\gamedata\scripts\squads_filler.script(34) : xcvb_add_member
LUA error: c:/anomaly/bin/..\gamedata\scripts\squads_filler.script:34: attempt to index local 'commander' (a nil value)
Check log for details
stack trace:
I know i could just turn off the addon when I sleep but that is wildy inconvenient and annoying
Line 34 should not contain "commander", did you change anything in the script?
I had the same error and also happened when i went to sleep and havent changed anything i redownloaded and opened it up with notepad+ and checked line 34 and it says
" local pos = commander.position"