Acquire the Erlking?

Please post any spoilers for X4: Foundations here.

Moderator: Moderators for English X Forum

Sandtrooper
Posts: 56
Joined: Sun, 2. Apr 06, 02:01

Re: Acquire the Erlking?

Post by Sandtrooper » Sun, 3. Apr 22, 17:33

Curious -
With those afterthought Erlking turret blue prints in data vaults as an example:
How exactly does a hot fix actually update your save file? The save is loaded AFTER the hotfix is installed so, how can omissions such as those two offending data vaults magically appear AFTER loading a saved game? The additional sectors were 'mapped' into fixed locations within the game but yet the data vaults... :rant:

Incidentally, a purple ring or ping sound is NOT how to locate things reliably - good old Egotrauma as per usual. Select your #3 mode for LRS and fire it off as usual but then go to map/personal record (bottom of the list on left side) and look there. If within range, they'll appear there. It's strange how anomalies and data vaults remain as 'unknown contacts' long AFTER learning what they are by discovering, scanning and even opening vaults or travelling through the anomalies. It'd be nice if we could rename the nav beacons and so, indicate an anomaly to where it leads.

Side notes -
Contradiction: Why do we have sound effects in space? It's a vacuum where sound waves cannot be conducted. :gruebel:
DEvolution of technology: Ship speeds are 'metres per second' yet 20th century aircraft (including many turboprops) in Earth's atmosphere travel faster. :!:
Similarly, workbench modifications to reduce 'drag' on SPACE ships travelling in the vacuum of space...?
Accepted: Thrusters can offset inertia to give similar characteristics to atmospheric flight so, that one is excusable. 8)

paiku
Posts: 172
Joined: Fri, 7. Dec 18, 08:06
x4

Re: Acquire the Erlking?

Post by paiku » Sun, 3. Apr 22, 20:34

Found 4/5 myself but could not get the last one. I mean it should atleast not be possible to have more than one in a sector. The fifth i found with the script ( thanks alot ). It was in avarice I, where i allready found another data vault. But like x=250km y=-6km z=-420 km. Pretty brutal to find.

VincentTH
Posts: 6627
Joined: Wed, 6. Nov 02, 20:31
x4

Re: Acquire the Erlking?

Post by VincentTH » Sun, 3. Apr 22, 22:05

oddgit wrote:
Thu, 17. Mar 22, 18:27
Berhg right? Boso, the anti war guy was like, yeah, go steal that, by force. haha

I was hoping for some sort of storyline related to it.
The Boron was called a criminal, what makes you think he is an anti-war guy :-)

Thomasbirn
Posts: 68
Joined: Sat, 22. Dec 18, 21:42
x4

Re: Acquire the Erlking?

Post by Thomasbirn » Tue, 5. Apr 22, 14:55

Sandtrooper wrote:
Sun, 3. Apr 22, 17:33
Curious -
With those afterthought Erlking turret blue prints in data vaults as an example:
How exactly does a hot fix actually update your save file? The save is loaded AFTER the hotfix is installed so, how can omissions such as those two offending data vaults magically appear AFTER loading a saved game? The additional sectors were 'mapped' into fixed locations within the game but yet the data vaults... :rant:

Incidentally, a purple ring or ping sound is NOT how to locate things reliably - good old Egotrauma as per usual. Select your #3 mode for LRS and fire it off as usual but then go to map/personal record (bottom of the list on left side) and look there. If within range, they'll appear there. It's strange how anomalies and data vaults remain as 'unknown contacts' long AFTER learning what they are by discovering, scanning and even opening vaults or travelling through the anomalies. It'd be nice if we could rename the nav beacons and so, indicate an anomaly to where it leads.

Side notes -
Contradiction: Why do we have sound effects in space? It's a vacuum where sound waves cannot be conducted. :gruebel:
DEvolution of technology: Ship speeds are 'metres per second' yet 20th century aircraft (including many turboprops) in Earth's atmosphere travel faster. :!:
Similarly, workbench modifications to reduce 'drag' on SPACE ships travelling in the vacuum of space...?
Accepted: Thrusters can offset inertia to give similar characteristics to atmospheric flight so, that one is excusable. 8)
Hello if you want so much realism, why do you play a Sifi game?

