Source-checkedCreatures & NPCs

Custom Enemy Base

by 野鹤穿竹林 · for Left 4 Dead 2

Features At any time, custom enemies will be randomly refreshed on the map, without occupying special slots. A prerequisite framework for custom bosses — it contains no monsters by itself. It…

138Downloads
1d agoLast updated
Steam WorkshopSource

About Custom Enemy Base

From Steam Workshop

Features At any time, custom enemies will be randomly refreshed on the map, without occupying special slots. A prerequisite framework for custom bosses — it contains no monsters by itself. It…

Features

At any time, custom enemies will be randomly refreshed on the map, without occupying special slots. A prerequisite framework for custom bosses — it contains no monsters by itself. It provides spawning, pathfinding, melee attacks, damage calculation, skill slots, right-click shoving and an on-screen health bar.

How to use?

1. In the simplest case, add a script to your monster mod: in scripts/vscripts/director_base_addon.nut, copy the code below and fill in the key parameters of your model. You will then get a plain enemy that spawns on any map and only uses melee attacks.

if (!("CEQueue" in getroottable())) getroottable()["CEQueue"] <- []; getroottable()["CEQueue"].append(function(T) { T.Add("myboss", { MODEL = "models/mypack/myboss.mdl" // Required, must include the models/ prefix HEALTH = 4000 // Required, health on Expert (Easy / Normal / Hard = x0.125 / x0.25 / x0.5) IDLE_ANIM = "idle" // Required, the sequence name in your model, must match exactly WALK_ANIM = "walk" // Required, walk animation ATTACK_ANIM = "attack" // Required, attack animation DEAD_ANIM = "die" // Required, death animation ATTACK_DAMAGE = 20 // Required, damage per melee hit }); });

2. Advanced usage. Unpack this vpk and you will find the scripts_template folder: it contains dozens of extra parameters and a tutorial on how to write skills. You can also check how the other new-enemy mods in the collection are written.

Highlights

From source data

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 1d ago.

Custom Enemy Base on Nxeon

From our catalogue
One-click install
Supported on Nxeon Left 4 Dead 2 servers. We download it from Steam Workshop, place it, and restart the server.
Server load
light
Latest build
2026-11-03, released 2026-11-03

Game versions by loader

LoaderGame versionsNewest
Workshop

From 1 recorded build of Custom Enemy Base.

What kind of mod it is

From the catalog
Listed on Steam Workshop as “Workshop”

Creatures & NPCs

Adds or changes creatures, NPCs and how they behave.

Compatibility

Game
Left 4 Dead 2

Verified at the source

  • ✓Steam WorkshopOfficial listing, checked 2026-11-04Open ↗
  • ✓Author野鹤穿竹林, as published on Steam Workshop
  • ✓LicenseNot published by the sourceFree

Custom Enemy Base, answered

Generated from the mod’s own source data.

Is it free?

Yes. Custom Enemy Base is free to download from Steam Workshop.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Custom Enemy Base on a Left 4 Dead 2 server.

Free to download from Steam Workshop.