|
|
发表于 2022-10-5 16:26:49
|
显示全部楼层
试试这个
https://modenc.renegadeprojects.com/Spotlights
Spotlights in TS
Note: This information applies only to Tiberian Sun or Yuri's Revenge when patched by the Rock Patch v1.06 or higher or Ares
Spotlights, a great visual effect, and simple to edit too.
The spotlight controls available in the INIs are as follows:
SpotlightSpeed=.015
SpotlightMovementRadius=2000
SpotlightLocationRadius=1000
SpotlightAcceleration=.0025
SpotlightAngle=.5
SpotlightRadius= ? (undocumented tag)
Q: How do I make the light draw a full circle?
A: The full circle is 360°, or 2*pi (2*3.14 = 6.28) radians. The angle is controlled by SpotlightAngle. Since it asks for a value in radians, you should provide a number close to 6.3 . However you can also use controls on pre-placed spotlight tower buildings to set the type of movement (that used by the rules.ini controls or a constant circle) or create triggers that change the type of movement. |
|