Latest topics
» November Vietnam k/spiel - Ken Burns documentary this evening
by Martin Today at 6:21 pm

» Impromptu Games
by Uncle Billy Today at 4:17 pm

» Set Up for SOWWL NAPOLEON GAMES For Kriegspiel style
by Mr. Digby Today at 3:11 pm

» Another historic map resource
by Martin Sat Sep 23, 2017 6:45 pm

» 2017 k/spiel game schedule
by Martin Fri Sep 22, 2017 9:57 pm

» Units Indicators SOWG
by 81Dynamo Thu Sep 14, 2017 8:09 am

» Army level rules?
by Martin Wed Sep 13, 2017 11:10 pm

» KS Napoleon Mod II 1.24 & KS Supplemental Maps 1.16
by Mr. Digby Sun Sep 10, 2017 4:06 pm

» Map Modding Q&A
by Mr. Digby Sat Sep 09, 2017 11:53 pm

» Greetings from Toronto
by Mr. Digby Sat Sep 09, 2017 10:26 pm

» TeamSpeak server during Hurricane Irma
by MRM Sat Sep 09, 2017 12:07 pm

» User Scenarios and AI behavior
by Mr. Digby Thu Sep 07, 2017 8:00 pm

Statistics
We have 982 registered users
The newest registered user is harvester38

Our users have posted a total of 23979 messages in 1918 subjects
Keywords

Log in

I forgot my password


Cannon Fire v Musket Fire

Page 2 of 2 Previous  1, 2

View previous topic View next topic Go down

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 : 11
Join date : 2015-06-19

Back to top Go down

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.
avatar
Uncle Billy

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

Back to top Go down

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 : 11
Join date : 2015-06-19

Back to top Go down

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 : 11
Join date : 2015-06-19

Back to top Go down

Re: Cannon Fire v Musket Fire

Post  Sponsored content


Sponsored content


Back to top Go down

Page 2 of 2 Previous  1, 2

View previous topic View next topic Back to top

- Similar topics

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