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
Thank you for the kind words, but the vast majority of this mod was done by the original author, Falconne. I have adopted it for maintenance, and only made some minor adjustments to try and optimize.
Those seem like good suggestions for optimizing it even further, thank you very much! I'll test them sometime soon.
To give something back, I found a couple of ways to optimize your GetFireCone function that should give a really nice performance boost.
Here's an image explaining the ideas: https://postimg.cc/sQy6GsKB
And here's the code changes you'd need: https://justpaste.it/6kn41
In testing, this update made me able to maintain 60TPS (8-10ms/t) with 15 friendlies and 120 enemies in combat.
The previous version brought me down to <30TPS (well over 40ms/t) in a similar situation; less than half of the target TPS for 1x speed.
Removing friendly fire entirely makes REALLY cheesy tactics possible, like a pawn stopping raiders at a door while getting friendly bullets sprayed straight through them. It just makes your pawns better with no consequence. Positioning relative to the gunners matters a lot less.
This mod instead makes your pawns smart enough to NOT shoot near each other (unless specifically told to). It's similar, but not the same. Your firing line will stop firing when a pawn moves in between them and their target. In order to prevent friendly fire, you lose out on possible damage.
@Bakker Joop: this mod is very different from disabling friendly fire. It allows you to tell your pawns to not fire if there is a chance of friendly fire.