Possible explosion issues
-
Right now I am not finally sure, if there are other things involved
(due 2 RL issues I was a bit low on time to test this atm - sry 2 bug),
so I d be glad for any info (especially if someone got that stuff working):issue #1 :
Cause we got real hugh shields in our mod, I tried to add
a higher ammount of energy_damage to the mines in …\FX\explosions.ini like[explosion]
nickname = explosion_large_mine1
lifetime = 0.000000
process = none
effect = explosion_large_mine
radius = 100
hull_damage = 25000
;–- energy_damage = 50000This seemed to cause random server crashes.
At least out commenting the energy_damage solved the problem.issue #2 :
The 2nd issue seems to be the energy damage done by weapons / torpedo explosions.
This was 1st proofed by a torpedo, which was wanted to do high
hull_damage and only little energy damage like…
[Explosion]
nickname = steltek_torpedo01_explosion
effect = gf_capital_explode_green
lifetime = 0.000000, 0.000000
process = disappear
strength = 100
radius = 348
hull_damage = 222222
energy_damage = -98889
weapon_type = W_ET01
impulse = 22222
critical_hit = 0, 2[Munition]
nickname = steltek_torpedo01_ammo
weapon_type = W_ET01
explosion_arch = steltek_torpedo01_explosion
hp_type = hp_torpedo
requires_ammo = false
hit_pts = 200
one_shot_sound = fire_no_cruise_disruptor
detonation_dist = 52.25
lifetime = 9.000000
Motor = steltek_torpedo01_motor
force_gun_ori = false
const_effect = wts_engine15_proj
seeker = LOCK
time_to_lock = 0
seeker_range = 4000
seeker_fov_deg = 125
max_angular_velocity = 2.220000
DA_archetype = equipment\models\weapons\li_rad_missile.3db
material_library = equipment\models\li_equip.mat
mass = 1
volume = 0.100000
…After removing the negative energy_damage setting, it worked ok.
Right now it seems, that other torpedoes with [explosion]
and positive energy_damage also crash the server randomly
(maybe once a 50 or 100 torpedoes).After a few test I got the impression, the crash occurs mostly,
when the target dies (sometimes + randomly).My other suspect was the fuses - but I d assume,
those should cause a crash every time, they are running.
And it is NOT the explosion FX.
Any ideas (besides that a [explosion] can’t have energy_damage?
If it should be in anyway related to the radius of the explosion,
please also give my your safe limits.
-
F!R wrote:
My other suspect was the fuses - but I d assume,
those should cause a crash every time, they are running.Try check your fuses, especially collision_groups related, 'cos IF you have some random thingy in fuses the crash may happen not always - that’s what came first to my mind.
-
A few 1000 torpedoes later:
-
It is not related to effects or fuses
-
It is not related to the 0x0C->0x00 in server.dll, 0x960C hack
-
It seems to be save, if there is no [energy_damage]
-
it might be related to the shield_link (ie missing shield_link)
-
it might be safe with smaller detonation_dist
After all I had the impression, the server crash happens,
just before the torpedo hits (what pointed to the detonation_dist imho) -
-
Some more torpedoes l8r:
It seems to be save, if the weapon explosions have no
a) negative energy_damage
b) weapon_typeHow about a plugin or a hack to make that possible
and maybe also energy_damage @ the solar mines? -
thats one thing ive noticed no ones done work on energy or shields so wee have no control on energy and limited on shields
full control on hull though eg
pub::SpaceObj::DrainShields <– limited control
pub::SpaceObj::SetRelativeHealth <-- full controlso not possible with a hook yet
i did make a plugin ages ago that over rides wep damage and drops the shield or if you want just leaves the shield and destroys the hull
that was just using the above setings -
you can buypass the shields alltoghther and directly damage the hull if thats what you mean
here the test plugin i made it was never released
http://sourceforge.net/projects/kosacid/files/Concepts/Wepcontr_2.0.0_Plugin.zip/download -
kosacid wrote:
you can buypass the shields alltoghther and directly damage the hull if thats what you meanhere the test plugin i made it was never released
http://sourceforge.net/projects/kosacid/files/Concepts/Wepcontr_2.0.0_Plugin.zip/downloadThis looks very promising, so it will allow a completely
new series of weapons.
-
Fully functional Repair Turret at first
-
Vital wrote:
So is there a way to make hull damaged when the explosion delivers more damage than shield capacity??I’ve noticed at vanilla capital NPCs that rapid fire broke the hull faster than shield, but maybe by killing subtargets
-
Talking about the fire here…
If a gun has a refire rate with a floating number(say, 0.333333333333333333333333333…), it will have some delay in refiring, about 10 percent. So you’ll have to shoot 10 percent longer to kill your target. What is chaingun plugin BTW?? -
Better a plugin, which will disable equipment parts for a certain percentage or/and certain time.
Like
- reduce speed about 25%
- disable thruster for 10 seconds
- disable cloak / uncloak ship
- reduce power output 10% for 10 seconds
- ….