Author Topic: [done] Lack of food alert  (Read 7130 times)

silnarm

  • GAE Team
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Visiual notification of low "food"
« Reply #25 on: 2 March 2011, 03:31:10 »
...i'd give people 30 seconds or so to save their troops. 30 seconds is plenty of time to build a quantum reactor.
My calculations indicate it will take a single IPV approximately 45 seconds to build a Quantum Reactor, not including the time to issue the command, or the time for the IPV to get in position. 

But we're getting off topic...

if it's the modder's choice

This is all I was getting at, the original suggestion was with hard-coded numbers, and was not configurable by the modder...

Glest Advanced Engine - Code Monkey

Timeline | Downloads

Zoythrus

  • Guest
Re: Visiual notification of low "food"
« Reply #26 on: 2 March 2011, 05:04:03 »
if it's the modder's choice

This is all I was getting at, the original suggestion was with hard-coded numbers, and was not configurable by the modder...
i was going for the modder's choice idea, sorry that i didnt specify.

(and why use only 1 IPV to build a QR?)

ElimiNator

  • Airship
  • ********
  • Posts: 3,391
  • The MegaGlest Moder.
    • View Profile
Re: Visiual notification of low "food"
« Reply #27 on: 2 March 2011, 05:49:48 »
No, don't make this game play its self! You will eliminate strategy!

My quoted reply:
Of course, if ever implimented, the entire feature should have an INI setting to choose whether the player wants it or not.
But then I would be the only guy with it off and every one else would have a advantage.

Or if you will reach 0 ressources within the next 3(or better5?) resource calculation cycles?
This sounds fine to me.
Get the Vbros': Packs 1, 2, 3, 4, and 5!

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Re: Visiual notification of low "food"
« Reply #28 on: 3 March 2011, 04:00:03 »
No, don't make this game play its self! You will eliminate strategy!

My quoted reply:
Of course, if ever implimented, the entire feature should have an INI setting to choose whether the player wants it or not.
But then I would be the only guy with it off and every one else would have a advantage.
Would make more sense as a modder specific choice than a player specific choice.
Annex: Conquer the World Release 4 For Pc Mac + Linux
https://forum.megaglest.org/index.php?topic=9570.0
Annex is now on Facebook!
https://www.facebook.com/AnnexConquer

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: Visiual notification of low "food"
« Reply #29 on: 10 April 2011, 01:01:26 »
Bump! I lost ~50 units yesterday because I forgot to produce chickens... Can this be implemented before the release? Is it possible...

titi_son

  • Draco Rider
  • *****
  • Posts: 283
  • titi_son
    • View Profile
Re: Visiual notification of low "food"
« Reply #30 on: 10 April 2011, 08:57:25 »
just LOOK  ;D
My first Tilseset: SPRING :) (included in Megaglest )

Secret Hint: To play online join the IRC #megaglest-lobby on freenode which is the lobby chat ingame. So you can chat with or wait for people in the lobby without running megaglest all the time.

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: Visiual notification of low "food"
« Reply #31 on: 10 April 2011, 10:18:53 »
I was LOOKING if there was any of those Roman Anti-Air Buildings, then I heard the sound, and titi said there was one but I missed it... ;D

uncle

  • Guest
Lack of food alert
« Reply #32 on: 29 August 2011, 10:08:48 »
Players should be somehow notified about a lack of food (for example when the food starts to disappear due to too few amount of cows/chickens/pigs).
It is really annoying when my troops die only because i forget to create more animals :)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Lack of food alert
« Reply #33 on: 29 August 2011, 14:12:18 »
Note: I merged Uncles' post to this existing thread on the same topic. Uncle: please try to search for existing feature requests before you post one (this one was easily identified by searching the feature requests forums for 'food'). Thank you.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

uncle

  • Guest
Re: Lack of food alert
« Reply #34 on: 30 August 2011, 15:28:02 »
tomreyn: OK, I will try to search it next time. :)

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
Re: Lack of food alert
« Reply #35 on: 18 October 2011, 15:42:25 »
initial attempt in svn for discussion shows the resource flashing between red and the normal white color (each second) when consumable reaches to 25% of max storage and balance is ticking down.

« Last Edit: 18 October 2011, 15:57:39 by softcoder »

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Lack of food alert
« Reply #36 on: 18 October 2011, 21:37:18 »
initial attempt in svn for discussion shows the resource flashing between red and the normal white color (each second) when consumable reaches to 25% of max storage and balance is ticking down.


