Members | Sign In
All Forums > Mission Scripting
avatar

Mission - Cargo Haul (TMP Mod)

posted Jun 02, 2012 13:18:56 by MarkBell
So, I made a mission! It uses TreChipman's TMP mod, but otherwise should work ok. I'm going to try it out on some folks this afternoon to see if it works or not. I loaded it up on my laptop as Server and it got really choppy really fast, but I'm not sure if that's the mission or my computer... Built on Hissatsu's Awesome Mission Editor.

Thoughts? Comments? Flames?
MISS_Ep01-CargoHaul
page   1
2 replies
avatar
MarkBell said Jun 02, 2012 13:44:11
Notes - Designed for 1.65 with RaceID and HullID, so it should work with stock Artemis or most other mods as well (although I can't guarantee).
avatar
TreChipman said Jun 03, 2012 19:28:27
Very nice! I've got a similar "Away team rescues a damaged freighter" scenario in the first mission of Epsilon Sector; here's how I handled it:

<event>
<if_variable name="chapter" comparator="EQUALS" value="5"/>
<if_docked name="Utopia Planitia Starbase"/>
<log text="[Object:]"/>
<create type="neutral" x="4000" y="0" z="45000" angle="0" name="Barbados" raceKeys="Federation friendly" hullKeys="Freighter medium"/>
<add_ai type="FOLLOW_COMMS_ORDERS" name="Barbados"/>
<add_ai type="POINT_THROTTLE" value1="10000" value2="0" value3="50" value4="1" name="Barbados"/>
<set_timer name="BarbadosSlim" seconds="75"/>
<set_variable name="chapter" value="6"/>
<log text="Chapter 6 Init"/>
</event>

<event>
<if_variable name="chapter" comparator="EQUALS" value="6"/>
<if_timer_finished name="BarbadosSlim"/>
<log text="[Event:]"/>
<!--As you're the closest starship in the area, it is your duty to render any aid you can. Close to less than 1000 KM from the Barbados so you can beam over an away team to help them fix the problem."-->
<incoming_comms_text from="U.S.S. Barbados">
***epeat, this is the freighter Barbados. We've suf***strophic warp system failu***primary***down***Requesti***mediate assistance! Repeat, request***SIGNAL LOST
</incoming_comms_text>
<set_object_property property="topSpeed" value=".001" name="Barbados"/>
<set_object_property property="turnRate" value=".01" name="Barbados"/>
<set_timer name="BarbadosSlimmer" seconds="75"/>
<set_variable name="chapter" value="7"/>
<log text="Chapter 7 Init"/>
</event>

<!--Warp core instability and an away team event. AKA: So now there's ogres, Okay? -->
<event>
<if_variable name="chapter" comparator="EQUALS" value="7"/>
<if_timer_finished name="BarbadosSlimmer"/>
<incoming_comms_text from="U.S.S. Barbados">
***bados***situa***critical***estimate complete warp core***plosion in jus***few minute***SIGNAL LOST
</incoming_comms_text>
<warning_popup_message message="Subspace Magneton Pulse detected from the Barbados' location. Estimated time to warp core detination: 5 minutes." consoles="SO"/>
<log text="[Object:]"/>
<set_timer name="BarbadosSlimmest" seconds="300"/>
<!--Well, daring bridge crew, now you've got 5 minutes to get there and beam over a team-->
<set_variable name="chapter" value="8"/>
</event>

<!-- Send over the Away team -->
<event>
<if_variable name="awayteam" comparator="LESS" value="1"/>
<if_distance name1="Meridian" name2="Barbados" comparator="LESS" value="1000"/>
<play_sound_now filename="transporter.wav"/>
<!-- They have to come from somewhere, right? It's not going to really matter, but it's the attention to small details that counts-->
<set_damcon_members team_index="0" value="0"/>
<warning_popup_message message="Away team deployed." consoles="CO"/>
<log text="Away team deployed."/>
<incoming_comms_text from="Lt. Feinberg">
Lt. Feinberg here; we've successfully beamed over and we're investigating the problem now. I think it'll only take about a minute or so for us to recalibrate the Barbados' warp core. Hopefully, we got here in enough time. Feinberg out.
</incoming_comms_text>
<set_timer name="awaytimer" seconds="60"/>
<set_variable name="awayteam" value="1"/>
</event>

<event>
<if_variable name="awayteam" comparator="EQUALS" value="1"/>
<if_timer_finished name="awaytimer"/>
<incoming_comms_text from="Lt. Feinberg">
That was close, but I think we're in good shape, Meridian. Requesting a beam back for the team.
</incoming_comms_text>
<warning_popup_message message="Remain within 1000 km of the Barbados to beam back the Away Team" consoles="SHO"/>
<set_object_property property="topSpeed" value="0.3" name="Barbados"/>
<set_object_property property="turnRate" value="0.004" name="Barbados"/>
<set_variable name="awayteam" value="4"/>
</event>

<event>
<if_variable name="awayteam" comparator="EQUALS" value="4"/>
<if_distance name1="Meridian" name2="Barbados" comparator="LESS" value="1000"/>
<!-- And they're back! -->
<play_sound_now filename="transporter.wav"/>
<incoming_comms_text from="Lt. Feinberg">
Lt. Feinberg here; we've beamed back aboard. It's good to be home. Feinberg out.
</incoming_comms_text>
<set_damcon_members team_index="0" value="6"/>
<log text="Away team recovered."/>
<set_variable name="awayteam" value="5"/>
<set_variable name="chapter" value="9"/>
<log text="Chapter 9 Init"/>
<warning_popup_message message="Away Team Recovered" consoles="CO"/>
</event>

<!-- The target ship was blown up with the Away team aboard! -->
<event>
<if_variable name="awayteam" comparator="LESS" value="4"/>
<if_timer_finished name="BarbadosSlimmest"/>
<incoming_comms_text from="Lt. Feinberg">
We've lost containment-- Meridian-- she's going to blow-- get out! Get out of--**SIGNAL LOST**
</incoming_comms_text>
<warning_popup_message message="Contact Lost with Away team" consoles="C"/>
<log text="Away team lost."/>
<set_variable name="awayteam" value="5"/>
<destroy name="Barbados"/>
<big_message title="Mission Failed" subtitle1="The Barbados was lost."/>
<set_timer name="dramatic_timer" seconds="15"/>
<set_variable name="endMission" value="1"/>
</event>

<event>
<if_variable name="chapter" comparator="EQUALS" value="9"/>
<incoming_comms_text from="Utopia Planitia Starbase">
Well, that was enough excitement for one day, Meridian. Besides, you've got a lot to do in the Epsilon Sector. Procede to Area E4 and engage your Warp Drive. Good luck, and good hunting.
</incoming_comms_text>
<warning_popup_message message="Well, that was enough excitement for one day, Meridian. Besides, you've got a lot to do in the Epsilon Sector. Procede to Area E4 and engage your Warp Drive. Good luck, and good hunting." consoles="HSWO"/>
<set_variable name="chapter" value="10"/>
<log text="Chapter 10 Init"/>
</event>


[Last edited Jun 03, 2012 19:41:36]
I'm not a mad scientist. I'm an angry one. You'd be wise to fear the latter.

Visit Artemis Command!
Login below to reply: