It is currently Sun May 19, 2013 7:36 pm




Post new topic Reply to topic  [ 31 posts ]  Go to page 1, 2, 3  Next
Vending Machine GUI 
Author Message
Off Topic Productions
Off Topic Productions
User avatar

Joined: Sat Apr 24, 2004 9:21 pm
Posts: 13850
Location: Hafnia
Post Vending Machine GUI
W00Ters, so... Shane and I have decided to create an interface for the vending machines. It'll be pretty versatile, he'll make one machine with open properties so we can insert item names, class names, prices, icons, and vending machine skins into it so the one machine will basically sell anything we want it to. Then we'll make some subclasses of that with all the defaults we think we'll need. Here are 8 machines we'll need:

note from fub: finished (or those being "borrowed" from hdtp)ones had a red asterisk next to them.

*1: Drink machine:
4 kinds of soda (Nuke, Zapp, Blast, and that last one)
4 kinds of forty

*2: Food machine:
Candybar
Soy food
(And whatever other food you feel like skinning)

*3: Ammunition machine:
Battery
Tranq darts
10 mm
7.62 mm
Shells

*4: Grenade machine:
LAM
Gas grenade
EMP grenade
Scrambler

5: Weapon mod machine:
Scope
Laser
Silencer

6: Tool machine:
Multitool
Lockpick

*7: Equipment machine:
Nightvision goggles
Rebreathers
Gas masks

*8: Cigarette machine (different mesh):
I don't recall how many different cig skins are in the game. We may need to snatch up the HDTP skins for them.

Machines 3 through 7 are specifically for the weapon shop. The other three can be used anywhere.

Of course dispensing sodas and forty's will require us to code up the different skin variations. We can go about this in two ways:
  1. Code up four different classes and make each of them heal you more than the other. Nuke will heal 2 pts, Zapp 4, Blast 6, and the last one 8. The price will of course also rise. Each of these will need seperate belt and inventory icons.
  2. Code up one new class with an option for changing the skin and make the vending machine set this option. That means all the different sodas will stack into 1 slot, and the only time you see their skin variations is if you throw them away (I discovered with the chemical bottles that the game actually does this, although Shane still thinks it's a figment of my imagination). With this solution, all four sodas should cost and heal the same.

Now, of course we need new skins for some of these. We're basing them all on the HDTP vending machines, but we won't need a skin for the drink dispenser as Metche and Phas already made that. Nor do we need a new skin for the cigarette dispenser. That means we need the following skins:
  • Food
  • Ammunition
  • Grenades
  • Weapons
  • Tools
  • Equipment


Functionality

Here's what we need the dispenser GUI to display:

We need it to scale according to how many items are on sale. For each icon, it needs to display an icon, a name, a price, and a description. Naturally, it needs to check your cash when you try to buy an item, and refuse to give you the item if you lack the funds.

I think the current plan is to display a list of items and prices and then a larger menu with an icon and a description of the currently selected item.

Shane and I will each be designing a concept for the interface and comparing them in this thread. Chris (Bell, aka. Breadfan) will be doing the skins for the machines themselves and possibly some of the icons. I will probably also be helping out with the icons, and I'll help Shane calibrate the GUI.

And it will rawk.

_________________
Jonas Wæver
Chief Poking Manager of TNM

Random Outbursts of Creativity


Last edited by Jonas on Sat Nov 25, 2006 12:38 am, edited 3 times in total.

Mon Jun 19, 2006 8:28 am
Profile WWW
Off Topic Productions
Off Topic Productions
User avatar

Joined: Sat Apr 24, 2004 9:21 pm
Posts: 13850
Location: Hafnia
Post 
Hey Shane, if we get our graphics artists to make broken versions of each of the vending machines, could you code them up to do funny things when you shoot them?

For example:
1) If you damage them a little, they start sparking.
2) If you damage them further, they'll start smoking and maybe they'll eject a few random items from their list. They will no longer call up their GUI when frobbed.
3) If you damage them even more, they'll blow up and their skin will be replaced with the damaged version.

Interactivity++ 8)

_________________
Jonas Wæver
Chief Poking Manager of TNM

Random Outbursts of Creativity


Wed Sep 06, 2006 4:49 pm
Profile WWW
The Nameless Mod
The Nameless Mod
User avatar

Joined: Mon Oct 17, 2005 7:29 pm
Posts: 591
Location: Florida, USA
Post 
Jonas, that's a really good idea and everyone will notice it and think its disgustingly awesome. Players always notice all the little details. (The ones that matter anyway)

quick question, I'm gonna ask in two places to make sure its noticed, has anyone seen me on MSN the past week?

_________________
Sheeki-deeki quack quack.


Thu Sep 07, 2006 2:30 am
Profile YIM WWW
Off Topic Productions
Off Topic Productions
User avatar

Joined: Sat Apr 24, 2004 9:03 pm
Posts: 2817
Location: Canada
Post 
ZeroPresence wrote:
quick question, I'm gonna ask in two places to make sure its noticed, has anyone seen me on MSN the past week?


Nope, we've been wondering where you were, actually.

_________________
-Life does not snap to the x-axis


Thu Sep 07, 2006 2:55 am
Profile WWW
The Nameless Mod
The Nameless Mod

