• For issues you find with the Switch and Console releases, please follow this link and give as much detail as possible. This is the speediest way to get info to Pipeworks and get a hotfix in the works.
  • For issues you find with the Mobile 1.3 update, please follow this link and give as much detail as possible. This is the speediest way to get info to DR Studios to look at your issue. Also, some troubleshooting hints here.

tModLoader Barriers

hamstar

Steampunker
NOTE: CURRENTLY DEFUNCT UNTIL CUSTOM ENTITIES MOD FINISHED


Barriers
v1.1.0

Mirror (coming soon)


Requires Mod Helpers


Implements protective barriers, craftable by way of a Protective Paling item (accessory). Barriers will stop incoming projectiles and enemy NPCs, as long as they have a charge (scales with size). Charge is reduced by damage. Craftable from Magi-Tech Scrap, which is dropped by mech bosses. Barriers may have their size/hp, regeneration rate, defense, or hardness (shrink resist) adjusted freely.

Upgrades, placeable palings (as tiles), and an API will be added eventually.



Source available here. API now available (WIP).

Available config fields are defined here. Config file: Documents/My Games/Terraria/ModLoader/Configs/Barriers Config.json




 
Last edited:

hamstar

Steampunker
v1.1.0
  • Implemented BarrierHitRadiusPlayerComponent
  • Restructured barrier entity base class to not specify hit components
  • Modified NPC hit velocity rebound to reflect damage amount
  • Finished implementing NPC barrier (untested)
  • Refactored API to use ReflectionHelpers.SafeCall(...)
  • Refactored Barrier base class factory to use { get; } only properties
  • Added RegenRegenDurationHighest field to barriers
  • Set barrier color to be set with its Draw component only
  • Added mod dependency major version enforcement (MHv4.1)
v1.0.1
  • Initial release (corrected)
 

Attachments

Last edited:

benkai3

Terrarian
the visuals could be an alteration of the lightning field from DD2 sentry weapon. I propose to have a time field, a force field, a rebound field. Good of they are placeable as well
 
Top Bottom