Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.95a is out! (03/26/21); Blog post: Skill Changes, Part 2 (07/15/21)

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

Tartiflette

  • Admiral
  • *****
  • Posts: 3296
  • Toss a coin to your Modder, O' valley of plenty
    • 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: 18940
    • 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