Rei Ayanami
Posts: 3333
Joined: Wed, 6. Nov 02, 20:31
x4

Re: Acquire the Erlking?

Post by Rei Ayanami » Tue, 5. Apr 22, 17:47

Sandtrooper wrote:
Sun, 3. Apr 22, 17:33
It'd be nice if we could rename the nav beacons and so, indicate an anomaly to where it leads.
You can't rightclick on them to rename.
However, you can left click on them, open the info menu (the "i" icon left or right on the map) and there you have a text field "Name" to rename them. Enjoy! :)
Why do we have sound effects in space? It's a vacuum where sound waves cannot be conducted.
Because the game is primarily about having fun, not everyone would enjoy silence, even if it was more realistic. I could ask back : Why do we have music in any game? Is there always someone with a radio right behind us, playing music and changing the radio channels in order to match our current situation and location? I'm just kidding, of course. :)

jlehtone
Posts: 21810
Joined: Sat, 23. Apr 05, 21:42
x4

Re: Acquire the Erlking?

Post by jlehtone » Thu, 7. Apr 22, 11:32

Berhg wrote:
Thu, 17. Mar 22, 23:21
Goddam... I'm getting bitter over this thing about the davs gating the new Battleship behind one of the activities in X4 which I despise. I need to try to calm down... :lol:
Vault hunt can be here or there, but this:
Imperial Good wrote:
Thu, 17. Mar 22, 21:40
... and then use your own XL maintenance or ship building facility to finish it.
How one is supposed to commandeer one of those station modules? Can't steal, can't hack, can't board. :headbang:
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.

Imperial Good
Moderator (English)
Moderator (English)
Posts: 4764
Joined: Fri, 21. Dec 18, 18:23
x4

Re: Acquire the Erlking?

Post by Imperial Good » Thu, 7. Apr 22, 12:30

jlehtone wrote:
Thu, 7. Apr 22, 11:32
How one is supposed to commandeer one of those station modules? Can't steal, can't hack, can't board.
Buy it with a lot of credits! Erlking is the ultimate battleship for a reason.

jlehtone
Posts: 21810
Joined: Sat, 23. Apr 05, 21:42
x4

Re: Acquire the Erlking?

Post by jlehtone » Thu, 7. Apr 22, 12:46

Imperial Good wrote:
Thu, 7. Apr 22, 12:30
Buy it with a lot of credits! Erlking is the ultimate battleship for a reason.
Arr, you want me to hand my hard earned pennies to those hostile gubbermints?
No ship is worth my freedom. :pirat:
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.

Rezedent
Posts: 155
Joined: Tue, 7. Feb 12, 18:07
x4

Re: Acquire the Erlking?

Post by Rezedent » Thu, 7. Apr 22, 13:54

Pesanur wrote:
Thu, 24. Mar 22, 18:08
Mikhaleech wrote:
Wed, 23. Mar 22, 17:04
Ok Gentlements, instead of ridicoulous method, provided by Egosoft, here is a quick workaround to easy find all Erlking's Data Vaults:

Step 1. Temporarily turn off Steam Cloud sync in Steam properties. You may switch it on later.
Step 2. Temporarily turn off savegame compression in X4 game properties. You may switch it on later.
Step 3. Save your game in any slot, copy it somewhere for insurance. Quit the game.
Step 4. Download and install Notepad++ (if you didnt have it yet) or other more powerful XML edit program.
Step 5. Find and open with Notepad++ your savegame file. Usually it is located here - C:\Users\YOURNAME\OneDrive\Documents\Egosoft\X4\68221126\save
Step 6. Now sequentially find and fix all 5 strings with Erlking Vaults locations, to do so:
A. ctrl+F - find "landmarks_erlking_vault_01_macro". The first string shall be like this:
<component class="object" macro="landmarks_erlking_vault_01_macro" connection="space" code="BXD-821" owner="ownerless" knownto="player" id="[0x81bda]">
B. REPLACE in this string owner="ownerless" to owner="player"
C. Repeat the same operation with all subsequent strings from macro="landmarks_erlking_vault_01_macro" to macro="landmarks_erlking_vault_05_macro", where you should find and replace the owner for all numbers of vault_01, vault_02, etc.
Step 7. Dont forget to save the edited file. Then run the X4 game, load your edited savegame file.
Step 8. Open the map, position the view over new Avarice and Windfall sectors and type in the Search box (right upper corner of window) the word "data"
Step 9. PROFIT! All blueprints shall be added to you right after you fly near data vaults that deemed now as your property.

