aliens

Author Topic: [Suggestion] Fire/Melee Diretly Above or Below  (Read 622 times)

Offline 0xEBJC

  • Colonel
  • ****
  • Posts: 180
  • Y'all are awesome! Thankful for this community.
    • View Profile
    • My Projects
[Suggestion] Fire/Melee Diretly Above or Below
« on: March 25, 2024, 05:53:51 pm »
[Suggestion]
Melee an enemy directly above or below, ranged weapon shoot an enemy directly above or below ignoring (gun kata) being enabled.

It would be nice to be able to kill an enemy that's standing on an single elevator blocking the way up or down?  I think this is normally achievable with ranged weapons in classic X-Com settings, but see below where I'm suggesting some changes be considered.

It seams reasonable that you could use a melee weapon to attack directly up? and possibly down?  (maybe at a reduced accuracy as opposed to directly in front, more reduced accuracy attacking down as opposed to up and reduced accuracy would only affect melee and not ranged weapons.)

I couldn't find the option, I'm sure it's enabled in X-Com Files where if you are directly next to an enemy they can block (gun kata) your range weapon.  I would think enemies shouldn't be able to block ranged weapons if you were directly above or below, so if the feature (gun kata) was enabled it would be ignored for shooting directly above or below.
« Last Edit: March 25, 2024, 06:06:53 pm by 0xEBJC »

Offline Juku121

  • Commander
  • *****
  • Posts: 1799
  • We're all mad here.
    • View Profile
Re: [Suggestion] Fire/Melee Diretly Above or Below
« Reply #1 on: March 25, 2024, 08:12:39 pm »
AFAIK, CQC doesn't even works on stairs, so your suggestion is already implemented. :)

The option is 'enableCloseQuartersCombat', plus a bunch of fine-tuning variables.


Melee directly up or down probably has some engine peculiarities, and it's something that's not really easy to do compared to 'normal' close combat. Spears, maybe, but knifing someone through a hole in the floor or ceiling is next to impossible IRL.

Offline 0xEBJC

  • Colonel
  • ****
  • Posts: 180
  • Y'all are awesome! Thankful for this community.
    • View Profile
    • My Projects
Re: [Suggestion] Fire/Melee Diretly Above or Below
« Reply #2 on: March 25, 2024, 08:47:03 pm »
ok, so if this became a feature then maybe it would have to be a melee weapon property? for weapons like spears, stun rods, etc, but not for knifes, clubs, etc or very minimal. or maybe even a vertical melee coefficient?


Spear
Code: [Select]
VirticleMeleeAttack:
  enabled: true
  upDamageModifier: 0.75
  upAccuracyModifier: 0.75
  downDamageModifier: 0.3
  downAccuracyModifier: 0.1

Knife
Code: [Select]
VirticleMeleeAttack:
  enabled: true
  upDamageModifier: 0.2
  upAccuracyModifier: 0.25
  downDamageModifier: 0.05
  downAccuracyModifier: 0.05

Wooden Club
Code: [Select]
VirticleMeleeAttack:
  enabled: false
 


« Last Edit: March 26, 2024, 09:19:38 pm by 0xEBJC »