Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment   Page 6 of 6     «   Prev   3   4   5   6
ogremasch

Avatar / Picture

Registered:
Posts: 89
Reply with quote  #76 
First, Thank you to the creator of the mission editor and everyone involved in making this editor so useful. I am just starting out and running into problems but this editor has been very helpful to my learning process.

Second, I have watched the youtube tutorial videos which do a great job describing the controls and the editor itself. 

What I am looking for is a manual or a "how to" that details a basic mission and how to accomplish some different things. I thought about maybe making a "template" mission for 2.7.1 but since I am new to mission scripting I may not be the best person to do this. 

I have tried reverse engineering some of the existing missions and that has helped but personally I would benefit from having a mission that had comments about why this certain condition and action set does what it does and maybe a few basic tips and tricks in terms of missions creating things, where to put the different events and, I know I am asking a lot, the best way to write the code for maintainability/shareability. 

I have not been able to make it to an armada and understand that there was a great scripting bootcamp at the latest one. Any chance a noob like me can get access to any of the resources from that? Any missions that maybe fit the bill as a mission template or represent good code to sort of guide me on my path to scripting? 

please feel free to move this post if it should be elsewhere.
ryleyra

Registered:
Posts: 2,829
Reply with quote  #77 
I would start a thread for this since this isn't really a topic limited to the Mission Editor itself, but is about the scripting of missions in general. There really hasn't been a thread on this topic, and I doubt anyone would ever start one, as there's simply too much material to cover in a single post. Most of us have learned scripting through trial and error, and just asking each other for help with specific missions.

I can offer some advice, however. First of all, while it is BARELY usable at this point, and doesn't cover any more than a starting point and the basics, I would recommend my scripting tutorial on the wiki. I intend to one day continue this and expand on it, covering a lot more than is currently there, but it may be enough to get you started. At the very least, it will explain the concepts of events and the way the scripting language in Artemis is based on "loops" which repeat infinitely. It's a very odd language to get your head around, so it helps to start with an understanding of how it works.

There is no available link on the wiki to that tutorial because it is so unfinished. It's kind of a little secret I have floating out there, for now. 😃

The second thing you will want to check out is the Mission Scripting page on the wiki. Here, Dave Thaler has collected most of the information in the mission-file-docs.txt file in the Artemis installation, and our own experimentation here in the forums, and described all of the commands available and related features of the scripting system. This is far more complete than even the documentation available in the install, so I would definitely make use of it.

That should be enough to get you started, if you have any more questions, start a new thread, and I will be happy to offer you my own advice on scripting. There are quite a few techniques I have developed that I would like to one day include in the wiki, and I would be happy to preview them here. You can also find out a lot just by browsing this forum.

I'll also note that right now the tutorial makes reference to variables storing only integers. That has changed, but I haven't changed the tutorial yet. I'll try to fix that error as soon as I get a chance.
ogremasch

Avatar / Picture

Registered:
Posts: 89
Reply with quote  #78 
Many thanks, that is extremely helpful!
Dave Thaler

Registered:
Posts: 405
Reply with quote  #79 
Quote:
Originally Posted by LawsonThompson
JIT error while trying to copy the current Game Music Volume into a variable.


Interesting.  The copy_object_property command doesn't support global properties, so I think it's a bug that the global properties were displayed in the context menu for that command.  I think I can fix hat.

Quote:
FEATURE REQUEST: Can this app retain a backup of the previous successful save?


That, or something similar, is probably possible.  I will see what I can do unless someone else submits a pull request first.

Dave Thaler

Registered:
Posts: 405
Reply with quote  #80 
I just pushed the fix to GitHub to treat global properties as not legal with the copy_object_property command, so the fix will be in the next release.
Dave Thaler

Registered:
Posts: 405
Reply with quote  #81 
Artemis Mission Editor v2.7.8 is now released.  Changes include:
  • Added a Potential Problems warning if a neutral ship is created and FOLLOW_COMMS_ORDERS is never added to it (to catch issues like the one reported in the Battle of Elihu 12 thread)
  • When object properties are used with copy/set/addto_object_property, it now requires specifying either a non-empty object name or use_gm_selection
  • Fixed bug where if_docked complained if no ship name was given
  • Fixed bug where copy_object_property incorrectly allowed selecting global properties (bug reported above by LawsonThompson)
Xavier Wise

Registered:
Posts: 1,028
Reply with quote  #82 
Thank you for maintaining this! It is possibly the most valuable resource out there for Artemis and has enabled me to create some awesome mission scripts!

Your continued work on it is hugely appreciated.

__________________
Fleet Captain Xavier Wise - TSN Sabre
Link to TSN RP Community website
Xavier Wise

Registered:
Posts: 1,028
Reply with quote  #83 
Hey, just wanted to report a bug in the Mission Editor. When I have been adding objects in the sector map view, I can only add purple nebula. If I edit objects on there, it will reset any yellow or blue coloured nebula back to purple when the changes are saved. I then have to manually change the nebula back to yellow and blue.

__________________
Fleet Captain Xavier Wise - TSN Sabre
Link to TSN RP Community website
Dave Thaler

Registered:
Posts: 405
Reply with quote  #84 
Quote:
Originally Posted by Xavier Wise
Hey, just wanted to report a bug in the Mission Editor. When I have been adding objects in the sector map view, I can only add purple nebula. If I edit objects on there, it will reset any yellow or blue coloured nebula back to purple when the changes are saved. I then have to manually change the nebula back to yellow and blue.


Took a while to get this done since there were several parts to this that involved code I wasn't previously familiar with.  Anyway, I've now checked the fix into GitHub.  Any other requests before I release the new version?
Dave Thaler

Registered:
Posts: 405
Reply with quote  #85 
Artemis Mission Editor v2.7.9 is now released.  Changes include:
  • Fixed bug where nebula colors were lost by the space map (bug reported above by Xavier Wise)
  • Made nebula color (nebType) property be editable in the space map
  • Made nebula display colors used by space map be editable in Settings
Xavier Wise

Registered:
Posts: 1,028
Reply with quote  #86 
That is awesome! Any more that crop up, I'll give you a shout.

As always, really appreciate you maintaining this. It would be impossible for me to have written something as complex as the TSN Sandbox without this tool!

__________________
Fleet Captain Xavier Wise - TSN Sabre
Link to TSN RP Community website
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.