Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 7 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

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
Category: CoD Mapping
CoD mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Script for Stuka that flies into a tree and explodes (?)
LennardN95
General Member
Since: Sep 9, 2009
Posts: 35
Last: Oct 26, 2009
[view latest posts]
Level 2
Category: CoD Mapping
Posted: Sunday, Oct. 18, 2009 02:59 pm
I wanna make a script, which flies a Stuka into a tree and explodes with a big boom and a lot of smoke after the crash, now I already got the Stuka flying into the tree, but how can i make a explosion in the tree at the time that it flies into it?

Here's my script for the Stuka ( I used the tutorial )

Quote:
main()
{

level thread planes();
}

planes()
{
level.PlaneSpeed = 1.5;

stuka1 = getent ("stuka1","targetname");

temp = getent (stuka1.target,"targetname");
stuka1.dest = temp.origin;
stuka1.start = stuka1.origin;
stuka1 hide();

wait 2;

while (1)
{
stuka1 thread plane_flyby("stuka_flyby");
wait .15;

wait 60;
}
}


plane_flyby(sound)
{
// If you specified a sound to play then play it
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;
}


Now there is also a diff weird thing, I didnt fill in any sounds, but I do hear one? Not that it's not good, it's actually perfect, but I don't know how I did it.

Thx for the help
Share |
LennardN95
General Member
Since: Sep 9, 2009
Posts: 35
Last: Oct 26, 2009
[view latest posts]
Level 2
Category: CoD Mapping
Posted: Sunday, Oct. 18, 2009 04:21 pm
So basically all I want is a script that causes an explosion after the impact of the plane, a little bit easier explained.
Share |
AndrewT
General Member
Since: Feb 28, 2005
Posts: 58
Last: Oct 27, 2017
[view latest posts]
Level 3
Category: CoD Mapping
Posted: Sunday, Oct. 25, 2009 10:18 pm
i know it's a bit off, and i'm sorry i can't answer your questionn, but can you create killable stukas for mp?
for example with flakvierling, flak88, or even with mg42?
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoD Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»