Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big Corsica scenery update: #39

Merged
merged 1 commit into from
Aug 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions data/automobiles/firetruck_ap.3d
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ texture_load firetruck_ap_right textures/firetruck_ap/right.tex 0.500000
texture_load firetruck_ap_wheel textures/firetruck_ap/wheel.tex 0.200000
end_header
version 0 8 1
name Airport Fire Truck
name Airport_Fire_Truck

range 5000
range_far 500
Expand Down Expand Up @@ -1013,7 +1013,7 @@ texture_off
end_model standard
begin_model standard_far
#$model_flags hide
color 0.800000 1.000000 0.040000 1.000000 1.000000 1.000000 1.000000 0.100000 0.000000
color 0.600000 0.750000 0.350000 1.000000 1.000000 0.100000 0.000000 0.000000 0.000000
begin_quads
normal 0.000000 0.000000 1.000000
-1.800000 5.140000 3.700000
Expand Down
4 changes: 2 additions & 2 deletions data/missions/corsica01.mis
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ mission_objective_message_fail BRAKING NEWS: "Helicopter crash between Propriano
# Passenger's "taxi", waiting at Ajaccio helipad
create_object 2
model_file automobiles/cuda.3d
translate -22410 -31995 0.0
rotate 10 0 0
translate -22451 -32022 0.0
rotate 137 0 0

# Mission begins at an object defined in scene file
mission_begin_at helipad_propriano
Expand Down
4 changes: 2 additions & 2 deletions data/missions/corsica02.mis
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ translate_random 20.0 0.0
# ambulance
create_object 2
model_file automobiles/ambulance.3d
translate -27387 34615 136
rotate 26 0 0
translate -27435 34667 136
rotate 221 0 0

# Begin at object (name of object from scene file)
mission_begin_at helipad_calvi
Expand Down
102 changes: 102 additions & 0 deletions data/missions/corsica05.mis
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
#
# Mission Header
#

# Mission file version. Program version must be >= 2.5.0 because of "wind" use.
version 2 5 0

# Name of mission
name Corsica 5: Injured on high sea

# Description of mission (newlines and escapes accepted)
description An old man has fallen when going to restaurant on a luxury <underline>cruise ship<default> \
and onboard doctor can't operate him because he's sick himself !\n\
You have to <bold>take off<default> at <underline>Ajaccio civil defence helipad<default>, then your <bold>\
guiding system<default> will help you to reach the <underline>cruise ship<default>. Once arrived, <bold>land<default> \
on <underline>onboard helipad<default>, take old man aboard, then <bold>fly back<default> to <underline>Ajaccio \
hospital helipad<default>.\n Warning: there's a little bit of wind today, and landing pad is small. Don't forget to apply wheels brakes!

# Weather (valid values defined in data/weather.ini). Must be specified before mission_scene_file.
weather Overcast

# Scenery file
mission_scene_file scenery/corsica.scn

# Blowing to east wind, 5 knots, with gusts. Must be specified after mission_scene_file.
wind 90 5 gusts

time_of_day 08:00

# # # # #
# Mission Objectives
#

# Mission first objective
mission_objective_new pick_up
mission_objective_time_left 0.0
# 1 person to rescue
mission_objective_humans_tally 1 1
mission_objective_message_success - Okay, let's go.
mission_objective_message_fail You failed to board injured person.

# Mission second objective
mission_objective_new arrive
mission_objective_time_left 0.0
mission_objective_arrive_at hospital_ajaccio
mission_objective_message_success Done! Injured person will be treated by a surgeon.
mission_objective_message_fail You failed to bring back injured person to Ajaccio hospital helipad.


# # # # #
# Mission Post Data (these need to come after the objectives)
#

# Cruise ship
create_object 3
object_name CruiseShip
model_file vessels/silvershadow.3d
translation -105300.0 -12264.0 0.0
# Bow contact bounds must be rotated by 45 degrees.
# O = silvershadow and silvershadow_bow origins.
# silvershadow_bow silvershadow contact bounds
# contact bounds
# * +-----------------------------------------------------+
# * * | |
# * *| |
# * O |* |
# * *| |
# * * | |
# * +-----------------------------------------------------+
#
create_object 3
model_file vessels/silvershadow_bow.3d
translation -105300.0 -12264.0 0.0
rotate 0 0 45

