Author Topic: Tileset object effects air unit height.  (Read 1479 times)

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Tileset object effects air unit height.
« on: 19 March 2011, 23:35:57 »
Since unit height already effects the height overground of air units why not have tileset do the same things. This will allow for tileset makers to have more larger trees and mountains. Hope something like this can be done. Thanks!!
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

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Tileset object effects air unit height.
« Reply #1 on: 20 March 2011, 00:40:59 »
This is already possible in MG (and has been since 3.4). You can set a height property for tileset objects and air units will respect this height.

Thanks

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Tileset object effects air unit height.
« Reply #2 on: 20 March 2011, 06:52:49 »
This is already possible in MG (and has been since 3.4). You can set a height property for tileset objects and air units will respect this height.

Thanks
Oh, I never knew that existed! Could you post the exact syntax?
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Tileset object effects air unit height.
« Reply #3 on: 20 March 2011, 13:08:28 »
https://forum.megaglest.org/index.php?topic=6111.msg61693#msg61693

Code: [Select]
<object walkable="false" height="12">
Edit by Omega: Posted syntax from linked page.
« Last Edit: 20 March 2011, 17:39:48 by Omega »

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Re: Tileset object effects air unit height.
« Reply #4 on: 1 April 2011, 12:03:07 »
Would it be possible to define a tileset width as well? Air units would raise their height if they are over the square that the object was on. However if the tileset object was wide as well air units would return to ground level the next square over. This would be an issue for mountain objects. Glest mountains have a diameter of 3 the mountains i created are 5 in diameter. Units would fly through the mountain till they reach the center where they pop up for a second and fall back into the mountain (cause they passed center square) This would be avoided if you could use either a cell map for tileset or a width property.

Just and idea.
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

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Tileset object effects air unit height.
« Reply #5 on: 1 April 2011, 15:46:37 »
Would it be possible to define a tileset width as well? Air units would raise their height if they are over the square that the object was on. However if the tileset object was wide as well air units would return to ground level the next square over. This would be an issue for mountain objects. Glest mountains have a diameter of 3 the mountains i created are 5 in diameter. Units would fly through the mountain till they reach the center where they pop up for a second and fall back into the mountain (cause they passed center square) This would be avoided if you could use either a cell map for tileset or a width property.

Just and idea.
No, that wouldn't be compatible with how maps work...
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Re: Tileset object effects air unit height.
« Reply #6 on: 2 April 2011, 01:37:17 »
No, that wouldn't be compatible with how maps work...

Well maybe in the future. For now guess I have to use my backup plan.
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

 

anything