UI Discussion

UI Discussion

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

Moderators: FLOZi, SpikedHelmet, Moderators, Content Developer

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

UI Discussion

Post by FLOZi »

Infocard design:

http://imgur.com/n3dX0ut

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

Re: UI Discussion

Post by Anarchid »

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).
User avatar
Nemo
Spring 1944 Developer
Posts: 1376
Joined: 30 Jan 2005, 19:44

Re: UI Discussion

Post by Nemo »

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.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth »

Doable easily floz. Do you guys want me to use that mech image?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: UI Discussion

Post by FLOZi »

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.
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: UI Discussion

Post by Anarchid »

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.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth »

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?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: UI Discussion

Post by FLOZi »

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).
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth »

Image

Whipped this guy up earlier to avoid any artist butthurt about using the old card image.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: UI Discussion

Post by FLOZi »

Guess I should finish up the leg damage code >_>
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth »

Image
Progress etc.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: UI Discussion

Post by FLOZi »

Recent advances
Image
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth »

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 11 times
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: UI Discussion

Post by FLOZi »

[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
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: UI Discussion

Post by PicassoCT »

Smoth - could your shadder- show damaged parts?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth »

Image

removed art based on concept drawing.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth »

Image

ammo works.
heat is next.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth »

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 14 times
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: UI Discussion

Post by smoth »

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 14 times
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: UI Discussion

Post by PicassoCT »

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
Post Reply

Return to “MechCommander: Legacy”