RHS Feedback

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005321AFRF[All Projects] Generalpublic2019-10-15 07:142019-10-15 09:55
ReporterKartaviy 
Assigned ToSoul_Assassin 
PrioritynoneSeveritytextReproducibilityN/A
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005321: Question
DescriptionСкажите пожалуйста, зачем в своих хитпоинтах вы выставляете отрицательные значения?
TagsNo tags attached.
Is it a wish/request?No
RHS versionStable
Arma 3 version1.94
Did you used any other mod when the error occurred?No
Which mods?
Attached Files

- Relationships

-  Notes
(0009995)
Soul_Assassin (administrator)
2019-10-15 08:26

где именно?
(0009996)
Kartaviy (viewer)
2019-10-15 08:58

В танках например. Armo 999 или Armor -150. minimalHit = -0.25; и т.д.
Как вообще проходит система подсчета урона с этими значениями?
Ну да и еще меня очень сильно интересует параметр armorStructural.
(0009997)
reyhard (administrator)
2019-10-15 09:55

1) Armor 999 is used when hardcoded engine hitpoint is supposed to get damage from 2 other sub hitpoints ("depends" property). I.e. land vehicles can use one HitFuel so if we want to simulate 2 separate fuel tanks we need one indestructible HitFuel component + 2 sub hitpoints which are passing damage to parent hitpoint
2) Armor = -150, negative armor values are used if you want to see absolute hitpoint armor value. For instance, -150 means that such hitpoint in ideal condition can survive ten shots from weapon which deals hit = 10 (of course, there are other factors on top of that but I hope you get idea what it means).

If you are using non negative values then armor value is multiplication of armorStructural + size of vehicle (bounding box size) + passThrough which, as you can understand, is super confusing and non obvious behavior. For a long time we couldn't understand why ERA was behaving differently on various tanks even though they were using same armor values and it turned out to be caused by varied bbox size.

In OFP times, that vehicle size assumption seemed to be logic since you would use same hitpoint value for all buildings and then you would expect that smaller ones collapse faster but it turned out to be really bad design idea in the end.
3) negative minimal hit that if i.e. there is armor = -100; & weapon with hit = 15 & hitpoint has minimalHit = -0.10 then inflicted damage is equal to 100/10-15=-5 which means bullet will inflict 5 damage to hitpoint (result is 95 remaining HP) .

Non negative minimal hitpoint would deal full damage (15) in this case.

- Issue History
Date Modified Username Field Change
2019-10-15 07:14 Kartaviy New Issue
2019-10-15 08:26 Soul_Assassin Note Added: 0009995
2019-10-15 08:26 Soul_Assassin Assigned To => Soul_Assassin
2019-10-15 08:26 Soul_Assassin Status new => feedback
2019-10-15 08:58 Kartaviy Note Added: 0009996
2019-10-15 08:58 Kartaviy Status feedback => new
2019-10-15 09:55 reyhard Note Added: 0009997
2019-10-15 09:55 reyhard Status new => closed
2019-10-15 09:55 reyhard Resolution open => no change required


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker