BF2 ODF
Moderator: Moderators
-
Commander_Cody771
- Vader's Apprentice
- Posts: 1069
- Joined: Thu Jun 07, 2007 5:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Looking for a new CPU
- Contact:
BF2 ODF
Does BF2 use ODf's and .msh's the same way BF1 does? 
-
VF501
- Lieutenant Colonel

- Posts: 539
- Joined: Fri Jun 08, 2007 1:18 am
- Projects :: Various Stuff- Weapon models. UDK Stuff
- xbox live or psn: Vintage Tagious
- Location: Terra Firma, Sol System; Milky Way
.mshs are used the same way. They go in a MSH folder and are called by the .odf using the same commands.
ODFs are done differently. There is a Class Parent system.
Folder setup is like this. SIDE/Common; SIDE/REP; SIDE/IMP and soo forth.
The common folder contains all the common .mshs, effects and such and the Parent .odfs for each weapon, vehicle and unit.
In the separate side folders-rep, imp, all, cis, etc.- they have the child odfs that dictate things like model used, weapons used and other stuff. For example, to edit the damage that rifles do you can just edit the com_weap_inf_rifle.odf to change all the rifles at once.
Individual changes in the side odfs override the changes to the parent odf. Example; com_weap_inf_rifle_ord.odf has damage set at 50- all rifles do 50 damage per shot.
Lets say you want just the Imperial Rifle to do more damage. You go to the Imp side ODF folder and go to imp_weap_inf_rifle_ord.odf and change the damage values there. The change in the imp rifle odf will override the parent odf.
NOTE: You can still do weapons in the same manner as SWBF1 too. Just do a single complete odf and drop it in the desired side. Evidence of this is the DC-17m odfs Majin made for the Commando Source files
The class-parent system is slightly more complicated but once you get used to it its easier to mod than the original SWBF1 ODF system.
ODFs are done differently. There is a Class Parent system.
Folder setup is like this. SIDE/Common; SIDE/REP; SIDE/IMP and soo forth.
The common folder contains all the common .mshs, effects and such and the Parent .odfs for each weapon, vehicle and unit.
In the separate side folders-rep, imp, all, cis, etc.- they have the child odfs that dictate things like model used, weapons used and other stuff. For example, to edit the damage that rifles do you can just edit the com_weap_inf_rifle.odf to change all the rifles at once.
Individual changes in the side odfs override the changes to the parent odf. Example; com_weap_inf_rifle_ord.odf has damage set at 50- all rifles do 50 damage per shot.
Lets say you want just the Imperial Rifle to do more damage. You go to the Imp side ODF folder and go to imp_weap_inf_rifle_ord.odf and change the damage values there. The change in the imp rifle odf will override the parent odf.
NOTE: You can still do weapons in the same manner as SWBF1 too. Just do a single complete odf and drop it in the desired side. Evidence of this is the DC-17m odfs Majin made for the Commando Source files
The class-parent system is slightly more complicated but once you get used to it its easier to mod than the original SWBF1 ODF system.
-
Commander_Cody771
- Vader's Apprentice
- Posts: 1069
- Joined: Thu Jun 07, 2007 5:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Looking for a new CPU
- Contact:
