Page 1 of 1

1.2 Dutch crates not destroyable by grenades.

Posted: 2014-06-07 16:55
by MADsqirrel
Description:
Dutch supply crates can't be destroyed with hand grenades.

Steps to Reproduce:
Throw nades on a crate and see what happens. I needed 9 nades to kill 1 crate on local.
Tested it multiple times, with russian and dutch nades and 40mm grenades.
Also you need 2 direct hits with LAT to destroy the crate.
C4 and shotgun fire at the wooden part still works fine, 1 C4 and 5 shotgun shells.

Tested On:
PRTA
local
Arctic Lion at both layouts, online and local
Hades STD layout, online and local

Re: 1.2 Dutch crates not destroyable by grenades.

Posted: 2014-06-07 17:45
by Psyrus
Yeah I just checked and it's coded completely different to the rest... the biggest differences are highlighted below. I'm not sure if it was intentional, I'll make a bug tracker report.
pr_supply_crate_nl wrote:ObjectTemplate.cullRadiusScale 5

ObjectTemplate.armor.defaultMaterial 1011

ObjectTemplate.geometry pr_supply_crate_nl

ObjectTemplate.mapMaterial 0 cloth 1002
ObjectTemplate.mapMaterial 1 metal 21
ObjectTemplate.mapMaterial 2 cardboard 1011
ObjectTemplate.mapMaterial 3 wood 1011
ObjectTemplate.drag 10
ObjectTemplate.mass 5000
pr_supply_crate_us wrote:ObjectTemplate.cullRadiusScale 20

ObjectTemplate.armor.defaultMaterial 156

ObjectTemplate.geometry pr_supply_crate_us

ObjectTemplate.mapMaterial 0 cloth 1016
ObjectTemplate.mapMaterial 1 metal 157
ObjectTemplate.mapMaterial 2 cardboard 156
ObjectTemplate.mapMaterial 3 wood 156
ObjectTemplate.mapMaterial 4 physics_col_wood 156
ObjectTemplate.mapMaterial 5 physics_col_metal 157
ObjectTemplate.drag 2
ObjectTemplate.mass 2000

Re: 1.2 Dutch crates not destroyable by grenades.

Posted: 2014-06-07 17:49
by Mineral
The dutch comfac probably made it with an older version of the crates or something.

It's hard to keep up with the changes to the shared objects that are in the main build :D Noticed this myself with the Syrian faction a lot.

Re: 1.2 Dutch crates not destroyable by grenades.

Posted: 2014-06-07 17:53
by Psyrus
[R-DEV]Mineral wrote:The dutch comfac probably made it with an older version of the crates or something.

It's hard to keep up with the changes to the shared objects that are in the main build :D Noticed this myself with the Syrian faction a lot.
Do you think it's ok for me to just copy over the material/other values and commit? I didn't assign the issue to anyone since I don't know who's particularly in charge of the dutch stuff :confused:

Re: 1.2 Dutch crates not destroyable by grenades.

Posted: 2014-06-07 18:00
by Mineral
Ask Afterdune/glimmerman to be sure I guess. But I can see no reason why the crate needs to behave differently. Also make sure though that nothing else changed(the mesh/cols). I'd help you out but lazy AM hasn't given me repo yet :D

Posted: 2014-06-07 22:54
by AfterDune
Yeah, go for it. Apparently some code got changed along the way - very hard to keep track of changes like that ;) .

Oh, the times I had to update the soldiers because we changed sprint or armor... :p

Re: 1.2 Dutch crates not destroyable by grenades.

Posted: 2014-06-08 04:16
by Psyrus
Ok, it should be all sorted now