Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial Proper FX,sound,fog,ambient editing and spawning
#1
Rainbow 
Hello, OMA

This is a tutorial about spawning FXs, sounds and fog on maps as a OMA(pro) . To do this, we arent going to modify common gsc files, we are going to use the gsc files that are located in createfx and createart folders.

In createfx you will find files named as: mp_abandon_fx.gsc, mp_invasion_fx.gsc........ Inside them you will see things like this to spawn sounds, these sounds are the ones you hear when you move in maps, like wind sounds, insect sounds....Loop sounds are spawned like this:

Code:
ent = createLoopSound();
ent.v[ "origin" ] = (origin);
ent.v[ "angles" ] = (angles);
ent.v[ "soundalias" ] = "sound";

Lets put an example(will play that sound in the positionSad1000,300,-50) with the anglesSad0,0,0)):

Code:
ent = createLoopSound();
ent.v[ "origin" ] = (1000,300,-50);
ent.v[ "angles" ] = (0,0,0);
ent.v[ "soundalias" ] = "foly_onemanarmy_bag6_plr";

Now to spawn FXs(go to the bottom of the file), this is the way they are spawned:

Code:
ent = createOneshotEffect("name");
ent.v[ "origin" ] = (origin);
ent.v[ "angles" ] = (angles);
ent.v[ "fxid" ] = "name";
ent.v[ "delay" ] = -15;

The name you put after createOneshotEffect has to be the same you put on ent.v["fxid"], this post will help you on finding the different effects for each map:

http://www.itsmods.com/forum/Thread-FX-List.html

Imagine you want to spawn the FX: level._effect[ "dust_cloud_mp_afghan" ] , what you have to write in name is: dust_cloud_mp_afghan, forget about the level._effect and all those things, just use the name. An example using it:

Code:
ent = createOneshotEffect( "dust_cloud_mp_afghan" );
ent.v[ "origin" ] = (-2000,3000,160);
ent.v[ "angles" ] = (60,0,45);
ent.v[ "fxid" ] = "dust_cloud_mp_afghan";
ent.v[ "delay" ] = -15;

Ok, thats all about FXs and Sounds, lets touch the ambient, is like a general sound used in map, for modifying that properly, youll have to edit the mp_mapname.gsc file, lets see the example of mp_rust.gsc, you will see this line:

Code:
ambientPlay( "ambient_mp_duststorm" );

You can change it to any sound, I recomend taking ambients from other maps instead using short sounds, but anyway, put whatever you want. In mp_rust.gsc you can also see:

Code:
thread killTrigger( (1080, 1645, -156 - 30), 40, 30 );

I did a tutorial about how does this work here, you can add more in the file instead of adding them in the mapedit as I show in the tutorial:

http://www.itsmods.com/forum/Thread-Killtriggers.html

You can see some other stuff such as dvars and more, but I wont say anything about that because is not very important, now lets edit fog in a proper way, go into createart folder, get into any map: mp_mapname_art.gsc file and see inside, you will see the command SetExpFog and many numbers, I also did a tutorial about all the different parametres it has and its meaning, you can find it here, it will help you on modifying the fog:

http://www.itsmods.com/forum/Thread-Set-...l-Fog.html

Now, check the attachment, I put there a small raw with createart, createfx and some other map files. Nyan Cat Enjoy

Virusscan: http://www.virustotal.com/file-scan/repo...1318084475


.rar   maps.rar (Size: 130.46 KB / Downloads: 29)
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Spawning carepackage helicopter -- DidUknowiPwn 4 4,048 11-08-2013, 08:18
Last Post: DidUknowiPwn
  Spawning Solid Models akillj 5 4,399 09-08-2013, 00:07
Last Post: akillj
  Chicken spawning possible? akillj 8 4,935 09-07-2013, 06:22
Last Post: ScHmIdTy56789
Music [Release] [C#] [LIBRARY] SABSFile library (open sound files) JariZ 31 19,912 07-07-2013, 17:20
Last Post: Red-EyeX32
Music unlimited breath scope+sound when walking aim LE3* 0 2,136 04-21-2013, 08:42
Last Post: LE3*
  [Request] need help with some mod editing aagje323 0 1,740 03-07-2013, 18:02
Last Post: aagje323
  Black Ops II Sound Stuffs master131 1 5,445 01-18-2013, 20:30
Last Post: Pepper26
  [Request] exporting sound inside black ops tomglazer 2 3,620 12-10-2012, 23:30
Last Post: tomglazer
  [Request] ForgeMOD - Spawning Crates (MW3) Destroyer1834 8 5,967 11-23-2012, 14:56
Last Post: 99IRock
  Help i have sound file for blac ops pap12322221112 2 2,449 10-22-2012, 08:08
Last Post: d0h!

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.