aliens

Author Topic: Moddable User Interface?  (Read 4140 times)

Offline Unknown Hero

  • Colonel
  • ****
  • Posts: 176
    • View Profile
Moddable User Interface?
« on: July 04, 2014, 12:50:44 am »
What about a moddable User Interface?

Everyone has ideas of what is best for an UI, and everyone will be different.
Display this info here in this screen, put this button here to allow this from this screen.

And some users are completely mad with their suggestions, I know one of them.  ::)

So how difficult it would be to offer the possibility to the players to modify the UI according to their needs?

Offline Falko

  • Commander
  • *****
  • Posts: 802
    • View Profile
Re: Moddable User Interface?
« Reply #1 on: July 04, 2014, 01:05:45 am »
exporting the UI with its complete functionality to user is way more complicated than you think
if that is accomplished we will have 3-4 people in the forum that can use this (likely messy) ruleset
and these 50% of these users can also got to the c++ and change stuff there

Offline Unknown Hero

  • Colonel
  • ****
  • Posts: 176
    • View Profile
Re: Moddable User Interface?
« Reply #2 on: July 04, 2014, 01:40:11 am »
So it's best to forget it. Thanks.
All my hopes soar.

Offline Falko

  • Commander
  • *****
  • Posts: 802
    • View Profile
Re: Moddable User Interface?
« Reply #3 on: July 04, 2014, 02:26:55 am »
sorry to burst your bubble but besides changing position/size(/colors?) of existing buttons/functionality there will likely be no modding of UI
if the devs do that kudos to them

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Moddable User Interface?
« Reply #4 on: July 04, 2014, 05:57:34 am »
there are plans to make the battlescape UI a bit more dynamic in terms of placement and size of buttons, if that's what you mean

Offline Unknown Hero

  • Colonel
  • ****
  • Posts: 176
    • View Profile
Re: Moddable User Interface?
« Reply #5 on: July 05, 2014, 12:29:27 am »
Nice to read this.

I am not a programmer, so I'll try to explain (numbers are for explanation only  :) ).

* Window nameXX

Origin Position (pixels, screen related)
x=100
y=50
width=200
height=150

* Window nameXX ** Button nameXX

Origin Position  (pixels, window related)
x=10
y=10
width=30
height=150
label="HELLO" (ex: text or icon, etc.)
fonction call=Fonction name (ex: display a window, go to a screen, etc.)
display=Value name (ex: display the number of items, etc.)

Etc.

Basically, add to, change, etc. the UI. Sort of "ruleset" for the UI.
I hope you get the idea.

It's certainly completely out of reach, just an idea for modders.  :)