Chance to hit (accuracy) - does not sense in 3.1 (?)
-
iap
- Trained

- Posts: 244
- Joined: 26 Sep 2009, 16:08
Re: Chance to hit (accuracy) - does not sense in 3.1 (?)
Hi, sorry to burst in like this, but why not calculating the exact ballistic targeting, and then just add some randomness to the initial angle and power?
Having my units "run away" from a long distance artillery shot directly to their location is best! Seeing an enemy unit maneuver itself out of the targeted hitting place of my artillery of my weapons looks good too. That's the reason I always build artillery in masses.
As for direct weapons - angle variation should do the trick. Hi, slight angle change give small distance near by and large distance from far away - so there is no need for short and long distance difference.
I personally don't mind small units like cyborgs being harder to direct hit, after all, all the long distance weapons have a splash radius.
Having my units "run away" from a long distance artillery shot directly to their location is best! Seeing an enemy unit maneuver itself out of the targeted hitting place of my artillery of my weapons looks good too. That's the reason I always build artillery in masses.
As for direct weapons - angle variation should do the trick. Hi, slight angle change give small distance near by and large distance from far away - so there is no need for short and long distance difference.
I personally don't mind small units like cyborgs being harder to direct hit, after all, all the long distance weapons have a splash radius.
-
effigy
- Regular

- Posts: 1217
- Joined: 22 Jan 2010, 03:21
Re: Chance to hit (accuracy) - does not sense in 3.1 (?)
It's hard to say if this would negatively impact the game long term, but would need to come with a major rebalance, imo.Per wrote:My personal opinion is that accuracy and misses are unnecessary. Just make everything hit and watch a whole category of quite hard issues go up in smoke. Then we can have fun playing the game instead.
This is why some features aren't implemented: http://forums.wz2100.net/viewtopic.php?f=30&t=7490&view=unread#p87241
-
bendib
- Regular

- Posts: 1016
- Joined: 29 Aug 2010, 05:22
- Location: Imeuta
Re: Chance to hit (accuracy) - does not sense in 3.1 (?)
Accuracy should depend on distance, as an absolute.
Also known as Subsentient.
-
Emdek
- Regular

- Posts: 1329
- Joined: 24 Jan 2010, 13:14
- Location: Poland
Re: Chance to hit (accuracy) - does not sense in 3.1 (?)
bendib, for me it should depend on experience too (only a bit, but more experienced units in real world usually target better
).
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.
Beware! Mad Qt Evangelist.
The time has come, the high time, to destroy hatred in oneself.
Beware! Mad Qt Evangelist.
-
effigy
- Regular

- Posts: 1217
- Joined: 22 Jan 2010, 03:21
Re: Chance to hit (accuracy) - does not sense in 3.1 (?)
I think increased rank giving better accuracy is suppose to be reward for keeping that unit alive.
This is why some features aren't implemented: http://forums.wz2100.net/viewtopic.php?f=30&t=7490&view=unread#p87241
-
aubergine
- Professional

