Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Starmap.json overrides scripted systems placemements.  (Read 1272 times)

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Starmap.json overrides scripted systems placemements.
« on: June 03, 2017, 11:41:16 PM »

What it says on the tin: A system that is manually placed in it's generation script will still appear on it's starmap.json coordinates in normal mode, but will use the scripted coordinates in Dev-mode. That explains why the two Diable systems generated from the same single script are now on top of each other.
Logged
 

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24114
    • View Profile
Re: Starmap.json overrides scripted systems placemements.
« Reply #1 on: June 04, 2017, 10:24:06 AM »

If you call system.getLocation().set() after the initStar() method, that should work fine.

(Not seeing anything related to devMode, here, btw, so that's a bit odd.)
Logged