How to fix mines/aircrafts problem? +AA buff and others.

Things that did not fit to the other parts
Post Reply
User avatar
Dagravian
Posts: 938
Joined: Tue Sep 06, 2016 6:20 am
Location: Terra - Brasil

How to fix mines/aircrafts problem? +AA buff and others.

Post by Dagravian »

As i mentioned on "Aircraft remaster post" https://www.androidutils.com/forum/view ... 8f9982865d

I will try to give the solution to that problem... And being short... The problem is layering... I know, i know... Isn't easy, it is complex, lot of efforth, but will be definitive and will improve many aspects of this and maybe the other versions of the game if you adapt this suggestion to those.

But first, I must explain more about that "layer" meaning to everyone else... I know such things had been discused b4 (myself already attempted something, but nothing was satisfactory...) So i would ask to you all to forget any prior concept of "layer" or "floor" here so you don't get confused, because this will be very complex by itself. :lol:

So i noticed that all AOS versions got some flaws and conflicts in logic due addition of newer content, ~new content is added, but base logic almost don't~, a perfect example of this is the mines being able to hit planes...

Now we will enter the complex part... The logic map does affect only "horizontal gameplay"... As i noticed, each tile is separated in 4 parts, it start with background tile (landscape, that is grass, sand, snow...), adds-on tile objects ("add furniture on tiles" as plants, cliff borders or some objects as tents or watchtowers), then goes to gameplay objects (units and structures), then above all, the highlights (effects as explosions, shoots), they have other names but for general understanding of you all, each tile is filled with these 4 subjects. (I think Daniel could make a post to complement with the correct terms and more details about "How a tile is formed" someday...)

So, you can only have one of each of those per tile, that means that all and every unit, works on the same floor, and only one unit can ocuppy a single tile... Now you know the basic of how is the layering of one tile inside the map!

My suggestion is simple, that is to add a second category to the tile layering for units, more preciselly, to be exclusive to aircrafts, staying bellow "highlight" layer and above the primary "gameplay object" layer.

So each tile would be: Landscape > Landscape objs > Primary gameplay objs (ground) > Secondary gameplay objs (air) > highlights (effects).

By adding this, moving all airplanes to this "metaphorical" secondary layer, and adding new "layer related" parameters to statsheet, things like mines will stop to hit planes since now, 2 units will be able to stay on the same tile, without overlap each other, but one WILL NOT BE ABLE TO TARGET EACH OTHER, unless we create these new parameters as "Layer of effect" to them, otherwise ground and air units will not be able to interact with each other... (Another detail of after adding this "layer of effect" parameter on attack, is that units theorically could target objects in lower layers as the forest trees or houses and remove them from the way, but lets stay with only gameplay layers for now)

Another comment i would like to add is that, why i said that "this layer is metaphorical"?

Because the player can't see it, but game logic can! It will separate ground from air, but user will not see any diference in his perspective. But the logic will be able to separate them and work without suffer any conflict at this point...

With that settled, time for AA buff!

The ideal way to represent an airplane being shoved by clouds of flak would be it being on the move, and currently, with the new effect of mines, that made me think... "if we surround the AA with mines and make a plane go over it?", so i checked and will look like what it should be from the very beggining. But the problem is that, we can't do that since everything works on the same floor, so if we add the hability to AA make this currently, it would hit other ground units and here enters this new layer. So by making AA target this new layer it would be able to deploy this "active" defense against air without affect ground units.

Here is the example,
User will see this.
2019-02-26-16-01-51.png
2019-02-26-16-01-51.png (159.86 KiB) Viewed 2256 times
But game logic will see this.
2019-02-26-16-01-16.png
2019-02-26-16-01-16.png (157.65 KiB) Viewed 2256 times
Q&A:

- But what about planes? They can't hit ground anymore?
Yes for most of cases, they will be able to target only other air units, but since we would be able to add a new parameters to units and spells as (layer of effect), dive bombers could target the primary and secondary layers and normal planes could still use spell bombs targeting primary layer to hit ground units, but i think if Daniel make "range 0" hit the units on the oposite layer, in this case, primary, all it would require is to the air unit be on the same tile than the target.

- If i have two units in same tile, how do i know which is which?
As the air layer is above in the tile priority, the selection should focus on the plane, but i think Daniel can add a button on HUD/GUI to highlight the unit from lower layer so you can swap over the units..

- So how this "air mines" will work?
All AA units will receive a spell/hability to deploy "flak clouds" that is a field of "mines" around itself for aircraft that will affect only that air layer and vanish in 1 turn with a small or no cooldown. This will drastically increase AA effectiveness without any extra changes.