# Cruise ship helipad
create_helipad building 10.5 10.5 0.0 _ y n n y n CruiseShip 2.1 0.0 37.54 270 0 0

# Human to rescue
#create_human man_1 need_rescue lying on_stretcher assisted 1 assistant_1 <= comming soon ;-)
create_human victim_streatcher_assisted need_rescue lying on_streatcher
translation -105305.0 -12256.5 37.54
rotate 0 0 0
human_reference player run_towards
set_human_mesg_enter - Hi! What a hard day, today! To Ajaccio hospital, please.


# Begin at object (name of object from scene file)
mission_begin_at dragon_ajaccio

# Create player object
player_model_file aircrafts/hh65.3d
rotate -5.8 0 0

# Waypoint of first objective (boat coordinates)
# ref_code x y z radius urgency name
mission_add_intercept 0 -105300.0 -12264.0 37.54 1.0 1.0 Silver Shadow


# Waypoint of second objective (Ajaccio hospital, see mission_objective_arrive_at)
# ref_code radius urgency
mission_add_intercept 3 40.0 1.0
90 changes: 90 additions & 0 deletions data/missions/corsica06.mis
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
#
# Mission Header
#

# Mission file version. Program version must be >= 2.5.0 because of "wind" use.
version 2 5 0

# Name of mission
name Corsica 6: Distress at Propriano bay

# Description of mission (newlines and escapes accepted)
description A tourist plane pilot has seen an <underline>inflatable boat<default> which seems to be in distress near Propriano bay.\n \
You have to <bold>take off<default> at <underline>Propriano helipad<default>, then follow your <bold>guiding system<default> \
to reach the boat last known position. Once this position reached, look for the boat and hoist occupant(s), then <bold>fly back<default> \
to <underline>Propriano helipad<default>.\n

# Weather (valid values defined in data/weather.ini). Must be specified before mission_scene_file.
weather Stormy Sparse

# Scenery file
mission_scene_file scenery/corsica.scn

# Blowing to east wind, 5 knots, with gusts. Must be specified after mission_scene_file.
wind 90 5 gusts

time_of_day 08:00

# # # # #
# Mission Objectives
#

# Mission first objective
mission_objective_new pick_up
mission_objective_time_left 0.0
# 1 person to rescue
mission_objective_humans_tally 1 1
mission_objective_message_success - Hey, feel lucky, I found you! You don't have any safety flares ?!?
mission_objective_message_fail You failed to board lost person.

# Mission second objective
mission_objective_new arrive
mission_objective_time_left 0.0
mission_objective_arrive_at helipad_propriano
mission_objective_message_success Well done! Lost person is now safe.
mission_objective_message_fail You failed to bring back lost person to Propriano helipad.


# # # # #
# Mission Post Data (these need to come after the objectives)
#

# Inflatable boat
create_object 3
model_file vessels/inflatable_boat_motorized_gray.3d
translation -27500.0 -62140.0 0.0
rotate 45 0 0
# Inflatable boat underwater motor part
#create_object 3
#model_file vessels/inflatable_boat_motor_underwater_part.3d
#translation -27500.0 -62140.0 0.0
#rotate 45 0 0

# Smoking engine
# <x> <y> <z> <r_st> <r_max> <r_rate> <hide@max> <respawn_int> <units> <color_code>
create_smoke -2.0 1.5 0.55 0.1 1.2 -1 10 333 20 2
translation -27499.4 -62143.25 1.0


# Human to rescue
create_human default need_rescue alert aware
translation -27499.9 -62139.9 0.0
rotate 45 0 0
set_human_mesg_enter - Fu***ng outboard motor !


# Begin at object (name of object from scene file)
mission_begin_at helipad_propriano

# Create player object
player_model_file aircrafts/ec145.3d
rotate -5.8 0 0

# First waypoint (last known boat coordinates)
# ref_code x y z
mission_add_intercept 0 -24593.0 -59568.0 0.0


# Waypoint of second objective (Propriano helipad, see mission_objective_arrive_at)
# ref_code radius urgency
mission_add_intercept 3 40.0 1.0
Loading
Loading