Joined: Mon Apr 26, 2004 1:54 am
Posts: 1276
Location: Perth, Western Australia
Post 
Do you think its a little overpowered allowing the player to steal from the vending machines? what is the disadvantage?


Thu Sep 07, 2006 7:30 am
Profile
Off Topic Productions
Off Topic Productions
User avatar

Joined: Sat Apr 24, 2004 9:21 pm
Posts: 13850
Location: Hafnia
Post 
I don't think players should be allowed to steal from the vending machines.

And Chris: No I haven't seen you online this week either.

_________________
Jonas Wæver
Chief Poking Manager of TNM

Random Outbursts of Creativity


Thu Sep 07, 2006 11:20 am
Profile WWW
Off Topic Productions
Off Topic Productions
User avatar

Joined: Sat Apr 24, 2004 9:03 pm
Posts: 2817
Location: Canada
Post 
Jonas wrote:
eject a few random items from their list. They will no longer call up their GUI when frobbed.


That's pretty much stealing.

_________________
-Life does not snap to the x-axis


Thu Sep 07, 2006 2:04 pm
Profile WWW
Off Topic Productions
Off Topic Productions
User avatar

Joined: Fri Oct 21, 2005 4:52 pm
Posts: 553
Location: NY
Post 
yeah, I agree...maybe just spit out random debris (rock gibs, etc).?

-Gelo

_________________
But you should walk having internal dignity. Be a wonderful person who can dance pleasantly to the rhythm of the universe.
-Sun Myung Moon


Thu Sep 07, 2006 4:09 pm
Profile
Off Topic Productions
Off Topic Productions
User avatar

Joined: Sat Apr 24, 2004 9:21 pm
Posts: 13850
Location: Hafnia
Post 
Oh. Well in that case the disadvantage should be obvious: The machine will stop working. You may get 1 or 2 random items, but you won't be able to buy anything again. Note the may.

_________________
Jonas Wæver
Chief Poking Manager of TNM

Random Outbursts of Creativity


Thu Sep 07, 2006 5:20 pm
Profile WWW
Off Topic Productions
Off Topic Productions
User avatar

Joined: Sat Apr 24, 2004 9:03 pm
Posts: 2817
Location: Canada
Post 
But if you can't afford it anyway then you could just blow it up and hope for the best, if it doesn't work you could reload the map and try again. I donno, we could try it and see, it might work either way.

_________________
-Life does not snap to the x-axis


Thu Sep 07, 2006 9:12 pm
Profile WWW
The Nameless Mod
The Nameless Mod
User avatar

Joined: Mon Oct 17, 2005 7:29 pm
Posts: 591
Location: Florida, USA
Post 
ok, that's as I feared. I've been on every day actually. My buddylist or connection... or... something is messing up, if I get online and I can actually see others online I'll IM them. Till then.

_________________
Sheeki-deeki quack quack.


Fri Sep 08, 2006 12:17 am
Profile YIM WWW
Off Topic Productions
Off Topic Productions
User avatar

Joined: Sat Apr 24, 2004 9:03 pm
Posts: 2817
Location: Canada
Post 
Frickpants.

Have you tried re-installing? Or re-adding us? Or voodoo spells?

_________________
-Life does not snap to the x-axis


Fri Sep 08, 2006 1:17 am
Profile WWW
The Nameless Mod
The Nameless Mod
User avatar

Joined: Mon Oct 17, 2005 6:09 pm
Posts: 69
Post 
If you decide to make the sodas stack, you can have my implementation of it. The skin changes in your hand, as well, so you won't just see them when you throw them away (assuming you actually select it to use it). I think there's also a comment in my code for where to change the icon, so that should be simple to add once the icons are available.


Fri Sep 08, 2006 4:20 am
Profile
The Nameless Mod
The Nameless Mod
User avatar

Joined: Mon Oct 17, 2005 7:29 pm
Posts: 591
Location: Florida, USA
Post 
So, anyone have any idea what may cause this:

About a month ago my computer started acting really slow. Such as... when Windows is starting up it takes at least a minute or two, and when windows loads up and it starts loading everything in the quickbar it takes forever for that to finish, too. Games, such as Battlefield 2, take REALLY long. About 5-10 minutes to load up a server. Planetside, takes at least two minutes to load, as opposed to half a minute before this crap started. I scanned for viruses, clean, not even any warnings. I scanned for spyware, and everyone has SOME, deleted it. I have no clue what's wrong at all... I think this is contributing to my problems with MSN, though.

EDIT: Oh yeah, I defragged already a couple times, too.

_________________
Sheeki-deeki quack quack.


Fri Sep 08, 2006 6:40 am
Profile YIM WWW
Off Topic Productions
Off Topic Productions
User avatar

Joined: Sat Apr 24, 2004 9:21 pm
Posts: 13850
Location: Hafnia
Post 
Smoke39 wrote:
If you decide to make the sodas stack, you can have my implementation of it.

Yes please!

_________________
Jonas Wæver
Chief Poking Manager of TNM

Random Outbursts of Creativity


Fri Sep 08, 2006 8:03 am
Profile WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 31 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forum/DivisionCore.