Bigfixes for Open Beta.
0xE69 opened this issue ยท 3 comments
- The fast zombie sprint speed is pretty fast. We just want to turn them a little slower, or potentially make it configurable.
- Infinite ammo glitch; https://discord.com/channels/473735245636698153/1215379290989006848
only pressing J not R this is problem because J key removes the mag from the gun, and if u press J and throw the gun u receive a mag and full mag gun. - A world guard flag for clearing CD inventories.
- A world guard flag for no damage taken by barb wire or anything else.
- A world guard flag for no water decrease.
- A world guard flag for immunity towards things like, Breaking leg, RBI infection, Bleeding.
- A world guard flag to remove the ability to blow people across the map with C4.
- Adding a cooldown permission or option for /hydrate or /drink so like craftingdead.drink.30m
- Not all magazine items reload from vests. We need to get a list of all the issues with this
- Configurable armor values for armor vests and helmets server side.
- Medical items need to have a description as to what they do
- Server sees the parachute as flying and kicks the player
- Configurable chance for fall damage in server configuration options. (If falling you have a 80% chance, Or like 70% chance.. Set in the server options)
- We consume food and water too quickly, Any option to change this. (Set in the CD config)
- Ability to shread clothing into cloth.
- Taser needs to have a slow ability on it and lower the damage A LOT!
- Syringes (Empty/blood/ETC) are too big in player's hand
- Make night vision compatible with helmets
- Remove the ability to wear "clothing packs" as regular minecraft armor.
-- Important Feature Update
- Weapon spray pattern needs to be more of a V or Diamond Shape so that it starts at the bottom of the V, As you shoot the weapon goes up and the accuracy goes down. https://youtu.be/-z0gDmojzHM?t=88
Each weapon should have a heat variable. This variable starts at 0 and increases every time the weapon is fired. Over time, this variable should decrease gradually back toward 0, simulating the weapon cooling down.
You'll need to pick a non-random function that will determine the radius (r) and angle (theta, t) of the bullet spread based on the current heat (h) of the weapon. This function defines the shape of your spray pattern (V or diamond). For simplicity, let's start with a basic V-shaped pattern.
We need a heat veriable for weapons.
protected float heat = 0.0F;
protected final float heatIncreasePerShot = 1.0F; // Adjust as needed
protected final float heatDecreasePerTick = 0.05F; // Adjust as needed
Whenever the gun fires, increase the heat variable. This could be done in the handleShoot method or wherever the gun's shooting logic is implemented.
In the handleTick method, gradually decrease the heat over time to simulate cooling down.
Create a method to calculate the bullet spread (radius r and angle theta) based on the current heat. For a simple V-shaped pattern, you might increase the spread linearly with heat and alternate the angle to spread shots left and right as heat increases.
When handling a shot in handleShoot, use the bullet spread calculations to adjust the bullet's trajectory.
We need to be able to adjust the heat increase per shot, the heat decrease per tick, and the bullet spread calculation.