[Highly Customized] New `AdvancedDrive` locomotor
AdvancedDrivelocomotor ({4A582751-9839-11d1-B709-00A024DDAFD1}) is an improvedDrivelocomotor ({4A582741-9839-11d1-B709-00A024DDAFD1}) that can serve as a complete upper level replacement for it.- It fixes the issue where
Drivecannot correctly crush objects during rapid turns. - It has smoother uphill and downhill dynamic visual effects.
- It has the function of driving the unit backwards.
AdvancedDrive.ReverseSpeedcontrols the speed ratio when reversing.AdvancedDrive.FaceTargetRangecontrols how close the unit is to its target, allowing reversing.AdvancedDrive.MinimumDistancecontrols how close the unit is to its destination, allowing reversing.AdvancedDrive.ConfrontEnemiescontrols whether to maitain the frontal movement towards the enemy within the aforementioned distance and no longer automatically selects by the current orientation.AdvancedDrive.RetreatDurationcontrols how long since the unit was last injured, allowing reversing.
In rulesmd.ini:
[SOMEVEHICLE] ; VehicleType
Locomotor=AdvancedDrive ; Locomotor
AdvancedDrive.ReverseSpeed=0.85 ; floating point value
AdvancedDrive.FaceTargetRange=16.0 ; floating point value
AdvancedDrive.MinimumDistance=2.5 ; floating point value
AdvancedDrive.ConfrontEnemies=true ; boolean
AdvancedDrive.RetreatDuration=150 ; integer, game frames
Nightly build for this pull request:
- compiled-dll-8034de8ca246f4e0dc7ff76495b7d4af70b74ca7.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.
The reverse function, when used in conjunction with #1623 and #1480, can provide a more complete gaming function. While when used in conjunction with KeepTargetOnMove and KeepRange, it can enhance the player's gaming experience.
Irregardless of any other factors (I have not had time to do in-depth review yet), the name probably needs to be something less ambiguous than Skilled.
Irregardless of any other factors (I have not had time to do in-depth review yet), the name probably needs to be something less ambiguous than
Skilled.
Well, it's indeed not quite clear. Do you have any suggestions?
AdvancedDrive?
AdvancedDrive?
At first, I thought of SkilledDrive, but I felt it was too long, so I changed it to the current one. But obviously, this is confusing.
I don't know exactly what is going on, but it looks like AdvancedDrive.Reverse.Speed= doesn't always activate and the unit might drive backwards using its regular speed. Tested with hover version of this locomotor, firing at empty ground and then moving the tested units away. Also, it looks like the unit for which it didn't activate will stop reversing faster than the one for which it did activate.
This is the code i used.
OpportunityFire=yes
MobileFire=yes
KeepTargetOnMove=yes
Speed=10
Locomotor=AdvancedDrive
AdvancedDrive.Reverse=yes
AdvancedDrive.Reverse.FaceTarget=yes
AdvancedDrive.Reverse.FaceTargetRange=7
AdvancedDrive.Reverse.MinimumDistance=0.5
AdvancedDrive.Reverse.RetreatDuration=30
AdvancedDrive.Reverse.Speed=0.6
AdvancedDrive.Hover=yes
AdvancedDrive.Hover.Sink=no
AdvancedDrive.Hover.Spin=no
AdvancedDrive.Hover.Tilt=yes
MovementZone=Amphibious
SpeedType=Hover
AccelerationFactor=1
DeaccelerationFactor=0
Is there perhaps something tied to weapon's ROF? The tested units have two weapons, one with ROF 5 and the other with 60, and firing different weapons before reversing might explain the discrepancy.