-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quest on defending sports ground missing in SRP #69
Comments
The reason this works consistently in vanilla but (sometimes) not (immediately) in the SRP is that, in vanilla, the attacking Freedom squad is prevented from 'settling' into the sports ground by a bug that was fixed in the SRP:
Under "normal" circumstances in CS -- which apply here -- squads will only move to a neighboring camp if their squad_power + attack_power exceeds the squad_power of the camp's current occupants. Let's do some calculations:
Now, because Kostyan's squad never technically captures the sports ground in vanilla, the game considers it empty. Hence, when the mutant squad spawns beside the sports ground, it readily moves there because the game considers there to be no resistance at the sports ground. (Incidentally, this is also why you don't get a quest to defend the sports ground in vanilla when the mutants attack.) But in the SRP, Kostyan's squad does settle into the sports ground. Hence, the mutants don't attack - they're too weak compared to Kostyan's squad... Unless, of course, sufficiently many NPCs in Kostyan's squad die during the assault to bring his squad's squad_power below 8. In that case, the mutants do attack even in the SRP. The solution here is to define an explicit attack_power for the mutant squad. |
Fixed in 69b1c8a. |
Suslov constantly repeats farewell phrases. Can you fix it? |
Open this as a separate issue please. |
@Decane, what is 5 in base squad power calculation? Why don’t you just divide by 200? And what is Kostyan’s default attack power? |
The squad_power calculation appears in:
Every NPC in a squad increments squad_power by
The maximum number of NPCs in a 'generic' squad in Clear Sky. This, combined with the fact that squad_power must never exceed 25 (see above), means each NPC should increment squad_power by no more than 5 on average. This, in turn, means the average rank of NPCs in a 'generic' squad should be no more than 1000.
I'm guessing GSC expressed the increment as
Not sure what significance the word "default" has in your question, but Kostyan's squad's attack_power is 400. That doesn't matter one bit for whether the mutants attack them at the sports ground, though. Only squad_power is factored into a squad's defensive capability in the eyes of the game. |
|
In vanilla, as soon as you capture the Military Base with a freedom squad, the game spawns a few dogs nearby and make them go capture the sports ground. In SRP, however, these dogs do spawn, but don't go capture this point.
Here comes the save.
The text was updated successfully, but these errors were encountered: