UI Discussion

UI Discussion

When a mechwarrior falls in battle, what does she leave to legacy?

Moderators: SpikedHelmet, FLOZi, Moderators, Content Developer

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6109
Joined: 29 Apr 2005, 01:14

UI Discussion

Post by FLOZi » 03 Jan 2014, 11:29

Infocard design:

http://imgur.com/n3dX0ut

Image
0 x

User avatar
Anarchid
Posts: 1380
Joined: 30 Nov 2008, 04:31

Re: UI Discussion

Post by Anarchid » 03 Jan 2014, 12:07

This going to replace the semitransparent thingies at bottom?

Reiterating stuff from our testrun: i'd love a permanently visible right-side-of-screen bar for ordering stuff, arranged vertically, starting with a pictogram for order submission and followed by an accordion or tab switcher for unit classes and then individual icons.

Entire thing could ideally be no fatter than 5% of screen width (if talking about wider ones popular now).
0 x

User avatar
Nemo
Spring 1944 Developer
Posts: 1376
Joined: 30 Jan 2005, 19:44

Re: UI Discussion

Post by Nemo » 03 Jan 2014, 16:37

Cool! Are there already keyboard commands for enabling/disabling weapons? Clicking tiny buttons when trying to micro quickly is really annoying, as I'm sure you know.

Is turning weapons on/off a major part of gameplay (guessing heat management)? If heat is going to majorly screw up a unit's abilities, perhaps also fade in some color behind the mech outline to indicate ability-limiting amounts of heat.
0 x

User avatar
smoth
Posts: 22298
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth » 03 Jan 2014, 17:01

Doable easily floz. Do you guys want me to use that mech image?
0 x

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6109
Joined: 29 Apr 2005, 01:14

Re: UI Discussion

Post by FLOZi » 03 Jan 2014, 17:39

Nemo wrote:Cool! Are there already keyboard commands for enabling/disabling weapons? Clicking tiny buttons when trying to micro quickly is really annoying, as I'm sure you know.

Is turning weapons on/off a major part of gameplay (guessing heat management)? If heat is going to majorly screw up a unit's abilities, perhaps also fade in some color behind the mech outline to indicate ability-limiting amounts of heat.
Haven't written the toggling weapons at all yet (They are already limited by heat, ammo, jamming... :shock: )

@Smoth: Not sure quite how Spiked wants those to work, all uniform or custom outlines for each from renders.
0 x

User avatar
Anarchid
Posts: 1380
Joined: 30 Nov 2008, 04:31

Re: UI Discussion

Post by Anarchid » 03 Jan 2014, 17:42

You could probably hijack the ZK icon builder to generate wireframes images cheaply and en masse.

Bonus point is that a model change afterwards will not require any 2d art update, either.
0 x

User avatar
smoth
Posts: 22298
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth » 03 Jan 2014, 17:54

FLOZi wrote:@Smoth: Not sure quite how Spiked wants those to work, all uniform or custom outlines for each from renders.
That isn't a problem but it could be an issue to do it for every 'mech/loadout. ESP at zoom for the collapsed group view thing. May be easier to do a generalized form, IE for tanks, mechs with arms, mechs without arms and so on. Then again, I don't know if it would be THAT big a deal to at least to a graphic for each mech base frame.

How many different mechs?
0 x

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6109
Joined: 29 Apr 2005, 01:14

Re: UI Discussion

Post by FLOZi » 03 Jan 2014, 18:42

Currently 34 mechs but that includes variants.

If we went with a uniform mech outline they can all have arms iirc (even if they don't look like arms, they have weapon mounts which are called arms internally and take damage).
0 x

User avatar
smoth
Posts: 22298
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth » 03 Jan 2014, 20:29

Image

Whipped this guy up earlier to avoid any artist butthurt about using the old card image.
0 x

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6109
Joined: 29 Apr 2005, 01:14

Re: UI Discussion

Post by FLOZi » 03 Jan 2014, 20:38

Guess I should finish up the leg damage code >_>
0 x

User avatar
smoth
Posts: 22298
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth » 04 Jan 2014, 00:57

Image
Progress etc.
0 x

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6109
Joined: 29 Apr 2005, 01:14

Re: UI Discussion

Post by FLOZi » 04 Jan 2014, 21:11

Recent advances
Image
0 x

User avatar
smoth
Posts: 22298
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth » 05 Jan 2014, 06:19

Image

Things left:

Ammo
heat
weapon offline/online toggle(is this implemented?)
weapon disable enable colors(unsure how to know what is disabled)
Attachments
backup.7z
(just a backup)
(164.98 KiB) Downloaded 5 times
0 x

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6109
Joined: 29 Apr 2005, 01:14

Re: UI Discussion

Post by FLOZi » 05 Jan 2014, 10:19

[02:01:06] <smoth> he is storing a string not a table ...
If that's a reference to maxammo in customparams, that's because customparams can only be strings. Use this to convert:

Code: Select all

local function StringToTable(input)
	return loadstring("return " .. (input or "{}"))()
end
Weapon toggle isn't implemented yet. For weapon disabled, I guess something like Spring.SetUnitRulesParam(unitID, "weapon_disabled_" .. weaponID, whyDisabledCode) where whyDisabledCode indicates if it was turned off, heat, blown off etc
0 x

User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10235
Joined: 24 Jan 2006, 21:12

Re: UI Discussion

Post by PicassoCT » 05 Jan 2014, 11:23

Smoth - could your shadder- show damaged parts?
0 x

User avatar
smoth
Posts: 22298
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth » 05 Jan 2014, 18:04

Image

removed art based on concept drawing.
0 x

User avatar
smoth
Posts: 22298
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth » 05 Jan 2014, 19:07

Image

ammo works.
heat is next.
0 x

User avatar
smoth
Posts: 22298
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth » 05 Jan 2014, 23:39

Image
I really like the alert that shows when the unit is about to explode.
The moment a unit gets hot the portrait starts to glow. As it gets closer and closer to exploding(150% heat, or excess_heat of 50 as it is known internally) it flashes danger and the little caution line as well :)

I am not sure if you want to have the card auto hide or clear on unit death..

either way, doing a backup before I go to the store.
Attachments
backup.7z
(176.85 KiB) Downloaded 6 times
0 x

User avatar
smoth
Posts: 22298
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth » 06 Jan 2014, 04:08

I cannot figure out how to login to checkin and CBA to use commandline. Anyway, flozi, give this a whirl and let me know.

Cheers!


Changes:
outline added to healthbar, lance tab and ammo text
added support for vehicles, now shows a tank icon.
commented and cleaned up a bunch of stuffs
card is hidden until a unit is picked in lance view! yay!

have fun!
Attachments
backup.7z
(218.93 KiB) Downloaded 6 times
0 x

User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10235
Joined: 24 Jan 2006, 21:12

Re: UI Discussion

Post by PicassoCT » 06 Jan 2014, 10:23

smoth wrote:

I am not sure if you want to have the card auto hide or clear on unit death..

either way, doing a backup before I go to the store.
Do the electric snowstorm
0 x

Post Reply

Return to “MechCommander: Legacy”