Author:
Downloads: 1,581
File Size: 67.5 MB
Created:
Updated:
Mod ID: 1794929
Categories:

Electric Fence

Electrified perimeter fencing with lantern posts, a controller with adjustable range, and auto-opening 8 m and 15 m gates. Made 100% with AI.

Made 100% with AI. Everything in this mod was created with AI: the design, 3D models, textures, icons, Blueprint logic and in-editor testing. The ARK DevKit build and testing were done by Claude (Anthropic), directed and reviewed by the author.

Build a powered perimeter fence that shocks anything that touches it — from either side — and keeps your own tribe safe.

Known issues

  • On a busy server with a high ping, a fence piece far from you can occasionally stop updating for you if many pieces change at once, for example when a Controller setting changes on a large fence while you are joining. Rejoining the server fixes it. A fix is being worked on.

What's new in version 9

Multiplayer and servers

  • Fixed: on servers, fence changes often reached players late or not at all. Wires appeared late (sometimes only after other posts were placed nearby), gates could look open after they had closed, Hide range stayed stuck, and Lethal, Allies, lantern and lamp changes didn't show. Each piece now sends its complete state to players in one update.
  • Improved: a gate or post could stop updating for one player until they rejoined. Updates for each piece are now combined and spaced at least a second apart, which makes this much rarer (see Known issues).
  • Fixed: after a server restart, fences didn't shock until the Controller was switched off and on again.
  • New wires show up for everyone about a second after a post is placed.
  • Show / Hide range is now just for you: only the player who turns the range dome on sees it.

Shocks

  • Body contact: big creatures are shocked when their body touches the wires or a closed gate, not only when their collision reaches it. A Bronto reaching its neck over the fence gets shocked.
  • Gates and fence spans use the same contact test and the same rules.
  • One shock per creature per tick on each circuit, even when it touches several spans or both gate leaves. The Large Gate no longer hits twice.

Base walls

  • Bases reach the ground: on slopes and uneven ground the base wall now goes all the way down, so there are no gaps under the fence. Server owners can switch this off or cap the depth (see Server settings).
  • Walls join seamlessly: gentle bends are mitred, sharp bends get a round post joint, and the green strip that showed on sloped walls is gone.
  • Walls meet gate pillars on the centre of the pillar face.

Gates

  • New gate pillars: rendered concrete with a dark green stone foot, course, cornice and cap.
  • On slopes the gate stands on a level paved deck, with stone curbs along both ramps.
  • Close delay is now none, 3 s or 5 s. Gates saved with 10 or 20 s use 5 s.

Lighting

  • Fixed: Auto lanterns stayed on during the day. They now follow each map's own sunrise and sunset.
  • Lamp brightness: a new Controller option from 10% to 200% dims or brightens every lantern and globe on that fence. It is saved with the Controller.

Server settings

  • New BasesToGround and MaxBaseDepth.
  • On/off settings now accept True/False, Yes/No and On/Off as well as 1/0.

Pieces

  • Electric Fence Post — links to up to 2 neighbours within 12 m and builds a continuous concrete base wall, the cables and the shock line between them. The base follows slopes and reaches down to the ground.
  • Electric Fence Lantern Post — the same post with a hanging lantern that lights the ground at night, outside the fence by default.
  • Electric Fence Controller — powers the circuit. Needs an Electrical Generator within 30 m (ASA generators power nearby devices wirelessly) or a Tek Generator, then switch it on with Power On in its menu.
  • Electric Fence Medium Gate (8 m opening) and Large Gate (15 m opening) — open top, hanging lanterns on both pillars, swing open automatically for your tribe and allies.

How it works

  • Place a Controller first and switch it on (Power On), then place posts within its range. A post or gate shows red with a reason if there is no Controller of your tribe in range.
  • While placing, ghost wires show which posts the new piece will link to. No ghost wires means it will stand alone.
  • Posts and gates face outward automatically: warning signs and hanging lanterns outside, cables and insulators inside. Gates take their outside from the posts they connect to. The Controller's Lantern side option moves the lanterns inside.
  • Posts link to their nearest free neighbours automatically and the wall, cables and shock line appear between them.
  • Touching any part of the fence (wall, posts or wires, either side) shocks; standing a hand's width away does not. Big creatures are shocked when their body touches the wires or a closed gate, even if their collision keeps them back.
  • Each creature takes at most one shock per tick from a circuit, however many spans or gate leaves it touches.
  • Stun mode adds torpor and a short slow. Lethal mode deals damage. Both knock the creature back.
  • Your own tribe (and allies, if allowed) are never shocked. Riders are not shocked.

