Coder Social home page Coder Social logo

artemismissioneditor's Introduction

Artemis Mission Editor

OpenSSF Scorecard

About

Artemis Mission Editor is a program developed by players (not affiliated with Artemis author Thom Robertson). It is designed to be a complete mission editing environment for Artemis: Space Bridge Simulator, providing graphical space map interface, interactive command and condition editing with input suggestion and context help, while presenting commands and conditions in plain English text.

This program will allow you to:

  • Create and edit missions in a Windows Forms interface
  • Edit your commands and conditions in a graphical user interface with drop down input suggestion, context help and lots of keyboard hotkeys for fast operation
  • See and operate mission conditions and statements as plain English text, meaning you don't have to study the help files to know what commands or conditions are available to you or what the exact command or condition you encountered in mission file will actually do in game, you just choose commands or conditions from the list, and see everything in plain English, like "Create enemy at point (x, y, z) bearing 35 degrees with name..."
  • Structure your mission's events into folders, making it MUCH easier to navigate bigger missions
  • Convert deprecated statements (like "direct") into their new versions (direct => add_ai point_throttle/target_throttle)
  • Edit "create object" statements in events and start blocks using a graphical space map, which tremendously helps positioning objects around
  • Edit coordinates / spheres / rectangles on space map too (used in statements like direct, add_ai, if_inside/outside_sphere/box, destroy_near, ...)
  • See the logic flow and event dependency (which event triggers which event or requires which event to be triggered, etc.)
  • Quickly find errors in your mission, like missing attributes that will crash the game, etc.
  • Use all the quality-of-life features you expect to have:
    • Copy/paste (you can even copy/paste to/from a text editor)
    • Undo/redo
    • Autosave into a separate file so you don't lose unsaved work in the case of unexpected shutdown
    • Find/replace (smart, meaning you can look or replace inside specific attributes etc.)
  • Tweak it to your liking by modifying an extensive settings list.

Download and Install

This program is made for Microsoft Windows operation system and requires .Net Framework 4.0.

You can download a ready-to-install version from the links at http://artemiswiki.pbworks.com/w/page/53389687/Mission%20Editor

  • By default, the program expects to be located inside a subfolder of the Artemis folder, like Artemis\Editor

    • However, you can manually specify a path to the vesselData.xml, and keep the program where you want.

    • Command line syntax is: ArtemisMissionEditor.exe [ missionfilename ] [ -v vesseldatafilename ]

  • The program will store its settings file and autosave files in your %appdata%\ArtemisMissionEditor folder, and store registry information in current user's Software\ArtemisMissionEditor registry key.

Tutorial Videos

There are videos available at YouTube, describing the functionality of the editor and showing how to use it:

Interface Overview and Hotkeys

You can read basic information about the Artemis Mission Editor's interface and hotkeys on a stand-alone page here.

Main Form Space Map Form

Other Documentation

Questions? Feedback?

Your user feedback is much appreciated! You can provide feedback in the Artemis Forums in the topic dedicated to the editor https://artemis.forumchitchat.com/post?id=8115862

artemismissioneditor's People

Contributors

dthaler avatar dthaler2 avatar istrebitel avatar russjudge avatar stooj avatar xanthus1 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

artemismissioneditor's Issues

Unhandled exception error when XML file contains extraneous >

https://artemis.forumchitchat.com/post/show_single_post?pid=1321705806&postcount=131&forum=309882

Using https://d28lcup14p4e72.cloudfront.net/145634/5619819/MISS_Dawn_Patrol_2.0.zip
Unzip and use the mission editor to try to open MISS_Dawn_Partrol_2.0.xml

This hits the following error:

System.NullReferenceException: Object reference not set to an instance of an object.
   at ArtemisMissionEditor.MissionNode_Event.FromXml(XmlNode item)
   at ArtemisMissionEditor.MissionNode.NewFromXML(XmlNode item)
   at ArtemisMissionEditor.Mission.FromXml(String text, Boolean suppressLoadingSignal, Boolean fromState)
   at ArtemisMissionEditor.Mission.FromFile(String fileName)
   at ArtemisMissionEditor.Mission.Open(Boolean force)
   at ArtemisMissionEditor.Forms.FormMain._E_FM_ms_Main_File_OpenMission_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4420.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
ArtemisMissionEditor
    Assembly Version: 2.8.0.0
    Win32 Version: 2.8.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Artemis%20Mission%20Editor/ArtemisMissionEditor.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4400.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4455.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Drawing.Design
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

https://artemis.forumchitchat.com/post/show_single_post?pid=1330894029&postcount=134&forum=309882

There's an extraneous HTML bracket tag tacked onto a closing bracket:

<event name="Terran Task Force" id_arme="5dfa3020-62a3-4dfa-aad8-e587c69f4c13">
<if_variable name="TETF" comparator="EQUALS" value="1.0"/>
<if_variable name="Terran_Bounty" comparator="GREATER_EQUAL" value="5.0"/>
<create type="enemy" x="77900.0" y="0.0" z="8004.0" name="TSN Eliminator" raceKeys="TSN" hullKeys="Battleship" sideValue="1"/>
<create type="enemy" x="77900.0" y="0.0" z="9005.0" name="TSN Cleaner" raceKeys="TSN" hullKeys="Juggernaut" sideValue="1"/>
<set_variable name="TETF" value="0.0"/>
<set_comms_button text="Dragon Tooth Refuge Bounty" sideValue="2"/>&gt;
<set_variable name="Bounty_Message" value="1.0"/>
<incoming_comms_text from="Radiance Terminal">To all vessels, Pirating will no longer be tolerated. A bounty has been post for all pirating ships Dead or Alive. Justice will be delivered and order will be restored in this sector. </incoming_comms_text>
<log text="Bounty: Wanted by the Terrans"/>
</event>


Delete the "&gt;" and it should load into the mission editor correctly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.