Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(balance): revamp of rifle spawns, OA-93 rename and buff #5000

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

Lamandus
Copy link
Contributor

@Lamandus Lamandus commented Jul 16, 2024

Checklist

Required

Optional

Purpose of change

This is a full revamp of rifle spawns.

It was very all over the place. Rare rifles also included military only, obscure was everything and nothing. The German G36 and G6 spawned in the rare group with high chances, the French Famas 1/714 in the obscure group.

The OA-93 was renamed to the OA-98 and buffed, since it was a very bad gun with no updates for its magazines or size.

Describe the solution

  1. Moved any civilian owned rifle ingame to the common rifle spawngroup, rarity is dealt via probability.
  2. Automatic and Sniper Rifles in possession of rebels or paramilitary groups in the US moved and filled in the rare rifle group.
  3. Automatic rifles and Sniper Rifles being military use only and being rare or imported (from France, Belgium, Germany, Russia), are moved into the obscure group.
  4. Buffed the terrible OA-93 to be a better AR-Pistol (smaller but rarer), rename to OA-98
  5. Rename the AK-47 to the AK-47 semi, since it is the civilian version only.
  6. removed the rare rifle display, since it didn't make any sense to find a display M4A1 in a gun shop
  7. tweaked spawnchances

Describe alternatives you've considered

Testing

grafik
grafik
grafik
grafik
grafik
grafik

Additional context

A new hunting-rifle spawngroup would be a good idea to differentiate between carbines and hunting stuff. Those hunting things can be spawned in rural houses (probably together with hunting shotguns).

we reached 5000!

@github-actions github-actions bot added the data PRs related to datas. Won't crash game (probably) label Jul 16, 2024
@@ -85,7 +85,7 @@
{ "group": "guns_shotgun_common_display", "x": 16, "y": 10, "chance": 100, "magazine": 100 },
{ "group": "guns_shotgun_rare_static_display", "x": 16, "y": 11, "chance": 25, "magazine": 100 },
{ "group": "guns_rifle_common_display", "x": 20, "y": 7, "chance": 25, "magazine": 100 },
{ "group": "guns_rifle_rare_display", "x": 20, "y": 8, "chance": 25, "magazine": 100 },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and the below chance makes it call for two separate spawns of common rifles, and is inconsistent with the nearby calls to spawn rare guns.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is due to the fact, that the rare rifles were illegal. The second rifle is spawning on a different spot

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah right, fair I guess then.

@chaosvolt chaosvolt merged commit 51bd63a into cataclysmbnteam:main Jul 17, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data PRs related to datas. Won't crash game (probably)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants