December 30, 2024, 18:33:16

Author Topic: Stations and modules  (Read 8086 times)

Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
Stations and modules
« on: December 31, 2011, 03:03:51 »
Simple question:

Anyone knows if it's possible to dynamically add modules to a given station?

Also, can you dynamically add a station to a given location in the system files?

Offline The Old Dragon

  • Ensign
  • ***
  • Posts: 362
  • Karma: 6
    • View Profile
    • http://
Re: Stations and modules
« Reply #1 on: December 31, 2011, 09:24:48 »
Well, my first thought would be to add the station manually as you would any other object and then make it disappear. When the required conditions are met, it appears via the mission script.

If that's not possible (due to the amount of objects before that point), you could try building the station in the mission editor and then recording all the positional/orientational data; you could then use the CreateShip(); command to add the core and modules to the scene.

Just a thought, does the AddLocation(); command work from within a mission script or only outside the mission rules?
Better to look the fool by asking, then prove them right with ignorance.