[SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

The place to discuss scripting and game modifications for X³: Farnham's Legacy

Moderators: Moderators for English X Forum, Scripting / Modding Moderators, Moderators for the X3:FL Forums

Post Reply
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22201
Joined: Sun, 14. Nov 04, 23:26
x4

[SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

Post by Cycrow » Thu, 22. Apr 21, 13:37

This script replacings the built in property owned menu with a custom scripted version.
This can be used as a base for scripters to create their own property menus, or too add additional features

:arrow: Installing To install, use the plugin manager to install the spk file.

:arrow: Usage
  • This simply replacing the existing menu, so when installed, open the property owned menu in the normal way, and this menu will appear instead

User avatar
Herman2000
Posts: 42
Joined: Sat, 24. Aug 13, 22:20
x4

Re: [SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

Post by Herman2000 » Sat, 24. Apr 21, 16:29

It might help if there was a comparison screenshot, though I suppose at this point, this might violate the NDA? :P

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22201
Joined: Sun, 14. Nov 04, 23:26
x4

Re: [SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

Post by Cycrow » Sat, 24. Apr 21, 16:38

It looks and functions the same as the built in version.

The difference is that this version is easily editable

Deniskos
Posts: 146
Joined: Wed, 11. Jun 08, 21:40
x4

Re: [SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

Post by Deniskos » Fri, 21. May 21, 19:04

Greetings!
Tabs do not work if you switch them with the mouse. A blank sheet is displayed in the place of information.

Deniskos
Posts: 146
Joined: Wed, 11. Jun 08, 21:40
x4

Re: [SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

Post by Deniskos » Sat, 22. May 21, 03:59

Cycrow wrote:
Thu, 22. Apr 21, 13:37
This script replacings the built in property owned menu with a custom scripted version.
This can be used as a base for scripters to create their own property menus, or too add additional features
Can this be done somehow without affecting your scripts? Or in order to add my own functionality, should I change your plugin.property.menu.xml script?

Deniskos
Posts: 146
Joined: Wed, 11. Jun 08, 21:40
x4

Re: [SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

Post by Deniskos » Sat, 22. May 21, 13:03

The column with current orders does not work either. Shows null.

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22201
Joined: Sun, 14. Nov 04, 23:26
x4

Re: [SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

Post by Cycrow » Sat, 22. May 21, 13:06

Deniskos wrote:
Sat, 22. May 21, 03:59
Cycrow wrote:
Thu, 22. Apr 21, 13:37
This script replacings the built in property owned menu with a custom scripted version.
This can be used as a base for scripters to create their own property menus, or too add additional features
Can this be done somehow without affecting your scripts? Or in order to add my own functionality, should I change your plugin.property.menu.xml script?
you can create your own scripts. These scripts are mainly an example, and a base for scripters to work from.

if you wanted to create you own version, you just need to register your menu script as the property owned. This is done in the setup script.

obviously, only 1 script can override each menu

Deniskos
Posts: 146
Joined: Wed, 11. Jun 08, 21:40
x4

Re: [SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

Post by Deniskos » Sat, 22. May 21, 13:27

Cycrow wrote:
Thu, 22. Apr 21, 13:37
obviously, only 1 script can override each menu
Ok, this is what I wanted to hear.

Deniskos
Posts: 146
Joined: Wed, 11. Jun 08, 21:40
x4

Re: [SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

Post by Deniskos » Sat, 22. May 21, 14:17

The ZIP archive is missing lib.cycrow.getcmdstring.
Where can I get it?
OK, found here :?

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22201
Joined: Sun, 14. Nov 04, 23:26
x4

Re: [SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

Post by Cycrow » Sat, 22. May 21, 14:23

I've updated the first page including the required libraries.

If you installed the SPK file, the libraries will be installed automatically

Deniskos
Posts: 146
Joined: Wed, 11. Jun 08, 21:40
x4

Re: [SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

Post by Deniskos » Sat, 22. May 21, 17:12

I figured out the display of current orders, but the tabs still do not work from clicking them with the mouse.
Image Image

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22201
Joined: Sun, 14. Nov 04, 23:26
x4

Re: [SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

Post by Cycrow » Sat, 22. May 21, 17:39

it should work if you use left and right to switch between them.

the clicking is an issue in the game where its not sending the event.
this should be fixed in a future update

Deniskos
Posts: 146
Joined: Wed, 11. Jun 08, 21:40
x4

Re: [SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

Post by Deniskos » Sat, 22. May 21, 18:05

Ok, we are waiting. You did a great job, thank you for that.

Deniskos
Posts: 146
Joined: Wed, 11. Jun 08, 21:40
x4

Re: [SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

Post by Deniskos » Sun, 20. Jun 21, 15:34

With the release of version 1.2, everything worked, thanks. But if the player has a lot of property, the menu starts to slow down. And this probably cannot be fixed.

User avatar
alexalsp
Posts: 1820
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [SCRIPT] Custom Property Owned Menu : V1.00 : 2021-03-20

Post by alexalsp » Sun, 20. Jun 21, 18:37

Deniskos wrote:
Sun, 20. Jun 21, 15:34
With the release of version 1.2, everything worked, thanks. But if the player has a lot of property, the menu starts to slow down. And this probably cannot be fixed.
Eerie brakes, I confirm.

Post Reply

Return to “X³: Farnham's Legacy - Scripts and Modding”