Author Topic: Layered upgrades  (Read 1710 times)

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Layered upgrades
« on: 23 September 2010, 11:36:39 »
As discussed on IRC, posting here so it doesn't get lost.

Quote
[07:01] <johndh> How difficult would it be to impliment different levels of upgrades, á la *craft or Age of...?  I.e., you research upgrade A and upgrade B appears in its place.  I've got a boatload of upgrades in Solunar and most of them are meant to stack.

<snip />

[07:07] <johndh> Like, let's say we want three levels of "armor crafting", then we could have armor_crafting_meta.xml, which pulls together armor_crafting_1.xml with *_2.xml, and *_3.xml
[07:09] <@silnarm> hmmm... maybe a couple of extra XML elements could do it...
[07:10] <@silnarm> actually, a little logic could probably do it automagically.
[07:11] <@silnarm> if Upgrade B required upgrade A, dont show the icon for Upgrade B until upgrade A is aquired
[07:11] <@silnarm> and then hide the icon for Upgrade A.
[07:11] <@silnarm> if upgrade C requires upgrade B ... etc, etc
[07:12] <@silnarm> I'll think about it for a bit .... ;)
[07:12] == Neurotrophin [~quassel@adsl-70-37-3.gnv.bellsouth.net] has joined #glest
[07:12] <johndh> Sounds good as long as it doesn't do that by default.
[07:12] <@silnarm> ahh, ok.. an explicit system is better?
[07:13] <johndh> I think so.  If you've got two upgrades that are only quasi-related, then I think it would be better to show both.
[07:14] <johndh> I mean, you wouldn't automatically know that polymers will eventually lead to airplanes.  However, if it's something like "basic ballistics", there's an assumption that there's going to be intermediate and advanced.
[07:15] <@silnarm> ok, maybe UpgradeB: <supersedes upgrade="upgrade_a" /> or something along those lines?
[07:15] <johndh> Sounds good to me.
[07:16] <johndh> or in Upgrade A: <next-upgrade name="upgrade_b"/> would work, I suppose.
[07:16] <@silnarm> just links them up, yeah, that's good

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: Layered upgrades
« Reply #1 on: 23 September 2010, 21:56:25 »
Nothing big, but...I think it would be a bit better without the time and the @(I think webchat only does the @)
(click to show/hide)
Anyways, sounds cool.

ChupaReaper

  • Guest
Re: Layered upgrades
« Reply #2 on: 23 September 2010, 22:35:13 »
An upgrade tree would be cool, this would be accessed using a command from a unit opening a pop-up window with an upgrade tree.

Zoythrus

  • Guest
Re: Layered upgrades
« Reply #3 on: 23 September 2010, 23:14:06 »
I, Zoythrus, endorse this thread.

Mark

  • Guest
Re: Layered upgrades
« Reply #4 on: 25 September 2010, 19:28:45 »
Maybe, but I think that because there would be less stuff for you to see when you open up the panel, each upgrade would have to have some kind of description.  This actually would look a lot cooler than the ugly stuff you see when you mouse over some upgrades.  Units could even have descriptions.  I think that an upgrade tree would be necessary for the big picture (think civilization 4) or some kind of help file.

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Layered upgrades
« Reply #5 on: 26 September 2010, 05:51:40 »
Maybe, but I think that because there would be less stuff for you to see when you open up the panel, each upgrade would have to have some kind of description.  This actually would look a lot cooler than the ugly stuff you see when you mouse over some upgrades.  Units could even have descriptions.  I think that an upgrade tree would be necessary for the big picture (think civilization 4) or some kind of help file.
Customizable hover tips would be amazing.  I'd (ab)use the hell out of a feature like that.  ;D  Even better, extended descriptions like in Age of Mythology or Battle for Wesnoth.  Serious fluff geeks Writing-inclined folks like me would have a field day.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Layered upgrades
« Reply #6 on: 26 September 2010, 20:14:14 »
Maybe, but I think that because there would be less stuff for you to see when you open up the panel, each upgrade would have to have some kind of description.  This actually would look a lot cooler than the ugly stuff you see when you mouse over some upgrades.  Units could even have descriptions.  I think that an upgrade tree would be necessary for the big picture (think civilization 4) or some kind of help file.
Customizable hover tips would be amazing.  I'd (ab)use the hell out of a feature like that.  ;D  Even better, extended descriptions like in Age of Mythology or Battle for Wesnoth.  Serious fluff geeks Writing-inclined folks like me would have a field day.
Same. I'd love to give cool descriptions. Plus, some upgrades are just a bit hard to figure out what they do...
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

 

anything