DFBarracks - Forums




Delta Force Barracks Forums - Powered by XMB 1.9.11
Delta Force Barracks Forums
Not logged in [Login ]
Go To Bottom

Printable Version  
Author: Subject: Making a chopper Fly/Land and repeat
Gen.Rhyno*EMFF*
Grunt
*




Posts: 6
Registered: 4-25-2003
Location: UK
Member Is Offline


thumbup.gif posted on 4-25-2003 at 02:35 AM
Making a chopper Fly/Land and repeat


Ok guys here is a simple explanation of how to make a chopper takeoff, fly to a destination, land, takeoff and fly back to base and land, then repeat.

First of all set out your waypoints. Your first waypoint should be where your chopper will start from (WP#0.0). Next Waypoint will be 0.1 and so on

In your first waypoint you will need to make an Area Trigger, also do the same where you want your chopper to land. These will be Trigger number 1(base) and 2(LZ).

Now just before the base and LZ triggers make 2 more triggers (these will be your slowdown triggers). Trigger number 3 Base slowdown and number 4 LZ slowdown

Now your Trigger list should look like:

1 Base
2 LZ
3 Slowdown Base
4 Slowdown LZ

Now Place your chopper on the base waypoint (0.0)

Right that is the map and triggers sorted we will do the Events. It is easier if you name you events so you know which event does what.

This first even will tell your chopper to land at both Base and LZ triggers

Event 0 : Chopper Landings
Reset after 45 seconds

IF trigger

SSN (your choppers SSN number) is within area 1 or
SSN is within area 2

Then trigger

Change SSN (chopper) AI : Patrol speed = 0 km/h
Change SSN (chopper) AI : Combat speed 0 km/h
Change (chopper) AI : AI state to land
Change SSN (chopper) AI : Stop using waypoint Z
Reset event 3

Now for the Base takeoff

Event 1 Takeoff Base

Reset after 60 seconds
Delay event 20 seconds

If trigger

SSN (chopper) is within area 1

Then trgger

Redirect SSN (chopper) to waypoint 1.1
Change SSN (chopper) AI : patrol speed = 40 km/h
Change SSN (chopper) AI : combat speed = 40 km/h
Change SSN (chopper) AI : AI state to follow waypoint
Change SSN (chopper) AI : use waypoint Z

The LZ takeoff is the same

Event 2 : Takeoff LZ

If trigger

SSN (Chopper) is within area 2
Redirect SSN (chopper) to nearest waypoint
Change SSN (chopper) AI : patrol speed = 40 km/h
Change SSN (chopper) AI : combat speed = 40 km/h
Change SSN (chopper) AI : AI state to follow waypoint
Change SSN (chopper) AI : use waypoint Z


Now to make yor chopper slowdown before it lands

Event 3 : Slowdown

If trigger

SSN (chopper) is within area 3 or
SSN (Chopper) is within area 4

Then trigger

Change SSN (chopper) AI : patrol speed 25 km/h

Change SSN (chopper) AI : combat speed 25 km/h
Change SSN (chopper) AI : AI state to follow waypoint
Change SSN (chopper) AI : use waypoint Z


You can change the speeds to whatever suits your map or needs.
The delay times can be changed but be warned they can upset the events if you set them too high.

This is an exact copy of the Event List I use for my choppers so I know it works, you just need to make sure you put the area triggers in the correct places and number them correctly.

I hope this has helped you all get out of the holes you have dug yourselves trying to figure it all out.

We have a 24/7 S&D BHD server and our web addy is

http://www.emffsquad.co.uk




View user's profile View All Posts By User
Gen.Rhyno*EMFF*
Grunt
*




Posts: 6
Registered: 4-25-2003
Location: UK
Member Is Offline


mad.gif posted on 4-27-2003 at 01:52 AM
No Replies


C'mon everyone give me some feedback at leaste. Let me know if it works for u.

http://www.emffsquad.co.uk




View user's profile View All Posts By User
Pyle
Grunt
*




Posts: 14
Registered: 4-19-2003
Member Is Offline


[*] posted on 4-27-2003 at 10:00 AM
Rhyno Choppers?


Thank you for posting "how to" above, i setup lil bird to your specs and it works perfect. If or should i say when i use bird for map, i'd like to call em "Rhyno Choppers" if ok with you.

Anyone haveing probs with helos, do above and probs solved. Thanks again Rhyno.
View user's profile View All Posts By User
Dutchman
Private
**




Posts: 52
Registered: 2-26-2003
Member Is Offline


[*] posted on 4-27-2003 at 02:20 PM


It works well Rhino. But for some reason my helo will take off and then land about 10 feet from way 0 before following the list. Whats that about?



Thanks
D




View user's profile View All Posts By User
BADLASER
Private
**




Posts: 99
Registered: 3-19-2003
Member Is Offline

Mood: slick

[*] posted on 4-27-2003 at 02:39 PM
look at this


http://www.dfbarracks.com/mapdb/index.php?action=dm&mid=2094
View user's profile Visit user's homepage View All Posts By User
Gen.Rhyno*EMFF*
Grunt
*




Posts: 6
Registered: 4-25-2003
Location: UK
Member Is Offline


[*] posted on 4-27-2003 at 03:53 PM


Not sure what you mean by takeoff then land 10 feetr away then take off agin?? Maybe your area triggers are too big, I did notice that that can cause problems.


http://www.emffsquad.co.uk




View user's profile View All Posts By User
anoshi
DFB Map Rater
******


Avatar


Posts: 849
Registered: 1-25-2003
Location: Australia
Member Is Offline


[*] posted on 4-27-2003 at 11:33 PM


I imagine that's basically the problem but I wouldn't use the words "too big" :-)

