| Author |
Topic: Luramaegan Tutorial |
| WHC_Grassy |
General Member Since: Apr 20, 2005 Posts: 1426 Last: Aug 25, 2007 [view latest posts] |
|
|
|
Category: CoDUO Mapping Posted: Monday, Jul. 3, 2006 03:14 am |
 |
Hmmm should still work ok, the only think I notice is your levels are lower than the ones I used in Muntions_Factory.
You have lower min levels and smaller min distance. Try these and see if it's any better.
barrel_exp,,explosions/grenade_explo01.wav,0.8,2,,,800,5200,auto,,,,,,
barrel_fall,,whizbys/whizby15.wav,0.8,2,0.5,0.8,800,2200,auto,,,,,,
barrel_hit,,bodyfalls/bodyfall_metal01.wav,0.8,2,,,800,2000,auto,,,,,,
|
 |
|
|
| ThE_TeMpLaR |
 |
General Member Since: May 5, 2006 Posts: 202 Last: Mar 16, 2007 [view latest posts] |
|
|
|
|
| ThE_TeMpLaR |
 |
General Member Since: May 5, 2006 Posts: 202 Last: Mar 16, 2007 [view latest posts] |
|
|
|
Category: CoDUO Mapping Posted: Saturday, Jul. 8, 2006 01:51 pm |
 |
Ok here goes the fx.gsc
main()
{
level thread precacheFX();
level thread spawnWorldFX();
}
precacheFX()
{
level._effect["flame_med_ground"] = loadfx ("fx/fire/building_fire_small.efx");
level._effect["flame_tank"] = loadfx ("fx/fire/crusader_fire_turret_large.efx");
//level._effect["thin_light_smoke_S"] = loadfx ("fx/smoke/thin_light_smoke_S.efx");
level._effect["lantern_light"] = loadfx ("fx/props/glow_latern.efx");
}
spawnWorldFX()
{
//fire
maps\mp\_fx::loopfx("flame_med_ground", (-1704, 592, 1), 0.1);
maps\mp\_fx::loopfx("flame_med_ground", (-1760, 582, 6), 0.1);
maps\mp\_fx::loopfx("flame_med_ground", (-1816, 592, 4), 0.1);
maps\mp\_fx::loopfx("flame_med_ground", (-1872, 582, 8), 0.1);
maps\mp\_fx::loopfx("flame_med_ground", ( 2104, 392, 440), 0.1);
maps\mp\_fx::loopfx("flame_tank", (-1536, 520, 80), 0.1);
//smoke
//maps\mp\_fx::loopfx("thin_light_smoke_S", (-1704, 592, 46), 0.6);
//maps\mp\_fx::loopfx("thin_light_smoke_S", (-1760, 582, 46), 0.6);
//maps\mp\_fx::loopfx("thin_light_smoke_S", (-1816, 592, 46), 0.6);
//maps\mp\_fx::loopfx("thin_light_smoke_S", (-1872, 582, 46), 0.6);
//maps\mp\_fx::loopfx("thin_light_smoke_S", ( 2104, 392, 480), 0.6);
}
Now can someone tell me what is wrong about the sounds?? Why can't they play correctly? |
 |
|
|
| WHC_Grassy |
General Member Since: Apr 20, 2005 Posts: 1426 Last: Aug 25, 2007 [view latest posts] |
|
|
|
Category: CoDUO Mapping Posted: Sunday, Jul. 9, 2006 02:27 am |
 |
Using "thread" starts a new thread the goes to the next line imediately and executes that line. In this case you want to define and precache the fx files you need to use first.
call the new thread by using it's name only, this will make the script load and wait for that thread to complete before going onto the next line in the script, like so ..........
Quote: main()
{
precacheFX(); //script waits here until this thread is done with
thread spawnWorldFX();
}
precacheFX()
{
level._effect["flame_med_ground"] = loadfx ("fx/fire/building_fire_small.efx");
level._effect["flame_tank"] = loadfx ("fx/fire/crusader_fire_turret_large.efx");
//level._effect["thin_light_smoke_S"] = loadfx ("fx/smoke/thin_light_smoke_S.efx");
level._effect["lantern_light"] = loadfx ("fx/props/glow_latern.efx");
}
spawnWorldFX()
{
//fire
maps\mp\_fx::loopfx("flame_med_ground", (-1704, 592, 1), 0.1);
maps\mp\_fx::loopfx("flame_med_ground", (-1760, 582, 6), 0.1);
maps\mp\_fx::loopfx("flame_med_ground", (-1816, 592, 4), 0.1);
maps\mp\_fx::loopfx("flame_med_ground", (-1872, 582, 8), 0.1);
maps\mp\_fx::loopfx("flame_med_ground", ( 2104, 392, 440), 0.1);
maps\mp\_fx::loopfx("flame_tank", (-1536, 520, 80), 0.1);
//smoke
//maps\mp\_fx::loopfx("thin_light_smoke_S", (-1704, 592, 46), 0.6);
//maps\mp\_fx::loopfx("thin_light_smoke_S", (-1760, 582, 46), 0.6);
//maps\mp\_fx::loopfx("thin_light_smoke_S", (-1816, 592, 46), 0.6);
//maps\mp\_fx::loopfx("thin_light_smoke_S", (-1872, 582, 46), 0.6);
//maps\mp\_fx::loopfx("thin_light_smoke_S", ( 2104, 392, 480), 0.6);
}
Grassy
As for your sounds, remove any custom weapon or other mods from your game dir and see if your sounds work.
|
 |
|
|
| ThE_TeMpLaR |
 |
General Member Since: May 5, 2006 Posts: 202 Last: Mar 16, 2007 [view latest posts] |
|
|
|
|
| bubbazan68 |
General Member Since: May 24, 2010 Posts: 62 Last: Oct 3, 2016 [view latest posts] |
|
|
|
|
| Mystic |
 |
General Member Since: Apr 10, 2004 Posts: 6147 Last: Apr 15, 2018 [view latest posts] |
|
|
 |
 |
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|