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

Members Online

»
0 Active | 100 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

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: World at War
Category: CoDWW MP Mapping
CoD: World at War Multiplayer mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: how dow you add planes?
COLMAC
General Member
Since: Sep 15, 2006
Posts: 914
Last: Jan 27, 2012
[view latest posts]
Level 7
Category: CoDWW MP Mapping
Posted: Friday, Mar. 25, 2011 02:55 pm
i have tryed the older version planes gsc , and it just errors instead is there anyone that can help , its caen france map have most fx working good, but need bombers flying over at high alt, also
would be nice to have a stuka scream over 5 minutes in to the map fallowed by 2 us planes(corsair, spitefire, just 1 time event

thanks for any help[smokin]
Share |
COLMAC
General Member
Since: Sep 15, 2006
Posts: 914
Last: Jan 27, 2012
[view latest posts]
Level 7
Category: CoDWW MP Mapping
Posted: Saturday, Mar. 26, 2011 02:46 pm
all the maps with planes flying ove,r and not one person post ,
no tut for it in modsonline,
2 bad scripts in the forums that never got fix, or answered?

main()
{

level thread planes();
}

planes()
{
level.PlaneSpeed = 6.5;

bomber01 = getent ("bomber01","targetname");
bomber02 = getent ("bomber02","targetname");
bomber03 = getent ("bomber03","targetname");

temp = getent (bomber01.target,"targetname");
bomber01.dest = temp.origin;
bomber01.start = bomber01.origin;
bomber01 hide();
temp = getent (bomber02.target,"targetname");
bomber02.dest = temp.origin;
bomber02.start = bomber02.origin;
bomber02 hide();
temp = getent (bomber03.target,"targetname");
bomber03.dest = temp.origin;
bomber03.start = bomber03.origin;
bomber03 hide();

wait 120;

while (1)
{
bomber01 thread plane_flyby("squadron01_flyby");
wait .15;
bomber02 thread plane_flyby("squadron02_flyby");
wait .15;
bomber03 thread plane_flyby("squadron03_flyby");

wait 300;
}
}


plane_flyby(sound)
{
// If you specified a sound to play then play it
if (isdefined (sound))
self playsound (sound);

wait 2;

self show();

self moveto(self.dest, level.PlaneSpeed, 0.1, 0.1);

wait level.PlaneSpeed;

self hide();
self.origin = self.start;
}


needs all the start and end keys and values to work

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 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;
}

same here need start, stop, values
and or
tut buy a good script er , fix the scripts to run on cod waw



Share |
COLMAC
General Member
Since: Sep 15, 2006
Posts: 914
Last: Jan 27, 2012
[view latest posts]
Level 7
Category: CoDWW MP Mapping
Posted: Saturday, Mar. 26, 2011 04:20 pm
these scripts give the map load a error
cant find script vehicle [(null)]
any ideas on whats wrong
key and values for this script?
Share |
EraVulg
General Member
Since: Mar 10, 2011
Posts: 25
Last: Mar 29, 2011
[view latest posts]
Level 1
Category: CoDWW MP Mapping
Posted: Saturday, Mar. 26, 2011 05:08 pm
COLMAC writes...
Quote:
these scripts give the map load a error
cant find script vehicle [(null)]
any ideas on whats wrong
key and values for this script?


It looks like you're trying to make the planes script_vehicles, make them script_models.
Share |
COLMAC
General Member
Since: Sep 15, 2006
Posts: 914
Last: Jan 27, 2012
[view latest posts]
Level 7
Category: CoDWW MP Mapping
Posted: Sunday, Mar. 27, 2011 03:55 pm
ya ive tried both, if its a script_model it just hangs in air never moves
if script_vehice it errors
[img="Photobucket"]

ive used nods begin and end linked from plane, to begin, to, end
vehile_nodes all error in compile
i have scripts in raw/animscripts/traverse/_planes.gsc
and maps/mp/_planes.gsc

errors are:
cant find info for scriptvehicle [(null)] ,or
cannot cast udefined to string ,or
undefined is not a field object line 16
( bomber01.dest = temp.origin;)

Share |
EraVulg
General Member
Since: Mar 10, 2011
Posts: 25
Last: Mar 29, 2011
[view latest posts]
Level 1
Category: CoDWW MP Mapping
Posted: Sunday, Mar. 27, 2011 05:41 pm
Are you even trying to understand what those error messages are telling you?

First off, you don't use a script_vehicle, you use a script_model. Second, it's telling you that temp.origin is undefined.
Share |
COLMAC
General Member
Since: Sep 15, 2006
Posts: 914
Last: Jan 27, 2012
[view latest posts]
Level 7
Category: CoDWW MP Mapping
Posted: Sunday, Mar. 27, 2011 05:47 pm
im using script_model
yes some errors are from using script_vehicle
the last 1 im working though radiant now
Share |
dundy
General Member
Since: Dec 14, 2004
Posts: 768
Last: Nov 1, 2020
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoDWW MP Mapping
Posted: Sunday, Mar. 27, 2011 06:38 pm
Maybe this tut will help

http://www.codutility.com/index.php?file=Forum&page=viewtopic&forum_id=34&thread_id=58&p=1
Share |
COLMAC
General Member
Since: Sep 15, 2006
Posts: 914
Last: Jan 27, 2012
[view latest posts]
Level 7
Category: CoDWW MP Mapping
Posted: Sunday, Mar. 27, 2011 07:19 pm
line 14
undefined is not a field object line 16
("bomber01.target,temp,targetname")
Share |
COLMAC
General Member
Since: Sep 15, 2006
Posts: 914
Last: Jan 27, 2012
[view latest posts]
Level 7
Category: CoDWW MP Mapping
Posted: Sunday, Mar. 27, 2011 08:42 pm
got the planes to fly had to give the script_origin under the plane targetname = stuka01.target
and so on for the planes, 02, 03
working on sounds now
thanks
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty: World at War : CoDWW MP 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

»