Yes this surgical operation shall mark your savegame as modified. I suppose the game verify a checksum. In that case consider to have two saves in different slots and simply remember or take a screenshot of vaults positions, then load clean save after and find them manually in all already known locations.
Thanks for the tip. I really appreciate it, as I was unable to found the two turrets BP vaults, but a small correction, vault's that have not yet been found, don't have the owner="ownerless" knownto="player" string, so you need to add it.
I can only find blueprints erlking_blueprint_1 to 3, but not 4 and 5

<component class="object" macro="landmarks_erlking_vault_04_macro" connection="space" code="MUD-438" id="[0x2159c]">

<component class="object" macro="landmarks_erlking_vault_05_macro" connection="space" code="IYD-215" knownto="player" id="[0x21580]">

User avatar
Pesanur
Posts: 1908
Joined: Sat, 5. Jan 08, 22:06
x4

Re: Acquire the Erlking?

Post by Pesanur » Thu, 7. Apr 22, 18:33

Rezedent wrote:
Thu, 7. Apr 22, 13:54
Pesanur wrote:
Thu, 24. Mar 22, 18:08
Mikhaleech wrote:
Wed, 23. Mar 22, 17:04
Ok Gentlements, instead of ridicoulous method, provided by Egosoft, here is a quick workaround to easy find all Erlking's Data Vaults:

Step 1. Temporarily turn off Steam Cloud sync in Steam properties. You may switch it on later.
Step 2. Temporarily turn off savegame compression in X4 game properties. You may switch it on later.
Step 3. Save your game in any slot, copy it somewhere for insurance. Quit the game.
Step 4. Download and install Notepad++ (if you didnt have it yet) or other more powerful XML edit program.
Step 5. Find and open with Notepad++ your savegame file. Usually it is located here - C:\Users\YOURNAME\OneDrive\Documents\Egosoft\X4\68221126\save
Step 6. Now sequentially find and fix all 5 strings with Erlking Vaults locations, to do so:
A. ctrl+F - find "landmarks_erlking_vault_01_macro". The first string shall be like this:
<component class="object" macro="landmarks_erlking_vault_01_macro" connection="space" code="BXD-821" owner="ownerless" knownto="player" id="[0x81bda]">
B. REPLACE in this string owner="ownerless" to owner="player"
C. Repeat the same operation with all subsequent strings from macro="landmarks_erlking_vault_01_macro" to macro="landmarks_erlking_vault_05_macro", where you should find and replace the owner for all numbers of vault_01, vault_02, etc.
Step 7. Dont forget to save the edited file. Then run the X4 game, load your edited savegame file.
Step 8. Open the map, position the view over new Avarice and Windfall sectors and type in the Search box (right upper corner of window) the word "data"
Step 9. PROFIT! All blueprints shall be added to you right after you fly near data vaults that deemed now as your property.

Yes this surgical operation shall mark your savegame as modified. I suppose the game verify a checksum. In that case consider to have two saves in different slots and simply remember or take a screenshot of vaults positions, then load clean save after and find them manually in all already known locations.
Thanks for the tip. I really appreciate it, as I was unable to found the two turrets BP vaults, but a small correction, vault's that have not yet been found, don't have the owner="ownerless" knownto="player" string, so you need to add it.
I can only find blueprints erlking_blueprint_1 to 3, but not 4 and 5

<component class="object" macro="landmarks_erlking_vault_04_macro" connection="space" code="MUD-438" id="[0x2159c]">

<component class="object" macro="landmarks_erlking_vault_05_macro" connection="space" code="IYD-215" knownto="player" id="[0x21580]">
Save your game in two different slots, then edit one of the savegames and change the two vault entries to the next:

Code: Select all

<component class="object" macro="landmarks_erlking_vault_04_macro" connection="space" code="MUD-438" owner="player" knownto="player" id="[0x2159c]"> 
<component class="object" macro="landmarks_erlking_vault_05_macro" connection="space" code="IYD-215" owner="player" knownto="player" id="[0x21580]">
Load the modified savegame, open the map, and in the search box put "vault". Both of the missing vaults are to appear in the map. Take a screenshoot of the locations, load the unmodified savegame, and claim your prize.

