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

Members Online

»
0 Active | 67 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 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: How to make a model not sit still...?
Blade_MacTavish
General Member
Since: Jun 7, 2009
Posts: 438
Last: Jul 8, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Sunday, Sep. 4, 2011 06:12 pm
Okay, I finally managed to get the trees to move. Rain falls, thunder and lightning cracks, things are on fire, but now I need to know how to make everything come to life... for example, com_ex_airconditioner. How do I make the middle blade inside the model spin? It's possible, I've seen it.
Share |
Mystic
General Member
Since: Apr 10, 2004
Posts: 6147
Last: Apr 15, 2018
[view latest posts]
Level 10
Forum Moderator
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Sunday, Sep. 4, 2011 09:15 pm
The blade would have most likely been a separate model, you wouldn't be able to make just the blade spin, if you tried the whole thing would rotate.
Share |
Blade_MacTavish
General Member
Since: Jun 7, 2009
Posts: 438
Last: Jul 8, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Sunday, Sep. 4, 2011 11:35 pm
Not possible. The blades are on the bare end of the model. There's no way to make your own with the textures without the model's blades showing through.
Share |
k6grimm
General Member
Since: Sep 5, 2011
Posts: 2
Last: Oct 24, 2011
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Monday, Sep. 5, 2011 11:23 am
Myself and Dtox managed to do it, but only with a custom ac unit model with seperate fan blade, I dont have all the files anymore. you can probably get a hold of him at teambumpinuglies.com
Share |
Blade_MacTavish
General Member
Since: Jun 7, 2009
Posts: 438
Last: Jul 8, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Monday, Sep. 5, 2011 12:21 pm
Well, I tried with a custom blade model myself but this script ignored the modelscale plus it's spinning the wrong way.

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 = 10;
if (!isdefined(self.script_noteworthy))
self.script_noteworthy = "z";

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


Share |
dtox
General Member
Since: Jul 14, 2010
Posts: 1
Last: Sep 5, 2011
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Monday, Sep. 5, 2011 02:47 pm
Grimm and I did this for our map Rundown

http://www.xfire.com/video/4d3ddc/

to make the fan spin:

main()

{
thread acspin();
}

acspin()
{
acfan = getentarray("acfan", "targetname");
for(i = 0; i < acfan.size; i++)
acfan thread fanrotate(0.4);
}
fanrotate(speed)
{
if (!isdefined(self.script_noteworthy))
self.script_noteworthy = "x";
while(1)
{
if (self.script_noteworthy == "x")
self rotatepitch(360,speed);
wait(speed - 0.1);
}
}



But it sounds like you may have a model issues as well.
Share |
Blade_MacTavish
General Member
Since: Jun 7, 2009
Posts: 438
Last: Jul 8, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Monday, Sep. 5, 2011 03:26 pm
What exactly do I do?
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Tuesday, Sep. 6, 2011 01:19 pm
A spinning fan could also be done via fx, although that method would still require a model without fan.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP 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

»