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

Members Online

»
0 Active | 93 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

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: I need help with rotating wheel..
locz
General Member
Since: Feb 4, 2004
Posts: 105
Last: Jul 7, 2006
[view latest posts]
Level 4
Category: CoDUO Mapping
Posted: Friday, Jan. 14, 2005 10:08 pm
hello all again..lol, ok here it is. I followed the video tutoral Wind to apply a rotating wheel in my map.. the rotating works great but the problem is that the whole wheel is at another location of the map.

I used orgin brush and higlilighted everything that is contected to it that will rotate with it. Again rotation is good but its at a different location.

help me

Thanks
Share |
locz
General Member
Since: Feb 4, 2004
Posts: 105
Last: Jul 7, 2006
[view latest posts]
Level 4
Category: CoDUO Mapping
Posted: Saturday, Jan. 15, 2005 02:28 am
anyone?
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11672
Last: Apr 20, 2024
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoDUO Mapping
Posted: Saturday, Jan. 15, 2005 02:44 am
Try this script:
Code:

/*
rotate object script by Roger Abrahamsson

Make object into a script_brushmodel and give it targetname rotate

Key speed sets seconds per revolution.
Key script_noteworthy takes y, x or z and rotates around that axis.

*/


main()
{
rotate_obj = getentarray("rotate","targetname");
if(isdefined(rotate_obj))
{
for(i=0;i
{
rotate_obj thread ra_rotate();
}
}
}

ra_rotate()
{
if (!isdefined(self.speed) || self.speed == 0)
self.speed = 5;
if (!isdefined(self.script_noteworthy))
self.script_noteworthy = "y";

while(true)
{
// rotateYaw(float rot, float time, , );
if (self.script_noteworthy == "y")
self rotateYaw(360,self.speed);
else if (self.script_noteworthy == "x")
self rotateRoll(360,self.speed);
else if (self.script_noteworthy == "z")
self rotatePitch(360,self.speed);
wait ((self.speed)-0.1); // removes the slight hesitation that waittill("rotatedone"); gives.
}
}


it is from stanjel [angryalien]
Share |
dBKapsel
General Member
Since: Apr 12, 2004
Posts: 158
Last: Feb 24, 2005
[view latest posts]
Level 4
Category: CoDUO Mapping
Posted: Saturday, Jan. 15, 2005 09:51 pm
and if you try some things out you can make really funny things, like these: members.lycos.nl/dbkapsel/movies/
it's on a site with a lot of advertising, I know, but it is free [biggrin]
Share |
locz
General Member
Since: Feb 4, 2004
Posts: 105
Last: Jul 7, 2006
[view latest posts]
Level 4
Category: CoDUO Mapping
Posted: Sunday, Jan. 16, 2005 01:17 am
thanks..ill give it a try.
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

»