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 May 26, 2026 3:11 am
All times are UTC + 0
Light tower with light rotating 360 degrees?
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [14 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
TheUltimateEnd
Medic


Joined: 16 Jan 2004
Location: Gotham

PostPosted: Fri Jan 16, 2004 6:13 am    Post subject:  Light tower with light rotating 360 degrees? Reply with quote  Mark this post and the followings unread

I'd like to have a light tower thats beam goes all the way around it

or teach me how to make 4 different ones with each facing a different direction (IE N E S W)

Please, and keep in mind...I'm very modding retarted. I've only made a few units.

= Tue =

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account AIM Address
Kravvitz
Commander


Joined: 25 Mar 2003
Location: USA

PostPosted: Fri Jan 16, 2004 6:30 am    Post subject: Reply with quote  Mark this post and the followings unread

Welcome to Project Perfect Mod Forums. Smile

Try different values for these.

Quote:
; Some spotlight controls
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


The building needs "HasSpotlight=true".

_________________
Check out my FAQ and Modding Info Page.
Community Links Page
http://www.dynamicsitesolutions.com/

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account AIM Address
TheUltimateEnd
Medic


Joined: 16 Jan 2004
Location: Gotham

PostPosted: Fri Jan 16, 2004 6:34 am    Post subject: Reply with quote  Mark this post and the followings unread

Yeah I messed with those, and I can't figger it out, maybe I'm missing something simple. The building I'm using is the light tower they already have in the rules.ini

= Tue =

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account AIM Address
The DvD
TiberiumWeb.com Webmaster


Joined: 30 Dec 2002
Location: Netherlands

PostPosted: Sat Jan 17, 2004 4:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

The spotlight mode can only be set in preplaced buildings in maps.

Of you just make the light tower buildable for skirmish, it will always use use values Kravvitz told you about. try changing the arc value

Back to top
View user's profile Send private message Visit poster's website Skype Account
TheUltimateEnd
Medic


Joined: 16 Jan 2004
Location: Gotham

PostPosted: Sun Jan 18, 2004 6:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

Aw...that's one of the saddest things I've heard all day...oh well. I'll keep trying......

= Tue =

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account AIM Address
John Galt
Commander


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Mon Jan 19, 2004 5:47 am    Post subject: Reply with quote  Mark this post and the followings unread

Set SpotlightAngle= to something over 6.28 (2*pi)... or set it to 100000 and it'll spin like crazy.

Back to top
View user's profile Send private message Visit poster's website Skype Account
TheUltimateEnd
Medic


Joined: 16 Jan 2004
Location: Gotham

PostPosted: Wed Jan 21, 2004 12:26 am    Post subject: Reply with quote  Mark this post and the followings unread

Oh I think the dvd didn't understand me. I know already how to make it buildable, I was wondering if there is a way to change those stats kravitz spoke of to make it 360 degrees. If so I might have a need little mod to show people, It's definately novice, but the best I've ever done Smile.

= Tue =

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account AIM Address
The DvD
TiberiumWeb.com Webmaster


Joined: 30 Dec 2002
Location: Netherlands

PostPosted: Wed Jan 21, 2004 9:34 am    Post subject: Reply with quote  Mark this post and the followings unread

I did understand you.. the point is that if you make the light tower buildable in skirmish, it will always use the spotlight settings in rules.ini, while preplaced light towers in maps offer additional options.

Back to top
View user's profile Send private message Visit poster's website Skype Account
TheUltimateEnd
Medic


Joined: 16 Jan 2004
Location: Gotham

PostPosted: Thu Jan 22, 2004 1:31 am    Post subject: Reply with quote  Mark this post and the followings unread

Oh! Ok.

Well I use the same maps anyways, So I'll just make the towers pre placed #Tongue.

- Tue =

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account AIM Address
pft1086
Light Infantry


Joined: 04 Dec 2003

PostPosted: Thu Jan 22, 2004 3:49 am    Post subject: Reply with quote  Mark this post and the followings unread

Don't do that, just do what Nobody said. Then if you just happen to play a different map you'll be set.

Back to top
View user's profile Send private message
TheUltimateEnd
Medic


Joined: 16 Jan 2004
Location: Gotham

PostPosted: Thu Jan 22, 2004 9:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

I got a semi circle going on (It does 360 but it stops and goes back :'(...CLOSE ENOUGH THOUGH Smile ).

BUT when it goes on the backside there are these black lines instead of the light? Anyone know what I'm talking about? Any way I could fix that? It's no big deal, I was just curious. Since I'll be using these on nearly pitch black maps I guess the lines don't really matter.

Also any way to make the circle only be like 1 or 2 tanks length from the tower as it rotates, actually 3 tanks length sounds perfect Smile.

Thank you in advance for any help

-= Tue =-

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account AIM Address
Kravvitz
Commander


Joined: 25 Mar 2003
Location: USA

PostPosted: Fri Jan 23, 2004 12:53 am    Post subject: Reply with quote  Mark this post and the followings unread

I think you would change SpotlightLocationRadius= for that.

_________________
Check out my FAQ and Modding Info Page.
Community Links Page
http://www.dynamicsitesolutions.com/

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account AIM Address
pft1086
Light Infantry


Joined: 04 Dec 2003

PostPosted: Fri Jan 23, 2004 1:36 am    Post subject: Reply with quote  Mark this post and the followings unread

I think I know what you mean by the black lines. Try changing the SpotlightMovementRadius= to 0.

Back to top
View user's profile Send private message
Xion999
Medic


Joined: 25 Feb 2004

PostPosted: Sun Feb 29, 2004 3:48 am    Post subject: Reply with quote  Mark this post and the followings unread

TheUltimateEnd wrote:
I got a semi circle going on (It does 360 but it stops and goes back :'(...CLOSE ENOUGH THOUGH Smile ).

BUT when it goes on the backside there are these black lines instead of the light? Anyone know what I'm talking about? Any way I could fix that? It's no big deal, I was just curious. Since I'll be using these on nearly pitch black maps I guess the lines don't really matter.

Also any way to make the circle only be like 1 or 2 tanks length from the tower as it rotates, actually 3 tanks length sounds perfect Smile.

Thank you in advance for any help

-= Tue =-


pffftt.....screw that

use these values...it will go in a full 360 degrees

SpotlightSpeed=.015 ; speed in radians
SpotlightMovementRadius=0 ; offset of center of arc sweep
SpotlightLocationRadius=1000 ; offset from building
SpotlightAcceleration=.0025 ; acceleration in radians
SpotlightAngle=360

u might want to increase the speed though cause its a little slow otherwise
Enjoy!

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [14 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.1984s ][ Queries: 11 (0.0076s) ][ Debug on ]