[AP/TC] Is there a player's Shipyard ? (Solved...for now)

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
TTD
Posts: 11165
Joined: Sun, 6. Jul 08, 10:29
x4

[AP/TC] Is there a player's Shipyard ? (Solved...for now)

Post by TTD »

I have various scripts and mods.
One enables me to create a shipyard (eg Cycrow's Cheat Package).
However I have tried various ways to get a player owned shipyard,but each time they won't let me dock capitals,except in the case of the PHQ.

The nearest compromise is a "Friendly Race" shipyard.

Is there a mod or script that will create a player owned shipyard which allows me to dock Capital ships?

EDIT

btw I am playing TC v 3.1.1 with Bonus Pack and Steam DLC
Last edited by TTD on Wed, 22. Feb 12, 14:00, edited 3 times in total.
User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 25128
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus »

Based on the fact that shipyards have no functions (other than the ability to dock ships to it), I would suggest to simply get an Equipment Dock. It can be purchased in Vanilla and you can dock several capital ships to it.
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten

Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!
User avatar
TTD
Posts: 11165
Joined: Sun, 6. Jul 08, 10:29
x4

Post by TTD »

I like the fact that shipyards are long and docks more capitals than EQDs.

I have used multiple EQDs in former games where I have not been playing modified.
Treelor
Posts: 315
Joined: Mon, 5. May 08, 01:25
x4

Post by Treelor »

You could always install the Xtra Ship Pack - that has buyable shipyards for a couple of races, which have the extra function of having actual ship construction capabilities (similar to the PHQ) thrown in.
User avatar
TTD
Posts: 11165
Joined: Sun, 6. Jul 08, 10:29
x4

Post by TTD »

Thanks for that, as I was not looking for more ships,I have ignored it in the past.

Downloaded and installed this morning but have problems with it.
I will read through the mod's thread and see if others have had the same problem.

Meanwhile....

Any other suggestions?
User avatar
TTD
Posts: 11165
Joined: Sun, 6. Jul 08, 10:29
x4

Post by TTD »

UPDATE
======

I have got it running now and I like it very much.

Still not what I was looking for,but very good just the same :D

Gives me more scope in certain areas and the new ship models are great !

So, still looking for a standard Shipyard that will let me dock my capitals.
boogieman335
Posts: 223
Joined: Tue, 4. Sep 07, 22:32
x4

Post by boogieman335 »

You can try cloning the shipyards with the clone station script thats linked on the Xtra ship pack page. Some people have had problems getting Cap ships to dock and this is the fix for that.
User avatar
cattafett
Posts: 884
Joined: Thu, 30. Aug 07, 00:40
x3tc

Post by cattafett »

two things that might help
if you take a copy of the scene file for the normal ship yard and rename it the same as an equipment dock you can make the equipment dock use the shipyard model
if you like i could upload one for you if you dont'/won't want to do it yourself

three things about swaping models
don't be in a sector if you do this on a old save game
if you do this undock your ships from the equipment docks cos strange stuff happens
[ external image ]
and while the ship yard model has six cap ship docks it only has 5 small ship docks. unlike th 15(i think) the equipment dock has


when you script in stations (i've been working on adding cap ship docking to all stations) straight into the game the cap ship docks don't work but if you add them to a TL and build them they will

out of interest how many capship docks would you like the an equipment dock to have?
those UFOs you hear about are just what you tried to explaine to me going over my head
Advanced Complex-Hub you know you need it Catta Fett's D.O.G.S Vanilla safe mod collectionyou don't need them but you want them
Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings
User avatar
TTD
Posts: 11165
Joined: Sun, 6. Jul 08, 10:29
x4

Post by TTD »

boogieman335 wrote:You can try cloning the shipyards with the clone station script thats linked on the Xtra ship pack page. Some people have had problems getting Cap ships to dock and this is the fix for that.
There are over 400 pages there.
Which page is the cloning station software?
Or do you mean Cycrow's Cheat package?

@ cattafett
when you script in stations ...straight into the game the cap ship docks don't work but if you add them to a TL and build them they will
I have tried this with Cycrow's CT , but to no avail.
Capital ships still don't dock.
if you take a copy of the scene file for the normal ship yard and rename it the same as an equipment dock you can make the equipment dock use the shipyard model
if you like i could upload one for you if you dont'/won't want to do it yourself
Thanks for that suggestion.
I will try to work out how to do that,but can I take you up on that offer,please?
...how many capship docks would you like the an equipment dock to have?
Is there a limit ? :D

Standard PHQ has 9.
Is this possible for EQ or Shipyard ?

X-tra ships mod's shipyards are basically re-modeled PHQs.
I am not looking for RE abilities at Shipyard.
I just want to use them as storage areas at Twisted Skies while I build my Invasion Fleet.
So the extra docking clamps of the standard shipyards appeal to me better than the EQ docks.

Thanks.
these two replies are most welcome.
User avatar
cattafett
Posts: 884
Joined: Thu, 30. Aug 07, 00:40
x3tc

Post by cattafett »

the station cloning script fot the Xtra ship pack is on the first page
go past the looong list of ships, past the stations,turrets and Recommended Scripts and then you get to Known issues and solutions


here is your equipment dock
go some where with no equipment docks and save your game
download this and unpack it in your game folder (i used winrar)
it should be objects/stations/station_scenes/others/argon_equipmentdock_scene
with winrar you get extract here and extract to(name of rar file use extract here
load your game and all equipment docks should be using the shipyard model
TTD wrote:Is there a limit ?

Standard PHQ has 9.
Is this possible for EQ or Shipyard ?
only our own stupidity

copy the following on to notepad and name it argon_equipmentdock_scene.BOD

Code: Select all

/===============================================================
/ 3D Scene Information file X:\objects\stations\station_scenes\others\\argon_spacedock_scene.bod
/ Automatically generated from X:\objects\stations\station_scenes\others\argon_spacedock.max
/===============================================================
/ EGOSOFT Bodyfile exporter version 3.44 [Sep  7 2005 17:19:29]
VER: 3;
/ >> Tue Oct 04 10:08:09 2005

/ >> Tue Oct 04 10:08:09 2005

/ Animation time interval: 0..16000
/ >> Tue Oct 04 10:08:09 2005
 / Staring Biped Key Reading/ >> Tue Oct 04 10:08:09 2005
 / finished Biped Key Reading
/     Tue Oct 04 10:08:09 2005
/     Node Bstations\living_sections\argon_livingsection Class [Editable Mesh, GEOMOBJECT_CLASS_ID]
P 0; B stations\living_sections\argon_livingsection; N Bstations\living_sections\argon_livingsection; b
  { 0x2002;  -56167; 143198; -13717;  0.250000; 0.000000; 1.000000; 0.000000;  -1;  -1; } // -1
/     Tue Oct 04 10:08:09 2005
/     Node B19022b Class [Dummy, HELPER_CLASS_ID]
P 1; B 19022; N B19022b; b
  { 0x2002;  -2027; -288581; -2270;  0.000000; 0.000000; 0.000000; 0.000000;  -1;  -1; } // -1
/     Tue Oct 04 10:08:09 2005
/     Node B19040b Class [Dummy, HELPER_CLASS_ID]
P 2; B 19040; N B19040b; b
  { 0x2002;  -217392; -360120; -783389;  0.250000; 0.000000; 1.000000; 0.000000;  -1;  -1; } // -1
/     Tue Oct 04 10:08:09 2005
/     Node B19040b Class [Dummy, HELPER_CLASS_ID]
P 3; B 19040; N B19040b; b
  { 0x2002;  209061; -360120; -1217568;  0.250000; 0.000000; -1.000000; 0.000000;  -1;  -1; } // -1
/     Tue Oct 04 10:08:09 2005
/     Node B19040b Class [Dummy, HELPER_CLASS_ID]
P 4; B 19040; N B19040b; b
  { 0x2002;  209061; -360120; -347498;  0.250000; 0.000000; -1.000000; 0.000000;  -1;  -1; } // -1
/     Tue Oct 04 10:08:09 2005
/     Node B19040b Class [Dummy, HELPER_CLASS_ID]
P 5; B 19040; N B19040b; b
  { 0x2002;  209061; -360120; 778190;  0.250000; 0.000000; -1.000000; 0.000000;  -1;  -1; } // -1
/     Tue Oct 04 10:08:09 2005
/     Node B19040b Class [Dummy, HELPER_CLASS_ID]
P 6; B 19040; N B19040b; b
  { 0x2002;  -217392; -360120; 1212369;  0.250000; 0.000000; 1.000000; 0.000000;  -1;  -1; } // -1
/     Tue Oct 04 10:08:09 2005
/     Node B19040b Class [Dummy, HELPER_CLASS_ID]
P 7; B 19040; N B19040b; b
  { 0x2002;  -217392; -360120; 348740;  0.250000; 0.000000; 1.000000; 0.000000;  -1;  -1; } // -1
/     Tue Oct 04 10:08:09 2005
/     Node B19030b Class [Dummy, HELPER_CLASS_ID]
P 8; B 19030; N B19030b; b
  { 0x2002;  -6461; -146038; 2279379;  0.250000; 0.000000; 1.000000; 0.000000;  -1;  -1; } // -1
/     Tue Oct 04 10:08:09 2005
/     Node Bstations\station_scenes\others\argon_spacedock Class [Editable Mesh, GEOMOBJECT_CLASS_ID]
P 9; B stations\station_scenes\others\argon_spacedock; N Bstations\station_scenes\others\argon_spacedock; b
  { 0x2002;  0; 0; 0;  0.000000; 0.000000; 0.000000; 0.000000;  -1;  -1; } // -1
P 10; B 19040; N B19040b; b
  { 0x2002;  -217392; 360120; -783389;  0.250000; 0.000000; -1.000000; 0.000000;  -1;  -1; } // -1
P 11; B 19040; N B19040b; b
  { 0x2002;  209061; 360120; -1217568;  0.250000; 0.000000; 1.000000; 0.000000;  -1;  -1; } // -1
P 12; B 19040; N B19040b; b
  { 0x2002;  209061; 360120; -347498;  0.250000; 0.000000; 1.000000; 0.000000;  -1;  -1; } // -1
P 13; B 19040; N B19040b; b
  { 0x2002;  209061; 360120; 778190;  0.250000; 0.000000; 1.000000; 0.000000;  -1;  -1; } // -1
P 14; B 19040; N B19040b; b
  { 0x2002;  -217392; 360120; 1212369;  0.250000; 0.000000; -1.000000; 0.000000;  -1;  -1; } // -1
P 15; B 19040; N B19040b; b
  { 0x2002;  -217392; 360120; 348740;  0.250000; 0.000000; -1.000000; 0.000000;  -1;  -1; } // -1
this will give you an equipment dock with 12 cap ship docks
if you have not downloaded the first thing i put up
go to your game folder and make a folder named objects
in that folder make a folder named stations
in that folder make a folder named station_scenes
in that folder make a folder named others
put the argon_equipmentdock_scene.BOD file in the others folder
those UFOs you hear about are just what you tried to explaine to me going over my head
Advanced Complex-Hub you know you need it Catta Fett's D.O.G.S Vanilla safe mod collectionyou don't need them but you want them
Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings
User avatar
TTD
Posts: 11165
Joined: Sun, 6. Jul 08, 10:29
x4

Post by TTD »

Thanks for that. I will take a close look at this later.

The link for cloning is out of date,but I have found an update...
http://forum.egosoft.com/viewtopic.php?p=3337465

Version 3 incl SPK file :D
dillpickle
Posts: 1159
Joined: Mon, 3. Nov 08, 14:25
x3tc

Post by dillpickle »

Another way to do it is to create a new station in TDocks copying a standard shipyard entry from TFactories, give it a new ID such as SS_SHIPYARD_BUY, change it's subtype to SS_DOCK_EQUIP you now have a shipyard that operates as an equipment dock, can dock 6 capitals and can be added to shipyards to be bought as and when you need them.
User avatar
TTD
Posts: 11165
Joined: Sun, 6. Jul 08, 10:29
x4

Post by TTD »

@ dillpickle

Thanks for that also.

Seems that if I want to bend the game to my style,I will have to gradually get into programming again,as I keep promising myself. :)

Have tried the cloning,but results the same as Cycrow's CP. :(

So I am going to give these helps a whirl.

Many views to this thread from pilots.
But the ideas are coming forward now with practical help that will help many others. :D

.................
@ cattafett

I used the script coding you gave.
Made the folders.
Saved.
tried.
Fail.
examined closer.
Windows automatically added ".txt" ,so removed that.
Works fine now.

Found it interesting that you can dock above and below the docking arms.Maybe not in vanilla or have I just missed that for all these years?

I can see a potential clash with X-tra ships mod,in that he is changing the Shipyards and EQ Docks to new models,eg Teladi PTNI HQ sector.
Maybe ok for as long as the Argon ones are not touched...

This near enough what I was looking for and gives me scope to try out ideas by playing with the code.
Talking of which,which line of code and/or which part do I change to alter number of docks to greater or less ?

I will be trying out all ideas put forward here,so please anyone , feel free to add any other solutions or ideas.

I will be bookmarking this thread for ease of access. :D
User avatar
TTD
Posts: 11165
Joined: Sun, 6. Jul 08, 10:29
x4

Post by TTD »

@ cattafett....

here is your equipment dock
go some where with no equipment docks and save your game
download this and unpack it in your game folder (i used winrar)
it should be objects/stations/station_scenes/others/argon_equipmentdock_scene
with winrar you get extract here and extract to(name of rar file use extract here
load your game and all equipment docks should be using the shipyard model
The "download this" link is no longer available.

However , I have the original and have tried it on AP :D

Yes it works there too,
Thanks a million :D
User avatar
cattafett
Posts: 884
Joined: Thu, 30. Aug 07, 00:40
x3tc

Post by cattafett »

while it will work in ap it will only work for argon equipment docks

TTD wrote:Found it interesting that you can dock above and below the docking arms.Maybe not in vanilla or have I just missed that for all these years?
the arms are there just for show. Cap ship docks unlike the little ship docks are just a point in space
TTD wrote:This near enough what I was looking for and gives me scope to try out ideas by playing with the code.
Talking of which,which line of code and/or which part do I change to alter number of docks to greater or less ?


if you look at the green code text a few posts up pay attention to the last six lines
they are what add the extra six docking points
for them all i did was copy the original then changed two parts
the first to raise the dock point above the center of the model

original
P 2; B 19040; N B19040b; b
{ 0x2002; 217392; -360120; -783389; 0.250000; 0.000000; 1.000000; 0.000000; -1; -1; } // -1

new
P 10; B 19040; N B19040b; b
{ 0x2002; -217392; 360120; -783389; 0.250000; 0.000000; -1.000000; 0.000000; -1; -1; } // -1

the second was to rotate the direction of the docking point

original
P 2; B 19040; N B19040b; b
{ 0x2002; -217392; -360120; -783389; 0.250000; 0.000000; 1.000000; 0.000000; -1; -1; } // -1

new
P 10; B 19040; N B19040b; b
{ 0x2002; -217392; 360120; -783389; 0.250000; 0.000000; -1.000000; 0.000000; -1; -1; } // -1]
those UFOs you hear about are just what you tried to explaine to me going over my head
Advanced Complex-Hub you know you need it Catta Fett's D.O.G.S Vanilla safe mod collectionyou don't need them but you want them
Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings
User avatar
TTD
Posts: 11165
Joined: Sun, 6. Jul 08, 10:29
x4

Post by TTD »

thanks again.

yes ,In fact it is a bonus for me that it does not effect the other EQ Docks :)
User avatar
cattafett
Posts: 884
Joined: Thu, 30. Aug 07, 00:40
x3tc

Post by cattafett »

after rereading i realized I've given you an equipment dock with only 5 small ship docking spaces
add these two lines to the bottom of the new equipment dock scene file
at it will be back to 15

Code: Select all

P 16; B 19022; N B19022b; b 
  { 0x2002;  -2027; -240000; -1870600;  0.000000; 0.000000; 0.000000; 0.000000;  -1;  -1; } // -1 
P 17; B 19022; N B19022b; b 
  { 0x2002;  -2027; -240000; 1870300;  0.000000; 0.000000; 0.000000; 0.000000;  -1;  -1; } // -1
i should say they are not placed perfectly and I'm yet to find the bit that goes in the middle of the docking clamps but they will work

sorry it took so long
those UFOs you hear about are just what you tried to explaine to me going over my head
Advanced Complex-Hub you know you need it Catta Fett's D.O.G.S Vanilla safe mod collectionyou don't need them but you want them
Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings
User avatar
TTD
Posts: 11165
Joined: Sun, 6. Jul 08, 10:29
x4

Post by TTD »

Cheers.

It is late here now,so I will take a look and do as you suggest , on Sunday.

:D

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”