Vending Machine GUI

Stare in awe at the fascinating machinations of the TNM team during the last two years of production, this was our private forum.

Moderator: TNM Team

User avatar
NVShacker
Off Topic Productions
Off Topic Productions
Posts: 178
Joined: Sun Sep 03, 2006 4:14 am

Post by NVShacker »

Oh, hey guys, figured I'd post and say "hello, I'm Shacker, a coder" and that I've been working on the GUI for the vending machine and that after I hammer out a few implementation things with Shane (like making it scale properly to 640x480 and allow for longer item names if need be) it should be good to go. Here's a screenie:
Image
NVShacker
Are you still there?
User avatar
Jonas
Off Topic Productions
Off Topic Productions
Posts: 14224
Joined: Sat Apr 24, 2004 9:21 pm
Location: Hafnia

Post by Jonas »

That looks pretty l33t! Although, doesn't it get annoying to wait for the description text to fade in all the time?
Jonas Wæver
Chief Poking Manager of TNM

I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
User avatar
NVShacker
Off Topic Productions
Off Topic Productions
Posts: 178
Joined: Sun Sep 03, 2006 4:14 am

Post by NVShacker »

It fades in pretty darn fast (like, I had to reclick on the icon a few times to get a decent screenie fast), and you can click it to fade it in faster (or hit the space bar iirc) I want to say it's twice as fast as the infolink text (0.04 -> 0.02 fade delay) but that's from memory.
NVShacker
Are you still there?
User avatar
Jonas
Off Topic Productions
Off Topic Productions
Posts: 14224
Joined: Sat Apr 24, 2004 9:21 pm
Location: Hafnia

Post by Jonas »

Oh, that's cool then. Now to get the texture guys to make a nice background tex...
Jonas Wæver
Chief Poking Manager of TNM

I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
User avatar
Jonas
Off Topic Productions
Off Topic Productions
Posts: 14224
Joined: Sat Apr 24, 2004 9:21 pm
Location: Hafnia

Post by Jonas »

Oh, another question. Why does it say "cc"? I don't recall seeing that abbreviation anywhere in the original game, although perhaps my memory is just failing me. I think it'd be better if you preceded the price with a single "c", eg. c20 or c150. That's how I did it other places in the game, at least :)
Jonas Wæver
Chief Poking Manager of TNM

I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
User avatar
NVShacker
Off Topic Productions
Off Topic Productions
Posts: 178
Joined: Sun Sep 03, 2006 4:14 am

Post by NVShacker »

Uh... :oops:

Probably something I imagined in one of Shane's emails. Really simple fix though, the strings referencing it are in four lines in HUDVendingMachineWindow. I'd fix it myself but I don't have FTP or bugtracker access right now.

If you want to go through yourself (though you could probably safely do a search and replace), it's used in:
AddItem(...) once
ListSelectionChanged(...) once and
AttemptPurchase() twice.

If not, whenever I get setup I'll do it.
NVShacker
Are you still there?
User avatar
Trestkon
Off Topic Productions
Off Topic Productions
Posts: 2820
Joined: Sat Apr 24, 2004 9:03 pm
Location: Canada
Contact:

Post by Trestkon »

That rocks, NV! Excellent work :D

I sorted out your FTP account and I'll make you a bugtracker account right now.
-Life does not snap to the x-axis
User avatar
Trestkon
Off Topic Productions
Off Topic Productions
Posts: 2820
Joined: Sat Apr 24, 2004 9:03 pm
Location: Canada
Contact:

Post by Trestkon »

Actually, it's setup so that you can make your own:) Just click on 'Open a new account'

http://tnm.offtopicproductions.com/bugtracker/index.php
-Life does not snap to the x-axis
User avatar
Jonas
Off Topic Productions
Off Topic Productions
Posts: 14224
Joined: Sat Apr 24, 2004 9:21 pm
Location: Hafnia

Post by Jonas »

Actually Shane already created it.
Jonas Wæver
Chief Poking Manager of TNM

I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
User avatar
NVShacker
Off Topic Productions
Off Topic Productions
Posts: 178
Joined: Sun Sep 03, 2006 4:14 am

Post by NVShacker »

If shane created it then I've created a redundant account, sorry.

I do have the credit thing fixed and I'll have it trimmed down to 640x480 by the end of the EDIT (weekend, osrry I'm tired and need sleep), I'll throw the uc up onto the ftp. As a plus this makes the righthand columns look better left justified.
Image

As for other things, I'm wondering what I should be longing for to work on in bugtracker and also how I should have my TNM build setup... set up. I'm assuming I'll be wanting to help with bugs addressed to Shane on bugtrack though, right?
NVShacker
Are you still there?
that guy
The Nameless Mod
The Nameless Mod
Posts: 1312
Joined: Mon Apr 26, 2004 1:54 am
Location: Perth, Western Australia

Post by that guy »

Last I heard your ftp account isn't working for you (This could have changed since then) if that's the case you're going to want to get that working before you start making any other changes.

you will want at least the packages TNM, TNMItems, and TNMDeco

I haven't created you a bugtracker account so that's all good.

at the moment browse through bugs assigned to me and pick out some you like. Then get in contact with me and I'll tell you what I've done on them and reassign them.
User avatar
Trestkon
Off Topic Productions
Off Topic Productions
Posts: 2820
Joined: Sat Apr 24, 2004 9:03 pm
Location: Canada
Contact:

Post by Trestkon »

HIs FTP account was fix0red
-Life does not snap to the x-axis
User avatar
Jonas
Off Topic Productions
Off Topic Productions
Posts: 14224
Joined: Sat Apr 24, 2004 9:21 pm
Location: Hafnia

Post by Jonas »

Shane, I just tried out the vending machines, and I have some questions and suggestions for tweaks. Here's a picture that sums it all up:

Image
Jonas Wæver
Chief Poking Manager of TNM

I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
User avatar
Jonas
Off Topic Productions
Off Topic Productions
Posts: 14224
Joined: Sat Apr 24, 2004 9:21 pm
Location: Hafnia

Post by Jonas »

Shane, I think we should scrap the skin selection code in the current vending machine class and just create a different class for each kind of vending machine with skins and products all set up. That'll make it far easier to be consistent with the setup of these things.
Jonas Wæver
Chief Poking Manager of TNM

I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
User avatar
Jonas
Off Topic Productions
Off Topic Productions
Posts: 14224
Joined: Sat Apr 24, 2004 9:21 pm
Location: Hafnia

Post by Jonas »

Breadfan has finished the last three vending machines, so we are now good. Possibly, we need to look at the alignment of the stuff which ISN'T the cover, as I think the original skins HDTP sent us are a little misaligned. But for now, this is fine.
Jonas Wæver
Chief Poking Manager of TNM

I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
Post Reply