Weapon damage

General discussion of the Project Reality: BF2 modification.
Post Reply
BloodBane611
Posts: 6576
Joined: 2007-11-14 23:31

Weapon damage

Post by BloodBane611 »

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"
Jaymz
Retired PR Developer
Posts: 9138
Joined: 2006-04-29 10:03

Post by Jaymz »

You're not trying hard enough, look closer!

Image
"Clear the battlefield and let me see, All the profit from our victory." - Greg Lake
ReaperMAC
Posts: 3055
Joined: 2007-02-11 19:16

Post by ReaperMAC »

BloodBane611 wrote:It's gotta be somewhere, because I still die when I get shot.
Oh Gee you think? :roll:

@Jaymz, are we suppose to be looking for a knight? :lol:
Image
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

Post by nedlands1 »

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
BloodBane611
Posts: 6576
Joined: 2007-11-14 23:31

Post by BloodBane611 »

So Jay, I was going to find waldo by magnifying your image, but its not high res....pure evil.

Thank you nedlands. I was searching the BF editor forums and they did not describe it that way at all.
[R-CON]creepin - "because on the internet 0=1"
Death_dx
Posts: 379
Joined: 2007-11-09 21:37

Post by Death_dx »

Waldo is on the left side just under the post card thing. Do I win anything :) ?
BloodBane611
Posts: 6576
Joined: 2007-11-14 23:31

Post by BloodBane611 »

Yes, you win. I don't understand how you saw that, I had to strain my eyes to pretend there is a waldo shape. I'll just assume you're right.

BTW you don't win if you had a childhood memory of where it was.
[R-CON]creepin - "because on the internet 0=1"
Morgan
Posts: 826
Joined: 2007-08-27 10:06

Post by Morgan »

Who's Waldo? I thought it was Wally...?
Image
Top_Cat_AxJnAt
Posts: 3215
Joined: 2006-02-02 17:13

Post by Top_Cat_AxJnAt »

You clearly had a very deprived childhood! ;)
Post Reply

Return to “PR:BF2 General Discussion”