0 of 0

File information

Last updated

Original upload

Created by

Dtony

Uploaded by

dt123

Virus scan

Safe to use

Tags for this mod

About this mod

Add acid, blast, bleed, fire, goo, mist, paralyze, pierce, poison, psychic, shock, shred, sonic, vampiric, viral, virophage, and/or normal to any weapon

Requirements
Permissions and credits
This is sheepys mod with some changes to make it easier to use.  Add acid, blast, bleed, fire, goo, mist, paralyze, pierce, poison, psychic, shock, shred, sonic, vampiric, viral, virophage, and/or normal to any weapon. mod comes with 5 weapons that have added damage types.  If You Like This Mod Please Endorse

installation setup
additional examples of adding damage
requests for weapon code 
List of weapon names (you can see names after give_item, all weapon names end in weapondef)

Requires:

Modnix 3 beta 3 that is version 3.0.2021.0204  
Scripting Library 

How To:

All you have to do is edit 3 things with notepad++ in order to add the damage type you want to your weapon of choice . The weapons name, damage type, and amount of damage.  

In the code below we have the starter sniper rifle with 50 shred added.   First thing is to locate the weapons name, damage type, and Amount.


{
      Eval : 'weapon = Repo.get( WeaponDef, "PX_SniperRifle_WeaponDef" )
                .shred( 50 );               
                done.push( weapon ); ', 
},


As you can see, PX_SniperRifle_WeaponDef is the weapon name, shred is the damage type, 50 is the amount 

We can edit that to add 20 pierce to the starter assault rifle. Rename PX_SniperRifle_WeaponDef to PX_AssaultRifle_WeaponDef  then Rename shred to pierce and change the amount from ( 50 ) to ( 20 ) like so


{
      Eval : 'weapon = Repo.get( WeaponDef, "PX_AssaultRifle_WeaponDef" )
                .pierce( 20 );               
                done.push( weapon ); ', 
},


That's all it takes. You can even add more than one damage type and as many weapons as you want. If you are still having trouble, post in the comment section or in the forum threads and I will help. 


Browse all my mods here https://www.nexusmods.com/phoenixpoint/users/52099371?tab=user+files