PD. All the credits for Mikhaleech, who give us the original tip.

Mikhaleech
Posts: 80
Joined: Mon, 15. Feb 21, 14:46
x4

Re: Acquire the Erlking?

Post by Mikhaleech » Fri, 8. Apr 22, 22:46

Rezedent wrote:
Thu, 7. Apr 22, 13:54
I can only find blueprints erlking_blueprint_1 to 3, but not 4 and 5
That happens because you didn't came across with these Data Vaults by your scout. You may edit your savegame further, as you were suggested, or you may send some scouts to reveal sectors for you (don't forget to manually give expand the bubble to 350 km in orders). Eventually they discover these Vaults and after that your savegame shall consists knownto="player" missed strings

Rezedent
Posts: 155
Joined: Tue, 7. Feb 12, 18:07
x4

Re: Acquire the Erlking?

Post by Rezedent » Fri, 8. Apr 22, 23:38

Mikhaleech wrote:
Fri, 8. Apr 22, 22:46
That happens because you didn't came across with these Data Vaults by your scout. You may edit your savegame further, as you were suggested, or you may send some scouts to reveal sectors for you (don't forget to manually give expand the bubble to 350 km in orders). Eventually they discover these Vaults and after that your savegame shall consists knownto="player" missed strings
Thanks. Already make this.

dreamer2008
Posts: 287
Joined: Sat, 24. Dec 11, 11:14
x4

Re: Acquire the Erlking?

Post by dreamer2008 » Sat, 9. Apr 22, 19:22

silentradios wrote:
Sun, 27. Mar 22, 14:51
Edit 3/27: Apparently Avarice V and IV were swapped (I got the friendly name mapping from reddit - not sure where a real source is) -- I confirmed in my save and two others did as well

Here is a bat file that runs the powershell inside it (sneaky.. but effective) : https://anechoic.space/erlkinggui.bat
It has a few features over the previous script including:
  • A File selection dialog
  • Support for gz / compressed saves
  • GUI output of the positions
