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

Members Online

»
0 Active | 60 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
Page
Previous Page
subscribe
Author Topic: Rotating Fan with light effect in COD4
ti1t101
General Member
Since: Jan 20, 2008
Posts: 8
Last: Jan 21, 2008
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Monday, Jan. 21, 2008 03:17 am
Im sure this is a very n00by question but where did you get the icbm fan file from? In my misc_models folder i only have electronic cabinets, cage lamps and tables under icbm.

cheers
Share |
amishthunder
General Member
Since: Oct 24, 2004
Posts: 364
Last: Dec 23, 2008
[view latest posts]
Level 5
MODSCON
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Monday, Jan. 21, 2008 03:39 am
COD4/raw/xmodel/icbm_turbofan64

That is where I found it.
Share |
ti1t101
General Member
Since: Jan 20, 2008
Posts: 8
Last: Jan 21, 2008
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Monday, Jan. 21, 2008 04:07 am
Cheers got all that sorted. Only thing now is the script doesent seem to be working... when i load the game it stays static. my gsc file is:

Quote:

main()
{
maps\mp\_load::main();

ambientPlay("ambient_backlot_ext");

game["allies"] = "sas";
game["axis"] = "opfor";
game["attackers"] = "axis";
game["defenders"] = "allies";
game["allies_soldiertype"] = "woodland";
game["axis_soldiertype"] = "woodland";

setdvar( "r_specularcolorscale", "1" );

setdvar("r_glowbloomintensity0",".25");
setdvar("r_glowbloomintensity1",".25");
setdvar("r_glowskybleedintensity0",".3");
setdvar("compassmaxrange","1800");
}

fanSpin() {
fan1 = getEnt( "fan1" , "targetname" );
//fan2 = getEnt( "fan2" , "targetname" );

//Code by AmishThunder
// www.kramerartanddesign.com
while (1)
{
fan1 rotateyaw( 360, 5, 0, 0 );
//fan1 rotateyaw( degrees, time in seconds, 0, 0 );

//fan2 rotateyaw( 360, 5, 0, 0 );

wait 4.9;
}
}


Is there anything else i need to do when compileing the map? Or does the script only work in single player maps?
Share |
ti1t101
General Member
Since: Jan 20, 2008
Posts: 8
Last: Jan 21, 2008
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Monday, Jan. 21, 2008 04:27 am
Hate to do double post but for some reason when i click the edit button it says my 10 minutes of edit time has expired???

Ignore the previous post! Managed to get the fan to work! I managed to forget the "thread fanSpin();" part (can you tell im not a scripter?).

Quick question though. I have a hole in the center of my fan thats allowing light through (even though there is a texture there). Any ideas on how i could remove it?
Share |
Restricted Access Topic is Locked
Page
Previous Page
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

»