General > Discussion
Soldiers shooting soldiers
geever:
You should have played the original series, not just the "After" life... ;) You could accidentally hit&kill your own soldiers quite often in X-COM 1-3. Great old memories...
-geever
Duke:
I also noticed that the spread is much too wide imho. Even though the AI checks the spread, they still hit their mates pretty often.
@Grug:
AI_CheckFF() assumes the spread defined in the scripts to be the max deviation for bullits.
G_ShootSingle() - the actual shooting - uses the spread to modify a gauss value. gauss is infinite...
The math inside is a bit beyond me. So if you want to give it a try, I would appreciate it.
DarkRain:
Even in the After* series it is possible to hit your own teammates, come on, they even show the hit chance for your own troops if they are in the way of your shooting (or inside the splash area)
Hint: A soldier can always shoot over crouching friendlies (or maybe only teammates) without _ever_ hitting them, as long as they are directly adjacent (but that is *not* always the case with grenades - you have been warned)
The standard (gaussian) distribution curve may be infinite, but over 99% of the area under it (the probability) falls within ±3 standard deviations from the mean, so that might be a better max for checks (basically make the max deviation for bullets equal 3 times the spread)
Edit: Even 2 SD's will contain over 95% of the results
H-Hour:
The other thing to note is that the green/red lines that are painted by the game represent approximations. You still need to use your judgement. If the line of fire is green but goes close to your soldiers and you're using a weapon with a bit of spread, then you're probably taking a risk in firing.
Grug:
--- Quote from: H-Hour on April 29, 2014, 10:07:51 am ---The other thing to note is that the green/red lines that are painted by the game represent approximations. You still need to use your judgement. If the line of fire is green but goes close to your soldiers and you're using a weapon with a bit of spread, then you're probably taking a risk in firing.
--- End quote ---
Sure, but three shots from an assault rifle by an elite troop shooting over or past someone's shoulder (especially coming out of the dropship), shouldn't result in them getting hit.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version