It's tough to find the right combination of reset times to area trigger sizes, while keeping the AT big enough to ensure the helo will land when it comes by again.

What I imagine is happening is that the helo is taking off within the last second or two before the landing event resets and lands as a result. As the rotors have spun up this time, the helo should take off again after the takeoff delay without any hassles (with regard to landing event reset time).

The best way to get around this is to use manual resets on your landing events, or even all of your events for that matter. The demo didn't support manual resets, so for me, old habits are dying hard but I'm slowly making the change to manually called resets and it's solving a lot of the niggly problems.

Thanks for your post Rhyno, would you like to add this as a downloadable .mis file in the "BHD Vehicle Tutorials" thread?




View user's profile Visit user's homepage View All Posts By User
Gen.Rhyno*EMFF*
Grunt
*




Posts: 6
Registered: 4-25-2003
Location: UK
Member Is Offline


[*] posted on 4-28-2003 at 09:21 AM


Anoshi, looks like you might of hit the nail right on the head. I will admit that I did use alot of advice from others in the forum and found some of their events had to be messed about with a bit but I managed to find a way of doing it that suited me.

I will have to have a go at the MANUAL resets that you said about and see if i can do it that way.

I would upload the mis file but have no glue how to do it lol.


http://www.emffsquad.co.uk




View user's profile View All Posts By User
SuicideUK
Grunt
*




Posts: 19
Registered: 11-10-2002
Location: London
Member Is Offline


[*] posted on 4-28-2003 at 09:17 PM
lol


Quote:
Originally posted by Gen.Rhyno*EMFF*
C'mon everyone give me some feedback at leaste. Let me know if it works for u.

http://www.emffsquad.co.uk


Lol, after weeks having strained my brain trying various combinations, seeing some work on a limited version of what i am trying to do, i decided to give up on helo's for a bit and grow back some hair!!

Will try your solution soon and post back results, thanks for posting the info.
View user's profile Visit user's homepage View All Posts By User This user has MSN Messenger
alphamech
Private
**




Posts: 33
Registered: 5-21-2003
Member Is Offline


sad.gif posted on 5-24-2003 at 01:40 PM
helos land and fly


ive tried ur advise several times to no avail.ilike making maps and want tocommit myselfto doin a good job.so my question i guess is y r u puttin 1st waypoint as base?along with trigger? whatis the reset for/?and delay?so far i have 6 waypoints. 4 triggers and can only take from 0 and land at 5.then it shuts off . if i could send u a copy of whay i have mabea u could help.guess i have more than 1 question sorry lol.
View user's profile View All Posts By User
anoshi
DFB Map Rater
******


Avatar


Posts: 849
Registered: 1-25-2003
Location: Australia
Member Is Offline


[*] posted on 5-24-2003 at 03:05 PM


reset: is used to make an event triggerable again. You can have this done automatically by using the checkbox and a number value in seconds, or another event can be used to reset events. This manual reset method is best used for looping events which occur at irregular times, but if you're dealing with a timed loop you can use the automatic method described earlier. When you're confident enough with the event coding, you should try to use manual resets only, although there are still times when automatic resets are vital.

delay: is used to stop an event from occurring the moment it's IF statements are triggered. When the IF section equates to true, a delay time you specify for the event is enforced before the THEN commands of the event are executed.
View user's profile Visit user's homepage View All Posts By User
Pyle
Grunt
*




Posts: 14
Registered: 4-19-2003
Member Is Offline


[*] posted on 5-27-2003 at 06:25 PM
BHD: Rhyno tut .mis...


I submitted a map called "Solo Rhyno", a single Blackhawk flyin Gen Rhyno's setup.
The zip file included an .mis and .bms files. I named map after Rhyno, cool huh.
If you open .mis file in BHD MED, it is setup with colors marking base, lz, area triggers and waypoints.
Zip include a readme that i hope helped
guide peeps to setup 2nd helo. If the powers that be feel it is informitive enough to help others, maybe it can be be added with other "tut's".

I am not takeing credit for helo flight, that goes to Gen Rhyno, all i did is what he posted above and it works.
View user's profile View All Posts By User
anoshi
DFB Map Rater
******


Avatar


