This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding Planets
#1
I have found several planets (such as New Dallas) that are not listed in the universe file and would like to know how to correctly add new planets. I have been able to edit planet details w/o issue but my one attempt at actually adding a planet resulted in my campaign not wanting to load. It did not crash or give an error but after several minutes of being stuck on the campaign loading screen I closed out and removed the record from planets.xml
Reply
#2
At a minimum you need:

<planet>
<name>Planet Name</name>
<xcood>XXX.XX</xcood>
<ycood>YYY.YY</ycood>
<faction>FAC</faction>
</planet>

xcood and ycood should be all numbers in place of the Xs/Ys in my example, obviously.

Edit: It is easiest to just put them at the very end of the current document, however make sure it is inside the final </planets> that closes the entire document. Note this is planets and must enclose all planet entries.

Also, MHQ does not 'pop-up' errors if the planets.xml file fails to load, however they can be found in the mekhqlog file and usually will point you to the line with the issue.
Reply
#3
Ok, I will try again this time starting with the bare minimum at first.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Splitting a unit to different planets kylearn 2 1,399 09-02-2017, 03:22 AM
Last Post: kylearn
  Adding aspecial ability? ThomasMarik 2 1,512 05-21-2016, 07:58 PM
Last Post: ThomasMarik
  Adding mechs to the RAT cowboy 7 3,941 01-17-2014, 07:36 PM
Last Post: pfarland
  Adding my old units into MekHQ Groggy1 3 2,109 01-24-2013, 11:05 AM
Last Post: Arkaris
  Adding Mek quirks silmeril 7 4,023 01-22-2013, 03:39 PM
Last Post: Jayof9s
  Planets in planets.xml Akira213 4 2,748 12-18-2012, 05:00 PM
Last Post: Akira213
  Planets and Skills vettie 2 2,008 08-20-2012, 08:27 PM
Last Post: vettie
  planets.xml Goto 2 2,597 02-20-2012, 04:29 PM
Last Post: Jayof9s
  Data Entry: Planets rlithgow 7 5,487 07-05-2011, 04:47 AM
Last Post: Zenoflame

Forum Jump:


Users browsing this thread: 1 Guest(s)