I noticed in my map for whatever reason the cis_weap_inf_rifle does less damage than the rep_weap_inf_rifle and also that some units have more or less health than others. I was wondering where I go to edit these issues to make a more balanced map?
I'm guessing that it is an ODF but looking through the weapon ODFs I can't seem to find where it dictates how much damage a weapon does.
Health or Damage
Moderator: Moderators
-
MidnightSpirit
- Second Lance Corporal

- Posts: 100
- Joined: Mon Aug 15, 2011 1:29 pm
- xbox live or psn: ApocryphicDeath
-
zwyx1234
- Lance Corporal
- Posts: 92
- Joined: Fri Sep 13, 2013 10:20 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Alberta, Canada
Re: Health or Damage
As far as I know, all weapons use a common ODF to dictate their parameters, such as damage. To find these common ODF's, look in the assets/sides/common/odf. Do not edit those files! Copy the common folder to your side first and make a custom side from there!
Units have most, if not all, their parameters in the default ODF and other unit related ODF's. These can be found in the assets/sides/someside/ folder. The parameter for health is MaxHealth = X where X is an integer, such as 100. I dont remember exactly which ODF has that, but again, its one of the unit ODF's that probably has the word "unit" or "rifleman" or "default" in it.
Happy modding!
Units have most, if not all, their parameters in the default ODF and other unit related ODF's. These can be found in the assets/sides/someside/ folder. The parameter for health is MaxHealth = X where X is an integer, such as 100. I dont remember exactly which ODF has that, but again, its one of the unit ODF's that probably has the word "unit" or "rifleman" or "default" in it.
Happy modding!
-
MidnightSpirit
- Second Lance Corporal

- Posts: 100
- Joined: Mon Aug 15, 2011 1:29 pm
- xbox live or psn: ApocryphicDeath
Re: Health or Damage
All sides and their units should connect back to com_inf_default as their class parent but I checked the assets common folder and my map's common folder and the file is in neither. Do I just create my own or something?
-
zwyx1234
- Lance Corporal
- Posts: 92
- Joined: Fri Sep 13, 2013 10:20 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Alberta, Canada
Re: Health or Damage
Are you sure you looked in assets/SIDES/common? They exist there. 
-
MidnightSpirit
- Second Lance Corporal

- Posts: 100
- Joined: Mon Aug 15, 2011 1:29 pm
- xbox live or psn: ApocryphicDeath
Re: Health or Damage
There are a ton of common weapons, com_jedo_default, and com_hero_default and I used the search tool for the folder and then the entire computer. com_inf_default is nowhere to be found haha.
Could you post the contents of your com_inf_default and I can just make a file and copy and paste. I think I can just edit the max health for specific units as well so I might just do that.
Could you post the contents of your com_inf_default and I can just make a file and copy and paste. I think I can just edit the max health for specific units as well so I might just do that.
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Health or Damage
BF2_ModTools\data_ABC\Common\odfsMidnightSpirit wrote:..com_inf_default is nowhere to be found ...
