Weapon damage
-
BloodBane611
- Posts: 6576
- Joined: 2007-11-14 23:31
Weapon damage
So I've spent like the last 40 minutes looking through the tweak files to figure out where the weapon damage is, and though I was expecting to find something like ObjectTemplate.damage I got nothing out of that in either the .tweak, .con, or (and this wouldn't make sense in ANY way shape or form if it did work) the .inc. So where the **** did the DEVs stow this information? It's gotta be somewhere, because I still die when I get shot.
[R-CON]creepin - "because on the internet 0=1"
-
ReaperMAC
- Posts: 3055
- Joined: 2007-02-11 19:16
Oh Gee you think?BloodBane611 wrote:It's gotta be somewhere, because I still die when I get shot.
@Jaymz, are we suppose to be looking for a knight?

PR Test Team: [COLOR="Black"]Serious Business[/COLOR]
[R-DEV]dbzao: My head Rhino.... (long pause) My beautiful head
[R-DEV]Rhino - If you want to spam do it in the tester area please.
Control the Media, Control the Mind.
-
nedlands1
- Posts: 1467
- Joined: 2006-05-28 09:50
Go into C:\Program Files\EA GAMES\Battlefield 2\mods\pr\objects, objects_server.zip\Weapons\Handheld, open the folder for the weapon you want to look at, open the .tweak file in that folder and search for ObjectTemplate.projectileTemplate. Remember what that projectile is, then go into objects_server.zip\Weapons\common\projectiles and find the projectile. This file should give you your starting info.
If you want to find out what damage something does against a particular material, find this line ObjectTemplate.material in the projectile file. Then go to common_server.zip\Material and open the MaterialEditor.exe. Input the value of ObjectTemplate.material and select a material for it to interact with to get the modifier which is multiplied by the original damage value you got.
eg for the Type 95 which is the Chinese carbine, the damage is 32 and material is 3556. Against "Human_body" (24) the modifier is 1.7 so the damage done is 54.4
If you want to find out what damage something does against a particular material, find this line ObjectTemplate.material in the projectile file. Then go to common_server.zip\Material and open the MaterialEditor.exe. Input the value of ObjectTemplate.material and select a material for it to interact with to get the modifier which is multiplied by the original damage value you got.
eg for the Type 95 which is the Chinese carbine, the damage is 32 and material is 3556. Against "Human_body" (24) the modifier is 1.7 so the damage done is 54.4
-
BloodBane611
- Posts: 6576
- Joined: 2007-11-14 23:31
-
BloodBane611
- Posts: 6576
- Joined: 2007-11-14 23:31

