Custom Station test, not dockable.
Moderators: winston, another_commander
- RyanHoots
- ---- E L I T E ----
- Posts: 958
- Joined: Fri May 20, 2011 8:10 pm
- Location: Nowhere
- Contact:
Custom Station test, not dockable.
I've had some progress with my custom station, everything is working except one little (but important) problem- it's not dockable. Flying into the station destroys my ship, and brings up the ever-annoying "Press Space Commander" screen. Anyone know how to make it dockable? I used the like_ship option to make it as similar to the Dodec station as possible, but it's not working.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Custom Station test, not dockable.
Can you post your shipdata.plist?
Commander Smivs, the friendliest Gourd this side of Riedquat.
- RyanHoots
- ---- E L I T E ----
- Posts: 958
- Joined: Fri May 20, 2011 8:10 pm
- Location: Nowhere
- Contact:
Re: Custom Station test, not dockable.
Here it is:
I think I have to tell it somewhere to be dockable, but I have no clue where.
Code: Select all
{
"ryan_villa" = {
like_ship = "dodecahedron-station";
name = "Ryan's Villa";
auto_ai = yes;
model = "ryan_villa.dat";
roles = "ryan_villa";
scanClass = "CLASS_STATION";
subentities = ("capt_kev_dodo_station_dockingbay 0 0 283.399 1 0 0 0");
shaders =
{
"capt_kev_dodo_plain.png" =
{
vertex_shader = "capt_kev_dodo.vertex";
fragment_shader = "capt_kev_dodo.fragment";
textures = (
"capt_kev_dodo_plain.png"
);
uniforms =
{
uColorMap = { type = texture; value = 0; };
};
};
};
};
}
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Custom Station test, not dockable.
I presume you have the capn kev dodo OXP installed?
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Wildeblood
- ---- E L I T E ----
- Posts: 2453
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Western Australia
- Contact:
Re: Custom Station test, not dockable.
You have to include station among the roles.
In your heart, you know it's flat.
- RyanHoots
- ---- E L I T E ----
- Posts: 958
- Joined: Fri May 20, 2011 8:10 pm
- Location: Nowhere
- Contact:
Re: Custom Station test, not dockable.
I'll try that and report after a test dock...Wildeblood wrote:You have to include station among the roles.
- RyanHoots
- ---- E L I T E ----
- Posts: 958
- Joined: Fri May 20, 2011 8:10 pm
- Location: Nowhere
- Contact:
Re: Custom Station test, not dockable.
Thanks, it worked! Just a few more tweaks and the station will be done. Now the trick part, getting it to be in permanent orbit around Cesousla...
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Custom Station test, not dockable.
The picture doesn't show much detail.....is the dock visible and looking as though it's working OK?
Also (and I don't think this is related) you don't seem to have an AI specified. AutoAI just switches from one to another under certain circumstances, and you don't have one to switch from. Unless there's a good reason not to go for stationAI.plist although like_shipping to the standard Dodo should give you this AI anyway.
Have you tried like_shipping the dock rather than including some of the details in this plist?
And it should also have a 'roles' of station, I think.
edit:- Ninja'd on what looks like the key bit!
Also (and I don't think this is related) you don't seem to have an AI specified. AutoAI just switches from one to another under certain circumstances, and you don't have one to switch from. Unless there's a good reason not to go for stationAI.plist although like_shipping to the standard Dodo should give you this AI anyway.
Have you tried like_shipping the dock rather than including some of the details in this plist?
And it should also have a 'roles' of station, I think.
edit:- Ninja'd on what looks like the key bit!
Commander Smivs, the friendliest Gourd this side of Riedquat.
- RyanHoots
- ---- E L I T E ----
- Posts: 958
- Joined: Fri May 20, 2011 8:10 pm
- Location: Nowhere
- Contact:
Re: Custom Station test, not dockable.
I'll find a more detailed image...Smivs wrote:The picture doesn't show much detail.....is the dock visible and looking as though it's working OK?
Also (and I don't think this is related) you don't seem to have an AI specified. AutoAI just switches from one to another under certain circumstances, and you don't have one to switch from. Unless there's a good reason not to go for stationAI.plist although like_shipping to the standard Dodo should give you this AI anyway.
Have you tried like_shipping the dock rather than including some of the details in this plist?
And it should also have a 'roles' of station, I think.
edit:- Ninja'd on what looks like the key bit!
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Custom Station test, not dockable.
No need, unless you want to show it off . I was hoping to see if it showed anything significant. Glad you've got it working.RyanHoots wrote:I'll find a more detailed image...
Commander Smivs, the friendliest Gourd this side of Riedquat.
- RyanHoots
- ---- E L I T E ----
- Posts: 958
- Joined: Fri May 20, 2011 8:10 pm
- Location: Nowhere
- Contact:
Re: Custom Station test, not dockable.
Now that I have a Dodec as my house, I'll never have to complain about having not enough room to live in! But cleaning the house will be a real problem. I need housekeeping robots.
- Wildeblood
- ---- E L I T E ----
- Posts: 2453
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Western Australia
- Contact:
Re: Custom Station test, not dockable.
Now you need a planetinfo.plist. I copy/pasted this from Tianve.oxp, so 0 246 is not the right planet number for Cesousla. But find the correct number and insert there.
Code: Select all
{
"0 246" = {
description = "Cesousla is the location of Ryan Hoot's secret hide-out.";
"script_actions" = (
// At the main station...
"addShipsAtPrecisely: ryan_villa 1 pwm 16000 87500 29500",
);
};
}
In your heart, you know it's flat.