your current location:首页 > news>Regarding how to configure a customized biological headshot judgment configuration [GCS] GUNS CRAFT Minecraft Game

Regarding how to configure a customized biological headshot judgment configuration [GCS] GUNS CRAFT Minecraft Game

2024-12-10 17:52:49|Myriagame |source:minecraft skins

About how to configure customized biological headshot judgment configuration

The firearm process provides you with a set of headshot determination mechanisms for humanoid entities. You can customize the damage of the headshot, the position and size of the head judgment box:

You can add a custom configuration in the "HEADSHOT_MODIFY" configuration item in the configuration file "Gunscript-COMMON.TOML". The specific configuration is as follows: as follows:

A single configuration item contains the registered name of the creature, the head damage multiplication, the size of the head judgment box, the height of the head judgment box

For example, we hope that the head of the corpse shell is a cube with a size of 0.8 times the width of the original collision box. It is located at 0.82 times the height of the original collision box (0).

We should add "Minecraft: Husk = 2.0, 0.8, 0.82" in the brackets in the configuration item (remember to separate in English comma)

Then restart the game, press F3 + B to view the biological collision box after entering the world:

It can be found that a small green collision box appears, which is the head judgment box, which can trigger the headshot judgment.

Note: The headshot judgment is based on the bullet hit the original collision box. The determination chain is as follows:

Fighting the original collision box-> hit the head collision box-> trigger headshot

Adding a headshot to creatures may be a pain, but the firearm process has configured you for you.