Rail Movement Question

PC/MAC : Commander the Great War is the latest release in the popular Commander series to bring the thrill, excitement and mind-breaking decision making of these difficult times to life.

Moderators: Slitherine Core, The Lordz

Post Reply
majpalmer
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 156
Joined: Wed Nov 24, 2010 4:04 pm

Rail Movement Question

Post by majpalmer »

Has anyone identified the file and line that controls the distance units can move by rail?

Thanks.
Myrddraal
The Artistocrats
The Artistocrats
Posts: 1505
Joined: Wed Feb 23, 2011 2:49 pm

Re: Rail Movement Question

Post by Myrddraal »

Off the top of my head, the destination has to be within 30 hexes following the tracks.
xriz
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 148
Joined: Tue Oct 21, 2008 2:17 am
Location: Los Angeles

Re: Rail Movement Question

Post by xriz »

I think its in the "game.lua" file, 3rd line down the line is "gameplay.RailmoveEfficiencyLoss = 30", the number is the movement points I believe.
avoran
Sergeant Major - Armoured Train
Sergeant Major - Armoured Train
Posts: 589
Joined: Wed Feb 02, 2011 1:45 pm
Location: Veliki Novgorod

Re: Rail Movement Question

Post by avoran »

that doesn't sound like the movement points - it sounds like how many efficiency points a unit loses after moving by rail
CEAW Grand Strategy fan
Commander: The Great War beta tester
Myrddraal
The Artistocrats
The Artistocrats
Posts: 1505
Joined: Wed Feb 23, 2011 2:49 pm

Re: Rail Movement Question

Post by Myrddraal »

that doesn't sound like the movement points - it sounds like how many efficiency points a unit loses after moving by rail
That's right.
xriz
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 148
Joined: Tue Oct 21, 2008 2:17 am
Location: Los Angeles

Re: Rail Movement Question

Post by xriz »

Yes I stand corrected, I didn't test it out and I have no one to blame but my self for the wrong suggestion.

I did go a little further into the problem:
The range of moving your ground units by train is 20 hexes, between city hexes, not counting the originating city hex but counting the destination hex. Given you only need to be adjacent to a city hex to use the rail system you can move up to 22 hexes not including the hex the unit occupies.

I submit the screen shots below,
The unit at Vilina can use the train transport to Kursk, 19 hexes away by rail hexes, not counting adjacent hexes you can deploy.
train 1.jpg
train 1.jpg (43.77 KiB) Viewed 2159 times
The unit at Minsk can use the train transport to Kharkov, 19 hexes away by rail hexes, again 19 hexes but I think the number is actually 20 since most programmers abhor prime numbers above 5.
train2.jpg
train2.jpg (44.54 KiB) Viewed 2159 times
The file at:
Data/Scripts/game/game_railmoves.lua
has about line line 43, near the end, its a small file;
local cost = 20 * (currentAmount + 1)

This would seem the file and place to change 'strategic' rail movement for the game, but I did test it out and changing the numbers does nothing.

Maybe My ddraal can enlighten us on whats going on with rail movement.
SSupras
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 36
Joined: Sun Jul 10, 2011 5:11 pm

Re: Rail Movement Question

Post by SSupras »

In my experience the railway movement range is 20 hexes between cities (not between the unit and the destiantion hex).

However, I don't know if enemy's zone of control influences that move...
Umeu
Sergeant First Class - Elite Panzer IIIL
Sergeant First Class - Elite Panzer IIIL
Posts: 437
Joined: Sat Nov 17, 2012 7:00 pm

Re: Rail Movement Question

Post by Umeu »

on that note, why does a unit lose 30% efficiency when it uses the rail? i find it quite alot :S
Check out Project: IMBA, the balance mod for the multiplayer section of Commander: the Great War. Your input is appreciated! viewtopic.php?f=218&t=39677
Myrddraal
The Artistocrats
The Artistocrats
Posts: 1505
Joined: Wed Feb 23, 2011 2:49 pm

Re: Rail Movement Question

Post by Myrddraal »

We did some testing with lower rail efficiency drops. It was found that it was very easy to rail units up and down the frontline every turn, shuffling units from one side of a frontline to another. Full strength units could be railed in to protect salients from miles away. Without any penalty this felt very odd (and unrealistic). It's also a more interesting gameplay choice if there is more a penalty to using rail to transport troops.
Post Reply

Return to “Commander - The Great War”