Skip to content

About

After years away, BaseWars is back. Revisit the 2015 gamemode, updated.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

 
 

Repository files navigation

BaseWars

BaseWars is a gamemode all about printing and raiding. Build your own base to print tons of money while fighting off enemies trying to raid you!

This project is a refactor of the original BaseWars gamemode. Its goal is to provide cleaner, better optimized code that uses modern Garry's Mod and GLua APIs and takes advantage of their newer features, while staying compatible with current addons and preserving the original gameplay.

Features

  • Easy to setup!
  • Easy to configure!
  • Crashes recover lost player money!
  • Progression via a configurable leveling system!
  • Automated anti-spawnkill!
  • Automated raiding, no more 'random raids'!
  • Built-in textscreens!
  • Custom language support!
  • Easy to use entity bases!

What's changed

  • Replaced the old player data (tmysql/SQLite) in favor of goobie-sql
  • Switched to Srlion's Hook Library
  • Removed EasyLua
  • Removed the old qchat
  • Compatibility with newer addons (see here)
  • A lot of optimizations

This refactor is intended for a fresh database. Please do not try to import data from your old BaseWars gamemode unless you know what you're doing.

Installation

Prerequisites

  • A CPPI compliant prop-protection addon. We recommend gProtect
  • A fading door addon.
  • A MySQL database.
  • A goobie-sql release compatible with your Garry's Mod branch.
  • Srlion's Hook Library, installed through your server's Workshop collection.

Installing the gamemode

  • Drag the folder into garrysmod/gamemodes.
  • Edit garrysmod/gamemodes/basewars/gamemode/config.lua to your own liking.
  • Download goobie-sql.lua into gamemode/server/thirdparty/goobie-sql.lua. Install its matching gmsv_goobie_mysql binary in garrysmod/lua/bin.
  • Add Srlion's Hook Library to your server's Workshop collection.
  • Set the host, port, user, password, and database in gamemode/server/mysql.lua. The database must already exist; BaseWars creates its own tables. Use an account with table creation and read/write permissions.

The default weapon configuration uses Customizable Weaponry 2.0. You can change gamemode/config.lua if your server uses different weapons.

Screenshots

Help Menu

ScreenShot

Main Menu

ScreenShot

Entities

ScreenShot

Textscreens

ScreenShot

Authors

Main Developer: Callum J. Slaney Developer: Andrew Austin Developer: Stepan Fedotov Developer: Ling

About

After years away, BaseWars is back. Revisit the 2015 gamemode, updated.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages