Jump to content

proposals for formations


Recommended Posts

4 minutes ago, Ceres said:

Yes, but I just wondered if there were civs especially good at this and whether this could be regarded as a civ-specific "formation". Oh, BTW, could there be civ-specific formations at all in 0 A.D.? The Roman turtle is something like this, too.

Uh, the roman testudo is a a civ specific formation, so are the phalanx and syntagma.

  • Thanks 1
Link to comment
Share on other sites

Thank you! :)

Another question: When transforming from e.g. closed to open formation, the units are looking into a different direction (seems arbitrary, or following where the path is easy). Is this something that could be changed, so they face into the same direction when changing formation? (if room permits)

grafik.png.26f57c0f417bbd859a413153dbc37600.png

grafik.png.51fd15a5556f4302d6864a1329d86d4a.png

Link to comment
Share on other sites

Very nice - thank you! :) I played with various changes with these guys in the order shown below. It even works nicely between obstacles! :thumbsup: (not shown below) Sorry for the a bit sluggish gxf. It's because I use a headless VM for dev stuff and xrdp to it.

No formation:

grafik.png.e24d848fd1a804a15a43215025a51251.png

Box - here they turned around:

grafik.png.33105eae04d4bf4dd702471c76cf3adf.png

Forced March:

grafik.png.1844f94282567bff052f79e3d522d53b.png

Close Order - here they turned to the right:

grafik.png.4b0064bb72fef8e34fc2739def826b70.png

Column Open:

grafik.thumb.png.2d0d1ddc66541a2a8063a80fea2d469a.png

Open Order:

grafik.png.1273c6c1c3fb9f82f5a15c9df74dcc78.png

Flank:

grafik.thumb.png.ec1c2817aa5dc88cf3ba04efe87e9cd6.png

Battle Line:

grafik.png.0642ea2b4c68a3c8e902ee7fed17a8c8.png

Testudo meanwhile also tested and works as expected, too (not shown, though). :)

 

Edited by Ceres
Link to comment
Share on other sites

9 hours ago, Ceres said:

Fun would be it if units including citizen could pour hot water or (burning) oil from walls and wall turrets, too. :D But that is not about "formations", sorry.

Are there civs known to have their soldiers burying themselves in the ground, waiting for the enemy to pass by and then come out? If you considered this a "special" form of formation, it could be fun, too. ;)

Hyrule Conquest has burning alcohol barrels for tower use. Dunno how the animations worked cause I never got attacked while I had it researched.

  • Like 1
Link to comment
Share on other sites

1 hour ago, Ceres said:

Sorry, Hyrule Conquest does not tell me anything. You mean it's possible in 0 A.D. (as a mod)?

Yeah https://www.moddb.com/mods/hyrule-conquest is a mod with a lot of fancy features:

- Knockback

- Stun

- Amphibious units

- Civ Specific UI

- Batalions

- Stealth

And a few other features. Sadly we still haven't been able to port it to A24, and it's still not working for A25.

 

  • Thanks 3
Link to comment
Share on other sites

Oh, amazin video! Thanks for the link and the summary. It puts indeed lots of fancy fantasy stuff into 0 A.D. Is stealth something eligible for the normal game? I don't mean units popping up from the air but rather camouflaged from the ground (as some kind of special formation).

Link to comment
Share on other sites

And this should be "easier" as the forest is a defined entity (some piece of ground rather not), right? Maybe even some denser and larger bushes would work. Does it need coding and building from code to get this done, or would it be achievable by adding/editing .js and .xml files?

Link to comment
Share on other sites

3 minutes ago, Ceres said:

Does it need coding and building from code to get this done, or would it be achievable by adding/editing .js and .xml files?

I guess it would require some coding, but only js.

my idea was to use the tree groves from DE / @wowgetoffyourcellphone (a combination of trees as a functional unit), as that seems more realistic for this idea.

Then you have to make them garrisonable for everybody or just for specific factions, which is the part that will likely require some new code (without having looked into it). You also don't want this to show up on the minimap, which would defeat the point of hiding, but that should be doable if the player doesn't actually "own" the trees.

