Clarification on damage values.

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Crifton
Contact:

Clarification on damage values.

Post by Tourny »

Hello, I was going to start planning a MegaMan based map. As MEgaMan is based on very exact values, I would need to know: Which of the three damage lines is the real damage? Say I want it to do 30 damage every single time what would I set the damage lines to?
(I would provide them but I don't have access to them at the moment)

EDIT: For a weapon ODF, lol I just realized I never specified.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: Clarification on damage values.

Post by MercuryNoodles »

What ordinance is this for? It might help narrow down the answer, if you want some specific help. This may not be a complete answer, but here's what you should look for:

damage, maxdamage - this is your base damage value

shieldscale, personscale, etc - these are damage multipliers based on the type of object/entity/thing being affected (1.0 is 100% of damage/maxdamage)

damagetransitionperiod, transitiondelay, finaldamage - These lines allow you to make the ord's damage change over a period of time.

BonusAmplification - damage mutiplier (more like a percentage increase, .25 would be 125% damage) used when the damage buffs are active

If it's a bolt, just set the maxdamage to what you want, the scale multipliers to "1.0", and set the finaldamage line to a negative value so it won't do a transition. The bonusamplification you can exclude, I believe, if you don't want damage buffs affecting the damage. I ask about the ord, because for missiles, you can have damage for both the ord and the explosion.
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Crifton
Contact:

Re: Clarification on damage values.

Post by Tourny »

Understood. The transition stuff will help, but for MinDamage MaxDamage and OptimalDamage, do I just set them all the same?
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: Clarification on damage values.

Post by MercuryNoodles »

There's an Optimal parameter? O_o Wow, I didn't even know that existed. I suspected a MinDamage, but..yeah.. Anyway, where did you find those? I did a quick check, and they don't appear in the common odfs I looked over, where I'd expect to find something like that.

I make my custom weapons with just the MaxDamage parameter, and I never notice any variance in the amount of damage dealt beyond my scaling and transition settings. So, you could probably exclude those lines from your ord.
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Crifton
Contact:

Re: Clarification on damage values.

Post by Tourny »

ALrighty, thanks Mercury.
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Clarification on damage values.

Post by Frisbeetarian »

There is no OptimalDamage, only OptimalRange.
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Crifton
Contact:

Re: Clarification on damage values.

Post by Tourny »

Oh.
...
I thought there was...
Post Reply