Art of War Central
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
The next MODSonair show will air LIVE on:
03/21/2010 12:03 EDT

Time remaining:
We Dontated to PixelEquity
"Mods can significantly outshine and/or continue the success of the original game even when it is dated." 1
 
Site News   |   Aggregated News   |   Forums   |   Tutorials   |   Downloads   |   Projects   |   Weblinks
Latest Forum Threads 
CoD4 MP Mapping.. Posts: (1) Views: (7) by Infern4ll
CoDWW MP Mapping.. Posts: (5) Views: (65) by [ZCT]CoDMapper
CoD4 MP Mapping.. Posts: (10) Views: (139) by [IBS]MattY
CoD4 General.. Posts: (91) Views: (115) by [IBS]MattY
General Gaming.. Posts: (2) Views: (38) by Rasta
CoD4 Map + Mod R.. Posts: (32) Views: (224) by sam_fisher3000
L4D2 Mapping.. Posts: (1) Views: (9) by Eladd
CoD4 MP Mapping.. Posts: (29) Views: (479) by {UST}Hogan
Back to Home Page
MODSCON 2010 L4D2 Contest
 
Forums
MODSonline.com 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, StrYdeR, techno2sl, batistablr, Welshy, Rasta, supersword, batistablr, playername, NovemberDobby
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access subscribe
Author Topic: Aftermath Script_Origins?
Blade_MacTavish
General Member
Since: Jun 7, 2009
Posts: 195
Last: Mar 13, 2010
[view latest posts]
Level 4
Im a fan of MODSonair
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]
Level 4
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Sunday, Feb. 7, 2010 12:27 pm
I mainly need this, though:

fx,explosions/nuke_bg
Blade_MacTavish
General Member
Since: Jun 7, 2009
Posts: 195
Last: Mar 13, 2010
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Sunday, Feb. 7, 2010 12:47 pm
or script_struct, whatever it was
vT-Ownage
General Member
Since: May 28, 2007
Posts: 483
Last: Mar 17, 2010
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Sunday, Feb. 7, 2010 12:49 pm
There isn't one for any of those, mainly because they are not widly used. Only once in the whole game. You will have to manuallly add these through scripts.
Blade_MacTavish
General Member
Since: Jun 7, 2009
Posts: 195
Last: Mar 13, 2010
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Sunday, Feb. 7, 2010 01:10 pm
Damn... and no one knows any scripts?
vT-Ownage
General Member
Since: May 28, 2007
Posts: 483
Last: Mar 17, 2010
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Sunday, Feb. 7, 2010 02:02 pm
http://modsonline.com/Tutorials-read-448.html?start=

That tutorial should help.
NovemberDobby
General Member
Since: Sep 17, 2006
Posts: 1877
Last: Mar 9, 2010
[view latest posts]
Level 8
Forum Moderator
Category: CoD4 MP Mapping
Posted: Sunday, Feb. 7, 2010 02:35 pm
You can add the fx to your maps but what you're looking for doesn't exist: there's no premade script or anything for it because it depends entirely on your map and where you want to put it. Have a look at Ownage's tut though, you'll figure it out.
bcl8n
General Member
Since: Jan 21, 2008
Posts: 43
Last: Feb 8, 2010
[view latest posts]
Level 2
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

Restricted Access Restricted Access subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP Mapping