| Author |
Topic: fx problem |
| Hercules |
 |
General Member Since: Jan 23, 2005 Posts: 775 Last: Apr 26, 2011 [view latest posts] |
|
|
 |
|
|
| Hercules |
 |
General Member Since: Jan 23, 2005 Posts: 775 Last: Apr 26, 2011 [view latest posts] |
|
|
 |
|
Category: CoD Mapping Posted: Saturday, Feb. 12, 2005 07:55 pm |
 |
|
 |
|
|
| Mystic |
 |
General Member Since: Apr 10, 2004 Posts: 6147 Last: Apr 15, 2018 [view latest posts] |
|
|
 |
 |
|
|
| Hercules |
 |
General Member Since: Jan 23, 2005 Posts: 775 Last: Apr 26, 2011 [view latest posts] |
|
|
 |
|
|
| Hercules |
 |
General Member Since: Jan 23, 2005 Posts: 775 Last: Apr 26, 2011 [view latest posts] |
|
|
 |
|
Category: CoD Mapping Posted: Saturday, Feb. 12, 2005 08:01 pm |
 |
my maps called Pitch Black its a good map only started this morning my camp fire works perfectly but no glow ![[cry]](images/BBCode/smilies/cry.gif) but i want stukas flying through my map so it looks like neuville or some good maps like that ...my dad runs a server |>MYTHICALS<| he has got a couple of mods on there cool ones he has stukas flying in and out of each map but its just a mod so if you can help me it would be helpful
Thanks !
|>MYTHICALS<|--Hercules-- |
 |
|
|
| Mystic |
 |
General Member Since: Apr 10, 2004 Posts: 6147 Last: Apr 15, 2018 [view latest posts] |
|
|
 |
 |
|
|
| Hercules |
 |
General Member Since: Jan 23, 2005 Posts: 775 Last: Apr 26, 2011 [view latest posts] |
|
|
 |
|
|
| Mystic |
 |
General Member Since: Apr 10, 2004 Posts: 6147 Last: Apr 15, 2018 [view latest posts] |
|
|
 |
 |
|
Category: CoD Mapping Posted: Saturday, Feb. 12, 2005 08:50 pm |
 |
ok make a new .gsc and put this script in it
Code:
|
main()
{
level thread planes();
}
planes()
{
level.PlaneSpeed = 3.5;
stuka1 = getent ("stuka1","targetname");
stuka2 = getent ("stuka2","targetname");
stuka3 = getent ("stuka3","targetname");
temp = getent (stuka1.target,"targetname");
stuka1.dest = temp.origin;
stuka1.start = stuka1.origin;
stuka1 hide();
temp = getent (stuka2.target,"targetname");
stuka2.dest = temp.origin;
stuka2.start = stuka2.origin;
stuka2 hide();
temp = getent (stuka3.target,"targetname");
stuka3.dest = temp.origin;
stuka3.start = stuka3.origin;
stuka3 hide();
wait 2;
while (1)
{
stuka1 thread plane_flyby("stuka_flyby");
wait .15;
stuka2 thread plane_flyby("stuka_flyby");
wait .15;
stuka3 thread plane_flyby("stuka_flyby");
wait 100;
}
}
plane_flyby(sound)
{
if (isdefined (sound))
self playsound (sound);
wait 15;
self show();
self moveto(self.dest, level.PlaneSpeed, 0.1, 0.1);
wait level.PlaneSpeed;
self hide();
self.origin = self.start;
}
|
|
call it stuka.gsc. Right! now in yourmap.gsc add
Code:
| maps\mp\stuka::main(); |
|
in your .csv add
Code:
| stuka_flyby,,vehicles/stuka_by02.wav,1.25,,,,100000,,,,,,,,
|
|
thats it for the stuka scripting!
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
now for the fire just add this anywhere in yourmap.gsc
Code:
| level._effect["fire"] = loadfx ("fx/fire/tinybon.efx");
maps\mp\_fx::loopfx("fire", (x, y, z), 0.6);
level._effect["smoke"] = loadfx("fx/smoke/ash_smoke.efx");
maps\mp\_fx::loopfx("smoke", (x, y, z), 0.7);
|
|
I have made this a simple as possible and ive already said it all in this thread once, just look back at the thread if you get stuck on anything
good luck
|
 |
|
|
| Hercules |
 |
General Member Since: Jan 23, 2005 Posts: 775 Last: Apr 26, 2011 [view latest posts] |
|
|
 |
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|