Conditional Sub-ents
Moderators: winston, another_commander
- Killer Wolf
- ---- E L I T E ----
- Posts: 2278
- Joined: Tue Jan 02, 2007 12:38 pm
Conditional Sub-ents
Not sure if this has been asked before, but would it be possible to have sub-ents that could represent a specced-up ship depending on what equipment you buy? eg, buy the advanced space compass and there's an antennae intallation that appears? Maybe using the HUD plist "equipment required" sort of thing?
- montana05
- ---- E L I T E ----
- Posts: 1166
- Joined: Mon May 30, 2016 3:54 am
- Location: lurking in The Devils Triangle (G1)
Re: Conditional Sub-ents
While you can remove a specific sub it is currently only possible to restore all of them. Therefore, to add a sub depending on the equipment, a workaround is needed. When the ship is added, all subs need to be there. By checking the available equipment, you can then remove every sub for equipment not installed. A script should check the time the ship is spawned and the time when leaving the station to make sure that no new parts were bought.Killer Wolf wrote: ↑Mon Jul 11, 2022 7:12 amNot sure if this has been asked before, but would it be possible to have sub-ents that could represent a specced-up ship depending on what equipment you buy? eg, buy the advanced space compass and there's an antennae intallation that appears? Maybe using the HUD plist "equipment required" sort of thing?
EDIT: Added more detail
Scars remind us where we've been. They don't have to dictate where we're going.
- Killer Wolf
- ---- E L I T E ----
- Posts: 2278
- Joined: Tue Jan 02, 2007 12:38 pm
Re: Conditional Sub-ents
thanks for that, think i'll have to do a bit research/play.
- Cholmondely
- Archivist
- Posts: 5364
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Conditional Sub-ents
Have you seen Dertien's Z GrOovy HPC pack?
Has links to threads and other relevant oxp's
Landing Gear and other bits:
Film: https://www.youtube.com/watch?v=FeLpZQI_a4M (shows how ship grows as new equipment is purchased)
Has links to threads and other relevant oxp's
Landing Gear and other bits:
Film: https://www.youtube.com/watch?v=FeLpZQI_a4M (shows how ship grows as new equipment is purchased)
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?