The One With The New UI
New UI System
We have switched over to Unity's UI system. It's not without its problems (which they're working on) but it's a lot better than it was.
While I've moved the majority of stuff over, please keep in mind that this is just under two weeks of work. I have been concentrating on moving over the most important or most complicated features. So there are things missing - which I'm working on re-implementing.
Menu Screen
We want to make the menu screen less useless. We don't want it to be a screen that you use to get to another screen, we want to use it to keep you informed. You can see a tiny example of this now, as we link to the 3 latest devblogs.
Server Browser
The server browser is a bit more comprehensive than the previous version. We have lists for LAN servers, favourites and history. You can add a server to your favourites by pressing the star next to its name.
UnityUI is a bit slow at handling massive lists right now (they're looking into it), so I've limited the server lists to showing the top 200 servers. I'll also be adding filtering and searching tools at some point.
Connection Screen
A new screen. The connection screen shows the connection status. If you disconnect from a server it will show you why. If you press escape in game and come to the menu, you'll be able to use it to disconnect.
This screen a bit if a placeholder. I'm hoping to add more features to this screen that let you have more interaction with the server. Think logos, MOTD's, admin lists, connection stats (ping etc), player reporting.
Death Screen
The death screen is now skipped if you've never been alive before. The left side is a bit empty right now.. but that'll change over the next few weeks.
The right side should show respawn options. You can now choose which sleeping bag you want to spawn on. If you can't spawn in a sleeping bag because of a time delay, it'll show how long until you can use it right on the button.
You can give your sleeping bags a friendly name in game.
Sleep Screen
The sleeping screen no longer has a wake up button. You can just press a button to wake up instead.
Inventory
The inventory menu is now full screen and frameless. This has the disadvantage of obscuring all the stuff that's happening in the background, but it has the advantage of not looking like shit. It might be a bit big on larger resolutions. Next week I'll be adding some scaling options - so you'll be able to make it smaller based on your preference.
Selecting Items
You can select an item by clicking on it. This will show information about the item at the top of the screen, along with any options it may have (like eating food). This area is under-utilized right now - but we have plans that justify its existence.
You also drop items using this method. I can appreciate that this sucks, next week I'll add options to drag out of your inventory to drop.
Splitting
Splitting has changed, and it's something you need to be taught. If you select a stack you'll get a split widget. Simply drag the bar to the amount you want to take, then drag the icon to where you want to put it. But that's not all:
- Left mouse button dragging a stack drags the whole thing
- Right mouse button dragging drags a single item
- Middle mouse button dragging drags half the stack
It's our belief and hope that the three clicks required to split accurately is offset by the fact that you'll probably never actually do that, opting instead of use the middle/right mouse buttons. But we'll see how it works out.
Blueprints
The new blueprints list have an "All" category. They also show how many you have unlocked. You can scroll through the list by dragging it up and down. The items you can't craft because of a lack of resources are at the bottom, the rest are ordered by title.
When you are crafting something a timer will show up, along with how many others are queued. You can cancel an item you have queued by right clicking. This is a lot more simplified compared to the previous version - and you do lose a degree of control.. but we'll see how it goes.
Tweaks
The tweaks window has been redesigned and has a few new options. It also shows the framerate, and has a framerate graph along the bottom. This should make it easier for you to see if changing the settings here has any performance benefit.
I am noticing now that the grey background gradient is horrible, so I'll tweak that next week. Let me know what other options you want here.
Chat
Chat now has steam avatars and admin/developer names are a different colour. Next week I need to add history and fix that white line at the bottom of all of the avatars.
Vitals
Nothing much has changed with vitals. Some of them show a bit more accurate data. That's it.
Randomized Rad Town Layouts
We are currently testing a system to partially randomize rad town and monument layouts based on the server seed. You can look at it as a simplified version of the AI Director in Left 4 Dead. It can for example remove or add walls, buildings or other objects from rad towns to make it harder for people to learn the exact layout and loot positions. The long-term aim is to force people to always be prepared for surprises when entering a rad town, even if they have seen this specific rad town type before.
For now we are using this system very scantily in order to test that everything works as it should. At this stage it is little more than a proof of concept to see what kinds of randomizations could make sense when we design rad towns in the future, but expect to see or not see some rad town entrances and objects depending on which server you are playing on.
Anti Cheat
EAC has been turned off for the last week while the guys debugged why people were seemingly being kicked randomly. They've done that now - so it's back armed.
Some guys have found that you can fuck about with the big resources file to create cheats. I could have spent time writing code to stop that, but the EAC guys are working on a better, more global solution for that, which should be ready quite soon.
Summary
Man, that's been a bit of a crunch for the last couple of weeks.. but it feels great to have got it all done. I'm going to spend next week cleaning it all up, fixing bugs, adding back missing features and taking feedback. I've added the Raknet source code to our native dlls too - all ready to be used.. so I'll have a go at that too.. which should fix some of the network issues we've had with lidgren.
Let me know about any problems/ideas/opinions you have with the new UI either via @garrynewman or in the forum.
