Hm, I was just talking to RPC in IRC, and pondering a way to make his Dynamic Systems' Base Reconstructing Ship more cooler and stuff; that being, take the stationtype they're going to create and automatically give the ships (some of) the same armortype and equipment and such that the station will have.
But then I realized, stations can have that stuff randomized; equipment at least. I'm not sure I can see a particularly good way to make sure that the station is generated with the same equipment the builder ship has, in a extensible, easy way.
Unless you create the station and disable it until needed. But that will generate ships and have other side effects that may be difficult to contain, and for all I know might show the station on the screen briefly before it goes away.
So I'm wondering if a function that creates a station /already disabled/ would be possible and/or proper. The idea is, if you use sysPreCreateStation, the station is created but it's attendant ships aren't and it's onCreate isn't run. Those events are delayed until the first time the station is hit with objEnable.
Of course, this could still break some highly scripted stations; I'd suppose we'd want an <onPreCreate> event for people doing that kind of work.
(The whole thing could work for ships, too, of course, but it's stations that are the present issue.)
Oh! And I did re-read http://wiki.neurohack.com/transcendence/trac/ticket/535 before posting this, but I can't see an elegant way around this situation that doesn't involve pre-creating the station in some manner to get all of its equipment tables finalized.
(sysPreCreateSatation), idea mostly related to dynSys
- Star Weaver
- Militia Commander
- Posts: 311
- Joined: Sun Nov 07, 2010 10:20 pm
- Location: . . . between the stars and the warm black sky . . .
-
- Fleet Admiral
- Posts: 2876
- Joined: Thu Feb 03, 2011 5:21 am
- Location: Hmm... I'm confused. Anybody have a starmap to the Core?
Yes, I need this. Thanks for the post Starweaver :3
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat


Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
Get on Discord for mod help and general chat


Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.