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

Members Online

»
0 Active | 6 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 4
Category: CoD4 SP Mapping
CoD 4 mapping and level design for single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page Next Page
subscribe
Author Topic: How to get a chopper of jet to fly over head?
voidsource
General Member
Since: May 5, 2007
Posts: 1513
Last: Sep 1, 2013
[view latest posts]
Level 8
Category: CoD4 SP Mapping
Posted: Tuesday, Oct. 26, 2010 03:58 pm
heres a check list, if you dont get it after this then your doing something wrong. This is as clear as it can be:

1. follow this:

Quote:

make sure your script vehicle has these settings:

vehicletype/ xxxx
model/ xxxxx
targetname / xxxx

then place a trigger multiple in your map. select it then select your script vehicle.

press shift + v and select the appropriate settings for your vehicle. If you dont know which ones to use click on " ? " next to the item option so you can read a description of what it does and how to apply it to ur map.

U can repeat these steps as necessary for other options that are on or might be available for your vehicle.

next place script structs ( for helis ) and vehicle nodes ( for jets and cars ). place 3 of them(since your only doing a flyby). select the heli first, then your first struct or node and press w so that heli connects to first struct or node. then while that node is selected, select the 2nd struct or node and link them with "w" and do the same process till u reach ur last node or struct.

k/v's that your vehicles nodes or structs should have are:

script_accel / xxxx
script_decel/ xxxx
speed/ xxx
radius/ xxx
target/ xxx
targetname/ xxx

if you dont give your structs or nodes a targetname when you connect them it will give them one. most of these settings u will find when you press " shift + V ".


or this:

Quote:


2. make sure u do this as well

Quote:

.... you must include the corresponding _vehiclename.gsc in your csv as well as the models for your vehicle.



that means in your update zone file make sure you have something like

rawfile,maps\_vehiclename.gsc
model, vehicles_modelname

3. In your mapname.gsc u must have this line

Code:


main() 
{
.....
   maps/_vehiclescript::main( "vehicle_model_name" ); //notice how it is BEFORE the _load::main(); that is very IMPORTANT info
   maps\_load::main();
.......
} 




4. IF ( thats a big if ) you still dont get it working look at the scripts, zone file ( found in the zone_source folder of your cod4 root folder ), open radiant up filter out everything except nodes and vehicles of the only sp map that came with the mod tools "blackout" and examine it thoroughly. All of that should clear any doubts.


Also if you place more vehicles in your map they must follow the same process IF THEY ARE DIFFERENT MODELS.


Share |
Blade_MacTavish
General Member
Since: Jun 7, 2009
Posts: 438
Last: Jul 8, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Tuesday, Oct. 26, 2010 06:14 pm
I did all that. This is so irritating though. Can someone send me a prefab of a chopper already set up or something?
Share |
Blade_MacTavish
General Member
Since: Jun 7, 2009
Posts: 438
Last: Jul 8, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Sunday, Oct. 31, 2010 03:16 pm
Anyone?
Share |
sam_fisher3000
General Member
Since: Apr 18, 2007
Posts: 816
Last: Jul 16, 2016
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Thursday, Dec. 2, 2010 04:26 am
This shouldn't be too hard. Just follow the tutorial to spawn and move the helicopter. Then put the nodes or script_origins or script_struct over your head and it will fly over you.
Share |
Blade_MacTavish
General Member
Since: Jun 7, 2009
Posts: 438
Last: Jul 8, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Saturday, Dec. 11, 2010 08:10 pm
STILL can't get this right.[banghead]
Share |
sam_fisher3000
General Member
Since: Apr 18, 2007
Posts: 816
Last: Jul 16, 2016
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Sunday, Dec. 12, 2010 01:49 am
Just create a basic helicopter with nodes. Just follow the tutorials. Give the helicopter all the basic keys/values. Then create paths above your head and it should fly over you. Use triggers too. Make sure after you activate the trigger, use wait x (x is the amount of time), or else there will be an error in the script.

chopper = getent("chopper","targetname");
trig = getent("fly","targetname");
trig waittill ("trigger");
wait 5; //wait is important! It delays the script for a few seconds b/4 the vehicle functions. This is important for all vehicles. I believe that without the wait, the script continues but the vehicles are not fully loaded. So this is key.

chopper blah blah blah, connect path, fly, etc.

This could be the problem but I don't know. And it's not hard, just need to pay attention. I know the spawning vehicle tutorial on this site has some errors, especially the codes.

Like map _load::main;

it should be maps\_load::main();

So just pay attention and try again.
Share |
canstein
General Member
Since: Oct 23, 2010
Posts: 69
Last: Jan 11, 2011
[view latest posts]
Level 3
Category: CoD4 SP Mapping
Posted: Sunday, Dec. 12, 2010 10:31 pm
You have any luck with this since Blade? I know vehicles can be a huge pain in the ass. It took me a few different tutorials and trial and error to get it right. My map as 4 right now and I still get stuck sometimes when adding them. Don't give up :)
Share |
JerryTube
General Member
Since: Mar 4, 2007
Posts: 88
Last: Jul 1, 2013
[view latest posts]
Level 3
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Monday, Dec. 13, 2010 08:05 am
I usually use script_structs with helicopters, as it is easyier to create dynamic paths.

You have to set the speed and acceleration first though..
Code:
		level.enemy_heli setspeed( 40, 40 );
		path = getStruct("enemy_heli_start","targetname");
		level.enemy_heli SetVehGoalPos( path.origin, 1 );
Share |
3st0nian
General Member
Since: Jan 14, 2008
Posts: 291
Last: Dec 4, 2017
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Monday, Dec. 13, 2010 12:30 pm
attachment: application(2.2Kb)
Try this flying blackhawk attachement.[wink]
Share |
Blade_MacTavish
General Member
Since: Jun 7, 2009
Posts: 438
Last: Jul 8, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Monday, Dec. 13, 2010 10:50 pm
3st0nian writes...
Quote:
Try this flying blackhawk attachement.[wink]


FINALLYYY! THANK YOU! OMG!!!!

Now uhh.. how do I get one to attack enemies? :)

Friendly one.
Share |
Restricted Access Topic is Locked
Page
Previous Page Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 SP 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

»