Krager wrote: ↑Mon Jun 16, 2025 11:49 am
Смотрел новые картинки городов, очень красиво. Было бы хорошо, если бы кто нибудь взялся и сделал их жилыми с возможностью посадки (шлюзами). Между городов пролетал, всё хорошо, являются отдельными обьектами. Полётам не мешают, создают приятный антураж, прям астронавты).
В данный момент хотел добавить в игру для антуража, заполнености системы, в общем для красоты. Вызывают сомнения выпадающие ошибки. Есть опасение что из-за ошибок отрицательно повлияет на игру, что нибудь испортив.
Yandex translation: I've been watching new pictures of cities, it's very beautiful. It would be nice if someone took it upon themselves and made them habitable with the possibility of landing (airlocks). I flew between the city, everything is fine, they are separate objects. They don't interfere with flights, they create a pleasant entourage, they're like astronauts).
At the moment, I wanted to add to the game for the entourage, the fullness of the system, in general, for beauty. The drop-down errors are questionable. There is a fear that due to mistakes it will negatively affect the game, ruining something.
I'm not a coder.
There are 5 ways of docking of which I know.
1) Regular docking.
This requires that the docking slit is large enough to take your ship. This
might be the problem with "Cloud City.oxp"
2) Assisted Regular Docking
Either using the slow/musical method of the Docking Computer - or - using the "ILS.oxp"
I would presume that this has the same difficulties as above
3) Fast Docking method with the Docking Computer
This needs "Fast Docking" to be enabled in the shipdata.plist for the dockable ship/station
Enable it by adding this line to the "shipdata.plist":
4) Using the "cheat" magical ability of the "Long Range Scanner.oxp"
But this only works for the main orbital station - not a cloud city oxp station
5) Using the "debug console" in the OoliteTR (Oolite Test Release) game download
But I don't know how, sorry!
Presumably the problem lies here in the shipdata.plist:
Code: Select all
{
"planetFall_surface_std" =
{
name = "Planet surface";
roles = "planetFall_surface station(0)";
ai_type = "stationAI.plist";
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 100;
forward_weapon_type = "WEAPON_NONE";
frangible = no;
has_ecm = yes;
has_escape_pod = no;
has_scoop = no;
hasShipyard = 1;
isCarrier = 1;
has_npc_traffic = 0;
max_energy = 25000;
max_flight_pitch = 8;
max_flight_roll = 8;
max_flight_speed = 0;
model = "new-rock.dat";
port_radius = 500;
requires_docking_clearance = no;
smooth = yes;
subentities = ( "hermit-docking-slit 0 0 0 1 0 0 0" );
thrust = 100;
weapon_energy = 0;
materials =
{
"asteroid.png" =
{
shininess = 2;
specular = (0.1, 0.1, 0.1, 1.0);
};
};
};
"planetFall_surface_cheap" =
{
like_ship = "planetFall_surface_std";
equipment_price_factor = 0.8;
roles = "planetFall_surface(0.5) station(0)";
};
"planetFall_surface_exp" =
{
like_ship = "planetFall_surface_std";
equipment_price_factor = 1.2;
roles = "planetFall_surface(0.5) station(0)";
};
"planetfall-radar" = {
"ai_type" = "nullAI.plist";
"energy_recharge_rate" = 3;
frangible = 0;
"has_military_jammer" = 1;
"max_energy" = 75;
model = "planetfall_radar.dat";
name = "Radar Dish";
roles = "planetfall-radar";
script = "planetfallCloudCity.js"; //ok to activate same script of sub entity of each tower
"rotational_velocity" = "0.707 0.0 0.0 0.707";
smooth = 1;
};
"planetfall-tower" = {
"ai_type" = "nullAI.plist";
bounty = 10;
"cargo_type" = "CARGO_NOT_CARGO";
"energy_recharge_rate" = 4;
"equivalent_tech_level" = 0;
frangible = 0;
"has_npc_traffic" = 0;
"likely_cargo" = 0;
"max_cargo" = 0;
"max_defense_ships" = 0;
"max_energy" = 250;
"max_flight_pitch" = 1;
"max_flight_roll" = 2;
"max_flight_speed" = 0;
"max_flight_yaw" = 1;
"max_police" = 0;
"max_scavengers" = 0;
model = "planetfall_satellite.dat";
name = "Control Tower";
roles = "planetfall-tower";
// scanClass = "CLASS_STATION";
script = "planetfallCloudCity.js";
// subentities = ("planetfall-radar 0 0 70 1 0 0 0");
thrust = 0;
unpiloted = 0;
};
"ps-cloudcity_hull" = { // "planetfall-satellite"
"ai_type" = "nullAI.plist";
bounty = 1;
"cargo_type" = "CARGO_NOT_CARGO";
"energy_recharge_rate" = 4;
"equivalent_tech_level" = 0;
frangible = 0;
"has_npc_traffic" = 0;
"likely_cargo" = 0;
"max_cargo" = 0;
"max_defense_ships" = 0;
"max_energy" = 1000;
"max_flight_pitch" = 1;
"max_flight_roll" = 2;
"max_flight_speed" = 0;
"max_flight_yaw" = 1;
"max_police" = 0;
"max_scavengers" = 0;
model = "cloudcity_o.dat"; // "planetfall_satellite.dat";
name = "Cloud City";
roles = "ps_cloudcity_o station"; // "planetfall_satellite station";
scanClass = "CLASS_STATION";
script = "planetfallCloudCity.js";
//subentities = ("*FLASHER* 3000 3000 3000 90 1 0.0 80" );
thrust = 10; // bigger number harder to bounce around usual SS is 100
unpiloted = 0;
};
"ps-cloudcity_orig" = // default
{
like_ship = "ps-cloudcity_hull";
subentities = ("*FLASHER* -2200 000 2023 120 1 0.0 80", //5000 is 4.4 km away 2023 is top
"*FLASHER* -2400 000 2023 120 1 0.2 80",
"*FLASHER* -2600 000 2023 120 1 0.4 80",
"*FLASHER* -2800 000 2023 120 1 0.6 80",
"*FLASHER* -3000 000 2023 120 1 0.8 80",
"*FLASHER* +2200 000 2023 010 1 0.9 80",
"*FLASHER* +2400 000 2023 010 1 0.7 80",
"*FLASHER* +2600 000 2023 010 1 0.5 80",
"*FLASHER* +2800 000 2023 010 1 0.3 80",
"*FLASHER* +3000 000 2023 010 1 0.1 80",
"planetfall-tower -1200 +300 2074 1 0 0 0",
"planetfall-tower +600 -200 2074 1 0 0 0", // central one with radar dish
"planetfall-radar +600 -200 2144 1 0 0 0",
"planetfall-tower +200 -1400 2024 1 0 0 0" //2024 chops part of it
);
//<key>exhaust</key>
//<array>
// <string> 0 0 -1100 10 10 20</string>
// <string> 0 -1000 -1100 10 10 20</string>
// <string> -866 500 -1100 10 10 20</string>
// <string> 866 500 -1100 10 10 20</string>
//</array>
// exhaust = ("0 0 -1100 10 10 20"); // needs some velocity to see?
};
"ps-cloudcity_black" = // elitish
{
like_ship = "ps-cloudcity_hull";
model = "cloudcity_b.dat";
roles = "ps_cloudcity_b station";
};
"ps-cloudcity_white" =
{
like_ship = "ps-cloudcity_hull";
model = "cloudcity_w.dat";
//equipment_price_factor = 1.2;
roles = "ps_cloudcity_w station";
};
}