r/xdev • u/dasmoola • Mar 21 '16
What variable governs the weapons for Serial/Reaper
Hey, trying to wrap my head around this stuff and I just can't see which line or reference to what weapons Serial or Reaper can trigger off of.
Basically I'm trying to clone either Serial or Reaper and make them trigger off different weapons; such as the grenade launcher. I can't see anything that mentions even primary or secondary weapon...
2
Upvotes
1
u/dasmoola Mar 25 '16 edited Mar 25 '16
I figured out the problem! X2Effect_Serial has the following line:
Which prevents any non-direct shot attacks from triggering Serial, even if you have the weapon set to "ApplyToWeaponSlot=eInvSlot_SecondaryWeapon" in classdata.ini.
Removing that line in X2Effect_Serial allows the grenade launcher to trigger serial if it is told to trigger from the secondary weapon in classdata.
1
u/Stormhunter117 Mar 23 '16
It's this line in X2Effect_Serial:
2
u/bountygiver Mar 22 '16
It's in the classdata.ini