Base Defense

Base Defense

Not enough ratings
Making Maps For Base Defense (UNFINISHED)
By GEA
UNFINISHED GUIDE FOR MAKING YOUR OWN MAPS
   
Award
Favorite
Favorited
Unfavorite
Introduction
This took alot of time so if you could leave your opinions in the comments i would appreciate it!
Game Configuration
Lets start

So first of all you must install Half Life SDK. This can be done by going to library>tools>Half Life SDK

Let this install, once done open it up you will be greeted with a box that looks like this

Next to name click edit>add and name it "Base Defense". Next to game data files add> and navigate to your Half Life SDK fgd files typically this C:\Program Files (x86)\Steam\steamapps\common\Half-Life SDK\Hammer Editor\fgd\half-life

Once done install ZHLT linked here https://gamebanana.com/tools/download/5391 once installed make a folder on your desktop named RFM inside that folder make another folder named ZHLT. Drag all the files from the ZHLT rar file and put them in the ZHLT folder.

Afterwards head back to the configuration page. Here in the Game Data Files section click add>your rmf folder>your ZHLT folder>tools and "zhlt.fgd"

In the "Game Executable Directory" navigate to your Base Defense game files typically C:\Program Files (x86)\Steam\steamapps\common\Base Defense

Repeat the same for mod directory.

For "Game Directory" the path should typically be C:\Program Files (x86)\Steam\steamapps\common\Base Defense\valve

For RMF Link your RMF folder that you created on your desktop.

https://steamuserimages-a.akamaihd.net/ugc/951849041910556119/9DE5A1F80E6A0F537BF7DCC1FE96D603B8CE949D/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false

Build Programs
Once finished with Game Config we can move on to this.

For game executable navigate to your Base Defense folder typically C:\Program Files (x86)\Steam\steamapps\common\Base Defense

Now make a folder inside the RMF folder called "Compiled Maps" at the bottom of interface you can put that folders directory inside it.

For the rest of these boxes you use the ZHLT tools folder simply click each coresponding ZHLT tool to these boxes.

Your Build Programs should now look like this:

Config is now complete yeet.
Building Your Map
With all the config stuff out the way this is how to build an EXTREMELY Basic map

First of all click file on the top left and click new you will be greeted with a grid screen.

Once here click the block tool:


On the grid space on the top right hand side, drag across to make a square. Once done click enter or right click and press "Create object"

Next right click the text that says "camera" and click "3D Textured". After this click Z on the top left space of the grid and you can use W A S D to move and look around. You can click Z again to get out of this mode

Click the select tool and which is the red arrow on the left handside panel and click your block.
Afterwards drag your block up from the square on the bottom left grid. Once done click tools on the top bar of hammer and click make hollow



After make the value in the text box "-32"

You now must add spawns to your map. Click Z and go inside your cube. Click the entity tool on the left handside panel here:


Once inside your cube click around the floor with the entity tool enable some spawns.

After this your done click file>run>save as file type .map>dont run the game>ok

Let it do its thing your done.
Testing your map
After compiling your map navigate to the folder where you saved your compiled maps.

Find this [yourmapname.bsp] copy your map by right clicking and pressing copy.

Navigate to your Base Defense map folder typically located here: C:\Program Files (x86)\Steam\steamapps\common\Base Defense\bdef\maps

Paste your map here by pressing ctrl+v. Once done you can load up Base Defense.

Once in Base Defense press the key directly under escape this will open up the Developer Console once here type this "map [yourmapname]" you can test your map!

Message to Devs and Players
Ok so if you are unable to spawn in its because of this.

I havent heard of a direct tutorial from the mod developers i love this mod and this is my contribution to it. I dont have the best brains and this shows. If the developers comment on this guide i would 1. Be very very grateful 2. Have some questions. These questions are as follows.

1. Why havent you made a hammer tutorial for your mod? (If you have please link it to me)

2. Could you give me some info on how to make Wallbuys, gates and monster spawns this guide will be updated if i recieve info on how to do this.

3. This isnt a question but i love your mod <3

Thanks so much for reading the guide!
5 Comments
HAPPYBOY9427 18 Apr @ 7:55pm 
im good im pretty good
Cyanin 17 Oct, 2021 @ 2:13pm 
The dev is really weird about people cheating using his mod. In a really stupid way, too. So new maps would be weird.
216cm Tall Femboy's Cutie 6 Jan, 2021 @ 12:43am 
If there would be updates and players playing BD..
GEA  [author] 29 Sep, 2019 @ 11:05am 
Haha, thanks for responding i only realised that there was an SDK after making this guide. Thanks for responding!
✪ ✪ ✪  [developer] 28 Sep, 2019 @ 4:11am 
Hello! Sorry for a late reply. I have a snippet of my own mapping tutorial, but it was never finished. I decided to go easier way, so I released a "Little SDK", which contains a pve_tomb map source, textures for it and a game definition file (FGD). Check it out: https://www.moddb.com/mods/b-def/downloads/base-defense-little-sdk
Mapping for Base Defense is similar to mapping for vanilla Half-Life. You only need an example of how some features are made on existing maps and a FGD, so it could be more comfy to set game logic on the map.

Thanks for your tutorial!