Powers: Difference between revisions

From OuroDev
pc>Brw316
Replaced content with "To edit a power definition ("powerset_name".powers) and apply those edits to a server environment, you need the definition files themselves found in faptastic.7z (https://..."
pc>Brw316
No edit summary
Line 3: Line 3:
==Basic Power Modification:==
==Basic Power Modification:==


#1. Open serverdata/Defs/powers
#Open serverdata/Defs/powers
 
#Find the appropriate power definitions you want to change .e. (Blaster_Ranged_Archery.powers)
#2. Find the appropriate power definitions you want to change
#Open in Notepad++
I.e. (Blaster_Ranged_Archery.powers)
#CTRL+F for the power you are looking to change
 
#Scroll down to the attribute(s) that you wish to change.
#3. Open in Notepad++
 
#4. CTRL+F for the power you are looking to change
 
#5. Scroll down to the attribute(s) that you wish to change.
*Range, Endurance cost, Recharge, etc. are found in the top block with the power name.   
*Range, Endurance cost, Recharge, etc. are found in the top block with the power name.   
  <nowiki>
  <nowiki>
Line 45: Line 40:
     DisplayTargetHelp    "P2735666026"
     DisplayTargetHelp    "P2735666026"
</nowiki>
</nowiki>
*Damage, secondary effects, heals, defense, resistances etc. are located in "AttribMod" blocks for those specific effects.
*Damage, secondary effects, heals, defense, resistances etc. are located in "AttribMod" blocks for those specific effects.
  <nowiki>
  <nowiki>
AttribMod
AttribMod
Line 73: Line 66:
     }
     }
</nowiki>
</nowiki>
: 6. Find the aspect that you wish to change  and edit the integer or string to the desired value.
: 7. Save the file.
: 8. Run mapserver.exe.  As long as you have not changed any geos, the executable should recognize the change in the definition file and re-bin powers.bin.
: 9. Test your change--preferably using a different server--by copying your new powers.bin to data/bin and data/server/bin.


#6. Find the aspect that you wish to change  and edit the integer or string to the desired value.
#7. Save the file.
#8. Run mapserver.exe.  As long as you have not changed any geos, the executable should recognize the change in the definition file and re-bin powers.bin.
#9. Test your change--preferably using a different server--by copying your new powers.bin to data/bin and data/server/bin.


===Notes:===
===Notes:===
Line 87: Line 77:
*Resistance, Defense, and other buffs/debuffs are percentages in decimal format (50% = 0.50).
*Resistance, Defense, and other buffs/debuffs are percentages in decimal format (50% = 0.50).


Advanced Power Modification and Creation:
==Advanced Power Modification and Creation:==
'''TODO'''

Revision as of 01:40, 23 November 2019

To edit a power definition ("powerset_name".powers) and apply those edits to a server environment, you need the definition files themselves found in faptastic.7z (https://ourowiki.ouro-comdev.com/index.php?title=Magnet_Links), a binning setup (https://corps.ouro-comdev.com/index.php?title=Server_Setup_for_Making_Bins), and a server to test the changes on. Unfortunately, only servers running an Issue 24 setup can make such changes as the definition files for Issue 25 and 26 are unavailable for public use.

Basic Power Modification:

  1. Open serverdata/Defs/powers
  2. Find the appropriate power definitions you want to change .e. (Blaster_Ranged_Archery.powers)
  3. Open in Notepad++
  4. CTRL+F for the power you are looking to change
  5. Scroll down to the attribute(s) that you wish to change.
  • Range, Endurance cost, Recharge, etc. are found in the top block with the power name.
Name                 "Dark_Blast"                  
    DisplayName          "P369601562"
    ModesDisallowed      kDisable_All, kSynergist_Transform_Mode
    Type                 kClick
    Accuracy             1
    AttackTypes          kRanged_Attack, kNegative_Energy_Attack
    EntsAffected         kFoe
    EntsAutoHit          kNone
    Target               kFoe
    Range                80
    EnduranceCost        5.2
    IdeaCost             0
    TravelSuppression    3
    InterruptTime        0
    TimeToActivate       1
    RechargeTime         4
    ActivatePeriod       0
    EffectArea           kCharacter
    Radius               0
    Arc                  0
    BoostsAllowed        kAccuracy_Boost, kDamage_Boost, kRecharge_Boost, kEnduranceDiscount_Boost, kRange_Boost, kDebuff_ToHit_Boost
    VisualFX             "menu\Powers\AnimFX\PlayerPowers\DominatorAssault_DarknessAssault_DarkBlast.PFX"
    include              menu\Powers\AnimFX\PlayerPowers\DominatorAssault_DarknessAssault_DarkBlast.PFX
    DisplayShortHelp     "P4219235673"
    DisplayHelp          "P2499574216"
    IconName             "DarknessAssault_DarkBlast.tga"
    TimeToConfirm        0
    DisplayTargetShortHelp "P2190949330"
    DisplayTargetHelp    "P2735666026"

  • Damage, secondary effects, heals, defense, resistances etc. are located in "AttribMod" blocks for those specific effects.
AttribMod
    {
        Name                 "Damage"                      
        Table                "Ranged_Damage"               
        Aspect               kAbs
        Attrib               knegative_Energy
        Target               kTarget
        Scale                1
        Type                 kMagnitude
        AllowStrength        kTrue
        AllowResistance      kTrue
        Delay                0
        Duration             0
        Magnitude            1
        Period               0
        Chance               1.00
        NearGround           kFalse
        CancelOnMiss         kFalse
        DisplayAttackerHit   "P1568870839"
        DisplayVictimHit     "P4203961982"
        StackType            kStack
        Requires             enttype target> critter eq
    }

6. Find the aspect that you wish to change and edit the integer or string to the desired value.
7. Save the file.
8. Run mapserver.exe. As long as you have not changed any geos, the executable should recognize the change in the definition file and re-bin powers.bin.
9. Test your change--preferably using a different server--by copying your new powers.bin to data/bin and data/server/bin.


Notes:

  • All times (Duration, Recharge, Activation, Period, etc.) are in seconds.
  • Damage and Heal are scale values that get multiplied by archetype-specific modifiers and a generic base damage that scales with level.
  • Resistance, Defense, and other buffs/debuffs are percentages in decimal format (50% = 0.50).

Advanced Power Modification and Creation:

TODO