IPB

Welcome Guest ( Log In | Register )


> Spotlight problems
CommanderSpartan
post May 24 2008, 08:04 PM
Post #1


Cyborg
Group Icon

Group: Members
Posts: 358
Joined: 24-June 07
From: The Ark
Member No.: 969
Alliance: GDI
Favorite game: Tiberian Sun



Now I was testing my mod and made the spotlight tower, when I realized that the spotlight only stayed on the right, doing 180s and not 360 degrees, I was wondering what would have caused this, I've never had a problem like this.


--------------------
The one true rule of halo is Kill or be Killed.
Go to the top of the page
 
: | +Quote Post
 
Start new topic
Replies
Lin Kuei Ominae
post May 24 2008, 08:12 PM
Post #2


Stealth Tank
Group Icon

Group: Members
Posts: 1,065
Joined: 14-November 06
From: Germany
Member No.: 281
Alliance: CABAL
Favorite game: Tiberian Sun



the original spotlight settings don't make the spotlight move a 360° circle
you can use these
CODE
; Some spotlight controls
SpotlightSpeed=.01; speed in radians
SpotlightMovementRadius=0;2000 offset of center of arc sweep
SpotlightLocationRadius=1250; offset from building
SpotlightAcceleration=.01;.0025; acceleration in radians
SpotlightAngle=360;.5 maximum suggest angle of arc sweep

i know that my SpotlightAngle isn't exact 360° since this is calculated in rad. With this it makes several full circles to one direction when suddenly changing to the other direction.

a full circle would be 2*pi, but since the spotlight doesn't goes in circles and instead moves from 0 to SpotlightAngle and then back to 0, you have to use a very high value to make it move several full circles.

This post has been edited by Lin Kuei Ominae: May 24 2008, 08:22 PM


--------------------
Co-Leader of Twisted Insurrection
my public units for you
Nod units:____________________________GDI units:
Nod Scorpion__________________________GDI 3A Kodiak
Nod Tachyon Tank______________________GDI Medusa (Triple Cannon Mech)
Nod Goliath___________________________GDI Behemoth (medium size Mech)
Nod Cobra (fast medium mech)__________GDI Battleship Aurora
Nod Siegebot (light MG-Mech)__________GDI Fortress Tower (Heavy Base Defense)
Nod Redeemer (4 legged heavy Cyborg)__GDI Triton (Titan support Mech)
Nod/Scrin WotW Tripod_________________GDI Exciter
______________________________________GDI Ion Charge Collector
Misc and Fun units:
X-Mech Calendar 28 SHP Units
Star Wars Mechs ATAT/ATST
Cyborg Barrack on PPM_________________Mech Factory
Mutant Tiberium Flyer
yt1300 (Millenium Falcon + BIG version)

if you use my units in your mod, please credit me.if you want to use my units on your website please ask me before.
Go to the top of the page
 
: | +Quote Post



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 16th July 2025 - 07:53 PM


XGhozt.com