First draft of my mods interface

Post Reply
User avatar
DinkyDyeAussie
Posts: 260
Joined: Fri Feb 10, 2012 10:39 am
Location: Australia

First draft of my mods interface

Post by DinkyDyeAussie »

Did up a new interface for the mod I intend making using the stratagus engine.
screen03.png
screen03.png (735.61 KiB) Viewed 9890 times
It looks great in game I think.
User avatar
Andrettin
Posts: 433
Joined: Sun Jun 30, 2013 9:58 pm
Location: Vienna, Austria
Contact:

Re: First draft of my mods interface

Post by Andrettin »

I agree, it looks very nice.
User avatar
DinkyDyeAussie
Posts: 260
Joined: Fri Feb 10, 2012 10:39 am
Location: Australia

Re: First draft of my mods interface

Post by DinkyDyeAussie »

Thanks man :) Been mucking around with ideas all afternoon - still gotta do all the other resolutions, but I'm trying out different things with the native 1920x1080 res.

Here's another few shots of the things I've modified and created.

New side bar, sliders, slider-markers, buttons and checkboxes.
screen04.png
screen04.png (370.31 KiB) Viewed 9882 times
Diplomacy panel is resized, decided to use panel 3 instead of panel 5.
screen07.png
screen07.png (1.21 MiB) Viewed 9882 times
User avatar
Andrettin
Posts: 433
Joined: Sun Jun 30, 2013 9:58 pm
Location: Vienna, Austria
Contact:

Re: First draft of my mods interface

Post by Andrettin »

Nice :)

I suggest commenting out "menu:setBorderSize(1)" in the "function WarGameMenu(background)" (in /scripts/menus/game.lua), so that the borders of the panels look better. The same can be done to buttons my modifying "function menu:addImageButton(caption, hotkey, x, y, callback)" (in /scripts/guichan.lua), redefining it thus:

Code: Select all

  function menu:addImageButton(caption, hotkey, x, y, callback)
    local b = ImageButton(caption)
    b:setHotKey(hotkey)
    b:setActionCallback(callback)
    self:add(b, x, y)
    b:setBorderSize(0)
    return b
  end
User avatar
DinkyDyeAussie
Posts: 260
Joined: Fri Feb 10, 2012 10:39 am
Location: Australia

Re: First draft of my mods interface

Post by DinkyDyeAussie »

AH! LEGEND! Thankyou man I've been wondering how to get that crappy border to vanish! Just tested it and it looks alot better...especially with the transparent buttons...lot's more polished :)

Thanks again man :)
User avatar
b_o
Posts: 328
Joined: Sun Jan 01, 2012 12:07 pm

Re: First draft of my mods interface

Post by b_o »

What is the concept behind the mod you're making? An interface mod, or is there more to it?
User avatar
DinkyDyeAussie
Posts: 260
Joined: Fri Feb 10, 2012 10:39 am
Location: Australia

Re: First draft of my mods interface

Post by DinkyDyeAussie »

Basically I want to make a game with astronauts and cosmonauts dukin it out to control the resources on the moon and mars. That's the bare bones of it. It'll take a lot of work though. I might expand the story a bit later on to include other planets and even other star systems, as Dark Matter in this sense kinda refers to inter-steller travel, light/warp speed and space rts style gameplay.
Post Reply