Specific damage

Ask questions, discuss ideas, get answers
Post Reply
motoko
Posts: 217
Joined: Sun Nov 21, 2010 8:43 pm
Location: Dante's 6th Pit of Hell

Specific damage

Post by motoko »

It seems I've confused myself on how to create/use material. I am trying mod my BFV( but this is also for BF1942) map to have it that the airtowers only receive damage from non-air weapons. Long story-short, I'm lost on what code I need and what I don't, as I've only ever have done this once before. I can also do it through the game.rfa, but I want to specific to this map. How would you do this in BF1942, say, with the bunker things on Battle of Britain(if possible)?
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Specific damage

Post by Swaffy »

I'm sure you can get a "damage_system" folder working on your map, but I'm unsure about making the objective take damage only from ground projectiles. You might have to change the damage tables for every projectile to do that.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
motoko
Posts: 217
Joined: Sun Nov 21, 2010 8:43 pm
Location: Dante's 6th Pit of Hell

Re: Specific damage

Post by motoko »

Swaffy wrote:You might have to change the damage tables for every projectile to do that.
How would I go about doing this? I'd really only have to modify the damage of bombs and katyusha missiles.
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Specific damage

Post by Swaffy »

EA GAMES/Battlefield 1942/Mods/YourModName/Archives/bf1942/Game.rfa/game/damage_system/

Now choose any ".con" file that you want to alter.

Change this line for the damage tables:
MaterialManager.damageMod 0.0

The numbers will be different for each damageMod. The higher the number, the more damage that will be done.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Post Reply