New Engrave trajectory
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.ApplyRangeModifierscontrols whether any applicable weapon range modifiers from the firer are applied to the engrave process.Trajectory.Engrave.SourceCoordcontrols 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.TargetCoordcontrols 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.MirrorCoordcontrols whetherTrajectory.Engrave.SourceCoordandTrajectory.Engrave.TargetCoordneed to mirror the lateral value to adapt to the current FLH.Trajectory.Engrave.TheDurationcontrols the duration of the entire engrave process. Set to 0 will automatically useTrajectory.Engrave.SourceCoordandTrajectory.Engrave.TargetCoordto calculate the process duration.
Trajectory.Engrave.IsLasercontrols whether laser drawing is required.Trajectory.Engrave.IsSupportedcontrols whether the engrave laser will be brighter and thicker. Need to setTrajectory.Engrave.IsHouseColororTrajectory.Engrave.IsSingleColorto true.Trajectory.Engrave.IsHouseColorcontrols whether set the engrave laser to draw using player's team color. These lasers respectTrajectory.Engrave.LaserThicknessandTrajectory.Engrave.IsSupported.Trajectory.Engrave.IsSingleColorcontrols whether set the engrave laser to draw using onlyTrajectory.Engrave.LaserInnerColor. These lasers respectTrajectory.Engrave.LaserThicknessandTrajectory.Engrave.IsSupported.Trajectory.Engrave.LaserInnerColorcontrols the inner color of the engrave laser.Trajectory.Engrave.LaserOuterColorcontrols the outer color of the engrave laser.Trajectory.Engrave.LaserOuterSpreadcontrols the spread color of the engrave laser.Trajectory.Engrave.LaserThicknesscontrols the thickness of the engrave laser. Need to setTrajectory.Engrave.IsHouseColororTrajectory.Engrave.IsSingleColorto true.Trajectory.Engrave.LaserDurationcontrols the duration of the engrave laser.Trajectory.Engrave.LaserDelaycontrols how often to draw the engrave laser.
Trajectory.Engrave.DamageDelaycontrols 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.
Nightly build for this pull request:
- compiled-dll-865f2d2186d0a299cc7a73d6af07ce75de672ac6.zip These artifacts will expire in 90 days and will not be available for download after that time.
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.
Engrave doesn't work in the newest build anymore. Was something changed, or is this just github nonsense?
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.
Has been completely rewrited.