Latest topics
» Impromptu Games
by Grog Yesterday at 4:25 pm

» KS Map Modding Project
by Uncle Billy Sat Apr 20, 2019 3:23 pm

» Uplifting the Stock Scenarios for the KS Mod
by Mr. Digby Fri Apr 19, 2019 5:49 pm

» Firepower of skirmisher
by Martin Fri Apr 19, 2019 11:39 am

» Retirement in Devon
by Martin Fri Apr 19, 2019 10:45 am

» How do I restore the objective timer?
by Uncle Billy Wed Apr 17, 2019 3:34 pm

» SOW Scenario Generator
by Uncle Billy Mon Apr 15, 2019 3:54 pm

» April 2019 face to face game at Little Gaddesdon
by Martin Fri Apr 12, 2019 11:11 am

» Maybe there is a problem with a OOB on the French side.
by Ney(Lützow) Thu Apr 11, 2019 6:14 pm

» Fantastic Mod!
by parmenio Thu Apr 11, 2019 4:26 pm

» Greetings from Brazil
by Ney(Lützow) Wed Apr 10, 2019 1:23 am

» 2019 AGM & Club Elections
by Uncle Billy Tue Apr 09, 2019 4:37 pm

Statistics
We have 1042 registered users
The newest registered user is Conner

Our users have posted a total of 25974 messages in 2043 subjects
Log in

I forgot my password


Cannon Fire v Musket Fire

Page 2 of 2 Previous  1, 2

Go down

Cannon Fire v Musket Fire - Page 2 Empty Re: Cannon Fire v Musket Fire

Post  risorgimento59 on Wed Aug 30, 2017 4:50 pm

Good remark, Kevin.
I think you mean the output produced by ReEval/Tactics and one can retrieve later through TACType/TACObj/TACLoc/GetOrders/GetStance/etc., right?
From your experience, is it possible to entirely ignore that data when trying to force a behaviour or there's a degree of control that - to same extent - escapes the AI module's code?
I know the offset of that data in CUnit's memory too, nevertheless. We may overwrite/patch it from the DLL probably, in the case.
Thanks.

risorgimento59

Posts : 30
Join date : 2015-06-19

Back to top Go down

Cannon Fire v Musket Fire - Page 2 Empty Re: Cannon Fire v Musket Fire

Post  Uncle Billy on Wed Aug 30, 2017 5:42 pm

The first four, TACType/TACObj/TACLoc/GetOrders are used sparingly, mostly in the division commander logic. GetStance is quite useful for determining the tactical response of infantry and cavalry to various situations. The problem arises when it cannot be set to some other value due to changing tactical circumstances, i.e. no SetStance(). If stance information were only used by the dll code, this would not be a great problem. However, it is entirely unknown if and how those values are used when the game engine decides on brigade movements and behavior.

The strategic AI is quite static. It only responds to a situation where a division is in trouble and requests help. For the most part, it does not change it's strategy based on the actual situation it confronts.

_________________
I can make this march and I will make Georgia howl.
Uncle Billy
Uncle Billy

Posts : 3409
Join date : 2012-02-27
Location : western Colorado

Back to top Go down

Cannon Fire v Musket Fire - Page 2 Empty Re: Cannon Fire v Musket Fire

Post  risorgimento59 on Wed Aug 30, 2017 6:29 pm

Valuable informations. Thank you sir. I know where the stance is set in the code... but not if it's used peripherically either. I'm going to investigate it and report here.

risorgimento59

Posts : 30
Join date : 2015-06-19

Back to top Go down

Cannon Fire v Musket Fire - Page 2 Empty Re: Cannon Fire v Musket Fire

Post  risorgimento59 on Fri Sep 01, 2017 9:13 am

Had a try with a "dummy" DLL module (Think functions body commented out).
Couldn't find any external/exe unexpected interference, so far.

risorgimento59

Posts : 30
Join date : 2015-06-19

Back to top Go down

Cannon Fire v Musket Fire - Page 2 Empty Re: Cannon Fire v Musket Fire

Post  Sponsored content


Sponsored content


Back to top Go down

Page 2 of 2 Previous  1, 2

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum