Help making psychic weapon

Started by themaster6869, September 20, 2017, 05:00:14 PM

Previous topic - Next topic

themaster6869

How would I make a gun that had similar effects to the psychic shock lance that can be used multiple times and causes brain damage, Ideally working better with higher intellectual skill

Distman

You have to get down with C# coding. Specifically by making a custom version of the CompUseEffect_Artifact class (remove the destroy line to make it usable infinitely). Same with CompTargetEffect_PsychicShock class. Need to implement the skill related modifier here.

Or you could make a weapon def with a custom class. Will probably be easier. Do Jec's Plague Gun tutorial and you got all you need.

Good luck!
/Distman

Albion

Here ist the link to jecrell's Plague Gun tutorial it should get you started on the right track. Just give the target whatever HeDiff you want instead of the plague.