The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 871 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 871 errorHandler->error




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


Messages In This Thread
Spotlight Problem - by Gravity21m - 06.08.2011, 14:08:29
RE: Spotlight Problem - by Graion Dilach - 06.08.2011, 14:17:20
RE: Spotlight Problem - by Guest - 07.08.2011, 01:43:04
RE: Spotlight Problem - by Graion Dilach - 07.08.2011, 01:49:27
RE: Spotlight Problem - by Guest - 07.08.2011, 23:45:12
RE: Spotlight Problem - by Guest - 08.08.2011, 13:07:41
RE: Spotlight Problem - by DCoder - 08.08.2011, 14:55:01
RE: Spotlight Problem - by Guest - 08.08.2011, 17:48:33
RE: Spotlight Problem - by DCoder - 08.08.2011, 18:18:24



Users browsing this thread: 1 Guest(s)