Disable / decrease damage against specific targets ?

Ask questions, discuss ideas, get answers
Post Reply
Scoop M
Posts: 73
Joined: Wed Oct 31, 2012 2:49 am

Disable / decrease damage against specific targets ?

Post by Scoop M »

SSM

Vanilla BF1942

1 # - Battle of Britain. Is it possible to make the bombs from JU88a, BF109 and Spitfire do half damage against factories and radar stations ? And full damage against all other targets ? If yes, how ?

2 # - Coral Sea. Is it possible to make the bombs from fighterplanes and divebombers, and shells from defguns do half damage against the carriers ? And full damage against all other targets ?

3a # - All maps : Is it possible to make the allied bazooka do zero damage against selected targets ? Could be Spitfire, Mustang, SBD, B17, etc.

3b # - If 3a isn’t possible, then the same, but for both the Bazooka and Panzerschreck.

3c # - If 3b isn’t possible, then the same, but against all planes.
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: Disable damage against specific targets ?

Post by freddy »

You have the damage system in the game.rfa file, atmost it isnt easy to make big damage changes per mapbasis because the damage values is being read after the map is loaded.

One way to do it map basis is to make up new values for the projectiles, as those values doesn´t exists in game.rfa they wont be overwriten.

small example, there a shit load of values to define

Code: Select all

ObjectTemplate.Active FighterBomb
ObjectTemplate.material 888
ObjectTemplate.material2 202

Code: Select all

MaterialManager.material 888
MaterialManager.materialAttGroup 888
MaterialManager.materialDefGroup 888
MaterialManager.materialDamage 20

Code: Select all

MaterialManager.attGroup 888
MaterialManager.defGroup 51
MaterialManager.damageMod 2
Scoop M
Posts: 73
Joined: Wed Oct 31, 2012 2:49 am

Re: Disable / decrease damage against specific targets ?

Post by Scoop M »

Those codes you just posted, are they for question # 1 or # 2 ?

Can I find an overview of all attGroup, defGroup and material numbers somewhere ?

Regarding 3 a, b, c .... The damage from a bazooka to a plane; is it possible to, for example, make a bazooka do damage to spifires only, and no damage to all other fighterplanes ?
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: Disable / decrease damage against specific targets ?

Post by freddy »

Scoop M wrote:Those codes you just posted, are they for question # 1 or # 2 ?
Yep pretty much, but it overlaps a bit with 3. to
Scoop M wrote:Can I find an overview of all attGroup, defGroup and material numbers somewhere ?
http://www.realtimerendering.com/erich/ ... ngrid.html
Scoop M wrote:Regarding 3 a, b, c .... The damage from a bazooka to a plane; is it possible to, for example, make a bazooka do damage to spifires only, and no damage to all other fighterplanes ?
Yep but it aint easy, you have to edit the spitfires different materials in some program, i could perhaps be possible per map basis to but lots of work.
Post Reply