aliens

Author Topic: [QUESTION] maxDistance, aimDistance etc. for ammo  (Read 1499 times)

Offline Osobist

  • Sergeant
  • **
  • Posts: 36
    • View Profile
[QUESTION] maxDistance, aimDistance etc. for ammo
« on: March 29, 2023, 11:42:50 am »
Hello, I've encountered a problem during ammo modding. I'm trying to make separate attack distances for various ammo of same weapon. StatsForNerds show that such attributes allowed to specify for items with battleType = 2. But despite different stats specified in ruleset the accuracy displayed for both ammo types during aiming is same.
Is it okay? Cause it would be confusing situation for player which I'd like to avoid.

Ammo and weapon ruleset snippets are below:

  - type: STR_JUDGE
    battleType: 1
    accuracyAimed: 75 #85
    accuracySnap: 60 #65
    accuracyAuto: 40 #35
    accuracyMelee: 75
    accuracyCloseQuarters: 120 #100
    kneelBonus: 105
    accuracyMultiplier:
      firing: [0.0, 0.002]
      reactions: 0.3
      flatHundred: 0.55

  - type: STR_JUDGE_DRUM
    battleType: 2
    sprayWaypoints: 3
    maxRange: 5 #26
    aimRange: 4 #20
    snapRange: 3 #16
    autoRange: 2 #10
    dropoff: 50 #2
    powerRangeThreshold: 5
    powerRangeReduction: 50
    confAuto:
      name: STR_SLAMFIRE
      shots: 5

  - type: STR_JUDGE_DRUM_BS
    battleType: 2
    shotgunPellets: 5
    shotgunBehavior: 1
    shotgunSpread: 25
    maxRange: 16
    aimRange: 14
    snapRange: 10
    autoRange: 7
    dropoff: 4
    powerRangeThreshold: 18
    powerRangeReduction: 4
    confAuto:
      name: STR_DOUBLE_TAP
      shots: 2

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: [QUESTION] maxDistance, aimDistance etc. for ammo
« Reply #1 on: March 29, 2023, 11:48:46 am »
I assume you mean maxRange and aimRange, not maxDistance and aimDistance.

If yes, those attributes can only be used on a weapon, not on ammo.

PS: StatsForNerds always show all attributes for all kinds of items, they don't say if such combination makes sense or not.

Offline Osobist

  • Sergeant
  • **
  • Posts: 36
    • View Profile
Re: [QUESTION] maxDistance, aimDistance etc. for ammo
« Reply #2 on: March 29, 2023, 01:38:51 pm »
Yeah, right.

Thanks for clarification.

Offline zee_ra

  • Colonel
  • ****
  • Posts: 213
    • View Profile
Re: [QUESTION] maxDistance, aimDistance etc. for ammo
« Reply #3 on: March 31, 2023, 06:12:38 pm »
I assume you mean maxRange and aimRange, not maxDistance and aimDistance.

If yes, those attributes can only be used on a weapon, not on ammo.

PS: StatsForNerds always show all attributes for all kinds of items, they don't say if such combination makes sense or not.

I wonder if those attributes are configurable per shot type.  E.g. confAim, confAuto, confSnap?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: [QUESTION] maxDistance, aimDistance etc. for ammo
« Reply #4 on: March 31, 2023, 06:57:41 pm »
maxRange is only per weapon

aimRange, snapRange, autoRange is only per respective shot type (which is indistinguishable from per weapon)