Bugs and Feature Requests for PlanetsCentral and other VGAP software

[Posting] Questions about PCC2
Thread opener
Posted Sat, 2019-01-12 17:30 GMT

Hi Stefan!
I don't know what happened, but all missions of my ships are displayed as MIT. When I try to set up a mission, a listbox is opened in which there are only extended missions of PHOST.
How can I fix the situation? I found nothing in the PCC2 settings.

[Posting] Re: Questions about PCC2
Posted Sat, 2019-01-12 19:14 GMT

This sounds like you somehow lost or damaged your mission.cc file.

(a) Check your game directory. There must NOT be a mission.cc file. Deleting it should fix your problem.

(b) Check your installation directory (C:\Program Files (x86)\PCC2\specs or /usr/local/share/planets). There should be a mission.cc file with ~11 kBytes. If it isn't there, the easiest way to get it back is probably to reinstall (or manually extract it from the zip).

--Stefan

[Posting] Re: Questions about PCC2
Thread opener
Posted Sat, 2019-01-12 20:15 GMT

Thank you. Files were damaged as you said.

[Posting] Re: Questions about PCC2
Thread opener
Posted Mon, 2019-12-02 11:34 GMT

Hi Stefan!

Tell me please, could I change in a program values of the ship label and the planet label? (Without modifying the "pcc2.ini" file)

ps. And can I create the multi-line label?

[Posting] Re: Questions about PCC2
Posted Mon, 2019-12-02 17:20 GMT

Tell me please, could I change in a program values of the ship label and the planet label? (Without modifying the "pcc2.ini" file)

This is not possible. However, you can use user-defined properties in the ship/planet label, and put any value you want in user-defined properties.

ps. And can I create the multi-line label?

No.

--Stefan

[Posting] Re: Questions about PCC2
Thread opener
Posted Tue, 2019-12-03 11:08 GMT

This is not possible. However, you can use user-defined properties in the ship/planet label, and put any value you want in user-defined properties.

Can I do this in a program or only in a dialog box?

[Posting] Re: Questions about PCC2
Posted Tue, 2019-12-03 19:15 GMT

This is not possible. However, you can use user-defined properties in the ship/planet label, and put any value you want in user-defined properties.

Can I do this in a program or only in a dialog box?

What exactly are you trying to achieve?

You can create a user-defined property

CreatePlanetProperty foo
ForEach Planet Do foo := Name & " #" & Id

If you use that as label expression - foo - it will show the result on the starchart. You can change it maually by entering something like foo := "Hi mom" on the console, or by using a script that sets it for some or all planets. That script can ask for input using UI.Input of course.

For PCC2ng, I have also added a "AddPref" command to modify the ini file. I am not yet sure when this can be added to the regular, stable PCC2.

--Stefan

[Posting] Re: Questions about PCC2
Thread opener
Posted Tue, 2019-12-03 22:03 GMT

Thank you.

You help me very much. I understood as it working.

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.