Posts: 849
Registered: 1-25-2003
Location: Australia
Member Is Offline


thumbup.gif posted on 5-28-2003 at 01:10 AM
be our guest


Feel free to add a link to your map in the "BHD Vehicle Tutorials" thread in this forum.



View user's profile Visit user's homepage View All Posts By User
Sword
Grunt
*




Posts: 6
Registered: 5-16-2003
Location: Wisconsin
Member Is Offline


[*] posted on 5-28-2003 at 02:01 AM
Here what I made, hope it helps..


I have made a set of instructions that make black hawks tak off and land. This will repeat aslong as a player enters the takeoff area. I hope this helps everyone make some cool maps...

Here is the link:
ExampleSet

The Zip file contains both BMS and MIS files so you can play it and edit the map to see how it works.

Also there is a word document the has pictures and instruction. hope it helps...

Hope everyone finds this usefull...

Also please add your comments to my map so I know if it helped anyone... Thanks

Sword.
View user's profile View All Posts By User
MajGenKrull
Grunt
*




Posts: 2
Registered: 1-27-2003
Member Is Offline


[*] posted on 5-31-2003 at 01:05 AM
Many Thanx


:D
Quote:

I have struggled with helos for a long time to make them work, read many word docs posted, the way you explain it with anoshi, made all sense to me and it works great.
]KruLL

KRULL
View user's profile Visit user's homepage View All Posts By User
southern outlaw
Private
**




Posts: 46
Registered: 7-12-2004
Location: Kentucky
Member Is Offline

Mood: Laid-Back

[*] posted on 3-15-2005 at 01:57 PM
Choppers Landing and Take Off


I need one to work in mp maps,sp maps no prob. One that works with events an area triggers if someone knows of one plz let me know thanks. :P




View user's profile Visit user's homepage View All Posts By User
7>Snake
Unregistered




Posts: N/A
Registered: N/A
Member Is Offline


[*] posted on 3-15-2005 at 09:27 PM


Read the vehicle tutorial post found above in this section.



freaky
Grunt
*




Posts: 3
Registered: 8-16-2007
Member Is Offline


[*] posted on 8-16-2007 at 09:12 PM


Can anyone make picturs like this...

I have read the text up there aboute how to make choppers fly and land....

When i read how to make vihecles drive, i checked out this link:

http://www.dfbarracks.com/mapdb/index.php?action=dm&mid=2574


Cant anyone make the same sort of pictures of how to make choppers fly and land and how to make the shopper start when a player get in to it.? PLEASE!
View user's profile View All Posts By User
freaky
Grunt
*




Posts: 3
Registered: 8-16-2007
Member Is Offline


[*] posted on 8-22-2007 at 08:45 PM


This is how my textfile of the event ended up, all thoe the shopper doesnt land at all, it cirkels one time then it stops at the same location where it started and hovers.


Quote:

// Event List for D:\NovaLogic\Delta Force Black Hawk Down\peking.mis, saved on 8/22/2007, 12:12





Event 0: Event 0 chopperlandings

Reset after 45 seconds

Triggers:

SSN 975 is within area 1 and
SSN 975 is within area 2
Actions:

Change SSN 975 AI : patrol speed = 0 km/h
Change SSN 975 AI : combat speed = 0 km/h
Change SSN 975 AI : AI state to Land
Change SSN 975 AI : stop using waypoint Z
Reset Event 0

Event 1: Event 1 basetakeoff

Reset after 60 seconds

Delay event 20 seconds

Triggers:

SSN 975 is within area 1
Actions:

Redirect SSN 975 to waypoint 1-1
Change SSN 975 AI : patrol speed = 40 km/h
Change SSN 975 AI : combat speed = 40 km/h
Change SSN 975 AI : AI state to Follow Waypoint
Change SSN 975 AI : use waypoint Z

Event 2: Event 2 LZtakeoff

Reset after 60 seconds

Delay event 20 seconds

Triggers:

SSN 975 is within area 2
Actions:

Redirect SSN 975 to waypoint 1-3
Change SSN 975 AI : patrol speed = 40 km/h
Change SSN 975 AI : combat speed = 40 km/h
Change SSN 975 AI : AI state to Follow Waypoint
Change SSN 0 AI : use waypoint Z

Event 3: Event 3 slowdown

Triggers:

SSN 975 is within area 3 and
SSN 975 is within area 4
Actions:

Change SSN 975 AI : patrol speed = 25 km/h
Change SSN 975 AI : combat speed = 25 km/h
Change SSN 975 AI : AI state to Follow Waypoint
Change SSN 975 AI : use waypoint Z


Can anyone tell me whats wrong? PLEASE
View user's profile View All Posts By User

  Go To Top

Powered by XMB 1.9.11
XMB Forum Software © 2001-2012 The XMB Group
[Queries: 15] [PHP: 58.0% - SQL: 42.0%]












Copyright © 2002 - 2008 All Rights Reserved - DFBarracks.com
Site Design by A.Bullet - ScreamingDemon.com