juan-90s / MCGO

A minecraft datapack that implements csgo-like gameplay.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MC:GO

Description

This is a Minecraft Datapack depending on MrClayfish's Gun Mod, which can help you create a shoot gameplay. The game mechanics mimicked CS:GO. You can buy guns and items before rounds start, and defeat the all enemies to win rounds.

Requirement

Clayfish's Gun Mod

Download

WorldEdit (optional)

Installing

Datapack

Put the MCGO datapack.zip file inside .minecraft/saves/{WORLD}/datapacks

Example Map Schematics

Put the mcgo_test_map.schem file inside .minecraft/config/worldedit/schematics

Recommended Setting

Game Rules

run function

/function mcgo:pre_config

Player UI Setting

Chat Setting → Text Background Opacity → 0%

Minimap Setting(defaut Y) → Entity Radar Settings → Display Radar → off

Map

The game consists of 5 closed spaces.

  • Battleground:A large map where players fight against others
  • Tactic Room:Two closed rooms where players can buy items and respawn once they died on the battleground
  • Lobby:The initial place where players will go after entering the game and finishing a game
  • Command Centor:The place where a redstone clock repeately execute game commands.

mcgo_map.png

User Interface

Players can right-click on the custom sign to interact with the game's dark oak sign has set up click events to perform functions

The advantage of this method compared with CommandBlock is that it can better select the execution object. The @s of the custom sign Click event is the player who right-clicked on the sign, while the @s of CommandBlock is itself, and it needs to point to the nearest player with @p, which inevitably points to the wrong object.

How to Create Your Own Map

Battleground

  • build the battleground itself
  • Set each start point of two side by standing on that point and run
/function mcgo:map/place_site_blue

/function mcgo:map/place_site_gold

Tactic Room

  • build your tactic on your own style
  • Set each room point of two side by standing on that point and run
/function mcgo:map/place_room_blue

/function mcgo:map/place_room_gold
  • run this function to get UI signs and place them
/function mcgo:utl/give_all_signs
  • If you hang the gun on the item frame, run this function to fix that so that they are invisible and invulnerable except for destruction on creation mode
/function mcgo:utl/fix_itemframe

Lobby

  • build your lobby on your own style
  • Set lobby point by standing on that point and run
/function mcgo:map/place_lobby

Command Center

  • build a hiden place where players can not get in
  • clear a ground with size of 5x6 at the south of you
  • run command below, it will build a redstone clock connected with three commandblocks
/function mcgo:map/build_gameloop

Known Issue

  • sound effect in the server gameplay is not stable, sometimes players wound not hear that
  • unbalanced economic system

1.16 → 1.17+

Coming soon or you can make your own

Reference

CS:GO Economy Guide: How it Works, Bonuses, the Meta, and More

About

A minecraft datapack that implements csgo-like gameplay.


Languages

Language:mcfunction 100.0%