Would it be possible to mark a piece of equipment as hidden so that the player is totally incapable of interacting with it? For example, if I wanted to have a device which doesn't take up any devices slots, but automatically repairs the ship and is hidden from player interaction, then I could simply state that the ship has built in damage control and will repair itself over time.
Such a device would also need a way to be protected from damage, such as from those darned Ventari EMP blasts.
Hidden Devices?
Take the patcher arm, make it virtual and use no slots and in the <onInstall> event start a recurring timer to repair itself if needed. I'm not really sure how the repairCycle works though and you would need something to install the device because the player will not be able to. An item with an <Invoke> script could do it.
I was considering something similiar for VUI but it would be done with overlays.
Hope this helps.
I was considering something similiar for VUI but it would be done with overlays.
Hope this helps.
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
- digdug
- Fleet Admiral
- Posts: 2620
- Joined: Mon Oct 29, 2007 9:23 pm
- Location: Decoding hieroglyphics on Tan-Ru-Dorem
I suppose is for a custom playership with an auto-repair system.
So you could probably put an <OnCreate> on the ship and add the virtual device with that. (not sure if a virtual device can be added to the cargo of a ship, however)
Then if the virtual item has a <OnUpdate> it can run a repair cycle of the armor layers and a self repair if needed.
So you could probably put an <OnCreate> on the ship and add the virtual device with that. (not sure if a virtual device can be added to the cargo of a ship, however)
Then if the virtual item has a <OnUpdate> it can run a repair cycle of the armor layers and a self repair if needed.
- Aeonic
- Militia Commander
- Posts: 469
- Joined: Sun Jun 14, 2009 1:05 am
- Location: Designing his dream ship.
Well, I had more in mind just using the effects of the device, but preventing the player from removing it or even knowing that its there...
Will devices work at all if they're virtual?
Will devices work at all if they're virtual?
Last Cause Of Death: Destroyed by Karl Svalbard's last Lucifer missile, right after I blew him up. And the crowd cheers.


- Arisaya
- Fleet Admiral
- Posts: 5535
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
yes they will
sit on apenitent shrine if you doubt me. oracuss harass is a virtual device. so are domina powers for that matter.
sit on apenitent shrine if you doubt me. oracuss harass is a virtual device. so are domina powers for that matter.
(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!>
Just be sure to avoid recurring timers if at all possible. They are restricted to a single system whereas an overlay will persist after gating.
You could have a virtual patcher arm with an <onUpdate> to fix itself (and possibly other damaged devices) if it gets damaged, and stick it (the device) in the <devices> tag on your ship.
You could have a virtual patcher arm with an <onUpdate> to fix itself (and possibly other damaged devices) if it gets damaged, and stick it (the device) in the <devices> tag on your ship.