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

Members Online

»
0 Active | 54 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 2
Category: CoD2 General
General game questions, comments, and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Rotating Texture on a Map
Ploxxy
General Member
Since: May 1, 2009
Posts: 170
Last: Aug 31, 2011
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD2 General
Posted: Sunday, Aug. 22, 2010 03:12 am
Ok. I made a texture on my map but im trying to figure out how to make it spin. as in like a roticery or something. but idk..

i tried

rotatathon rotationz (270,7,2.4,2.4);

and

rotatathon rotatez (270,7,2.4,2.4);

but the script seems to not work...

someone please help me...
Share |
_INSANE_
General Member
Since: Nov 7, 2008
Posts: 352
Last: Jul 10, 2011
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 General
Posted: Sunday, Aug. 22, 2010 03:18 am
rotateYaw
Share |
Ploxxy
General Member
Since: May 1, 2009
Posts: 170
Last: Aug 31, 2011
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD2 General
Posted: Sunday, Aug. 22, 2010 03:46 am
Thanks but that rotates it sideways. i just want it to stay still and spin :). Thanks tho :D. Got any more sudjestions?
Share |
tHMatt
General Member
Since: Sep 11, 2007
Posts: 473
Last: Mar 20, 2013
[view latest posts]
Level 5
Category: CoD2 General
Posted: Sunday, Aug. 22, 2010 04:49 am
rotatePitch
Share |
Ploxxy
General Member
Since: May 1, 2009
Posts: 170
Last: Aug 31, 2011
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD2 General
Posted: Sunday, Aug. 22, 2010 04:54 am
Ok i tried that. still didnt work :(
<- is sad
Share |
_INSANE_
General Member
Since: Nov 7, 2008
Posts: 352
Last: Jul 10, 2011
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 General
Posted: Sunday, Aug. 22, 2010 05:01 am
rotateRoll
Share |
Ploxxy
General Member
Since: May 1, 2009
Posts: 170
Last: Aug 31, 2011
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD2 General
Posted: Sunday, Aug. 22, 2010 05:17 am
Ok just to point this out

My Cords are

Z: 270.0

My code is

rotateIT()
{
rotateIT=getent("rotateIT","targetname");
trig=getent("trig_rotateIT","targetname");
while(1)
{
trig waittill ("trigger");
rotateIT rotatePitch (270,7,2.4,2.4);
}
}

The problem is..i tried

rotatePitch
rotateYaw
rotateRoll
rotate...something with a V and they all do not work. Like i just want it to spin. Unfortunently i HAD a friend that could help me with this but unfortunently he hasnt been online for awhile.
Share |
tHMatt
General Member
Since: Sep 11, 2007
Posts: 473
Last: Mar 20, 2013
[view latest posts]
Level 5
Category: CoD2 General
Posted: Sunday, Aug. 22, 2010 06:50 am
You havent given it an "Origin" texture have you.... so the brush doesnt know what to "spin" around.... *Facepalm*
Share |
cskiller86
General Member
Since: Nov 23, 2009
Posts: 528
Last: Oct 25, 2011
[view latest posts]
Level 6
Category: CoD2 General
Posted: Sunday, Aug. 22, 2010 09:16 am
Matty is right.

I suppose the "texture" you're talking about is a brush actually. And you transformed it into a script_brushmodel.
If that's the case, you'll have to Ungroup the entity. Then create a thin brush, that has approximately the same height as the rotating brush and place it in the middle of it. Texture this brush with the origin texture.
Next, select both brushes and transform them to a script_brushmodel.

If you want this brush to rotate on the Z axis (e.g. like a door), then the command is rotatePitch();
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 General

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

»