Block Behavor Config

    Joined
    Feb 10, 2014
    Messages
    317
    Reaction score
    244
    • Purchased!
    • Community Content - Bronze 2
    • Legacy Citizen 7
    Dose any one know what I need to edit, so that my server can still have the punch through effect from version 0.1885 instead of what it is now.
     
    Joined
    Aug 14, 2013
    Messages
    2,811
    Reaction score
    960
    • Councillor 3 Gold
    • Wired for Logic
    • Top Forum Contributor
    Not off the top of my head but I am sure I could figure it out. I don't have access to the configs right now.
     

    CyberTao

    鬼佬
    Joined
    Nov 10, 2013
    Messages
    2,564
    Reaction score
    641
    • Legacy Citizen 4
    • Railman Gold
    • Thinking Positive

    At the very bottom of the blockBehaviourConfig is the area for effects, divided into sections (1 per effects). Each effect then lists variables for the various weapon types, and the bottom, you'll find this snippet.

    <PiercingDamagePerservedOnImpact>
    The amount of damage carried through from block to block, EHP of block hit ignored (Piercing). This is what is applied to Punch.

    <PunchThroughDamagePreserved>
    The amount of damage carried through, subtracts the EHP of the block and then multiples by this value (Punch). This is what is applied to current piercing.

    Of course, you also have <Punch> and <Pierce>, I suggest setting the one that you will be using to true, dunno how the code will handle a mix-match.


    To remake the pre0.189995 punch, Go to the Punch section, set <Punch> to true and <pierce> to false, and change the <PunchThroughDamagePreserved> to 1.0 (100%).