Making own gamemodes

Description

This will describe in steps what needs to be done to make an own GameMode.

Initialize Steps

Make a temp folder somewhere on your hard drive where you will start on making your own GameMode. Inside this folder make a new one called ‘gamemode’. Go then into this folder and make an empty text file. Name it 3-6 letter name and change the extension from .txt to .def

EntityDef

To be able to to make an GameMode you would need to make a set of EntityDef’s where you change GAMEMODENAME with a 3-6 letter shortname of the name of the GameMode you are making.

  • entityDef mod_GAMEMODENAME {}
  • entityDef config_GAMEMODENAME_default {}
  • entityDef config_GAMEMODENAME_dm {}
  • entityDef config_GAMEMODENAME_tdm {}
  • entityDef config_GAMEMODENAME_ctf {}
  • entityDef config_GAMEMODENAME_1f_ctf {}
  • entityDef config_GAMEMODENAME_actf {}
  • entityDef config_GAMEMODENAME_1f_actf {}
  • entityDef config_GAMEMODENAME_ca {}
  • entityDef config_GAMEMODENAME_ft {}
  • entityDef config_GAMEMODENAME_duel {}
  • entityDef config_GAMEMODENAME_dz {}
  • entityDef weaponModes_GAMEMODENAME {}
  • entityDef player_marine_GAMEMODENAME {}
  • entityDef item_health_shard_GAMEMODENAME {}
  • entityDef item_health_small_GAMEMODENAME {}
  • entityDef item_health_large_GAMEMODENAME {}
  • entityDef item_armor_shard_GAMEMODENAME {}
  • entityDef item_armor_small_GAMEMODENAME {}
  • entityDef item_armor_large_GAMEMODENAME {}
  • entityDef item_armor_jacket_GAMEMODENAME {}
  • entityDef ammo_machinegun_GAMEMODENAME {}
  • entityDef ammo_nailgun_GAMEMODENAME {}
  • entityDef ammo_railgun_GAMEMODENAME {}
  • entityDef ammo_shotgun_GAMEMODENAME {}
  • entityDef ammo_hyperblaster_GAMEMODENAME {}
  • entityDef ammo_rocketlauncher_GAMEMODENAME {}
  • entityDef ammo_grenadelauncher_GAMEMODENAME {}
  • entityDef ammo_lightninggun_GAMEMODENAME {}
  • entityDef ammo_dmg_GAMEMODENAME {}
  • entityDef weapon_dmg_GAMEMODENAME {}
  • entityDef weapon_gauntlet_GAMEMODENAME {}
  • entityDef weapon_grenadelauncher_GAMEMODENAME {}
  • entityDef projectile_grenade_GAMEMODENAME {}
  • entityDef damage_grenadeSplash_GAMEMODENAME {}
  • entityDef weapon_hyperblaster_GAMEMODENAME {}
  • entityDef damage_hyperblaster_GAMEMODENAME {}
  • entityDef weapon_lightninggun_GAMEMODENAME {}
  • entityDef hitscan_lightninggun_GAMEMODENAME {}
  • entityDef damage_lightninggun_GAMEMODENAME {}
  • entityDef weapon_machinegun_GAMEMODENAME {}
  • entityDef damage_machinegun_GAMEMODENAME {}
  • entityDef damage_machinegun_zoom_GAMEMODENAME {}
  • entityDef weapon_nailgun_GAMEMODENAME {}
  • entityDef weapon_railgun_GAMEMODENAME {}
  • entityDef damage_railgun_GAMEMODENAME {}
  • entityDef weapon_rocketlauncher_GAMEMODENAME {}
  • entityDef projectile_rocket_GAMEMODENAME {}
  • entityDef weapon_shotgun_GAMEMODENAME {}
  • entityDef damage_pellet_GAMEMODENAME {}
  • entityDef weapon_napalmgun_GAMEMODENAME {}

Finalizing

Zip down the folder ‘gamemode’ and rename the extension from .zip to .pk4 , when this is done you can upload it to the GTR folder on your gameserver and place the same file in your GTR folder locally.