tModLoader Psycho!

hamstar

Terrarian



Note: Requires Mod Helpers


You are now being stalked by a deadly, souped-up psycho. That is all. Hilarity may ensue. Should liven up caving.

New v1.4: A butcher now spawns above ground. If you hear a saw buzzing, go the other way!

New v1.5: A deadly sniper now stalks you in the jungle. It's damage has been significantly increased over the usual sniper, but it may die in a few hits.


Note: You may now ward away the psycho or butcher by being near a
CNh7bB8.png
Star-in-a-Bottle (configurable).

As usual, a config file is available here (e.g. to adjust spawn rate): Documents/My Games/Terraria/ModLoader/Mod Configs/Psycho Config.json

Source available here. API now available.

Installation

Requires tModLoader (+0.11). Copy the above .tmod file to your 'Documents/My Games/Terraria/ModLoader/Mods' folder to play.


v1.7.2
  • Imported FloatInputElement via subclass
  • Changed configs PsychoWardingNeedsBuffs, ButcherWardingNeedsBuffs, SniperWardingNeedsBuffs into PsychoWardingNeedsBuffTypes, ButcherWardingNeedsBuffTypes, SniperWardingNeedsBuffTypes
  • Reduced psycho and butcher spawn rates
  • Added setting to block butcher spawns when a player is in town
v1.7.0
  • Updated to MH5b and TML11.4
v1.5.5.1
  • Added error failsafe against psycho heals messages exceeding "Main.combatText" array bounds (?!)
  • Set sniper spawn stats to be config adjustable
  • Fixed psycho draw fx glitching (bad scaling)
v1.5.5
  • Added visual special effect for psychos and butchers
v1.5.4
  • Added small tension-inducing music loop when psycho near
  • Fixed music dimming effect when psycho near
  • Added AllPsychosAreInvincible and AllPsychosAlwaysInstaKill settings (default true)
  • Added SniperHardModeDamage (600) and SniperPreHardModeDamage (400)
  • Assorted internal refactoring
v1.5.3.3
  • Fixed warding checks (AND, not OR)
  • Fixed possible problem with Butcher NPC spawns
v1.5.3.2
  • Removed some fluff code from Butcher's AI code
  • Increased ButcherSpawnChance slightly
v1.5.3.1
  • Added mod compatibility with Overhaul to prevent psycho "wandering" (uncloaks them prematurely)
v1.5.3
  • Set butchers to only spawn at night
  • Fixed possible glitch with snipers affecting day/night state
v1.5.2.1
  • Decreased Butcher spawn rate to 0.005
v1.5.2
  • Restructured psycho NPC code into its own subfolder and separate classes for each psycho type
  • Modified behavior of butcher's night-time trickery to solve malfunction bug (causes premature nighttimes)
  • Fixed issue of loot tables being affected for all of the "psycho" npcs (not just the ones spawned for our use)
  • ButcherSpawnChance increased to 0.05
  • Cleared out some lingering snake case
v1.5.1
  • Updated for MH v4.2.3
  • Switched snake case to camel case
  • Correctly implemented Mod.Call API
  • Set configs for required buffs to AND, not OR
v1.5.0.1
  • Updated for MHv4
v1.5.0
  • Added sniper spawn (with associated config stuff)
  • Updated mod recommendations to the new convention
v1.4.0.1
  • Reduced butcher spawn rate a lot
  • Improved audio loop
v1.4.0
  • Added butcher NPC spawns above ground (with sound effects and associated configs)
  • Restructured some code
v1.3.2.1
  • Doubled spawn rate
v1.3.2
  • Updated to Mod Helpers v2.0.2
  • Aded MP player load bug failsafe
v1.3.0.1
  • Assorted refactoring to newer code standards
  • Refactored net protocols
  • Removed AltNpcInfo use (obsoleting)
v1.2.1.2
  • Added support for Hamstar Helpers v1.2.0 issue report
  • Added API
v1.2.0
  • Removed psycho Heart Lanterns as psycho wards.
  • Added Campfire + Star-in-a-Bottle (together) as the new psycho warders.
v1.1.0
  • Refactored code for Hamstar's Helpers v1.1.0
  • Fixed minor psycho healing bug
  • Added heart lantern anti-psycho ward
  • Added mod browser icon
v1.02
  • Reduced spawn rate
v1.0.1
  • Config settings now correctly transmit from server
  • Raised psycho spawn chance slightly


Psycho.png



 
Last edited:
Edit: Had to reupload Hamstar's Helpers (wrong version). I can't put these on the mod browser yet until they're a bit more tested, though.

Edit Edit:

Also v1.0.1:
  • Config settings now correctly transmit from server
  • Raised psycho spawn chance slightly
 

Attachments

  • Psycho v1.0.1.zip
    24.8 KB · Views: 326
Last edited:
Yep. They also heal 38~ life per second and are immune to lava, so don't think you're getting that knife easily!
I was actually thinking of dying every 10 minutes, or getting really close to beating an easy-mode boss that was difficult, and just getting stabbed in the face.
 
Question: What might make a good way to ward psycho spawns in a given area? Campfires? Peace candles? Statues? Banners? Grandfather clocks? High light levels?
 
v1.1.0
  • Refactored code for Hamstar's Helpers v1.1.0
  • Fixed minor psycho healing bug
  • Added heart lantern anti-psycho ward
  • Added mod browser icon
I'd wanted to use campfires, but they're practically a dime a dozen, so why wouldn't you have them plastered all around the map, then? Tell me if this seems like the right choice.
 

Attachments

  • Psycho v1.1.0.zip
    34.9 KB · Views: 253
Last edited:
v1.1.0
  • Refactored code for Hamstar's Helpers v1.1.0
  • Fixed minor psycho healing bug
  • Added heart lantern anti-psycho ward
  • Added mod browser icon
I'd wanted to use campfires, but they're practically a dime a dozen, so why wouldn't you have them plastered all around the map, then? Tell me if this seems like the right choice.
Heart lanterns seem a pricy investment when you don't have a single HP boost and your best pickaxe is probably iron.
 
Heart lanterns seem a pricy investment when you don't have a single HP boost and your best pickaxe is probably iron.
I can't decide on anything in-between, except maybe invisibility potions or total darkness (or also NPCs being present, as stated above). Maybe I'll just add those?

The only other solution I can think of would be something custom, like a fallen star-crafted object of some kind that repels psychos within a radius (since fallen stars are available from the start, but difficult to amass).



How about needing to be near both a campfire and a Star in a Bottle?
 
Back
Top Bottom