When a ship is destroyed the new ship is placed immediately with everything except location and mobility dummied out - no model, no collision, no weapon AI - to give subordinates AI to follow. Always has surviving fleet leader formation. When the replacement ship is reasonably close the dummy AI snaps to the new ship. AI shouldn't drop formation because it will have location data to follow if a subordinate catches up too soon.
When a ship is a fleet component it is randomly assigned an ID in NNN-LLL format which may or may not be shown to the player and two three digit numbers for an additional NNN-NNN format. The first ID is a wing address. The second two numbers store Service Crew and Marine complements and are updated when crew changes but not changed for ejected survivors. Every ship replaced by the same replacement ship; even custom names would snap correctly, and unless you introduce thousand-crew ships the crew digits only need three numbers anyway.
Two reference numbers and ghosting can fix this. Missile rearming could reasonably be handled by fleet support logistics; simply having missile turrets handle a value of zero would rearm properly.
I've reported already that ships can't use tracking and dumbfire missile turrets at the same time. I suggest allowing turrets a missile slot for each, and resupplying to a 50/50 balance for both equipped missiles.
I'm hoping this will be useful, my DXDIAG and Vulkaninfo have changed and I'll update you as soon as a save file becomes relevant. Apologies for my earlier rudeness - I was really stressed out at the time.
Nota Bene: Replenishing deployables with automatic resupply would also be possible with additional NNN-NNN strings, with each string allowing storage of any two items under the thousand bound. These numbers could update to existing ships if missing data and could be used for resupply runs by only changing on resupply - AI will simply duplicate the data making this quite backwards compatible and if changed by resupply will take the new number. Many deployables are not AI linked but lasertowers at least should have this.
Nota Bene: More than one NNN-NNN might confuse things but there can be more than ten values to a letter. So LNN-NNN then NLN-NNN and so on would give a good layer of filtration which would give six values. Use of dual letters would give more values. If the computer skips an instruction and loads the wrong number-letter schema then each value having a unique format would harden the data back to the correct kind of value.
I Think Fleet Ghosting can Fix an Automatic Ship Replacement Bug
This forum is the ideal place for all discussion relating to X4. You will also find additional information from developers here.
Moderator: Moderators for English X Forum
1 post
• Page 1 of 1
-
- Posts: 2971
- Joined: Wed, 4. Feb 09, 21:42
I Think Fleet Ghosting can Fix an Automatic Ship Replacement Bug
Post by Targ Collective »
I design beautiful, powerful stations that transform your gameplay and look stunning. Now presenting Tachyon Developments - The Terran Collection - now with Community of Planets ship and station technologies!
1 post
• Page 1 of 1
Jump to
- English Forums
- ↳ X4: Foundations
- ↳ X4: Foundations - Spoilers
- ↳ X4: Foundations - Technical Support
- ↳ X4: Foundations - Scripts and Modding
- ↳ Construction Community
- ↳ X Wiki Discussion
- ↳ X Rebirth Universe
- ↳ X Rebirth VR Edition
- ↳ X Rebirth - Technical Support
- ↳ X Rebirth - Scripts and Modding
- ↳ X³: Farnham's Legacy
- ↳ X³: Farnham's Legacy - Scripts and Modding
- ↳ X Trilogy Universe
- ↳ X³: Terran Conflict / Albion Prelude / Farnham's Legacy - Technical Support
- ↳ X³: Terran Conflict / Albion Prelude - Scripts and Modding
- ↳ X³: Reunion, X²: The Threat, X-T and X-BTF - Technical Support
- ↳ X³: Reunion - Scripts and Modding
- ↳ X²: The Threat - Scripts and Modding
- ↳ Creative Universe
- ↳ Off Topic English
- Deutschsprachige Foren
- ↳ X4: Foundations
- ↳ X4: Foundations - Spoilers
- ↳ X4: Foundations - Technische Unterstützung
- ↳ X4: Foundations - Scripts und Modding
- ↳ X Rebirth Universum
- ↳ X Rebirth VR Edition
- ↳ X Rebirth - Technische Unterstützung
- ↳ X Rebirth - Scripts und Modding
- ↳ X³: Farnham's Legacy
- ↳ X³: Farnham's Legacy - Scripts und Modding
- ↳ X Trilogie Universum
- ↳ X³: Terran Conflict / Albion Prelude / Farnham's Legacy - Technische Unterstützung
- ↳ X³: Terran Conflict / Albion Prelude - Scripts und Modding
- ↳ X³: Reunion, X²: Die Bedrohung, X-T und X-BTF - Technische Unterstützung
- ↳ X³: Reunion - Scripts und Modding
- ↳ X²: Die Bedrohung - Scripts und Modding
- ↳ Kreative Zone
- ↳ Off Topic Deutsch
- Forum Français
- ↳ X4: Foundations
- ↳ Support et Aide pour X4: Foundations
- ↳ Script et Modding pour X4: Foundations
- ↳ L'Univers X Rebirth
- ↳ Support et Aide pour X Rebirth
- ↳ Script et Modding pour X Rebirth
- ↳ Support et Aide pour la Trilogie X
- ↳ L'Univers de la Trilogie X
- ↳ Script et Modding pour la Trilogie X
- ↳ Off Topic Français
- Forum Italiano
- ↳ X4: Foundations
- ↳ Supporto Tecnico per X4: Foundations
- ↳ Script e Modding per X4: Foundations
- ↳ L'Universo di X Rebirth
- ↳ Script e Modding per X Rebirth
- ↳ Supporto Tecnico per X Rebirth
- ↳ L'Universo della Trilogia di X
- ↳ Script e Modding per la Trilogia di X
- ↳ Supporto Tecnico per la Trilogia di X
- ↳ Off Topic Italiano
- Polskie Fora
- ↳ Polskie / Polish X-Forum
- ↳ Polskie / Polish Off Topic
- Other Languages
- ↳ Česky / Czech X-Forum
- ↳ Dansk / Danish X-Forum
- ↳ Español / Spanish X-Forum
- ↳ Nederlands / Dutch X-Forum
- ↳ Português / Portuguese X-Forum
- ↳ Русский / Russian X-Forum
- DevNet: General
- ↳ MSCI Reference
- DevNet: X4: Foundations
- DevNet: X Rebirth
- ↳ XR - Technical Troubleshooting