virtual Ship class shows up in main menu
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
quite simply I was getting one of my modded virtual ships (used as a controller for some modded shields) showing up in the main menu
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
-
- Developer
- Posts: 2998
- Joined: Thu Jul 24, 2003 9:53 pm
- Contact:
Looking at the code, the intro skips any ships with virtual="true". Not sure how it could happen.Wolfy wrote:quite simply I was getting one of my modded virtual ships (used as a controller for some modded shields) showing up in the main menu
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
I figured it out - they were shield event controllers getting spawned. They have code to delete themselves if the parent ship dies, but theres a small window of time that that they can be selected
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
Is there a way to simply prevent the intro screen from selecting them?
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
-
- Developer
- Posts: 2998
- Joined: Thu Jul 24, 2003 9:53 pm
- Contact:
Can you suspend the ship?Wolfy wrote:Is there a way to simply prevent the intro screen from selecting them?
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
How would that work? It just needs to be able to run timer events.
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
-
- Developer
- Posts: 2998
- Joined: Thu Jul 24, 2003 9:53 pm
- Contact:
Try calls objSuspend when you create the object. I believe the timers will still work (but try it and see). The intro screen ignores suspended objects.Wolfy wrote:How would that work? It just needs to be able to run timer events.
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
Yes, the timers still seem to work - thanks!
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>