Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 20 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty
Category: CoDUO Mapping
CoD United Offensive mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Rotating script
adushi
General Member
Since: Apr 29, 2005
Posts: 39
Last: Aug 16, 2006
[view latest posts]
Level 2
Category: CoDUO Mapping
Posted: Tuesday, May. 24, 2005 12:46 pm
Hello @ll

Sins this is my first post
Let me thank the two guys "Wyatt_Earp and jdawgg" that have made the video tutorials, without them i really would have given up on the hole map-making.
And ofcours all the rest that have been working on the (writen)tutorials, have learnd a lot from them too.

Now to my questions
1) i am looking for a rotating script that will make a singel item(brush) to rotate.
i self am working on a antena that will rotate 360 non stop, have created the antena enc but now i am searching for smth that will make it rotate.
Haven't found it yet nor on the tut section or the forum.
2) For smth similair i am looking for a script that will make the antena rotate just 120 and stop(for x sec) and then rotate 120 (stop again for x sec) and rotate the last 120 then stop(for x sec). And then the cikel continues from the start.

Any and all help will be great!

edited on May. 24, 2005 07:47 am by adushi
Share |
Team.ea|Rifleman
General Member
Since: Jan 15, 2005
Posts: 130
Last: Dec 11, 2005
[view latest posts]
Level 4
Category: CoDUO Mapping
Posted: Tuesday, May. 24, 2005 05:24 pm
what is a smth[confused]???????
Share |
R4R44VIS
General Member
Since: Apr 22, 2005
Posts: 553
Last: Jul 24, 2008
[view latest posts]
Level 6
Category: CoDUO Mapping
Posted: Tuesday, May. 24, 2005 05:27 pm
smth=something
Share |
SNGF|Blizzard
General Member
Since: Mar 28, 2004
Posts: 154
Last: Jul 24, 2005
[view latest posts]
Level 4
Category: CoDUO Mapping
Posted: Tuesday, May. 24, 2005 09:19 pm
Code:
main() 
{
	thread rotate();
}

rotate() 
{
rotatingthing = getent ("rotatingthingname", "targetname");
rotatingthing rotateroll (-120, 3.5, 0.5, 1);
wait(5);
rotatingthing rotateroll (-120, 3.5, 0.5, 1);
wait(5);
thread rotate

}


Makes the radar rotate 120 in 3.5 sec and wait 1.5 sec to rotate back.

Code:
main() 
{
	thread rotate();
}

rotate() 
{
rotatingthing = getent ("rotatingthingname", "targetname");
rotatingthing rotateroll (360, 5, 0, 0);
wait(5);
thread rotate

}


Rotate non stop.

Can be there a some errors in the code, it's late.
Share |
adushi
General Member
Since: Apr 29, 2005
Posts: 39
Last: Aug 16, 2006
[view latest posts]
Level 2
Category: CoDUO Mapping
Posted: Tuesday, May. 24, 2005 10:31 pm
Great help SNGF|Blizzard [thumbs_up]
Thank you a lot

I know its late, have to check it out first thing in the morning
Thanks again
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoDUO Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»