Controller menu (hold E, owning tribe only)

  • Power On / Power Off
  • Mode: Stun / Lethal (default Lethal)
  • Link posts in range (also adopts loose pieces left by a removed Controller)
  • Cables: 2–8 (default 6)
  • Lanterns: On / Off / Auto (night only, the default)
  • Lantern side: Outside / Inside (default from the server setting, normally Outside)
  • Allow allies: On / Off
  • Show circuit (posts flash)
  • Range: +10 m / −10 m / +100 m / −100 m (10 m to 1 km; default 60 m) — shows how many pieces are connected
  • Lamp brightness: dimmer / brighter (10% to 200%, default 100%)
  • Show / Hide range (see-through dome with a glowing ring where it meets the ground, shown only to you)

Gates

  • Tap the use key to open or close the gate. A gate opened this way stays open until you close it, and swings away from you. A gate closed by hand stays shut until you walk away and come back. Both survive a server restart.
  • Open automatically for your tribe and allies: awake players on foot within ~5 m, awake tames (or tames ridden by a tribemate) within 12 m (Medium) or 15 m (Large). Auto-open can be switched off in the gate menu.
  • The Medium gate locks with a slide bolt, the Large gate with a bolt between its leaves and a drop rod; they unlock and lock as the gate swings.
  • Auto-open swings away from whoever is coming through and closes after none, 3 or 5 s (gate menu, default 5 s).
  • Gates keep working when the fence has no power.
  • Wild and enemy creatures never open them. The gate leaves are electrified while closed and the circuit has power.
  • On uneven ground the gate stands on a level paved deck with stone-curbed ramps front and back, so it never sinks into the slope.
  • Fit: Rex, Trike, Spino, Paracer, Bronto and Giga were tested through the Medium gate. The Large gate's 15 m opening is for anything bigger.

Protection

  • Posts, Lantern Posts, Medium and Large Gates: 10,000 HP, metal tier (same as a metal wall).
  • Controller: 1,000 HP (same as an Electrical Generator).
  • Every piece can be picked up (the up-arrow entry in its menu) or demolished. Removing a Controller frees its fence for another Controller to adopt.

Lighting

  • Globes on posts, pillars and the controller glow faintly while the circuit has power.
  • Only the hanging lanterns (on Lantern Posts and gate pillars) light the ground, on the lantern side (outside by default). They are on while powered and the lantern mode allows it (Auto = from the map's sunset to sunrise), up to MaxLanternsPerCircuit per circuit.
  • Each Controller's lamp brightness (10% to 200%) scales its lanterns and globes.

Crafting

Crafted in your own inventory once the engram is unlocked. Electronics and polymer still come from a Fabricator.

Piece Cost Unlock
Post 25 metal ingot, 20 cementing paste, 4 electronics, 5 stone Lvl 50, 15 EP
Lantern Post 30 metal ingot, 20 cementing paste, 6 electronics, 2 crystal, 5 stone Lvl 50, 18 EP
Controller 40 metal ingot, 25 electronics, 10 polymer Lvl 50, 20 EP
Medium Gate 90 metal ingot, 50 cementing paste, 8 electronics Lvl 50, 22 EP
Large Gate 150 metal ingot, 80 cementing paste, 14 electronics Lvl 50, 30 EP

Post and Lantern Post costs include one base-wall span (+10 cementing paste, +5 stone).

Server settings

GameUserSettings.ini:

[ElectricFence]
FlatDamage=40            ; lethal: damage per hit
MaxHealthPct=0.04        ; lethal: + this fraction of the target's max health
FlatTorpor=60            ; stun: torpor per hit
MaxTorporPct=0.06        ; stun: + this fraction of the target's max torpor
DamageInterval=1.0       ; seconds between hits
Impulse=600              ; knockback strength
ProtectAllies=1           ; 1 = new controllers allow allies, 0 = they don't
LinkRange=1200           ; max post-to-post link distance (cm)
ControllerRange=6000     ; default range for new controllers (cm)
MaxControllerRange=100000 ; cap for the in-game range setting (cm, max 1 km)
DefaultWireCount=6       ; default cables for new controllers (2-8)
LanternBrightness=1.0
GlobeBrightness=1.0
MaxLanternsPerCircuit=60
DisableLanterns=0         ; 1 = no lanterns anywhere
LanternsOutside=1         ; 1 = lanterns hang outside (sign side), 0 = inside; each Controller can change it
BasesToGround=1           ; 1 = base walls reach down to the ground, 0 = fixed-height bases (like version 8)
MaxBaseDepth=1500         ; deepest a base wall goes below the fence line (cm)

On/off settings accept 1/0, True/False, Yes/No or On/Off. Base wall settings apply to every fence when the server starts.

Player choices are saved and survive restarts: each controller's power, mode, cables, lanterns, lantern side, lamp brightness, allow allies and range, and each gate's close delay and auto-open.