-
Notifications
You must be signed in to change notification settings - Fork 4
Creating Gametypes with the Variant Builder
Matt edited this page Dec 14, 2013
·
10 revisions
Although optional, the Variant Builder Nitrogen.VariantBuilder
is an useful tool to assist you in the creation of game variants in C# using the Nitrogen API.
- Open the
Nitrogen.VariantBuilder
project in Visual Studio. - Create a new class for your gametype.
- Add the following references:
using Nitrogen.Data;
using Nitrogen.GameVariants;
using Nitrogen.GameVariants.Base;
using Nitrogen.GameVariants.Megalo;
using Nitrogen.Metadata;
using Nitrogen.Shared;
- Implement the
IGameVariant
interface. - Add the
OutputPath
attribute to the class. You can remove this if you don't want the gametype to be generated.