Jump to content

how to change damage?


Recommended Posts

Hi,eveyone. I'm new here.

 

In the file "warheads.lua "

 

I changed an entry like this

 

warheads["Vikhr_M"] =

{

expl_mass = 1000000000.0, -- Warhead 8 kg, explosive 4 kg + fragments bonus

other_factors = { 1.0, 1.0, 1.0 },

concrete_factors = { 1.0, 1.0, 1.0 },

concrete_obj_factor = 0.0,

obj_factors = { 1.0, 1.0 },

cumulative_factor= 3.0,

cumulative_thickness = 0.9

};

 

The missile can create a huge blast, but it just

cause no damage to buildings or tanks or anything else.:cry:

 

I increased every coefficient. It still can't cause any damage.

 

But when changing numbers like this (posted by someone before) the missile can cause a lot of damage and radius is large.

 

warheads["Vikhr_M"] =

{

expl_mass = 400.0, -- Warhead 8 kg, explosive 4 kg + fragments bonus

other_factors = { 200.0, 4.0, 4.0 },

concrete_factors = { 200.0, 4.0, 4.0 },

concrete_obj_factor = 1.0,

obj_factors = { 200.0, 4.0 },

cumulative_factor= 6.0,

cumulative_thickness = 5

};

 

 

Are there connections between these numbers? I want an h-bomb.:D

 

 

Thank you.


Edited by leptonkf
Link to comment
Share on other sites

Hi,eveyone. I'm new here.

 

In the file "warheads.lua "

 

I changed an entry like this

 

warheads["Vikhr_M"] =

{

expl_mass = 1000000000.0, -- Warhead 8 kg, explosive 4 kg + fragments bonus

other_factors = { 1.0, 1.0, 1.0 },

concrete_factors = { 1.0, 1.0, 1.0 },

concrete_obj_factor = 0.0,

obj_factors = { 1.0, 1.0 },

cumulative_factor= 3.0,

cumulative_thickness = 0.9

};

 

The missile can create a huge blast, but it just

cause no damage to buildings or tanks or anything else.:cry:

 

I increased every coefficient. It still can't cause any damage.

 

But when changing numbers like this (posted by someone before) the missile can cause a lot of damage and radius is large.

 

warheads["Vikhr_M"] =

{

expl_mass = 400.0, -- Warhead 8 kg, explosive 4 kg + fragments bonus

other_factors = { 200.0, 4.0, 4.0 },

concrete_factors = { 200.0, 4.0, 4.0 },

concrete_obj_factor = 1.0,

obj_factors = { 200.0, 4.0 },

cumulative_factor= 6.0,

cumulative_thickness = 5

};

 

 

Are there connections between these numbers? I want an h-bomb.:D

 

 

Thank you.

http://forums.eagle.ru/showthread.php?t=54684

 

/thread.

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

Maybe a dev could answer but I tried changing the explosive properties of the Vikhr's in the warheads.lua once and it didn't seem to make a difference. Also tried to increase burn time and acceleration time just for testing and also didn't change anything. I'm think their properties must be hard coded somewhere. You can change any other warhead, missile, bomb properties just not the vikhr's.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...