Important MessageYou are browsing the archived Lancers Reactor forums. You cannot register or login. |
Quick question about shipyards.
The general place to discuss MOD''ing Freelancer!
9 posts
• Page 1 of 1
Just a quick little question here, for my mod, I'm placing Fl's stock capital ships in their respective shipyards all over Sirius. My question is, does anyone know how to place a ship, sold at the yard, inside the shipyards frame, out in space? You know, the spot often taken by a train or two locked into place? Thanks.
Well, you can't place the ship outside in space as if it were parked. You can however make it launch and dock from a location other than the berths.
What you will need to do is get into every base type and change a docking_sphere to = jump. ie. change docking_sphere = moor_large, hpdockmountd, 5.00000 to docking_sphere = jump, hpdockmountd, 5.000000
Then you'll need to make each capship able to use those new docking spheres by changing the value in shiparch from can_use_large_moors to can_use_jumps.
Once you've done this you may need to mess with the base cmps a bit in order to move the appropriate dockmount out or away from the base so that when the ship spawns it doesn't become locked to the base.
In order to use the mooring stations above planets you'll need to add ghost bases that the mooring stations are directed to.
What you will need to do is get into every base type and change a docking_sphere to = jump. ie. change docking_sphere = moor_large, hpdockmountd, 5.00000 to docking_sphere = jump, hpdockmountd, 5.000000
Then you'll need to make each capship able to use those new docking spheres by changing the value in shiparch from can_use_large_moors to can_use_jumps.
Once you've done this you may need to mess with the base cmps a bit in order to move the appropriate dockmount out or away from the base so that when the ship spawns it doesn't become locked to the base.
In order to use the mooring stations above planets you'll need to add ghost bases that the mooring stations are directed to.
Are you talking about docking a ship into the shipyard berth or putting a ship model into the berth as if it were being built?
If it's the second one, you just need to create a new space object with the desired ship's cmp and mat files and place that inside the berth. Getting the placement right may take some trial and error.
If it's the second one, you just need to create a new space object with the desired ship's cmp and mat files and place that inside the berth. Getting the placement right may take some trial and error.
If it is the later, you can place these ships using FLE. It works rather nice.
Requiem: A Total FL Conversion Mod .
Requiem: A Total FL Conversion Mod .
Well. finding out what position each of those ship yards is in will give you the "center mass" and orientation of their location.
This is something I've been pulling my hair out contemplating.
It seems you can simply find the dockmounts of any station they are associated with and relocate them to the center of the ship yard frameworks. However, the Dock points and cameras would also have to be relocated appropriately into the respective positions relative to the dockmounts.
So, in effect you're acutally docking with the shipyard frameworks instead of the base structure.
This is something I've been pulling my hair out contemplating.
It seems you can simply find the dockmounts of any station they are associated with and relocate them to the center of the ship yard frameworks. However, the Dock points and cameras would also have to be relocated appropriately into the respective positions relative to the dockmounts.
So, in effect you're acutally docking with the shipyard frameworks instead of the base structure.
Actually, I was going for both. I figured that flying a cruiser out of the tiny little docking bay wouldn't exactly work... As for docking the capships, I was thinking of changing a light hardpoint into a docking point, but the effect of the ship being "built" inside the change was the tricky bit... If I understand this correctly, the bit I want to change would be in the system's .ini file, correct? What I'm thinking is, say for Norfolk, (li01_14 if I remember properly), I could modify that entry in the li01 .ini file, in DATA/UNIVERSE/SYSTEMS/LI01? In which case, I'm thinking I could change the entry there where it typically has a train, and that would give whatever capital ship I placed there the same location, in the centre of the grid, correct? The object of the ship, that would be declared in the same .ini, would it not? (Sorry for asking and not trying it out, but I'm at school atm, and pc I'm modding on is at home
)
![](smilies/icon_smile_tongue.gif)
Allrighty, I've had some success in the matter here, it was actually remarkably easy... I haven't gotten it yet so that you dock in the frame (haven't tried yet either...) but I've made it so it appears to be being built in the frame! All I did was open up the li01 file, search for the base's code (li01_14) and it gave me a bunch of different stuff, the station itself, etc... and the trains that were in it, with li01_14 as their parent!
eg.
[Object
nickname = Li01_large_transport_3
pos = 5535, -210, -52849
Archetype = large_transport
parent = li01_14
I did a search for dreadnought, came up with one with the archtype of dreadnought_nodock, swapped that in in place of one of the transports, and renamed it something that won't have been used yet.
[Object
nickname = Li01_l_dreadnought_42
pos = 5449, -210, -52809
Archetype = l_dreadnought_nodock
parent = li01_14
Booted up Fl, and tada!
http://i71.photobucket.com/albums/i145/ ... ssness.jpg
eg.
[Object
nickname = Li01_large_transport_3
pos = 5535, -210, -52849
Archetype = large_transport
parent = li01_14
I did a search for dreadnought, came up with one with the archtype of dreadnought_nodock, swapped that in in place of one of the transports, and renamed it something that won't have been used yet.
[Object
nickname = Li01_l_dreadnought_42
pos = 5449, -210, -52809
Archetype = l_dreadnought_nodock
parent = li01_14
Booted up Fl, and tada!
http://i71.photobucket.com/albums/i145/ ... ssness.jpg
9 posts
• Page 1 of 1
Return to Freelancer General Editing Forum