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

Members Online

»
0 Active | 8 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 2
Category: CoD2 MP Mapping
CoD 2 mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Smoke, fire question etc..
robbie204
General Member
Since: Oct 2, 2004
Posts: 131
Last: Jun 16, 2007
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Tuesday, May. 30, 2006 04:07 am
Hey guys, i looked around and couldent find what i was looking for.

Okk here it is.

Now in the raident do i have to add an script_orgin? or is it something elnce under all thoes? to place that smoke in the certain area? and what would i typ in the Entity box?
Key&value?

I get the part with the mp_yourmap_FX part but i sat and trying diffrent things to get them to work but just cant get it lol. And it takes me 2 1/2 hours to compile my map so i want to get it right

[biggrin]

Cheers guys, thanks in advanced!
Share |
veef
General Member
Since: Apr 25, 2006
Posts: 1258
Last: Aug 29, 2006
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Tuesday, May. 30, 2006 08:55 am
Effects like smoke,fire,dust,snow...etc are done in the mp_yourmapname_fx. gsc not in the editor ( well could be done in the editor but easier in the .gsc). I'm not sure if there is a list of effects done for cod2 yet so you may have to look in the .iwd's. Here is an example( of course you would need to change the coordinates to match where you want them in your map.
Code:
main()
{
precacheFX();
ambientFX();
level.scr_sound["flak88_explode"] = "flak88_explode"; // needed for sd
}

precacheFX()
{
level._effect["flak_explosion"] = loadfx ("fx/explosions/flak88_explosion.efx"); //needed for sd

level._effect["building_fire_med"] = loadfx ("fx/fire/building_fire_med.efx");

level._effect["thin_light_smoke_L"] = loadfx ("fx/smoke/thin_light_smoke_L.efx");

}

ambientFX()
{
//Fire FX
maps\mp\_fx::loopfx("building_fire_med", (114.0, 3774.0, 1330.0), 2);

//Smoke FX
maps\mp\_fx::loopfx("thin_light_smoke_L", (114.0, 3774.0, 1395.0), 0.6); 

//Sound FX
maps\mp\_fx::soundfx("medfire", (114,3774,1330));

}


edited on May. 30, 2006 05:07 am by veef
Share |
robbie204
General Member
Since: Oct 2, 2004
Posts: 131
Last: Jun 16, 2007
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Wednesday, May. 31, 2006 01:30 am
ok thanks dude[exclamation]
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 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

»