- Posts: 3462
- Joined: 10 Oct 2010, 00:58
Re: Chance to hit (accuracy) - does not sense in 3.1 (?)
If weapons hit all the time, the game becomes too mechanical. It's a warzone, not a fairground "shooting ducks" game (and even there you miss some of the time).Per wrote:My personal opinion is that accuracy and misses are unnecessary. Just make everything hit and watch a whole category of quite hard issues go up in smoke. Then we can have fun playing the game instead.
I think misses should be dealt with in as simple a manner as possible for performance reasons (if it missies, I don't really care by how much) but should not be removed from the game.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
-
iap
- Trained

- Posts: 244
- Joined: 26 Sep 2009, 16:08
Re: Chance to hit (accuracy) - does not sense in 3.1 (?)
Fully agree (except that I think it should be more then a bit)Emdek wrote:bendib, for me it should depend on experience too (only a bit, but more experienced units in real world usually target better).
-
Emdek
- Regular

- Posts: 1329
- Joined: 24 Jan 2010, 13:14
- Location: Poland
Re: Chance to hit (accuracy) - does not sense in 3.1 (?)
This part is relative, we could get a poll for how big it should be alone. 
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.
Beware! Mad Qt Evangelist.
The time has come, the high time, to destroy hatred in oneself.
Beware! Mad Qt Evangelist.
-
Jorzi
- Regular

- Posts: 2063
- Joined: 11 Apr 2010, 00:14
Re: Chance to hit (accuracy) - does not sense in 3.1 (?)
I partly agree, but this is not the case for artillery though, you want to have a certain accuracy-dependent spread.aubergine wrote:I think misses should be dealt with in as simple a manner as possible for performance reasons (if it missies, I don't really care by how much) but should not be removed from the game.


-insert deep philosophical statement here-
-
Reg312
- Regular

- Posts: 681
- Joined: 25 Mar 2011, 18:36
Re: Chance to hit (accuracy) - does not sense in 3.1 (?)
found following code for missed shots in combat.cpp:
this code means: radius of missed shots depends on chance to hit?
just saw code in debug, seems it works as i expected, but i did not check it deeper
for weapon with 75% hit chance all missed shots will go to area with 55 radius near target (its lesser than 1/2 of tile)
may be i'm very wrong? i dont know
i'm not good with mathematical stuff
e.g. machinegun have 50% chance to hit => we will get missed shot in radious of 105 points to center of target? its lesser than 1 tile (tile = 128 points)
so for most weapons we have only 1/2 tile radius of missed shots and this means 100% accuracy for most weapons?? hm
[upd]
seems thing with missed shot radius depending on hit chance was in all old versions,
this still does not explain why units became more accurate in 3.1/master
Code: Select all
int missDist = 2 * (100 - resultHitChance) + minOffset;
Vector3i miss = Vector3i(iSinCosR(gameRand(DEG(360)), missDist), 0);
predict += missjust saw code in debug, seems it works as i expected, but i did not check it deeper
for weapon with 75% hit chance all missed shots will go to area with 55 radius near target (its lesser than 1/2 of tile)
may be i'm very wrong? i dont know
i'm not good with mathematical stuff
e.g. machinegun have 50% chance to hit => we will get missed shot in radious of 105 points to center of target? its lesser than 1 tile (tile = 128 points)
so for most weapons we have only 1/2 tile radius of missed shots and this means 100% accuracy for most weapons?? hm
[upd]
seems thing with missed shot radius depending on hit chance was in all old versions,
this still does not explain why units became more accurate in 3.1/master
Last edited by Reg312 on 23 Apr 2012, 23:59, edited 2 times in total.
-
Giani
- Regular

- Posts: 804
- Joined: 23 Aug 2011, 22:42
- Location: Argentina
Re: Chance to hit (accuracy) - does not sense in 3.1 (?)
That would explain why researching acuracy for artillery doesn't change anything.
My maps: http://forums.wz2100.net/viewtopic.php?f=10&t=9501
-
Reg312
- Regular

- Posts: 681
- Joined: 25 Mar 2011, 18:36
Re: Chance to hit (accuracy) - does not sense in 3.1 (?)
i hope Cyr or Per can say what i'm wrong or explain why chance to hit target also defines radius of missed shots
i still dont understand what was done with accuracy in 3.1, i want get it
i still dont understand what was done with accuracy in 3.1, i want get it
-
Giani
- Regular

- Posts: 804
- Joined: 23 Aug 2011, 22:42
- Location: Argentina
Re: Chance to hit (accuracy) - does not sense in 3.1 (?)
Bug maybe?Reg312 wrote:i hope Cyr or Per can say what i'm wrong or explain why chance to hit target also defines radius of missed shots
i still dont understand what was done with accuracy in 3.1, i want get it
My maps: http://forums.wz2100.net/viewtopic.php?f=10&t=9501
-
Giani
- Regular

- Posts: 804
- Joined: 23 Aug 2011, 22:42
- Location: Argentina
Re: Chance to hit (accuracy) - does not sense in 3.1 (?)
bendib wrote:Accuracy should depend on distance, as an absolute.
I agree whit both. And about distance if it is very close(1-6 tiles) and VERY far it should miss 3/7 of shots IMO.Emdek wrote:bendib, for me it should depend on experience too (only a bit, but more experienced units in real world usually target better).
My maps: http://forums.wz2100.net/viewtopic.php?f=10&t=9501
-
iap
- Trained

- Posts: 244
- Joined: 26 Sep 2009, 16:08
Re: Chance to hit (accuracy) - does not sense in 3.1 (?)
What? This is not the only thing that doesn't change, or is it?Giani wrote:That would explain why researching acuracy for artillery doesn't change anything.
Damn, researching upgrade is like pseudo pill …