AnthonyBF2 wrote:The part that really matters is StickPerson = 1 which goes in the ODF ordnance file.
It does not, actually. That is for - believe it or not - sticking the grenade to units.
If you change the ordnance class to "shell", you won't even need the stick-to-anything part in the odf, as it will make the grenade explode no matter what it touches.
For example, this is my com_weap_inf_impactdetonator_ord.odf, it works perfectly fine as wanted.
AnthonyBF2 wrote:The part that really matters is StickPerson = 1 which goes in the ODF ordnance file.
It does not, actually. That is for - believe it or not - sticking the grenade to units.
If you change the ordnance class to "shell", you won't even need the stick-to-anything part in the odf, as it will make the grenade explode no matter what it touches.
For example, this is my com_weap_inf_impactdetonator_ord.odf, it works perfectly fine as wanted.
It had been a while since I messed with that so I wasn't paying attention. The full block of parameters is:
StickPerson = 0
StickAnimal = 0
StickDroid = 0
StickVehicle = 1
StickBuilding = 1
StickBuildingDead = 0
StickBuildingUnbuilt= 0
StickTerrain = 0
It goes without saying that they should all be set to 1.
AnthonyBF2 wrote:It goes without saying that they should all be set to 1.
It goes without saying that you are wrong, as I have already said and shown, the stick-to-things lines are not required to make an impact detonator - you only need the shell class.
Take a look at the stock mortar launcher if you still don't believe me.