Author Topic: things to add to the GAE todo list...  (Read 3170 times)

Zoythrus

  • Guest
things to add to the GAE todo list...
« on: 1 November 2009, 15:31:50 »
since i have been asked to compile my ideas onto one thread in this section of the forum, here are my ideas:

amphibious units (can traverse both land and water)
multiple animations (like multiple death or attack anims)
a tag for heroes, to differentiate them from other units (and the AI would know not to scout with them)
the ability to garrison troops into transports or towers (this means they would be able to attack out of them)
the implementation of a squad nexus (ever played LotR:Battle for Middle Earth? like all the squads in that game, where each person in a squad is an individual unit; but they are all bound together by a central nexus. I personally dont think that this would be too hard to implement)
the ability for a unit to cloak, stealth would be nice.

those are my ideas...

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: things to add to the GAE todo list...
« Reply #1 on: 2 November 2009, 03:30:07 »
amphibious units (can traverse both land and water)

This actually belongs on the 'been done' list.

Quote from: Zoythrus
multiple animations (like multiple death or attack anims)
a tag for heroes, to differentiate them from other units (and the AI would know not to scout with them)
the ability to garrison troops into transports or towers (this means they would be able to attack out of them)

multiple anims and garrisoning are already feature requests, a tag for Heros might be a good idea, but I'd prefer not to introduce AI 'hacks' myself.  I would hope the AI would be smart enough to realise the value of the hero unit (and that it can't build more) and not do stupid things with it...

Quote from: Zoythrus
the implementation of a squad nexus (ever played LotR:Battle for Middle Earth? like all the squads in that game, where each person in a squad is an individual unit; but they are all bound together by a central nexus. I personally dont think that this would be too hard to implement)

Great! You can find the code at sourceforge, please submit a patch when you're finished.  Seeing as you don't think it will be too hard, I'm guessing it shouldn't take long?

Quote from: Zoythrus
the ability for a unit to cloak, stealth would be nice.

Good idea, but may require modification of most/all existing commands... So I wouldn't expect it soon.
Glest Advanced Engine - Code Monkey

Timeline | Downloads

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Re: things to add to the GAE todo list...
« Reply #2 on: 2 November 2009, 12:34:53 »
I actually think that if you had I hero tag that it meant the AI should scout with that unit as he is the hero, and this would probably be very difficult but maybe have him circle around the camp and stay away from the enemy just enough so they couldn't see him but he could see them(he would have like 20 sight) and then return to the base.
Egypt Remastered!

Proof: Owner of glest@mail.com

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: things to add to the GAE todo list...
« Reply #3 on: 2 November 2009, 12:55:06 »
I actually think that if you had I hero tag that it meant the AI should scout with that unit as he is the hero, and this would probably be very difficult but maybe have him circle around the camp and stay away from the enemy just enough so they couldn't see him but he could see them(he would have like 20 sight) and then return to the base.

Exactly... IF you gave your hero a large value for sight, and it was tough anyway, then the AI could and should use it to scout with.  IF it didn't have a large sight value, such that trying to scout enemy bases could be rather hazardous, it wouldn't.

So a 'hero tag' to tell the AI to use it to scout or not, is a bad idea. A 'scout' tag maybe, but as I mentioned, my preference is for no tags.  If the AI determines it needs to scout, it should choose the most appropriate units available to do it, based on numbers, not tags.
Glest Advanced Engine - Code Monkey

Timeline | Downloads

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Re: things to add to the GAE todo list...
« Reply #4 on: 2 November 2009, 12:59:14 »
Yea, I'll go either way, it was just an idea.
Egypt Remastered!

Proof: Owner of glest@mail.com

Zoythrus

  • Guest
Re: things to add to the GAE todo list...
« Reply #5 on: 2 November 2009, 14:46:21 »
i would write the code to implement squads, but im not too sure what is acceptable to the Glest engine...

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: things to add to the GAE todo list...
« Reply #6 on: 2 November 2009, 22:09:25 »
We won't know if it is until you write it. This is a major gameplay mechanic and not all people might want this feature. Will the player be able to create the squads or will they be spawned as squads?
« Last Edit: 2 November 2009, 22:11:44 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

Zoythrus

  • Guest
Re: things to add to the GAE todo list...
« Reply #7 on: 2 November 2009, 22:29:03 »
preferably all spawned as squads...

Fluffy203

  • Guest
Re: things to add to the GAE todo list...
« Reply #8 on: 2 November 2009, 22:57:13 »
i kinda like the idea , but idk i dont' want to be playing DOW 40k

Zoythrus

  • Guest
Re: things to add to the GAE todo list...
« Reply #9 on: 3 November 2009, 00:59:00 »
i like the idea...(otherwise i wouldnt be suggesting it...)

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: things to add to the GAE todo list...
« Reply #10 on: 3 November 2009, 05:24:56 »
You might be able to simulate squads by having a unit that takes up no space and can't be attacked, meaning it has a cell map of nothing but zeroes.  This unit would be the squad's nexus, as you call it, and the squad members would be pets of it.  Pets automatically follow their master, so you'd move the nexus and the pets go right along with it and fight together.  I'm pretty sure you'd have to give it a model if you wanted to be able to select it, but it could be something like a waving flag that represents the squad.

wciow

  • Behemoth
  • *******
  • Posts: 968
    • View Profile
Re: things to add to the GAE todo list...
« Reply #11 on: 3 November 2009, 10:47:38 »
As you say John the squad nexus (flag) would have to have a model in order to be selectable, however this will cause the flag to be attacked by the enemy AI. Even if it was invincible the AI would still waste its time trying to attack it.

If it had an all zero cell map it is possible that the AI might not attack (not sure on this), but also it would not be able to move because its cell map would mean it was a building rather than a unit. 
Check out my new Goblin faction - https://forum.megaglest.org/index.php?topic=9658.0

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: things to add to the GAE todo list...
« Reply #12 on: 3 November 2009, 22:19:36 »
Okay, I tried a quick version with a unit called squad_leader, with a size zero and the ability to summon pet squad_member.  The enemy won't attack the leader because it's size zero, but it will try.  They will even surround it and block it in so it can't go anywhere, which is weird because it can go right through trees but not units.  Go figure.  Anyway, the main problem was that the pets don't automatically follow the leader, which I thought they were supposed to do.  There might be a way to get it to work better, but that's all I found with my maybe five minutes of work.

Zoythrus

  • Guest
Re: things to add to the GAE todo list...
« Reply #13 on: 4 November 2009, 22:49:04 »
i guess this is the perfect place to ask whether a parent unit could be created WITH its pets? not having to spawn them in, they would be made with it

 

anything