Is there a completed material list available anywhere?

Ask questions, discuss ideas, get answers
Post Reply
Dminus

Is there a completed material list available anywhere?

Post by Dminus »

Hello, I just started modding Battlefield 1942 a week ago and I'm really enjoying it.

I'm wondering if there is a list somewhere available online or in the .rfa files that will tell you what the MaterialManager.attGroup and MaterialManager.defGroup numbers mean. I found the 'Material Numbers for Projectiles' in the reference section but have not been able to find the meaning of the other numbers. Any help would be great. The learning curve for the battlefield system is steep for me but I'm enjoying what i have learned so far.
takiwa
Posts: 134
Joined: Mon Dec 30, 2013 4:29 pm
Location: The Great State of Georgia

Re: Is there a completed material list available anywhere?

Post by takiwa »

Material 0 = Default (used on wheels a lot)
Material 1 = Water
Material 2 = Dry grass
Material 3 = Juicy grass
Material 4 = Dry dirt
Material 5 = Wet dirt
Material 6 = Mud
Material 7 = Reserved (Outside map)
Material 8 = Gravel
Material 9 = Frozen ground
Material 10= Dry sand (El Alamein)
Material 11= Wet sand
Material 12= Rock (Omaha beach)
Material 13= Sand Road
Material 14= Dirt road
Material 15= Paved road

Material 37= Wheels (on a car/vehicle) * using 92 instead will give you improved traction for racing, etc
Material 39= Used on M3 Grant wheels, instead of 37

Material 40= Player Head
Material 41= Player Torso
Material 42= Player Limbs

Material 70= Grenade
Material 72= Stairs?

Material 80= Solid Wood
Material 81= Wood
Material 82= Thin Wood
Material 83= Hollow Wood
Material 84= Solid Metal
Material 85= Metal
Material 86= Thin Metal
Material 87= Hollow Metal
Material 88= Solid Stone (Rock)

Material 90= ?? Found on COL02 of aircraft

Material 92= Concrete
Material 93= Reinforced Concrete
Material 94= Flesh
Material 95= Rubber
Material 96= Stone stairs
Material 97= Wood stairs
Material 98= Iron stairs
Material 99= Instant death to soldiers

Material 100= Exterior Stone Wall
Material 101= Interior Stone Wall
Material 102= Exterior brick Wall
Material 103= Interior brick Wall
Material 104= Exterior wooden Wall
Material 105= Interior wooden Wall
Material 106= Wooden Fence
Material 107= Sandbags
Material 108= Grate
Material 109= Wooden Fence
Material 110= Wire Fence
Material 111= Grated Fence
Material 112= Mesh Fence
Material 113= Bamboo Exterior wall
Material 114= Bamboo Interior wall
Material 115= Bamboo Fence
Material 116= Bamboo Fence
Material 117= Wooden Floor
Material 118= Stone Floor
Material 119= Glass Pane
Material 139= Splash Material for Fletcher Static
Material 165= Tree Trunk
Material 166= Tree Trunk

Material 178= Calliope Rocket Tubes

Material 190= Wooden door
Material 191= Metal Door
Material 192= Wooden Ladder
Material 193= Metal Ladder
Material 194= Switch/control panel
Material 195= Climbing net
MaterialManager.attGroup is the offensive attacking object (i.e., projectile), MaterialManager.defGroup is the defensive object being attacked

Example...

MaterialManager.attGroup 219 <-- this is the matId for a vanilla K98 projectile
MaterialManager.defGroup 40 <-- this is the matId for a player's head collision
MaterialManager.damageMod 10 <-- this is the base damage that will be done if matId 219 hits matId 40
MaterialManager.setEffectTemplate e_Blood01 <-- this shows the effect the game should run if matId 219 hits matId 40

hope that helps
Last edited by takiwa on Sat May 18, 2019 9:39 am, edited 1 time in total.
Image
russ
Posts: 73
Joined: Sun Oct 29, 2017 8:12 am

Re: Is there a completed material list available anywhere?

Post by russ »

In addition, material 90 is the only material that fails the "isSolidMaterial" test in 'dice::ref2::world::PointResponsePhysics::checkObjectVsObject'

Some additional defined materials:

Code: Select all

43 Car: Kubel (hood/lower front)
44 ?
45 Car: Willy (all)
        Kubel (most of body)
   *    Landing Craft

46 Arty/APC: Halftracks (side/rear)
             Katyusha   (body)
             Wespe      (turret)
             Priest     (back/upper side)

47 Arty/APC: Halftracks (hood)
             Priest     (top front)
48 ?
49 ?

50 Tank: Sherman (rear)
         ChiHa, PnzIV, T34-med (top/rear)
   *     Flak guns

51 Tank: Sherman        (side/top/track)
         Halftrck       (wheel/track)
         Tiger          (rear/track)
         ChiHa          (side)
         M10            (rear/top/track)
         PnzIV, T34-med (side/track)
         T34-hvy        (rear/top/track)
         Wespe          (front/track)
         Priest         (bottom front/track)

52 Tank: Sherman, ChiHa, PnzIV, T34-med (front)

53 Tank: Tiger        (side/top)
         M10, T34-hvy (side)
   *     Defgun

54 Tank: Tiger, M10, T34-hvy (front)

55 Sub (hull)
56 Ships (underwater), Sub (conning tower)
57 Destroyer (turret)
58 Destroyer (hull/super)
59 Battleship + Carrier (hull/super)

60 Planes: Mstng, Crsr, Sptfr, Yak9, Ju87, Bf109 (engines/cockpit)
           Zero (engines/cockpit/fuselage)
           SBD  (all)

61 Planes: <most>    (wings)
           Mustang (tail)

62 Planes: Mustang (wings)
           B17     (tail)

63 Planes: D3A1, Ju87 (cockpit)
           <most>     (tail)
64 ?
65 ?

66 Ships (wood deck)
Post Reply