Here is the same script that you can copy and past and save into a .bat file (use notepad and save as UTF-8 or ANSI (do not select the with BOM ones) and run to avoid the prompts that you get from windows about it being safe or not..

Code: Select all

@findstr/v "^@f.*&" "%~f0"|powershell -noprofile -executionpolicy bypass -&goto:eof
#Fist line stolen from https://stackoverflow.com/a/2611394
#This uses a fair amount of memory - if you have limited ram exit X4 first...
Add-Type -AssemblyName System.Windows.Forms
[System.Windows.Forms.Messagebox]::Show("This uses a fair amount of memory - if you have limited ram exit X4 first...")

#stolen from https://4sysops.com/archives/how-to-create-an-open-file-folder-dialog-box-with-powershell/
$FileBrowser = New-Object System.Windows.Forms.OpenFileDialog -Property @{ 
    InitialDirectory = [Environment]::GetFolderPath('MyDocuments') + "\Egosoft\X4" 
    Filter = '*.xml|*.gz'
    Title = "Select savegame file"
}
while([string]::IsNullOrWhiteSpace($FileBrowser.FileName)){
    $null = $FileBrowser.ShowDialog()
    sleep 1
}

#from https://social.technet.microsoft.com/Forums/windowsserver/en-US/5aa53fef-5229-4313-a035-8b3a38ab93f5/unzip-gz-files-using-powershell?forum=winserverpowershell
Function Expand-GZip{
    Param(
        $infile,
        $outfile = ($infile -replace '\.gz$','')
        )
    $input = New-Object System.IO.FileStream $inFile, ([IO.FileMode]::Open), ([IO.FileAccess]::Read), ([IO.FileShare]::Read)
    $output = New-Object System.IO.FileStream $outFile, ([IO.FileMode]::Create), ([IO.FileAccess]::Write), ([IO.FileShare]::None)
    $gzipStream = New-Object System.IO.Compression.GzipStream $input, ([IO.Compression.CompressionMode]::Decompress)
    $buffer = New-Object byte[](1024)
    while($true){
        $read = $gzipstream.Read($buffer, 0, 1024)
        if ($read -le 0){break}
        $output.Write($buffer, 0, $read)
        }
    $gzipStream.Close()
    $output.Close()
    $input.Close()
}

$gzip = $false

if($FileBrowser.FileName -match "\.gz$"){
    Write-Host "Extracting compressed save, this may take a while"
    $gzip = $true
    Expand-GZip -infile $FileBrowser.FileName
}

if($gzip) {
    $file = ($FileBrowser.FileName -replace '\.gz$','')
} else {
    $file = $FileBrowser.FileName
}

Write-Host "Loading XML, this may take a while and will use lots of ram"

$Xml=New-Object Xml
#unzip .gz file with 7-zip or gunzip first or use uncompressed saves
$Xml.Load($file)

Write-Host "Finding Erlking Data Vaults"
$components=Select-Xml -Xml $Xml -XPath "/savegame/universe//component"
$erl=$components | ?{$_.Node.macro -and $_.Node.macro.Contains("erlking")}
$vaults = $erl | ?{$_.Node.macro -and $_.Node.macro.Contains("landmarks_erlking_vault")}

#From hatevampire at https://www.reddit.com/r/X4Foundations/comments/thjbik/how_to_read_save_file/
#Not sure where the real source of friendlyname is..

$locationtoname = @{
    cluster_500_sector001_macro="Avarice I"
    cluster_500_sector002_macro="Avarice V"
    cluster_500_sector003_macro="Avarice IV"
    cluster_501_macro="Windfall I"
    cluster_502_macro="Windfall III"
    cluster_503_macro="Windfall IV"
}

$macrotocoords=@{
     "Zone004_Cluster_503_Sector001_macro"="139680,0,-3215.59"
     "Zone003_Cluster_500_Sector003_macro"="-115796.9,0,-96109.38"
     "Zone002_Cluster_503_Sector001_macro"="-2269.199,0,165758.4"
     "Zone006_Cluster_500_Sector002_macro"="-184409.83,0,-3343.0"
     "Zone003_Cluster_501_Sector001_macro"="-97898.44,0,-23632.81"
     "Zone003_Cluster_500_Sector001_macro"="-97898.44,0,-23632.81"
     "Zone005_Cluster_501_Sector001_macro"="-23023.44,0,-160132.8"
     "Zone004_Cluster_504_Sector001_macro"="157616.8,0,-84263.63"
     "tzoneCluster_500_Sector002SHCon9_GateZone_macro"="-39827.2,0,200000"
     "tzoneCluster_500_Sector002SHCon5_GateZone_macro"="-50000,0,200000"
     "Zone001_Cluster_500_Sector003_macro"="-117046.9,0,82593.75"
     "Zone001_Cluster_501_Sector001_macro"="-127062.5,0,133718.8"
     "Zone005_Cluster_504_Sector001_macro"="-23023.44,0,-160132.8"
     "Zone004_Cluster_500_Sector001_macro"="103164.1,0,-32492.19"
     "Zone002_Cluster_500_Sector001_macro"="-10960.94,0,112070.3"
     "Zone003_Cluster_500_Sector002_macro"="-7132.69,0,531.25"
     "Zone002_Cluster_500_Sector002_macro"="-118489.4,0,-131687.5"
     "tzoneCluster_500_Sector003SHCon9_GateZone_macro"="50000,0,200000"
     "Zone005_Cluster_500_Sector002_macro"="98694.83,0,-126406.3"
     "tzoneCluster_500_Sector001SHCon2_GateZone_macro"="66960.9,0,-207957"
     "tzoneCluster_500_Sector003SHCon5_GateZone_macro"="40054.7,0,200000"
     "tzoneCluster_500_Sector001SHCon10_GateZone_macro"="-45738.28,0,-200000"
     "Zone005_Cluster_500_Sector003_macro"="34671.88,0,-152515.6"
     "Zone001_Cluster_504_Sector001_macro"="-127062.5,0,133718.8"
     "Zone003_Cluster_502_Sector001_macro"="-97898.44,0,-23632.81"
     "Zone002_Cluster_504_Sector001_macro"="137904.1,0,135199.3"
     "Zone005_Cluster_503_Sector001_macro"="-23023.44,0,-160132.8"
     "Zone001_Cluster_500_Sector001_macro"="-127062.5,0,133718.8"
     "Zone004_Cluster_501_Sector001_macro"="103164.1,0,-32492.19"
     "tzoneCluster_500_Sector001SHCon4_GateZone_macro"="76886.7,0,-207957"
     "Zone006_Cluster_502_Sector001_macro"="47000.0,0,172000.0"
     "Zone002_Cluster_500_Sector003_macro"="44015.63,0,158125"
     "tzoneCluster_500_Sector001SHCon6_GateZone_macro"="-55785.2,0,-200000"
     "Zone002_Cluster_501_Sector001_macro"="-10960.94,0,112070.3"
     "Zone001_Cluster_500_Sector002_macro"="-78593.63,0,157937.5"
     "Zone003_Cluster_503_Sector001_macro"="-199365.3,0,-55454.45"
     "Zone001_Cluster_502_Sector001_macro"="-127062.5,0,133718.8"
     "Zone003_Cluster_504_Sector001_macro"="-226443.3,0,-97194.67"
     "Zone005_Cluster_500_Sector001_macro"="-23023.44,0,-160132.8"
     "Zone004_Cluster_500_Sector003_macro"="110359.4,0,7250"
     "Zone001_Cluster_503_Sector001_macro"="-190039.3,0,180073.9"
     "Zone005_Cluster_502_Sector001_macro"="-23023.44,0,-160132.8"
     "Zone004_Cluster_500_Sector002_macro"="101721.7,0,100656.3"
     "Zone002_Cluster_502_Sector001_macro"="108009.3,0,115933.7"
     "Zone004_Cluster_502_Sector001_macro"="103164.1,0,-32492.19"
}

#Get offsets up the tree
function Recurse-Offsets($node){
    if($node.class -and $node.class -eq "galaxy"){
        return @()
    }
    if($node.offset -ne $null){
        if($node.offset.position){
            $x=$node.offset.position.x
            $y=$node.offset.position.y
            $z=$node.offset.position.z
        } else {
            $x,$y,$z=0,0,0
        }
        if($node.offset.rotation){
            if($node.offset.rotation.yaw){$yaw=$node.offset.rotation.yaw} else {$yaw=0}
            if($node.offset.rotation.pitch){$pitch=$node.offset.rotation.pitch} else {$pitch=0}
            if($node.offset.rotation.roll){$roll=$node.offset.rotation.roll} else {$roll=0}
        } else {
            $pitch,$roll,$yaw=0,0,0
        }
        if($macrotocoords[$node.macro]){
            $x,$y,$z=$macrotocoords[$node.macro].Split(",")
        }
        $obj = [pscustomobject]@{
            x=$x
            y=$y
            z=$z
            pitch=$pitch
            roll=$roll
            yaw=$yaw
            code=$node.code
            macro=$node.macro
            class=$node.class
        }
        return @($obj) + (Recurse-Offsets -node $node.ParentNode)
    } else {
        return Recurse-Offsets -node $node.ParentNode
    }
}

$data=. {
    foreach($vault in $vaults){
        $data=Recurse-Offsets $vault.Node
        $sums = $data | Measure-Object -Sum -Property x,y,z
        $location = $data |?{$_.class -eq "sector"} | select -ExpandProperty macro
        if([string]::IsNullOrWhiteSpace($location)){
            $location = $data |?{$_.class -eq "cluster"} | select -ExpandProperty macro
        }
        [pscustomobject]@{
            location=$locationtoname[$location]
            Xkm=($sums |?{$_.property -eq "x"}).sum/1000
            Ykm=($sums |?{$_.property -eq "y"}).sum/1000
            Zkm=($sums |?{$_.property -eq "z"}).sum/1000
            blueprint=$vault.Node.connections.connection.component.blueprints |?{$_ -ne $null}
            vault=$vault.Node.macro
            code=$vault.Node.code
        }
    }
} 
$data | ft -AutoSize
$data | Out-GridView
if($gzip){
    if([System.Windows.Forms.MessageBox]::Show("Remove the extracted save $file" , "Remove Save?" , 4, 64) -eq "Yes"){
        Remove-Item -Path $file
    }
}

[System.Windows.Forms.Messagebox]::Show("Done, you can copy out of the cmd window or grid view before closing this if you want.")

<#
#Some other useful snippets

#detailed output
. {
    foreach($vault in $vaults){
        Recurse-Offsets $vault.Node
        "-----"
    }
} | ft -AutoSize

#parse out zone info
$zoneinfo = [xml](gc c:\path\to\dlc_pirate_sectors.xml)
$hash = @{}
$zoneinfo.macros.macro | %{
    $_.connections.connection | %{
        $hash += @{$_.macro.ref = $_.offset.position } 
    }
}
# Generate a powershell hash for the above xml and put it on the clipboard
"@{`n" + ($hash.GetEnumerator() |%{"    `"$($_.key)`"=`"$(@($_.value.x,$_.value.y,$_.value.z) -join ",")`"`n"}) + "}" | clip
$components=Select-Xml -Xml $Xml -XPath "/savegame/universe//component"
# Get all classes
$components.Node.class | select -Unique | sort

order of map related:
    galaxy
    cluster
    sector
    zone
#>
Thanks so much for this. It was pure torment trying to find the last vault, with this script I finally found it. I had the weirdest luck to have 4 vaults spawn in the same sector. Once I found 3 I thought it was plenty, didn't search more.

User avatar
BigBANGtheory
Posts: 3168
Joined: Sun, 23. Oct 05, 12:13
x4

Re: Acquire the Erlking?

Post by BigBANGtheory » Sun, 10. Apr 22, 15:38

sent in a shock and awe fleet, the VIG didn't even dare open fire during boarding 8)
Spoiler
Show
Image

Sandtrooper
Posts: 56
Joined: Sun, 2. Apr 06, 02:01

Re: Acquire the Erlking?

Post by Sandtrooper » Sun, 10. Apr 22, 19:14

Thanks for the suggested workaround regarding the naming of Navsats/beacons.

Music? Why indeed. Although the Asgard is large, I don't think it'll accommodate John Williams and his orchestra. More is the pity - the Imperial March playing as I disembarked on a station would be FUN!

Failing that, X3 had the best piece of music IMHO: Boron's Kingdom End soundtrack was nice. When going into battle whilst playing Elite (Atari ST and Amiga days), I would play 'Mars' (Holst's Planet Suite)

Raptor34
Posts: 2475
Joined: Sat, 12. Jun 10, 04:43
x4

Re: Acquire the Erlking?

Post by Raptor34 » Mon, 11. Apr 22, 16:31

Imperial Good wrote:
Thu, 7. Apr 22, 12:30
jlehtone wrote:
Thu, 7. Apr 22, 11:32
How one is supposed to commandeer one of those station modules? Can't steal, can't hack, can't board.
Buy it with a lot of credits! Erlking is the ultimate battleship for a reason.
How good is it? What about comparisons to the Asgard? Maybe even compared to a good destroyer?
Because frankly it looks ugly, the new ships reminds me of X3 Teladi which I wasn't a fan of. Dislike asymmetry.

User avatar
chew-ie
Posts: 5604
Joined: Mon, 5. May 08, 00:05
x4

Re: Acquire the Erlking?

Post by chew-ie » Mon, 11. Apr 22, 18:27

It is a long range battleship (>8km for all turrets, both L & M) which eats Xenon K's and small ships. For battling an I I'd give it some additional backup for good measure.

Image

Spoiler
Show
BurnIt: Boron and leaks don't go well together...
Königinnenreich von Boron: Sprich mit deinem Flossenführer
Nila Ti: Folgt mir, ihr Kavalkade von neugierigen Kreaturen!

:idea: Pick your poison seed [for custom gamestarts]
:idea: Feature request: paint jobs on custom starts

Raptor34
Posts: 2475
Joined: Sat, 12. Jun 10, 04:43
x4

Re: Acquire the Erlking?

Post by Raptor34 » Mon, 11. Apr 22, 19:43

chew-ie wrote:
Mon, 11. Apr 22, 18:27
It is a long range battleship (>8km for all turrets, both L & M) which eats Xenon K's and small ships. For battling an I I'd give it some additional backup for good measure.
So not as good as an Asgard it sounds like.
I assume those turrets have good accuracy? What about it's super long main gun?

Imperial Good
Moderator (English)
Moderator (English)
Posts: 4764
Joined: Fri, 21. Dec 18, 18:23
x4

Re: Acquire the Erlking?

Post by Imperial Good » Mon, 11. Apr 22, 19:46

Raptor34 wrote:
Mon, 11. Apr 22, 16:31
How good is it? What about comparisons to the Asgard? Maybe even compared to a good destroyer?
Asgard still has better forward DPS against big targets. However it still effortlessly destroys entire fleets, and even more so against fighters than the Asgard due to its insane speed (600 m/s flight is possible) and 10 km pulse turret accurate but heavy damage turrets.

You can basically take Erlking into a Xenon sector and, assuming the Xenon bother to build anything, watch as all their ships explode around you. Sure you cannot face tank the Is and Ks like the Asgard due to the explosion damage stripping turrets, but you can kill them more than fast enough from 6km odd and in complete safety.

It is also one of the few ships that laughs at the VIG doomfleet. All the missile spam in the universe is ineffective against the Erlking due to it flying faster than sufficiently powerful missiles do.

Outside of the weak XL battery its only other disappointment is the toughness. Asgard can face tank a lot without much care but with the Erlking you need to make sure that you do not get hit too much. Explosion damage, such as from destroyed capitals, is a huge problem for the Erlking as it can easily strip most of its L and M turrets. For this reason you find yourself often operating in the >5 km range against capitals even if optimal damage is closer.
Raptor34 wrote:
Mon, 11. Apr 22, 19:43
I assume those turrets have good accuracy? What about it's super long main gun?
Yes they have high end damage but with pulse or better projectile speed. Fly it into a S/M swarm and watch ships explode around you. Most S ships are one-shot by the L turrets. The chain bolt (with pulse laser speed) M turrets also make short work of ships, especially if they get too close and start taking a lot of hits.

The XL battery is a disappointment. It makes up 20-30% of your forward DPS but to use you basically need to play like a rhythm game with charge cycling it. Usually it is easier to leave the turrets to deal with anything that is a threat.

Raptor34
Posts: 2475
Joined: Sat, 12. Jun 10, 04:43
x4

Re: Acquire the Erlking?

Post by Raptor34 » Mon, 11. Apr 22, 20:38

Imperial Good wrote:
Mon, 11. Apr 22, 19:46
Raptor34 wrote:
Mon, 11. Apr 22, 16:31
How good is it? What about comparisons to the Asgard? Maybe even compared to a good destroyer?
Asgard still has better forward DPS against big targets. However it still effortlessly destroys entire fleets, and even more so against fighters than the Asgard due to its insane speed (600 m/s flight is possible) and 10 km pulse turret accurate but heavy damage turrets.

You can basically take Erlking into a Xenon sector and, assuming the Xenon bother to build anything, watch as all their ships explode around you. Sure you cannot face tank the Is and Ks like the Asgard due to the explosion damage stripping turrets, but you can kill them more than fast enough from 6km odd and in complete safety.

It is also one of the few ships that laughs at the VIG doomfleet. All the missile spam in the universe is ineffective against the Erlking due to it flying faster than sufficiently powerful missiles do.

Outside of the weak XL battery its only other disappointment is the toughness. Asgard can face tank a lot without much care but with the Erlking you need to make sure that you do not get hit too much. Explosion damage, such as from destroyed capitals, is a huge problem for the Erlking as it can easily strip most of its L and M turrets. For this reason you find yourself often operating in the >5 km range against capitals even if optimal damage is closer.
Raptor34 wrote:
Mon, 11. Apr 22, 19:43
I assume those turrets have good accuracy? What about it's super long main gun?
Yes they have high end damage but with pulse or better projectile speed. Fly it into a S/M swarm and watch ships explode around you. Most S ships are one-shot by the L turrets. The chain bolt (with pulse laser speed) M turrets also make short work of ships, especially if they get too close and start taking a lot of hits.

The XL battery is a disappointment. It makes up 20-30% of your forward DPS but to use you basically need to play like a rhythm game with charge cycling it. Usually it is easier to leave the turrets to deal with anything that is a threat.
Huh. That reminds me of the Xenon I actually. Excellent turrets and all that.
Just too bad it looks like junk unlike the I.

Post Reply

Return to “X4: Foundations - Spoilers”