Stock Market Menu

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
teleportationwars
Posts: 158
Joined: Fri, 12. Jul 19, 14:03

Stock Market Menu

Post by teleportationwars » Tue, 22. Oct 19, 04:56

SirNukes is making an amazing API that makes it possible to build menus in md.

I'm sure he'll do his own release thread, but we spent 2-3 hours on a simple Stock Market to test out the API and wanted to share some pictures of the development process:

Image

Image

Image

Image

nickolaiproblem
Posts: 246
Joined: Mon, 5. Nov 18, 23:12
x4

Re: Stock Market Menu

Post by nickolaiproblem » Tue, 22. Oct 19, 08:45

teleportationwars wrote:
Tue, 22. Oct 19, 04:56
SirNukes is making an amazing API that makes it possible to build menus in md.

I'm sure he'll do his own release thread, but we spent 2-3 hours on a simple Stock Market to test out the API and wanted to share some pictures of the development process:

Image

Image

Image

Image
Will this work with all factions in game and modded or just the vanilla factions?

teleportationwars
Posts: 158
Joined: Fri, 12. Jul 19, 14:03

Re: Stock Market Menu

Post by teleportationwars » Tue, 22. Oct 19, 13:46

Right now, it is just a test. If someone wants to maintain a vanilla version of it, they are more than welcome to. We will add our version to the alpha along with all the other menus we are making when SirNukes decrees the API stable. PM us if you want the test files.

linolafett
EGOSOFT
EGOSOFT
Posts: 3363
Joined: Mon, 26. Mar 12, 14:57
x4

Re: Stock Market Menu

Post by linolafett » Tue, 22. Oct 19, 16:49

Good stuff!
01001100 01101001 01101110 01100101 01110011 00100000 01101111 01100110 00100000 01110100 01101001 01101101 01100101 01110011 00101110 00101110 00101110

My art stuff

nickolaiproblem
Posts: 246
Joined: Mon, 5. Nov 18, 23:12
x4

Re: Stock Market Menu

Post by nickolaiproblem » Tue, 7. Apr 20, 23:59

teleportationwars wrote:
Tue, 22. Oct 19, 04:56
SirNukes is making an amazing API that makes it possible to build menus in md.

I'm sure he'll do his own release thread, but we spent 2-3 hours on a simple Stock Market to test out the API and wanted to share some pictures of the development process:

Image

Image

Image

Image
Is work still being done on this mod?

Greyman1985
Posts: 3
Joined: Sun, 25. Dec 16, 09:52
xr

Re: Stock Market Menu

Post by Greyman1985 » Wed, 8. Apr 20, 01:32

Oh yes please!!!!

User avatar
StoneLegionYT
Posts: 1428
Joined: Fri, 4. Nov 05, 01:18
x4

Re: Stock Market Menu

Post by StoneLegionYT » Thu, 9. Apr 20, 09:25

Love the Menu not sure about the Stock Market haha. Had fun exploiting that in AP.

That being said I have a Mod Request / Suggestion if your willing and would fit well I think with your UI Design playing around.

One of the biggest lacking features in my book with X4 is some sort of interface to see all your crews and skills and be able to even manage them easier or at least see them. Prob be a fun interesting mod with some sort of additional special bunker where you can say store said crew too and have sort of a supply. But the UI part is what I love to see. More overviews of critical game functions would be a dream.

teleportationwars
Posts: 158
Joined: Fri, 12. Jul 19, 14:03

Re: Stock Market Menu

Post by teleportationwars » Fri, 10. Apr 20, 15:06

Here is the code, updated to the newest version of SirNuke's Simple_Menu_API: https://github.com/albysmith/stock_market

Here's a link to Simple_Menu_API documentation: https://github.com/bvbohnen/x4-projects ... nu_API.xml

And a link to the Steam Workshop for SirNukes Mod Support APIs: https://steamcommunity.com/linkfilter/? ... s/releases

Anyone who wants to fork it is welcome to work on their own stock market based on our menu code here.

Needs:
  • Set dependency for SimpleMenuAPI
  • Change stock price update to something other than this:

    Code: Select all

    <set_value name="$PriceChange" min="-5000" max="5000" />
  • Convert from "pages" to a scroll-able menu
  • Update slider API to not need a confirmation page
  • All the stuff for versioning

ArtilleryWhore
Posts: 61
Joined: Mon, 18. Nov 13, 15:04
x4

Re: Stock Market Menu

Post by ArtilleryWhore » Wed, 22. Jun 22, 22:12

Did this mod ever get finished? cuz im desperate for a good stock market mod (or any stock market mod) for X4
PLZ BBY, if we have any scripting modders plz plz plz make a stock market mod with standard buy and sell orders, Limit buy/sell orders, trailing stop buy/sell orders, stop loss sell orders, etc etc

you can even call the mod robinhood lol

Post Reply

Return to “X4: Foundations - Scripts and Modding”