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

Members Online

»
0 Active | 68 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
Category: CoDUO Mapping
CoD United Offensive mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: Flyover with a twist
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 1437
Last: Jul 3, 2017
[view latest posts]
Level 8
Category: CoDUO Mapping
Posted: Sunday, May. 31, 2009 01:46 am
Can't see what doesn't work, that's exactly how it should look with that code lol, if you want them to move your gonna need more code

Code:

main()
{
	switch(randomInt(3))
	{
		case 0:
			plane = spawn("script_model",(452352,65,2511));
			plane setModel("xmodel/v_ge_air_me-109");
			plane playLoopSound("planesnd109");
			break;

		case 1:
			plane = spawn("script_model",(42,547,2971));
			plane setModel("xmodel/vehicle_german_condor");
			plane playLoopSound("planesndcondor");
			break;

		case 2:
			plane = spawn("script_model",(42,525,2511));
			plane setModel("xmodel/vehicle_plane_stuka");
			plane playLoopSound("planesndstuka");
			break;
	}

	wait 10;
	plane movez(1000,5,1,1);
	plane waittill("movedone");
	plane movey(1000,5,1,1);
}


Thats just the basic move stuff
Share |
GomerPyle
General Member
Since: Oct 1, 2006
Posts: 357
Last: Jul 14, 2011
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoDUO Mapping
Posted: Sunday, May. 31, 2009 04:57 am
There's more code, sent you a PM. Maybe that will help. For the life of me I don't understand why it picks up all the planes instead of just those in the case. maybe I should just leave it that way. lol.[duh]

edited on May. 31, 2009 12:58 am by GomerPyle
Share |
DemonSeed
General Member
Since: Apr 30, 2009
Posts: 1362
Last: Feb 19, 2018
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoDUO Mapping
Posted: Sunday, May. 31, 2009 08:45 am
GomerPyle writes...
Quote:
There's more code, sent you a PM. Maybe that will help. For the life of me I don't understand why it picks up all the planes instead of just those in the case. maybe I should just leave it that way. lol.[duh]

edited on May. 31, 2009 12:58 am by GomerPyle


Post all your code for it. At the moment, we cant see where the switch() is being called from. Very often, that is the cause of errors/problems.
Share |
GomerPyle
General Member
Since: Oct 1, 2006
Posts: 357
Last: Jul 14, 2011
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoDUO Mapping
Posted: Sunday, May. 31, 2009 01:13 pm
[banghead][banghead][banghead]

Okay guys, I figured it out, are you all ready for your Sunday morning laugh, on me of course.

I start the thread and randomly pick a number of planes.

I call a thread that sets the angles and start./end position.

In this thread is the randomly chosen plane types. Let me know when you start laughing.[lol]

So each pass thru for the multiple planes chooses another plane type. DUH! It was working the way it was supposed to the entire time. Another Gomerism, have a good laugh on me guys. Now all I have to do is decide weather to leave it that way or re-write it to just choose one type. Thanks for your help. Hope you all have a nice laugh.[rolleyes][wave]
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty : CoDUO 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

»