Latest topics
» Grog a little late by Grog Fri Apr 19, 2024 6:33 pm
» SOW Scenario Generator
by Uncle Billy Fri Apr 19, 2024 2:08 pm
» Impromptu Games
by Uncle Billy Fri Mar 15, 2024 3:35 pm
» Beginner doubts
by Martin Sun Mar 10, 2024 7:07 pm
» New player advice on maneovring to attack
by Uncle Billy Sun Feb 25, 2024 3:52 pm
» Our KS Group and 2024
by Martin Wed Feb 14, 2024 9:20 pm
» SoW OOB Editor
by RickMandar Tue Feb 13, 2024 4:23 pm
» Scenario Generator/ Artillery Question
by ARCH93 Thu Feb 01, 2024 4:08 pm
» KS mod ARMY command
by Uncle Billy Fri Jan 19, 2024 3:02 pm
» Europe in the XIX. century - ARCANUM Maps
by Martin Sat Dec 16, 2023 10:40 pm
» Mapping software?
by Martin Sat Dec 16, 2023 10:03 pm
» Cigar box pocket kriegspiel
by Martin Mon Dec 11, 2023 4:00 pm
Statistics
We have 1561 registered usersThe newest registered user is Captsmoak
Our users have posted a total of 30498 messages in 2295 subjects
Log in
Question on map.csv file
3 posters
Page 1 of 1
Question on map.csv file
Been having a jolly old time with 1.34 except for the occasional quirk which I have learned to live with.
I wanted to move away from the restricted movement maps onto one of the Random maps just for a change but the .csv files are a puzzle. It looks as if the "Movement Modifier" is a percentage reduction so, for example, in the Klimovitchi_Rus_KS.csv it seems as if a unit crossing a river is reduced by -0.8 ( which I am assuming is 80%) It certainly slows them down. The Fatigue penalty seems to be in the form of an integer so, -10, or whatever when ever you step into a stream and that works fine.
However, I have tried various values to get it to the point where they can't cross a river at all and that does not seem to work. I tried -100.0, -1.0 and the unit still crosses, although they are totally fatigued when they get across. I was going to try -1.1 to see if that worked but I figured it would be better to drop by and ask the experts, first.
Which led to a second observation which was true even on the RM games. Infantry and artillery was stopped dead but cavalry still crossed the rivers as if they weren't even there. I don't see any kind of terrain modifier for cavalry in the various logistics file although maybe I just haven't stumbled on it. This led to a third observation. I have come to regard my own cavalry as a bunch of wusses which will not cross any kind of terrain except open or clear. The slightest hint of a different color on the map sends them scurrying backwards whereas the AI seems to suffer from no such reluctance. I don't quite get why there would be a difference between AI controlled and human controlled cavalry and, as I said, it doesn't effect other units.
I wanted to move away from the restricted movement maps onto one of the Random maps just for a change but the .csv files are a puzzle. It looks as if the "Movement Modifier" is a percentage reduction so, for example, in the Klimovitchi_Rus_KS.csv it seems as if a unit crossing a river is reduced by -0.8 ( which I am assuming is 80%) It certainly slows them down. The Fatigue penalty seems to be in the form of an integer so, -10, or whatever when ever you step into a stream and that works fine.
However, I have tried various values to get it to the point where they can't cross a river at all and that does not seem to work. I tried -100.0, -1.0 and the unit still crosses, although they are totally fatigued when they get across. I was going to try -1.1 to see if that worked but I figured it would be better to drop by and ask the experts, first.
Which led to a second observation which was true even on the RM games. Infantry and artillery was stopped dead but cavalry still crossed the rivers as if they weren't even there. I don't see any kind of terrain modifier for cavalry in the various logistics file although maybe I just haven't stumbled on it. This led to a third observation. I have come to regard my own cavalry as a bunch of wusses which will not cross any kind of terrain except open or clear. The slightest hint of a different color on the map sends them scurrying backwards whereas the AI seems to suffer from no such reluctance. I don't quite get why there would be a difference between AI controlled and human controlled cavalry and, as I said, it doesn't effect other units.
rschilla- Posts : 398
Join date : 2016-09-12
Location : Arizona, US
Re: Question on map.csv file
I can confirm that TC-d cavalry goes backwards on anything that is not open terrain. I think this is deliberate so that the TCd cavalry control is a nightmare task. If it's not deliberate and Kevin overlooked this I'd rather have this behaviour removed. Yes un-tcd cavalry doesn't suffer from that but then they can do whatever other crazy thing - like run up to nearest square and charge it
Miko77- Posts : 658
Join date : 2015-07-28
Age : 46
Location : Edinburgh
Re: Question on map.csv file
Yup. The AI cavalry seems to love to charge squares....which rarely results in any positive outcomes.
rschilla- Posts : 398
Join date : 2016-09-12
Location : Arizona, US
Re: Question on map.csv file
There was a coding bug which made TC'd cavalry retreat from any terrain with a defensive value > 0. Since version 1.34, the cavalry logic was completely reworked. In the process that bug was fixed. Now the TC'd cavalry will retreat if it is forced to go into terrain with a defensive value greater than 25 as was intended. This is primarily to keep players from forcing the cavalry into woods or heavy woods. They can be ordered into the woods unTC'd but they will stop moving fairly quickly. You can get the latest version of the SOWAIInf.dll in the download channel of Discord.
Cavalry will not cross restricted streams just like any other unit. What you are likely seeing is the retreat bug. Once any unit retreats, it will ignore the restricted movement grayscale color. It is a bug in the game engine that has existed since SOWGB.
There is no number that you can put in the Movement Rate column of the mapname.csv to make a unit completely stop. Likewise, there is no number you can put into the UnitGlobal Walk Speed to make it immobile. I don't know if these were intended or bugs. It's just the way it is.
Cavalry will not cross restricted streams just like any other unit. What you are likely seeing is the retreat bug. Once any unit retreats, it will ignore the restricted movement grayscale color. It is a bug in the game engine that has existed since SOWGB.
There is no number that you can put in the Movement Rate column of the mapname.csv to make a unit completely stop. Likewise, there is no number you can put into the UnitGlobal Walk Speed to make it immobile. I don't know if these were intended or bugs. It's just the way it is.
Uncle Billy- Posts : 4601
Join date : 2012-02-27
Location : western Colorado
Re: Question on map.csv file
Muchas gracias.
The retreat bug makes sense.
The bit about cavalry not charging into woods makes sense.
I may have to stick to the RM maps.
The retreat bug makes sense.
The bit about cavalry not charging into woods makes sense.
I may have to stick to the RM maps.
rschilla- Posts : 398
Join date : 2016-09-12
Location : Arizona, US
Re: Question on map.csv file
You have to be careful when using the RM maps. The game engine doesn't take the RM grayscale value into account when plotting the path of a unit. In fact, it doesn't take anything into account. It just draws a straight line from A to B. It give the player a very unfair advantage.
Uncle Billy- Posts : 4601
Join date : 2012-02-27
Location : western Colorado
Re: Question on map.csv file
Yes, I have run into the occasional "Path Not Found" error. I get around it by not using the "Auseroad" command. Seems to be a road thing.
Also I found another reason for cavalry to ignore rivers. Gotta watch out for "Fords" which are not always crystal clear on the maps.
Also I found another reason for cavalry to ignore rivers. Gotta watch out for "Fords" which are not always crystal clear on the maps.
rschilla- Posts : 398
Join date : 2016-09-12
Location : Arizona, US
Similar topics
» Set Up for SOWGB NAPOLEON GAMES For Kriegspiel style
» Impromptu Games
» KS mod crashing to desktop
» new user here map file problem
» How do you upload game log files?
» Impromptu Games
» KS mod crashing to desktop
» new user here map file problem
» How do you upload game log files?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum