MeleeMod in drills

This is where our experts try to teach you the very flexible modding system for our previous release - SOW Gettysburg and its add-ons. It's powerful, but dangerous. Post your tips and your questions.
Post Reply
gunship24
Reactions:
Posts: 728
Joined: Mon Jan 31, 2011 1:31 am

MeleeMod in drills

Post 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?
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: MeleeMod in drills

Post 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
The only true logic is that, there is no true logic!
gunship24
Reactions:
Posts: 728
Joined: Mon Jan 31, 2011 1:31 am

Re: MeleeMod in drills

Post 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?
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: MeleeMod in drills

Post 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
The only true logic is that, there is no true logic!
gunship24
Reactions:
Posts: 728
Joined: Mon Jan 31, 2011 1:31 am

Re: MeleeMod in drills

Post 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.
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: MeleeMod in drills

Post 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
The only true logic is that, there is no true logic!
Post Reply