Summary of advantages:
-Improved game logic and mechanics.
-Permanently fix of bug of ground/naval mines hitting aircrafts.
-Permanent fix the bug of "aircraft can't cross walls.
-2 units can now share the same tile.
-Air can keep same stats and still will be less op, meaning that they can be cheaper.
-AA will be much more effective.
-Ground units can be ranged without affect aircrafts.
-Specific Units that can remove background objects can be added to game.
-And much more!

Sumary of disavantages:
-Lot to work.
-Like, a really lot of work...

Summary of To-do's.

This part is up to Daniel, since he is the only one able to create such thing here...

-Create new layer inside the tiles for units with priority above the current one.
-Move all airplanes to this new layer.
-Create new parameters stats related to layers to enable interaction between units of different layers.
-Create a new button for GUI to enable highlight of units of lower layers. So user can swap over the units on the same tile.
-Check if airplanes target focus is applyed only on new layer.
-Check if bombs do hit the new layer. If they do, change them to work on the primary layer (ground).
-Change target focus of all AA's from primary layer to this new layer.
-Check if all features are working normally after changes.
-Relax.

---> This is the part that probably head designers and other ppl can do while Daniel relax.

- Create the new hability and add it on all AA's.
- Check for bugs.
- Adjust and Balance stuff to newer mechanics.
- Adjust campaigns to new changes.
- Enjoy new mechanics.

Done. Did everyone understand this?
Stay Awesome!
(ノಠ益ಠ)ノ彡┻━┻
Midonik
Posts: 5325
Joined: Mon Sep 05, 2016 5:27 pm
Location: Poland

Re: How to fix mines/aircrafts problem? +AA buff and others.

Post by Midonik »

Air and ground units on same tile would be the best solution to this problem.
Support new AoS variant, Age of Galaxy: http://ageofstrategy.net/viewforum.php? ... 608408ebc8
All help will be welcome.
Stratego (dev)
Site Admin
Posts: 15748
Joined: Fri Apr 25, 2014 9:28 pm

Re: How to fix mines/aircrafts problem? +AA buff and others.

Post by Stratego (dev) »

