Jump to content
Angen

Battalion test mode

Recommended Posts

I tested your mod and it was awesome. Keep it up.

One thing to note is that the takes long to research unit upgrades. Palisade walls also need a medium and long variant.

  • Thanks 1

Share this post


Link to post
Share on other sites

Hero with formation deployment.

Opened for suggestions. If you would like to see some hero with specific units as hero bodyguards, let me know. :)  

screenshot0046.png

Edited by Angen
  • Thanks 5

Share this post


Link to post
Share on other sites

Yeas. :D I was like well they will refill. :D but actually never did it :(

 

Edit: I am making last checks before batalion testing update.

Edited by Angen

Share this post


Link to post
Share on other sites

Batalion Test Update

  • soldiers are trained in battalions of size 15 (infantry) + banner carrier
  • cannot build
  • cannot be disbanded
  • cannot be merged
  • hero deploys with his specific battalion
  • to use ram or siege tower you has to "garrison" battalion into it, but units stays visible and can be attacked
  •  garrisoning into buildings is possible and in garrison panel all units from battalion are grouped under one icon (you can ungarirson only all of them)
  • units can be put into Free formation, in this case they will not keep any of the shape and this is preferred in city spaces

 

  •  ammo refill should be fixed
  • technologies have been removed from structure tree visualisation because of space
  •  house has 10 population bonus

 

some buildings have been moved to phases

  • Sentry Tower -> town phase
  • Palisade -> town phase
  • Farmstead -> town phase
  • Barracks, Ranged -> town phase (+ blacksmith)
  • Stables -> town phase (+ corral)
  • Field -> needs farming research (available town phase)
  • Stone Tower -> city phase 
  • Stone Wall -> city phase

Technology Forging is needed for

  • archery
  • axes
  • swords
  • spears
  • mace

City Phase is needed for

  • chain armour

Vision range of units is lower ( a lot ).

Infantry speed is lower, cavalry speed is a bit higher (percentage wise compared to infantry).

Gather rate is drastically lower -> technologies has huge boost for gather rate.

Worship of gods

You can choose which god your people will worship. You can worship 3 gods from 6 (now). In each phase you can choose one from pair. First two are in CC. 3th is in temple.

  • God of animals (cavalry training boost)
  • God of builders (building boost)
  • God of family (worker training boost)
  • God of farming (farming rate boost)
  • God of blacksmiths (research in blacksmiths boost)
  • God of war (infantry training boost)

A bit changed Civilisation selection.

-----------------------------------------------------------------------------------------------

Each battalion has its banner carrier, but they do not really fit in as unit type yet.

Running or charging might not drain energy for battalions (I am not sure what I messed up)

Capturing is kind of not possible using battalions yet ( dont worry, it will be).

AI is a bit broken because of number of units in battalions and slowdown (to be fair I broke it) so enjoy smashing AI because it does not train soldiers.

Or find someone for MP :) (better to test it)

---------------------------------------------------------------------------------------------

Thank you for support :) 

Please report weird animations (like alive blooded soldier, soldier without helm but rest of his battalion has, not moving capes - this drives me mad, I always find one) 

  • Like 5
  • Thanks 1

Share this post


Link to post
Share on other sites

As I've mentioned a few days ago on IRC, I'm also working on a battalion system. We might be able to share ideas and code, if you don't mind. I've only had a brief look at your code on github. I might want to copy parts of it, especially the battalion selection code. Is that OK for you?

I've uploaded the current state to github: https://github.com/Yves-G/0ad/tree/BattalionSystem
Feel free to copy if you find anything you can use. It's still very experimental and unfinished in the current state. There's a demo map included with (currently) just two melee battalions that can attack eachother.

  • Like 6

Share this post


Link to post
Share on other sites

Crash fix update

infinite loop in UnitAi fix

testing new infantry archer and javelin behaviour

AI got guide for techs so now will attack you (somehow still can train separated units)

Share this post


Link to post
Share on other sites

@Angen so the ia is working again? i like the idea of unsheath before fight so i want to try a simple sheath/unsheath animation and see if the times could be reduced based on the animation lenght?

What you have in mind when units prepare themselves before fight. Poses or references may help.

Share this post


Link to post
Share on other sites

just now when they are prepared they are in combat animation to get into this state I use attack. preparetime

It can be setted animation speed. 

just now what I did for archers, I splited aim and loose+reload animation and unit has 2 more states:

firing- performs attack and plays loose+reload animation with speed 1 and once and timer is set from some vatlue in template and after the timer is seted aim animation again once with default lenght and state aim is set there  goes next timer with rest of repeat time and after it firing again

 

so i am not stretching animations here

it looks weird i think (now javelin thrower looks a bit funny when ready to fire :D )

 

and yes, ai should work. but still spending a lot on buildings and workers :D and rather phase up like research weapons or train soldiers

Edited by Angen

Share this post


Link to post
Share on other sites
11 hours ago, Angen said:

Making bottom section for battalions, do you think it is too much bars and I should let it on tooltip ?

 

image.thumb.png.42ef61567d4fb95f8aac3601f01de735.png 

hard to say @borg- might be able to tell about how to balance space for selections and taking quick actions. 

Share this post


Link to post
Share on other sites

I played the mod last night and I have some errors but the game continues and errors messages are disappearing. 

There are red(blood?) on some archers feet too. 

One thing that needs to be fixed are range units/animations in which they stayed in the frontline waiting to reload instead of backing off to the rear. I have yet to test/play more but it seems that this is a promising mod and if you can implement some of borgs mod like no CS training from CC, etc this is going to be really nice. 

The AI behavior seems fine too though still nub but at least they are fighting and training armies albeit disorganized. 

Garrisoning is fine with me as it is more realistic especially for firing structures. I would appreciate if the towers will fire with range projectiles depending on what type is garrisoned. If it’s not range unit it shouldn’t fire and just effect the capture rate. 

 

5A7E184B-49B0-4F33-8206-AD1C4F662AB1.jpeg

4C0B2380-37AE-4719-BCA2-AD42AF92E577.jpeg

Edited by Servo

Share this post


Link to post
Share on other sites

Btw siege units need to be operated by units is really awesome but I haven’t tested the catas yet:mellow: but not repairable? Haha fine with me either. 

Edited by Servo

Share this post


Link to post
Share on other sites

hi @Servo thank you for testing, for now, siege that has units as actors does not require batalion, anyway visible units using ram are causing a bit of problem ram not attacking so I am reverting it to garrison and disapear till i figure out fix for this. 

They should be repairable i dont remember to disable this but soldiers dont build may be case they cant repair too. 

Had archers bows aiming while staying there or they fired and stayed idle. 

It may be because that errors in timers. 

I thought I fixed all blooded units :brickwall:

Edited by Angen

Share this post


Link to post
Share on other sites

@Angen one question, did you manage to separate fire from reload action and animation? Because i want some feature like that for one special unit developed some time ago in Terra Magna, that unit should fire constantly the amount of ammo of the magazine then reload.
 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×