
| Forum: |
All Forums : Call of Duty 4 |
| Category: |
CoD4 MP Mapping CoD 4 mapping and level design for multiplayer.
|
| Moderators: |
foyleman, Foxhound, StrYdeR, techno2sl, batistablr, Welshy, Rasta, supersword, batistablr, playername, NovemberDobby |
|
|
| Author |
Topic: Aftermath Script_Origins? |
| Blade_MacTavish |
 |
General Member Since: Jun 7, 2009 Posts: 195 Last: Mar 13, 2010 [view latest posts] |
|
|
 |
|
Category: CoD4 MP Mapping Posted: Sunday, Feb. 7, 2010 12:24 pm |
 |
fx,weather/ash_turb_aftermath
fx,explosions/nuke_bg
fx,dust/fallout_aftermath
fx,dust/sand_aftermath
fx,dust/sand_rooftop_aftermath
fx,fire/fire_vhc_dl_aftermath
fx,dust/sand_spray_dtl_aftermath
fx,explosions/powerline_runner
fx,fire/firepatch_vhc_dl_aftermath
fx,smoke/thin_black_smoke_l_fast
fx,dust/building_collapse_aftermath_runner
Anyone know any script_origins for these? yes, I am obviously making an aftermath related map... |
 |
|
|
| Blade_MacTavish |
 |
General Member Since: Jun 7, 2009 Posts: 195 Last: Mar 13, 2010 [view latest posts] |
|
|
 |
|
|
| Blade_MacTavish |
 |
General Member Since: Jun 7, 2009 Posts: 195 Last: Mar 13, 2010 [view latest posts] |
|
|
 |
|
|
| vT-Ownage |
 |
General Member Since: May 28, 2007 Posts: 483 Last: Mar 17, 2010 [view latest posts] |
|
|
 |
|
|
| Blade_MacTavish |
 |
General Member Since: Jun 7, 2009 Posts: 195 Last: Mar 13, 2010 [view latest posts] |
|
|
 |
|
|
| vT-Ownage |
 |
General Member Since: May 28, 2007 Posts: 483 Last: Mar 17, 2010 [view latest posts] |
|
|
 |
|
Category: CoD4 MP Mapping Posted: Sunday, Feb. 7, 2010 02:02 pm |
 |
|
 |
|
|
| NovemberDobby |
 |
General Member Since: Sep 17, 2006 Posts: 1877 Last: Mar 9, 2010 [view latest posts] |
|
|
 |
|
|
|
|
Category: CoD4 MP Mapping Posted: Monday, Feb. 8, 2010 07:15 pm |
 |
To quickly add the sand_aftermath fx to your map.
1) In the folder \raw\maps\mp create a file called mp_yourmapname_fx.gsc
*Remember to change all mp_yourmapname references to your own and add your map coordinates*
Code: main()
{
precacheFX();
ambientFX();
}
precacheFX()
{
level._effect["sand_aftermath"] = loadfx( "dust/sand_aftermath" );
}
ambientFX()
{
maps\mp\_fx::loopfx("sand_aftermath", (x, y, z), 1);
/#
if ( getdvar( "clientSideEffects" ) != "1" )
maps\createfx\mp_yourmapname_fx::main();
#/
}
2) In the folder \raw\maps\createfx create a file called mp_yourmapname_fx.gsc
Code: //_createfx generated. Do not touch!!
main()
{
}
3) In \raw\maps\mp mp_yourmapname.gsc add the following
maps\createfx\mp_yourmapname_fx::main();
maps\mp\mp_yourmapname_fx::main();
before maps\mp\_load::main();
4) Add to your zone_source mp_yourmapname.csv
rawfile,maps/mp/mp_yourmapname_fx.gsc
rawfile,maps/createfx/mp_yourmapname_fx.gsc
fx,dust/sand_aftermath
5)Build your fast file
bcl8n
|
 |
|
|
|
|
|