Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Nov 24, 2026 1:11 pm
All times are UTC + 0
SpotLight Angle
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [8 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
tekka warrior
Stealth Laser Trooper


Joined: 21 May 2012
Location: Beirut,Lebanon

PostPosted: Tue Feb 12, 2013 8:45 pm    Post subject:  SpotLight Angle Reply with quote  Mark this post and the followings unread

Greetings!

So i added in tiberian sun the light tower, however the towers in the campaign have a different angle than the one i added, so the question is what is the value of the angle that makes the spotlight go 360 degrees around the tower ( sorround the tower)?

Thanks!

Back to top
View user's profile Send private message
Zero18
Commander


Joined: 10 Dec 2012
Location: I'm too busy conquering the world!

PostPosted: Tue Feb 12, 2013 8:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

Give the light tower spotlight=2 in FinalSun Map Editor for infinite 360 degree.

Or, if you want just 1 full 360 degree light circle then it go back and do another 360 the opposite way, change the spotlight angle to 1 in rules.ini.

_________________
Mod Leader and founder of World Domination


Back to top
View user's profile Send private message
RP
Commander


Joined: 12 Jul 2012
Location: Mapping God Heaven

PostPosted: Tue Feb 12, 2013 10:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

Actually, that's for when the watch tower has a spotlight defined in rules.ini. You might need to copy the keys from [GASPOT] (IIRC) and paste them at your newly added structure. Then you can modify as you see fit.

Defining the behavior in-game should be done via the Structure Options dialog when double clicking the structure.

_________________


Mental Omega 3.0 Mission creator - Creator of FinalOmega: APYR 3.0 Map Editor

/ppm/'s stupidity

Back to top
View user's profile Send private message
Exley
Commander


Joined: 09 May 2011
Location: Approaching the Great Pyramid

PostPosted: Tue Feb 12, 2013 10:31 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
tekka warrior
Stealth Laser Trooper


Joined: 21 May 2012
Location: Beirut,Lebanon

PostPosted: Wed Feb 13, 2013 1:50 pm    Post subject: SpotLight Angle Reply with quote  Mark this post and the followings unread

Ok so i got to turn 360 degrees yet whenever it turns the light is close to the building but as turns it gets faaar away(I may need to clear the fog to see it)

So what is the offset to prevent this from happening?

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed Feb 13, 2013 2:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Why don't you try things before asking? You learn a lot more this way. Especially if you have only such a small amount of keys to test.
In addition does testing give you sometimes unexpected, yet cool results that you might even find better than what you've planned.

Code:
; Some spotlight controls
SpotlightSpeed=         ; speed in radians
SpotlightMovementRadius=   ; offset of center of arc sweep
SpotlightLocationRadius=   ; offset from building
SpotlightAcceleration=   ; acceleration in radians
SpotlightAngle=      ; maximum suggest angle of arc sweep

quite obvious even from the rules.ini comments that it has to be either
SpotlightMovementRadius
or
SpotlightLocationRadius

So just enter there some test values and you'll surely find out in no time which one is the right one. Wink

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
tekka warrior
Stealth Laser Trooper


Joined: 21 May 2012
Location: Beirut,Lebanon

PostPosted: Wed Feb 13, 2013 2:44 pm    Post subject: Missing Names Reply with quote  Mark this post and the followings unread

Ok got it! thanks!

Last edited by tekka warrior on Wed Feb 13, 2013 2:54 pm; edited 1 time in total

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed Feb 13, 2013 2:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

tekka warrior wrote:
I tried but got no results.

Obviously not enough and not with a right test way.
No results=no tests or no observation.

I take the first key to test, which is SpotlightMovementRadius and plan to test extreme values of 0 and 2000 to see their effect. So for the first test i choose 0.

Oh, look! 0 was instantly the right value. SpotlightMovementRadius was the one i'm searching for. No further tests necessary.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [8 Posts] Mark the topic unread ::  View previous topic :: View next topic
:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.2587s ][ Queries: 11 (0.0118s) ][ Debug on ]