Perhaps it should also turn yellow if it's ticking down but over 25%? After all, that still means insufficient food in the long run.
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,239
    • View Profile
    • http://www.titusgames.de
Re: Lack of food alert
« Reply #37 on: 19 October 2011, 10:58:35 »
Now I changed it to the following behaviour:

If you run out of food within the next 3 food cycles the warning starts.

If running out of food is within 1 food cycle warning color is red
If running out of food is within 2 food cycle warning color is orange
If running out of food is within 3 food cycle warning color is yellow

Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Lack of food alert
« Reply #38 on: 20 October 2011, 02:23:41 »
Hmm 3 food cycles can be pretty short... I guess it wouldn't be enough for me when I have -20 food per cycle and forgot to build a food production unit.

My suggestion:
Make it yellow as soon as you have negative production, make it orange when running out in 6 food cycles, flash red when 0 food cycles. This way it can still be missed but when you realise you missed it you still have a ways to recover.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,239
    • View Profile
    • http://www.titusgames.de
Re: Lack of food alert
« Reply #39 on: 21 October 2011, 10:06:27 »
Well I don't think a negative value is already a reason to warn!
 
Maybe just stretch it a bit like this?:
yellow: within 9 food cycles
orange: within 6 food cycles
red : within 3 food cycles

I personally would prefer this.

( or 7,5,3 ? )
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Re: Lack of food alert
« Reply #40 on: 21 October 2011, 12:03:42 »
I agree with tomreyn:
My suggestion:
Make it yellow as soon as you have negative production, make it orange when running out in 6 food cycles, flash red when 0 food cycles. This way it can still be missed but when you realise you missed it you still have a ways to recover.
Annex: Conquer the World Release 4 For Pc Mac + Linux
https://forum.megaglest.org/index.php?topic=9570.0
Annex is now on Facebook!
https://www.facebook.com/AnnexConquer

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Lack of food alert
« Reply #41 on: 21 October 2011, 12:41:17 »
Just...make a toogle for it please.
WiP Game developer.
I do danish translations.
"i break stuff"

will

  • Golem
  • ******
  • Posts: 783
    • View Profile
Re: Lack of food alert
« Reply #42 on: 21 October 2011, 14:01:11 »
Ideally, can be specified in the techtree or faction xml?

Mr War

  • Guest
Re: Lack of food alert
« Reply #43 on: 21 October 2011, 16:43:24 »
Will has a good point, should be in the resource XML as different tech trees may have different relevant warning levels.

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Lack of food alert
« Reply #44 on: 21 October 2011, 21:39:15 »
Can you explain how this is techtree / faction specific? I can't think of a reason why different tech trees would need different warning levels.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Lack of food alert
« Reply #45 on: 23 October 2011, 06:07:14 »
I gotta agree with Tom here. The amount of cycles remaining is a relative term, so it should be consistent with any type of resource. It's not in any way an obtrusive warning, it simply changes the color of some already existent text, and I'd say having a negative value is reason enough to turn the white text yellow.
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

will

  • Golem
  • ******
  • Posts: 783
    • View Profile
Re: Lack of food alert
« Reply #46 on: 23 October 2011, 07:31:19 »
I was thinking of having it in the xml so that the modder can customise the colours to ensure contrast with hud and to be able to disable it or otherwise change it - imagine the future where the faction has lua hooks that fire in the human player's context - they might want to do these things themselves.

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Lack of food alert
« Reply #47 on: 23 October 2011, 14:25:13 »
Will has a good point, should be in the resource XML as different tech trees may have different relevant warning levels.

Why not make it techtree specific, let us have alot of options when modding thats what makes great games.
WiP Game developer.
I do danish translations.
"i break stuff"

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Lack of food alert
« Reply #48 on: 23 October 2011, 15:29:25 »
I was thinking of having it in the xml so that the modder can customise the colours to ensure contrast with hud and to be able to disable it or otherwise change it - imagine the future where the faction has lua hooks that fire in the human player's context - they might want to do these things themselves.
 

So it may one day be necessary to make it configurable if some scenario has Lua functions applied to it which do strange things to food. But this seems not very probable to me, or my imagination is limited. So I'd say lets wait for until it happens. This is similar for HUD colors, while this is more likely to be an issue for someone who decides to have a mod with a red HUD, so far I'm not aware of it, and I think more changes will be necessary to support fully customizing the HUD color. But this is a different topic and a different feature. I'm marking this thread as done since Ishmaru's original feature request was implemented, but you're welcome to open a new one to have it moddable on a per-faction or per-techtree level.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·