Skip to content

Implementation

Timm Luyten edited this page Feb 11, 2022 · 16 revisions

Installing WIP

Using the base into your own gamemode can be done by:

  1. Implementing the PlayerBase class into your player class partial class MyPlayer : PlayerBase and calling the PlayerBase constructor on your player constructor public MyPlayer() : base() {}
  2. If you want the Deathmatch HUD (scoreboard, inventory, killfeed) you'll need to initialize it in your game constructor
public Game()
{
  if ( IsServer )
    {
      new DeathmatchHud();
    }
  }
}
Clone this wiki locally