Page 1 of 1
MeleeMod in drills
Posted: Sat Apr 23, 2011 11:09 pm
by gunship24
I have looked through the SDK and seen that in the drills csv there are columns for FireMod and MeleeMod. I was wondering, if i create a formation that has very high melee modifier will it be used by the AI to up its melee rating, if for example it gets charged by a unit with a high melee stat? Or does the AI ignore such things and its only useful for us humans?
Re: MeleeMod in drills
Posted: Sat Apr 23, 2011 11:49 pm
by Davinci
I don’t think the AI will use the new formation unless they are somehow forced to use it, meaning that you would replace an existing formation with the new one.
Have you looked at the following two files – which would probably work a lot better, and the AI would use these files.
OOB
Column AD – Edged – values 0-9
unitattributes
Column H
Column AA – Melee Stab Time
davinci
Re: MeleeMod in drills
Posted: Mon Apr 25, 2011 1:51 pm
by gunship24
Thanks. Shame the formations wont work. I shall think of a way to implement it in the other files, although modifing it via the formations would of worked best. Any work in the future to allow the AI to be more flexible on what formation it uses?
Re: MeleeMod in drills
Posted: Tue Apr 26, 2011 4:09 am
by Davinci
Thanks. Shame the formations wont work.
The formations will work, but you will have to substitute
one of the original formations to make it work.
Basically, you are asking the
AI to take a list of different formations and choose one, but the game is programmed to look for a specific formation, and not choose from a list of them.
I have never seen the
AI choose a skirmish formation, and I have been playing for years, Now, you can put them into that formation via scenario, but they are not going to choose it on their own.
Considering the
ease of adding Mods, you can put the formation of choice into a mod, and when you want to play that way, just activate that mod.
Also – take note that this is just my opinion, and I might be wrong!
davinci
Re: MeleeMod in drills
Posted: Sun May 01, 2011 2:46 pm
by gunship24
Ahh ok, so each unit has like an assigned idle and fighting formation programmed in, i guess, one of the csv files. I shall take a look at that.
Re: MeleeMod in drills
Posted: Sun May 01, 2011 9:56 pm
by Davinci
Ahh ok, so each unit has like an assigned idle and fighting formation programmed in, i guess, one of the csv files. I shall take a look at that.
Correct,
The game will even allow you to assign each
Regiment a different formation, as long as you have added\defined them in the proper
csv files.
Basically, you can assign
Regiment1 a different
line\fighting line formation than
Regiment2, which could also be different than other regiments in that brigade.
The games
AI will\should use these
new formations due to the fact that it is not picking one from a list, but using the one that is assigned to a particular regiment.
davinci