Vault-Overseers / nuclear-14

Multiplayer survival role-playing game set in a post-nuclear apocalyptic world
https://nuclear14.com
GNU Affero General Public License v3.0
48 stars 95 forks source link

Weapon Refactoring #480

Closed justzick closed 2 months ago

justzick commented 2 months ago

Description

I reopened this #473 for technical reasons. This PR assumes a significant change in the balance of all weapons.

I've never played on the N14 server and don't know about the balance state. On the RU server (which is what I'm doing this for initially) everything is significantly different due to the difference in online, I guess. I need suggestions on rebalancing for your server, then I'll change all the weapon prototypes myself, or I'll just add mechanics, and someone else will change the prototypes (I'm still going to change it downstream, specially for Corvax).

TODO

github-actions[bot] commented 2 months ago

RSI Diff Bot; head commit 0a61f3c8766654fae4068ad89439f474455983a6 merging into c06ab97b8ec0d6aa0a854601ebc02ead901ad988 This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/_Nuclear14/Actions/scope_actions.rsi

| State | Old | New | Status | --- | --- | --- | --- | | sniperscope | ![]() | ![](https://raw.githubusercontent.com/justzick/just-nuclear-14/0a61f3c8766654fae4068ad89439f474455983a6/Resources/Textures/_Nuclear14/Actions/scope_actions.rsi/sniperscope.png) | Added

Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/ammo_casing.rsi

| State | Old | New | Status | --- | --- | --- | --- | | armor-piercing | ![]() | ![](https://raw.githubusercontent.com/justzick/just-nuclear-14/0a61f3c8766654fae4068ad89439f474455983a6/Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/ammo_casing.rsi/armor-piercing.png) | Added | base-spent | ![]() | ![](https://raw.githubusercontent.com/justzick/just-nuclear-14/0a61f3c8766654fae4068ad89439f474455983a6/Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/ammo_casing.rsi/base-spent.png) | Added | base | ![]() | ![](https://raw.githubusercontent.com/justzick/just-nuclear-14/0a61f3c8766654fae4068ad89439f474455983a6/Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/ammo_casing.rsi/base.png) | Added | expanding | ![]() | ![](https://raw.githubusercontent.com/justzick/just-nuclear-14/0a61f3c8766654fae4068ad89439f474455983a6/Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/ammo_casing.rsi/expanding.png) | Added | tip | ![]() | ![](https://raw.githubusercontent.com/justzick/just-nuclear-14/0a61f3c8766654fae4068ad89439f474455983a6/Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/ammo_casing.rsi/tip.png) | Added

Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/large_casing.rsi

| State | Old | New | Status | --- | --- | --- | --- | | armor-piercing | ![]() | ![](https://raw.githubusercontent.com/justzick/just-nuclear-14/0a61f3c8766654fae4068ad89439f474455983a6/Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/large_casing.rsi/armor-piercing.png) | Added | base-spent | ![]() | ![](https://raw.githubusercontent.com/justzick/just-nuclear-14/0a61f3c8766654fae4068ad89439f474455983a6/Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/large_casing.rsi/base-spent.png) | Added | base | ![]() | ![](https://raw.githubusercontent.com/justzick/just-nuclear-14/0a61f3c8766654fae4068ad89439f474455983a6/Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/large_casing.rsi/base.png) | Added | explosive | ![]() | ![](https://raw.githubusercontent.com/justzick/just-nuclear-14/0a61f3c8766654fae4068ad89439f474455983a6/Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/large_casing.rsi/explosive.png) | Added | incendiary | ![]() | ![](https://raw.githubusercontent.com/justzick/just-nuclear-14/0a61f3c8766654fae4068ad89439f474455983a6/Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/large_casing.rsi/incendiary.png) | Added

Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/medium_casing.rsi

| State | Old | New | Status | --- | --- | --- | --- | | armor-piercing | ![]() | ![](https://raw.githubusercontent.com/justzick/just-nuclear-14/0a61f3c8766654fae4068ad89439f474455983a6/Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/medium_casing.rsi/armor-piercing.png) | Added | base-spent | ![]() | ![](https://raw.githubusercontent.com/justzick/just-nuclear-14/0a61f3c8766654fae4068ad89439f474455983a6/Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/medium_casing.rsi/base-spent.png) | Added | base | ![]() | ![](https://raw.githubusercontent.com/justzick/just-nuclear-14/0a61f3c8766654fae4068ad89439f474455983a6/Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/medium_casing.rsi/base.png) | Added | expanding | ![]() | ![](https://raw.githubusercontent.com/justzick/just-nuclear-14/0a61f3c8766654fae4068ad89439f474455983a6/Resources/Textures/_Nuclear14/Objects/Weapons/Guns/Ammunition/Casings/medium_casing.rsi/expanding.png) | Added

Edit: diff updated after 0a61f3c8766654fae4068ad89439f474455983a6

justzick commented 2 months ago

list of changes.

• The bullet system has been redesigned in accordance with the game's canons, new sprites have been added.

  1. 50 anti-material:
    • Base: ignoreCoef 0.5, piercing 45.
    • AP: ignoreCoef 0.6, piercing 45.
    • IN: ignoreCoef 0.5, piercing 35, blunt 10 + ignite damage.
    • HEIAP: ignoreCoef 0.45, piercing 45 + explode damage.
  2. 9mm:
    • Base: ignoreCoef 0, piercing 10.
    • HP: ignoreCoef 0.05, piercing 11.
    • EX: ignoreCoef 0, piercing 13.
  3. 7.62:
    • Base: ignoreCoef 0.1, piercing 20.
    • AP: ignoreCoef 0.2, piercing 21.
    • EX: ignoreCoef 0.05, piercing 24.
  4. 5.56:
    • Base: ignoreCoef 0.05, piercing 16.
    • AP: ignoreCoef 0.1, piercing 17.
    • EX: ignoreCoef 0, piercing 20.
  5. 308:
    • Base: ignoreCoef 0.2, piercing 28.
    • AP: ignoreCoef 0.3, piercing 29.
    • EX: ignoreCoef 0.05, piercing 34.
  6. 10mm:
    • Base: ignoreCoef 0, piercing 14.
    • EX: ignoreCoef 0, piercing 18.
  7. 5mm:
    • Base: ignoreCoef 0, piercing 8.
    • AP: ignoreCoef 0.05, piercing 9.
    • EX: ignoreCoef 0, piercing 10.
  8. 12.7:
    • Base: ignoreCoef 0, piercing 18.
    • EX: ignoreCoef 0, piercing 21.
  9. .44:
    • Base: ignoreCoef 0.1, piercing 35, blunt 5.
    • EX: ignoreCoef 0.05, piercing 40, blunt 5.
  10. 45:
    • Base: ignoreCoef 0, piercing 16.
    • HP: ignoreCoef 0, piercing 19.
  11. 45-70:
    • Base: ignoreCoef 0.05, piercing 40, blunt 5.
    • HP: ignoreCoef 0.05, piercing 45, blunt 5.
  12. 22LR:
    • Base: ignoreCoef 0, piercing 7.
    • EX: ignoreCoef 0, piercing 9.
  13. 12 gauge:
    • Base: ignoreCoef 0.15, piercing 10, count 6, spread 15.
    • Staying: ignoreCoef 0, piercing 3, staminaDamage 20, count 5, spread 10.
    • Bullet: ignoreCoef 0.1, piercing 8, count 6, spread 8.
    • HP: ignoreCoef 0.05, piercing 14, count 5, spread 15.
    • IN: ignoreCoef 0, blunt 5 + ignite damage, , count 5, spread 10.
  14. 20 gauge:
    • Base: ignoreCoef 0.15, piercing 10, count 6, spread 12.
    • Bullet: ignoreCoef 0.1, piercing 7, count 6, spread 6.
    • HP: ignoreCoef 0.05, piercing 12, count 5, spread 12.

• All new types of cartridges have been given crafts and specialized boxes. • Melee weapons have been greatly enhanced.

  1. Hatchet:
    • DamageOnHit: ignoreCoef 0.3, slash 30, piercing 5.
    • Melee: ignoreCoef 0.2, slash 19, piercing 7.
  2. Tribal Hatchet:
    • DamageOnHit: ignoreCoef 0.35, slash 30, piercing 7.
    • Melee: ignoreCoef 0.25, slash 18, piercing 7.
  3. Axes:
    • DamageOnHit: ignoreCoef 0, blunt 5.
    • Melee: ignoreCoef 0.35, blunt 10 (+5), piercing 5 (+10).
  4. Bat:
    • DamageOnHit: ignoreCoef 0, blunt 6 + 25 stamina.
    • Melee: ignoreCoef 0, blunt 8 (+8)
  5. Sledge hammer:
    • DamageOnHit: ignoreCoef 0, blunt 5 + 30 stamina.
    • Melee: ignoreCoef 0, blunt 10 (+30)
  6. Super sledge hammer:
    • DamageOnHit: ignoreCoef 0, blunt 10 + 40 stamina.
    • Melee: ignoreCoef 0, blunt 10 (+40)
  7. Tribal heavy club:
    • DamageOnHit: ignoreCoef 0, blunt 5 + 30 stamina.
    • Melee: ignoreCoef 0, blunt 10 (+35)
  8. Tribal decorated heavy club:
    • DamageOnHit: ignoreCoef 0, blunt 5, piercing 5 + 40 stamina.
    • Melee: ignoreCoef 0.1, blunt 10 (+25), pierce 0 (+5), slash 0 (+10).
  9. Kitchen knife:
    • DamageOnHit: ignoreCoef 0.1, slash 18.
    • Melee: ignoreCoef 0.1, slash 12.
  10. Butcher's cleaver:
    • DamageOnHit: ignoreCoef 0, slash 10.
    • Melee: ignoreCoef 0.2, slash 14.
  11. Combat knife:
    • DamageOnHit: ignoreCoef 0.1, slash 22.
    • Melee: ignoreCoef 0.1, slash 18.
  12. Tribal knife:
    • DamageOnHit: ignoreCoef 0.15, slash 22.
    • Melee: ignoreCoef 0.15, slash 18.
  13. Spear & javelin:
    • DamageOnHit: ignoreCoef 0.5, piercing 35.
    • Melee: ignoreCoef 0.4, piercing 20.
  14. NCR battle flag:
    • DamageOnHit: ignoreCoef 0.5, piercing 25.
    • Melee: ignoreCoef 0.4, piercing 15.
  15. Tribal spear:
    • DamageOnHit: ignoreCoef 0.5, piercing 35.
    • Melee: ignoreCoef 0.4, piercing 23.
  16. Machete:
    • DamageOnHit: ignoreCoef 0.2, slash 20.
    • Melee: ignoreCoef 0.3, slash 30.
  17. Tribal machete:
    • DamageOnHit: ignoreCoef 0.2, slash 25.
    • Melee: ignoreCoef 0.3, slash 35.
  18. Ripper:
    • DamageOnHit: ignoreCoef 0.2, slash 10.
    • Melee: ignoreCoef 0.3, slash 30, piercing 15.
  19. Scrap machete:
    • DamageOnHit: ignoreCoef 0.2, slash 18.
    • Melee: ignoreCoef 0.3, slash 26.
  20. Tribal club:
    • DamageOnHit: ignoreCoef 0, blunt 8 + 20 stamina.
    • Melee: ignoreCoef 0, blunt 20.
  21. Broken pipe:
    • DamageOnHit: ignoreCoef 0, blunt 6 + 15 stamina.
    • Melee: ignoreCoef 0, blunt 17.

• All sniper rifles and missile launcher have been given a scope different in range. • Some guns now require more strength to wield than 3.

6SpadesLuke commented 2 months ago

okay now this is hype

justzick commented 2 months ago

closed as unfinished