Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

New Engrave trajectory

Open CrimRecya opened this issue 1 year ago • 1 comments

This is a feature split from #1261 . It may have similarities with other parts.

  • Visually, like the thermal lance. Calling it 'trajectory' may not be appropriate. It does not read the settings on the weapon.
    • Trajectory.Straight.ApplyRangeModifiers controls whether any applicable weapon range modifiers from the firer are applied to the engrave process.
    • Trajectory.Engrave.SourceCoord controls the starting point of engraving line segment. Taking the target as the coordinate center. Specifically, it will start from the firing position when set to 0,0 . The height of the point will always at ground level.
    • Trajectory.Engrave.TargetCoord controls the end point of engraving line segment. Taking the target as the coordinate center. The height of the point will always at ground level.
      • Trajectory.Engrave.MirrorCoord controls whether Trajectory.Engrave.SourceCoord and Trajectory.Engrave.TargetCoord need to mirror the lateral value to adapt to the current FLH.
      • Trajectory.Engrave.TheDuration controls the duration of the entire engrave process. Set to 0 will automatically use Trajectory.Engrave.SourceCoord and Trajectory.Engrave.TargetCoord to calculate the process duration.
    • Trajectory.Engrave.IsLaser controls whether laser drawing is required.
      • Trajectory.Engrave.IsSupported controls whether the engrave laser will be brighter and thicker. Need to set Trajectory.Engrave.IsHouseColor or Trajectory.Engrave.IsSingleColor to true.
      • Trajectory.Engrave.IsHouseColor controls whether set the engrave laser to draw using player's team color. These lasers respect Trajectory.Engrave.LaserThickness and Trajectory.Engrave.IsSupported.
      • Trajectory.Engrave.IsSingleColor controls whether set the engrave laser to draw using only Trajectory.Engrave.LaserInnerColor. These lasers respect Trajectory.Engrave.LaserThickness and Trajectory.Engrave.IsSupported.
      • Trajectory.Engrave.LaserInnerColor controls the inner color of the engrave laser.
      • Trajectory.Engrave.LaserOuterColor controls the outer color of the engrave laser.
      • Trajectory.Engrave.LaserOuterSpread controls the spread color of the engrave laser.
      • Trajectory.Engrave.LaserThickness controls the thickness of the engrave laser. Need to set Trajectory.Engrave.IsHouseColor or Trajectory.Engrave.IsSingleColor to true.
      • Trajectory.Engrave.LaserDuration controls the duration of the engrave laser.
      • Trajectory.Engrave.LaserDelay controls how often to draw the engrave laser.
    • Trajectory.Engrave.DamageDelay controls how often to detonate warheads.

In rulesmd.ini:

Trajectory=Engrave                             ; Trajectory type
Trajectory.Engrave.ApplyRangeModifiers=false   ; boolean
Trajectory.Engrave.SourceCoord=0,0             ; integer - Forward,Lateral
Trajectory.Engrave.TargetCoord=0,0             ; integer - Forward,Lateral
Trajectory.Engrave.MirrorCoord=true            ; boolean
Trajectory.Engrave.TheDuration=0               ; integer
Trajectory.Engrave.IsLaser=true                ; boolean
Trajectory.Engrave.IsSupported=false           ; boolean
Trajectory.Engrave.IsHouseColor=false          ; boolean
Trajectory.Engrave.IsSingleColor=false         ; boolean
Trajectory.Engrave.LaserInnerColor=0,0,0       ; integer - Red,Green,Blue
Trajectory.Engrave.LaserOuterColor=0,0,0       ; integer - Red,Green,Blue
Trajectory.Engrave.LaserOuterSpread=0,0,0      ; integer - Red,Green,Blue
Trajectory.Engrave.LaserThickness=3            ; integer
Trajectory.Engrave.LaserDuration=1             ; integer
Trajectory.Engrave.LaserDelay=1                ; integer
Trajectory.Engrave.DamageDelay=2               ; integer
- It's best not to let it be intercepted.

CrimRecya avatar Jun 25 '24 14:06 CrimRecya

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

github-actions[bot] avatar Jul 07 '24 19:07 github-actions[bot]

Engrave doesn't work in the newest build anymore. Was something changed, or is this just github nonsense?

mevitar avatar Feb 18 '25 23:02 mevitar

Engrave doesn't work in the newest build anymore. Was something changed, or is this just github nonsense?

There have only been some minor fixes recently.

CrimRecya avatar Feb 19 '25 18:02 CrimRecya

Has been completely rewrited.

CrimRecya avatar Mar 18 '25 15:03 CrimRecya