Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spotlight Problem
#1
Exclamation 
Hey Guys,
i've got a problem with the reactivated Spotlight logic.
If i set the "HasSpotlight=" tag to a building, the spotlight appears but doesn't turn arround. Here is my Code:

[LAMPE3]
UIName=Name:LAMPE3
Name=Gebietsschranke
Image=GASPOT
BuildCat=Combat
HasSpotlight=yes
Spotlight.StartHeight=250
Spotlight.Distance=1024
Armor=steel
Prerequisite=RAHAND
TechLevel=1
Adjacent=8
ROT=10
Sight=8
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=1 ;gs 0 for Good, 1 for Evil
;AlphaImage=ALPHATST
LightVisibility=5000
LightIntensity=0.01 ;LightIntensity=0.01
LightRedTint=0.01
LightGreenTint=1,7
LightBlueTint=0.01
CanBeOccupied=yes
MaxNumberOccupants=2
CanOccupyFire=yes
Strength=350
Cost=350
BaseNormal=no
Points=30
Power=-5
Crewed=no
Capturable=false
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS4LG,DBRIS4SM,DBRIS6LG
MaxDebris=2
MinDebris=1
Powered=yes
ThreatPosed=30 ; This value MUST be 0 for all building addons
;DamageParticleSystems=SparkSys,LGSparkSys
HasStupidGuardMode=false
ImmuneToPsionics=yes ; defaults to yes for buildings, no for others
;gs these three are in abstract units and just help the AI pick the right base defense. (see AIForcePredictionFudge)


Have anyone a Idea why this doesnt work?
Thanks alot
Greetings
Gravity
Reply
#2
Read http://modenc.renegadeprojects.com/Spotlights for details. The code will work.
Reply
#3
Hmm my tags are already set to:

SpotlightSpeed=.015 ; speed in radians
SpotlightMovementRadius=2000 ; offset of center of arc sweep
SpotlightLocationRadius=1000 ; offset from building
SpotlightAcceleration=.0025 ; acceleration in radians
SpotlightAngle=.5 ; maximum suggest angle of arc sweep

But the Spot doesnt move. He shines only to the top
Any other Ideas?
Greetings Gravity
Reply
#4
Those tags must be used on the buildings.
Reply
#5
Ahh okay i've used the general settings. I will test it with those tags on the building and then i will post again.
Greetings Gravity
Hmm no it doesn't work.
The Spotlight is still fixed to the top.
Is this a known issue?
Reply
#6
Hmm i've seen yet that the game will freeze if i sell the tower which has spotlight tags
Reply
#7
That sounds like http://bugs.renegadeprojects.com/view.php?id=937 to me.

Worth playing: 1 | 2 | 3
Reply
#8
Hmm yes the issue describes my problem, but the tower isnt a mcv or a deployable building. Why the error occurs?
Reply
#9
Because that fix is not in 0.1 p1, it will only be in 0.2.

Worth playing: 1 | 2 | 3
Reply




Users browsing this thread: 1 Guest(s)