Author Topic: Question?  (Read 1216 times)

Psychedelic_hands

  • Guest
Question?
« on: 17 July 2010, 10:58:13 »
How difficult would it be to implement some kind of feature like a gametype?

I find it sometimes boring playing the same objective over and over again....  Maybe we could have something like King? Where the other player must protect a King Unit.

Just for the record I'm not asking anyone to do this, I'm not trying to be one of those guys who demand their ideas be done. This is just a suggestion, and I'm sorry I can't do it myself :(

Gabbe

  • Guest
Re: Question?
« Reply #1 on: 17 July 2010, 14:03:25 »
We always demand our coders to do more work, well, we usually ask them but still..kING OF THE HILL? Territory wars? Deathmatch (start with resources x10, unit production time 5x)? Last man standing ( we already got, but that you can change teams during the game. and when game ends you are automatically divided)? Last team standing (diplomatrics may be changed during game, strongest team wins)? Capture (capture and hold the main building of the enemy for a long enough period and then your oponent is eliminated if not he or hisd allies managed to recapture)? "Capture the flag" mode (a flag is spawned at a random location and you must gather as many as possible, when a flag is in your base a new one will appear with a little LoS so that all players can see were it is)? "Capture the flag

kukac2

  • Guest
Re: Question?
« Reply #2 on: 17 July 2010, 14:34:31 »
Sometimes I find wonderful how fexible LUA can be :look:

Gabbe

  • Guest
Re: Question?
« Reply #3 on: 17 July 2010, 14:48:30 »
me to, the fexibility is just so amazing...

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Question?
« Reply #4 on: 19 July 2010, 03:27:33 »
I had thought about moving more of the gameplay code to lua so that modders could create their own game types but nothing is planned yet.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Question?
« Reply #5 on: 19 July 2010, 22:54:08 »
True. I have a very rough "king of the hill" in military's latest version, where it uses a timer to make you survive for a certain period of time, but it wasn't as good as I originally planned.

One major thing is that there's no way to kill units with lua. I wanted it so that if you die, you got thrown off the hill onto a side base, where you had to take over the enemie again, but there was no way of making sure there was no enemy bases at those sides first without killing them. Also, various other restrictions applied. For the most part, it *would* be nice if there were a way to (1) kill off an individual unit (ie: killUnit(unit_id);) and kill off all a player's units (ie: killPlayerUnits(player_id);).
Edit the MegaGlest wiki: http://docs.megaglest.org/

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