Page 1 of 1
does the mindamage value in the object templates work?
Posted: Fri May 20, 2011 2:11 pm
by dudejo
i've been trying to use it but it's like the weapon deals normal damage regardless of the value i use.
does it have to be enabled somehow? the properties list on pilot51.com gives no indication whatsoever beyond how the damage formula works.
Posted: Fri May 20, 2011 4:54 pm
by freddy
have you tried use it directly on the projectile?
Re: does the mindamage value in the object templates work?
Posted: Fri May 20, 2011 5:16 pm
by dudejo
explain...?
i was adding the value in the weapon's object file like vanilla BF seems to do.
are you saying i should go in the damage system files?
Posted: Sat May 21, 2011 8:09 am
by freddy
eaxample for the colt projectile (original values)
Code: Select all
ObjectTemplate.create Projectile ColtProjectile
ObjectTemplate.minDamage 0.5
ObjectTemplate.distToStartLoseDamage 20
ObjectTemplate.distToMinDamage 40
Re: does the mindamage value in the object templates work?
Posted: Sat May 21, 2011 11:32 am
by dudejo
i used that exact order but still nothing will change.
i even used an excessive damage nerf like a .01 damage mod.
Posted: Sat May 21, 2011 6:12 pm
by freddy
it only work on direct damage, any splash damage remains the same
iwé use this code to lower the damage from bombs and torpedos so i know it works, i changed it in objects.rfa
Re: does the mindamage value in the object templates work?
Posted: Sun May 22, 2011 5:05 am
by dudejo
i was messing with the STG44.
unless i forked something up. i'll try a clean slate and see what happens then.
Re: does the mindamage value in the object templates work?
Posted: Thu Jun 09, 2011 10:29 pm
by dudejo
better late than never.
i found the values in the common objects folder :/
now it works like a charm.