good idea, but seems total restructure of the core engine that would take weeks or months :(
also please replace image attachments to links to https://imgbb.com/
thanks!
also2: u use old version - we have new buttons in game.
User avatar
Dagravian
Posts: 938
Joined: Tue Sep 06, 2016 6:20 am
Location: Terra - Brasil

Re: How to fix mines/aircrafts problem? +AA buff and others.

Post by Dagravian »

Midonik wrote: Wed Feb 27, 2019 6:31 am Air and ground units on same tile would be the best solution to this problem.
Yes, and i think if we add a third section to units inside the same tile, ahead of the secondary layer (air) then AOG could support to have space battles inside the same map and you could work to implement those planetary battles in the game at same time.

So each tile would be: Landscape > Landscape objs > Primary gameplay objs (ground) > Secondary gameplay objs (air) > Tertiary gameplay objs (space) > highlights (effects).
Stratego (dev) wrote: Wed Feb 27, 2019 10:38 am good idea, but seems total restructure of the core engine that would take weeks or months :(


Yep, but such problems can only be fixed if you cut the problem by the root... Bcz It would not matter how much would be attemped to just balance newer and old stuff, move things here and there in order to fix those problems. That would just delay a chronic issue... It is quite scary to dig so deeply to rework structure of the core, but remember that you are not alone. So when you think that it is time to do this, i know that there will be many people that will be glad to assist on what they can in order to improve this game :)
also please replace image attachments to links to https://imgbb.com/
thanks!

Ok, will do that later, at night.
also2: u use old version - we have new buttons in game.
I know, i just like the basic buttons of the older version, so i prefer to use these for now, until a major change :D
Stay Awesome!
(ノಠ益ಠ)ノ彡┻━┻
Stratego (dev)
Site Admin
Posts: 15748
Joined: Fri Apr 25, 2014 9:28 pm

Re: How to fix mines/aircrafts problem? +AA buff and others.

Post by Stratego (dev) »

please never use old version - we can run into investigating non existing problems this way.
User avatar
Dagravian
Posts: 938
Joined: Tue Sep 06, 2016 6:20 am
Location: Terra - Brasil

Re: How to fix mines/aircrafts problem? +AA buff and others.

Post by Dagravian »

For this version i use and the newer, the only change os the gui, but Ok, i will be up to date for now on... (But can you put an option to allow the use of the classic buttons on aow? I didn't minded to not have that option on aos/aof... But here, I really like these tho :lol: )
Stay Awesome!
(ノಠ益ಠ)ノ彡┻━┻
Belfry777
Posts: 1681
Joined: Tue Oct 17, 2017 2:34 am

Re: How to fix mines/aircrafts problem? +AA buff and others.

Post by Belfry777 »

Air units being on top of ground units is real and makes the game easier to understand. Firstly having layers like this would work also for Naval units. I mean why can a ground unit attack (This can happen provided the sub is right next to land) a sub? I suggest we have 3 layers; land, air and sea. This way we can avoid dumm and out of this world stuff like planes not being over to fly past ground units and infantry being able to attack submarines. Coding wise, we would probably need to assign every unit to a particular layer (Which I believe we do have) but make it so that they cannon interact with units in other layers. Either way it is going to take some work, but I can help in about 2 weeks.
A thousand may fall at your side,
And ten thousand at your right hand;
But it shall not come near you.
Only with your eyes shall you look,
And see the reward of the wicked.
User avatar
Dagravian
Posts: 938
Joined: Tue Sep 06, 2016 6:20 am
Location: Terra - Brasil

Re: How to fix mines/aircrafts problem? +AA buff and others.

Post by Dagravian »

Belfry777 wrote: Wed Feb 27, 2019 9:36 pm Air units being on top of ground units is real and makes the game easier to understand. Firstly having layers like this would work also for Naval units. I mean why can a ground unit attack (This can happen provided the sub is right next to land) a sub? I suggest we have 3 layers; land, air and sea. This way we can avoid dumm and out of this world stuff like planes not being over to fly past ground units and infantry being able to attack submarines. Coding wise, we would probably need to assign every unit to a particular layer (Which I believe we do have) but make it so that they cannon interact with units in other layers. Either way it is going to take some work, but I can help in about 2 weeks.

I understand what you said but i must say that add a layer to naval units is not necessary since they all (beside subs) work on the surface level, and they are already separated horizontally by the water tiles...

This whole layering is to define altitude to a single tile starting from surface to everything above, because the user can only see what is above the tile and not what does have under the it... But since you touched on subs (that can work bellow the surface level), adding a layer on the tile with the lowest gameplay priority to fit the submerged transformation can work (being underground>surface>air)... But this will work only on this specific case, bcz i don't remember we having units in the other games that could work bellow the surface level on the same way as subs...

To simulate underground scenarios, we have many "rocky" landscape tiles to simulate places "bellow the surface", so surface units can work normaly being "underground" and not diving like subs... But i think with this, we can create more realistic trenchs, letting them be buildable on this underground layer and allow infantry get cover inside it...

I think that could be a test for the air layer, like if Daniel makes the underground work first with sub, the path for the air layer will be much easier to be done.
Stay Awesome!
(ノಠ益ಠ)ノ彡┻━┻
User avatar
godOfKings
Posts: 3302
Joined: Fri Sep 22, 2017 4:50 pm

Re: How to fix mines/aircrafts problem? +AA buff and others.

Post by godOfKings »

One problem Is how would player select right unit wen 2 or more units r on same tile (and even more complicated if they r owned by different players)

Would aa turret atk itself if a plane is on same tile?
There is no place for false kings here, only those who proves themselves to b the true kings of legend, or serves under me

For I watch over this world looking for those worthy to become kings, and on the way get rid of the fakes and rule over the fools
User avatar
Dagravian
Posts: 938
Joined: Tue Sep 06, 2016 6:20 am
Location: Terra - Brasil

Re: How to fix mines/aircrafts problem? +AA buff and others.

Post by Dagravian »

godOfKings wrote: Thu Feb 28, 2019 6:32 pm One problem Is how would player select right unit wen 2 or more units r on same tile (and even more complicated if they r owned by different players)

Would aa turret atk itself if a plane is on same tile?
The answer is here.
-If i have two units in same tile, how do i know which is which?
As the air layer is above in the tile priority, the selection should focus on the plane, but i think Daniel can add a button on HUD/GUI to highlight the unit from lower layer so you can swap over the units..
So when you select the tile that does have more than one unit by layer, you will see a button that can highlight units by layer inside that tile, so you will be able to see yours and theirs without problems (maybe as pop-up screen showing all units on that tile with some actions as select and attack, or box or something else... Daniel's will specify what's best there).

Change AA fire focus is one of the most important itens on the to-do list. So no, AA will not shoot itself, AA is deployed on the "surface" layer of the tile, and will be shooting on the "air" layer of the tile, where is the all aircrafts will be moved, so the AA will shoot on the layer above and not on its own, so it can't shoot itself. unless even newer gravity mechanics to make its shells drop on itself are added later. :lol:
Stay Awesome!
(ノಠ益ಠ)ノ彡┻━┻
Post Reply

Return to “Others”