Optionally you want to have health variants of the tree groves, which restrict the garrisoning (i.e when the forest is being cut down, your people should be forced to leave)

 

  • Thanks 1
Link to comment
Share on other sites

6 hours ago, maroder said:

I always liked the idea of units "garrisoning" in a forest, to ambush the enemy.

perhaps it would be more logical to limit vision range in forest regions as seen in AOE4?

2:38 is where it shows the vision range behavior near forest.

In this direction, wouldnt it be cool if a civ, hero, or unit had a vision range in forest perk? Imagine if naked fanatics could see farther in forests.

an ambush could be set up by running into the forest, building an outpost for better vision, and waiting for the right moment to attack!

  • Like 3
Link to comment
Share on other sites

So it would be 'Vision/Range' to deal with, right? EDIT: Something like this? (outpostvision.json)

{
	"genericName": "Carrier Pigeons",
	"description": "Increases outpost vision.",
	"cost": { "food": 300 },
	"requirements": { "tech": "phase_village" },
	"icon": "pigeon.png",
	"researchTime": 40,
	"tooltip": "Outposts +33% vision range.",
	"modifications": [
		{ "value": "Vision/Range", "multiply": 1.333333 }
	],
	"affects": ["Outpost"],
	"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

 

BTW, can wiki content by dynamically updated with updates code/js/xml? Then one would not have to bother anymore about the wiki not being up to date in some areas.

Edited by Ceres
Link to comment
Share on other sites

11 minutes ago, Ceres said:

BTW, can wiki content by dynamically updated with updates code/js/xml? Then one would not have to bother anymore about the wiki not being up to date in some areas.

Not really. The only part that can be is the stuff on docs.wildfiregames.com

  • Thanks 1
Link to comment
Share on other sites

For my understanding about auras etc.:

Units A + B both have the same vision range.

Now unit A goes into a forest. This must be flagged somehow.

When unit B approaches the forest, where/who gets an aura? Unit A, unit B, or the forest?

Will a vision/range of unit B be set to zero, so it cannot see unit A, until it gets really close? But would then unit B not also see nothing else in its surroundings, i.e. not even buildings in that forest? How could they be distinguished?

Or will an aura of the hidden unit A be relevant?

Link to comment
Share on other sites

one could have an aura applied to units in the forest, that:

- lower their vision range

- make them invisible to enemy units

- make them capable of seeing other invisible units.

Provided that forest grooves are implemented, all these changes seem not too hard. Hardest thing seems to me to make the aura of the groove responsive to deforestation. I'm not sure about how to do point 2 e 3 either, but the undying nephalim did those already.

  • Like 1
  • Thanks 2
Link to comment
Share on other sites

How and where are the strctures referred to elsewhere in the code? I see some there in connection with auras and wonder if to put forests/trees there is the right way to go:

D:\repos\0ad\binaries\data\mods\public\simulation\data\auras\structures

Sorry that I'm likely writing nonsense, which is due to my lack of knowledge where to find what. I guess I would need to draw a Le Métro map for this. :D

Link to comment
Share on other sites

31 minutes ago, alre said:

Hardest thing seems to me to make the aura of the groove responsive to deforestation.

That should not be hard, I guess you can use health variants. I.e only the grove with full health has the aura and if it gets damage it switches to another actor that doesn't have the aura.

And yes the forest groves should also be compatible to auras as they are just normal entities.

  • Thanks 1
Link to comment
Share on other sites

 

1 hour ago, alre said:

one could have an aura applied to units in the forest, that:

- lower their vision range

- make them invisible to enemy units

- make them capable of seeing other invisible units.

Provided that forest grooves are implemented, all these changes seem not too hard. Hardest thing seems to me to make the aura of the groove responsive to deforestation. I'm not sure about how to do point 2 e 3 either, but the undying nephalim did those already.

Would it be bad to simply give each gaia tree(provided its part of a generated forest) this aura (3 meters or so), so when they are cut down the overall aura the forest has is reduced?

I think if this is implemented, groves would not be necessary.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...