Author Topic: Questions about the GUI/GamePlay  (Read 1337 times)

Wolvenhood

  • Guest
Questions about the GUI/GamePlay
« on: 17 November 2010, 17:14:14 »
Hello, i am a newbie with Glest, here, but i am a programmer, (i am experienced with Lua/HTML/JSCRIPT).
I was wondering if there is any way to mess with the GUI of Glest for instance if i could give a castle additional stats, or make a upgrade be able to change how much certain units cost in the future, as well as if i could understand how to give new skills to units, besides using skills off of other units.(for instance i've already given a worker the ability to become a swordsman or archer.

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Questions about the GUI/GamePlay
« Reply #1 on: 17 November 2010, 21:00:52 »
Um... I don't see how any of those examples are related to tweaking the GUI.  Have a look here, though.

Wolvenhood

  • Guest
Re: Questions about the GUI/GamePlay
« Reply #2 on: 17 November 2010, 23:20:08 »
well last i checked the GUI is another term for the HUD on your screen,and i am talking about for instance, if i wanted to make ages, how would i go about making a thing on the HUD/GUI that was a progress bar on the top of your screen for how the age is developing.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Questions about the GUI/GamePlay
« Reply #3 on: 18 November 2010, 06:49:13 »
well last i checked the GUI is another term for the HUD on your screen,and i am talking about for instance, if i wanted to make ages, how would i go about making a thing on the HUD/GUI that was a progress bar on the top of your screen for how the age is developing.
Well, you are the programmer, aren't you? :)
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Questions about the GUI/GamePlay
« Reply #4 on: 18 November 2010, 11:14:04 »
You could only make such changes in C++ atm.

We certainly would like more and more of the game to be mod-able from Lua, but we've barely begun that process, and there is a lot of work to be done before adding custom GUI components (from Lua) will be possible (if it ever is).

Glest Advanced Engine - Code Monkey

Timeline | Downloads

Wolvenhood

  • Guest
Re: Questions about the GUI/GamePlay
« Reply #5 on: 18 November 2010, 14:40:37 »
Ty for the help,   ;) ;) ;).
Is it possible to give units custom abilities, and if so, how would i do it, no matter the language, just basically can you give me a head start?

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Questions about the GUI/GamePlay
« Reply #6 on: 19 November 2010, 01:13:51 »
Ty for the help,   ;) ;) ;).
Is it possible to give units custom abilities, and if so, how would i do it, no matter the language, just basically can you give me a head start?
http://glestguide.co.cc (for modding, which uses XMLs to tell the engine how to read the mod, G3D models for units, etc etc)
« Last Edit: 19 November 2010, 01:16:42 by John.d.h »
Edit the MegaGlest wiki: http://docs.megaglest.org/

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