does the mindamage value in the object templates work?

Ask questions, discuss ideas, get answers
Post Reply
dudejo
Posts: 71
Joined: Tue Nov 30, 2010 2:33 am

does the mindamage value in the object templates work?

Post 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.
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post by freddy »

have you tried use it directly on the projectile?
dudejo
Posts: 71
Joined: Tue Nov 30, 2010 2:33 am

Re: does the mindamage value in the object templates work?

Post 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?
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post 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
dudejo
Posts: 71
Joined: Tue Nov 30, 2010 2:33 am

Re: does the mindamage value in the object templates work?

Post by dudejo »

i used that exact order but still nothing will change.

i even used an excessive damage nerf like a .01 damage mod.
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post 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
dudejo
Posts: 71
Joined: Tue Nov 30, 2010 2:33 am

Re: does the mindamage value in the object templates work?

Post by dudejo »

i was messing with the STG44.

unless i forked something up. i'll try a clean slate and see what happens then.
dudejo
Posts: 71
Joined: Tue Nov 30, 2010 2:33 am

Re: does the mindamage value in the object templates work?

Post by dudejo »

better late than never.

i found the values in the common objects folder :/

now it works like a charm.
Post Reply