Xonotic Forums
GunGame gametype - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Development (https://forums.xonotic.org/forumdisplay.php?fid=12)
+--- Thread: GunGame gametype (/showthread.php?tid=7523)



GunGame gametype - Lyberta - 08-31-2017

GunGame

Demo video

A gametype where you have only one weapon and gain a new weapon by killing enemies. The player who kills other players with all weapons wins.

How to build
  1. Clone official Xonotic repository
  2. In xonotic-data.pk3dir checkout branch Lyberta/GunGame`
  3. In xonotic-maps.pk3dir checkout branch `Lyberta/GunGame`
    * Build as usual.

Server settings

Code:
gametype gg
g_gg_weapons "vortex mortar machinegun hagar arc electro devastator crylink shotgun blaster"
g_gg_kills_per_weapon 3 "Number of kills needed to advance to the next weapon"



RE: GunGame gametype - mini - 08-31-2017

Well done, that was quick.  Skimmed through the code, wanted to point out that you typically need 3 kills or a knife kill to get to the next gun.  Three kills ensure the game isn't over in thirty seconds.  Not sure what sort of art and animation assets exist but knife kills are a pretty interesting and important part of the game because they let you immediately gain a level, while dropping the player you killed to the previous gun.  That would be cool to see but I think it's a lot to ask.

Offtopic, but is it possible to get this mode and other custom modes onto a server without having them make it into the release branch?


RE: GunGame gametype - Lyberta - 09-02-2017

(08-31-2017, 09:40 PM)mini Wrote: Well done, that was quick.  Skimmed through the code, wanted to point out that you typically need 3 kills or a knife kill to get to the next gun.

I've played GunGame only in Counter-Strike and you needed only 1 kill there. But, of course, I will add options.

(08-31-2017, 09:40 PM)mini Wrote: Not sure what sort of art and animation assets exist but knife kills are a pretty interesting and important part of the game

A shotgun melee? Would need some ammo handling.

(08-31-2017, 09:40 PM)mini Wrote: Offtopic, but is it possible to get this mode and other custom modes onto a server without having them make it into the release branch?

Not really, the game is statically linked into a single blob. Dynamic linking will be possible after we change engine and rewrite a lot of stuff.


RE: GunGame gametype - Lyberta - 09-21-2017

Added g_gg_kills_per_weapon.


RE: GunGame gametype - BuddyFriendGuy - 09-22-2017

Very interesting idea! I like that players cannot rely on only one powerful weapon.
Is the order of the weapons random?


RE: GunGame gametype - Lyberta - 09-22-2017

(09-22-2017, 02:52 PM)BuddyFriendGuy Wrote: Very interesting idea! I like that players cannot rely on only one powerful weapon.
Is the order of the weapons random?

See the g_gg_weapons variable in the first post. It defines the order.


RE: GunGame gametype - BuddyFriendGuy - 09-24-2017

(09-22-2017, 03:16 PM)Lyberta Wrote:
(09-22-2017, 02:52 PM)BuddyFriendGuy Wrote: Very interesting idea! I like that players cannot rely on only one powerful weapon.
Is the order of the weapons random?

See the g_gg_weapons variable in the first post. It defines the order.

Duh! Thanks!


RE: GunGame gametype - 3agle427 - 01-20-2019

Hi, I'm trying to make custom game modes, but I need help. How would I make one?