Logo Platform
logo amplifiers simplified

Modding flak

Reply
Copied to clipboard!
7 years ago
Jan 28, 2018, 9:21:11 PM

Trying to mod flak so that it fires more often but with less damage (part of a bigget mod untertaking involving missile / flak balancing).


By default flak fires twice with an 80% hit chance.


My aim is to raise that value to 8 shoots.

Problem is that I am unable to do it with just the SimulationDescriptors[ModuleWeapon].xml


Default stats are:

        <Modifier TargetProperty="Cooldown"                     Operation="Addition" Value="0.5"         Path="ClassModuleWeapon" TooltipHidden="true"/>
        <Modifier TargetProperty="PreparationDuration"          Operation="Addition" Value="0.1"         Path="ClassModuleWeapon" TooltipHidden="true"/>
        <Modifier TargetProperty="PreparationDurationFactorMin" Operation="Multiplication" Value="1.5"   Path="ClassModuleWeapon" TooltipHidden="true"/>
        <Modifier TargetProperty="PreparationDurationFactorMax" Operation="Multiplication" Value="0.5"   Path="ClassModuleWeapon" TooltipHidden="true"/>
        <Modifier TargetProperty="ShootingDuration"             Operation="Addition" Value="0.15"      Path="ClassModuleWeapon" TooltipHidden="true"/>
        <Modifier TargetProperty="ShotsCountPerSalvo"           Operation="Addition" Value="0"         Path="ClassModuleWeapon" TooltipHidden="true"/>
        <Modifier TargetProperty="ProjectileSpeed"              Operation="Addition" Value="-1"        Path="ClassModuleWeapon" TooltipHidden="true"/>


(something strange here as by default PreparationMAX is 0,5 and MIN is 1,5, I think that should be the other way around).


Even if I drill this down to minus values for cooldown to make it as small as possible I cannot go past 7 shoots.

I tried working with the flak range but then I don't have a constant number of shoots. Bumping the range to 3,5, cooldown at 0,2 shoot duration at 0,1 I got between 6 to 11 shoots.


I figured since flak is a slave module of the slug then I could increase the number of slave modules and this would solve my problem but that doesn't work.

Tried to add another slave module editing ModuleDefinitions[Weapon].xml

But that doesn't work. I think this file isn't what I need to be editing.


Any ideas how could I make this work?

The simplest solution I see is to make each slug weapon have 4 slave flak modules but don't know how to implement that.

0Send private message
0Send private message
?

Click here to login

Reply
Comment

Characters : 0
No results
0Send private message