Feature #791

Prioritize dynamite over vehicle/landmines

Added by keMoN over 3 years ago. Updated over 1 year ago.

Status:Fixed% Done:

100%

Priority:High
Assignee:-
Category:Mod generic
Target version:2.76
OS: Arch:

Description

It happens quite often that you plant dynamite at the barrier, but the destroyed vehicle is next to you.
So instead of arming the dynamite you repair the vehicle first, which I think is exactly the opposite of how the priorities should be handled.
You should be first arming the dynamite, no matter whether you are inside another trigger or not.

Associated revisions

Revision 0441daef
Added by Spyhawk over 1 year ago

game: fixed constructible priority order in trigger area, fixes #791

Revision 3f66b994
Added by Spyhawk over 1 year ago

game: fixed missing hintcursor with constructible crates, refs #791

History

#1 Updated by Saukko over 3 years ago

  • Category set to Mod CGAME
  • Target version set to 2.77

Yeah, I feel you are correct on this one because I have had the same experience. The priority feels wrong somehow. Can tell it from my own gameplay experience.

-*S

#2 Updated by Spyhawk over 3 years ago

  • Subject changed from priority dynamite over vehicle to prioritize dynamite over vehicle/landmines
  • Category changed from Mod CGAME to Mod generic

Same thing happens with landmines.

#3 Updated by keMoN over 3 years ago

The question is what priority order..
We can all agree that dynamite should get absolute priority, but are landmines more important than constructibles (vehicles, barriers, etc)?
You normally don’t arm landmines next to your own vehicle/constructible. I think it happens more often that you by accident throw mines near your obj (when reaching for adrenaline in NQ).
Also what about defusing satchels? Because a cvops could have a satchel next to the CP and when you construct the CP first, he will blow you up after hearing the announcement.

1. dynamite
2. satchel
2. constructible
3. mines

#4 Updated by Saukko over 3 years ago

  • Subject changed from prioritize dynamite over vehicle/landmines to Prioritize dynamite over vehicle/landmines

#5 Updated by Spyhawk almost 2 years ago

  • Target version changed from 2.77 to 2.76

#6 Updated by Spyhawk over 1 year ago

  • Category changed from Mod generic to Mod CGAME
  • Status changed from New to In Progress
  • Priority changed from Low to Normal
  • % Done changed from 0 to 10

See Weapon_Engineer(). Constructible are handled in TryConstructing().

Current priority is:
  • Constructible (a)
  • Fixed MG42 (b)
  • Landmine (c)
  • Satchel (c)
  • Dynamite (c)

The way the code works isn’t the most flexible, so we’re basically constrained to swap order between the 3 groups (a, b, c) and the order in (c) is easy to change.
Edit: seems there is no particular order between Landmine/Satchel/Dyna, trace seems to work as expected here. The issue is only between the 3 groups, especially constructible (a) vs other (b, c).

#7 Updated by Spyhawk over 1 year ago

  • Category changed from Mod CGAME to Mod generic
  • Priority changed from Normal to High
  • % Done changed from 10 to 20

#8 Updated by Spyhawk over 1 year ago

  • Status changed from In Progress to Fixed
  • % Done changed from 20 to 100

Also available in: Atom PDF