kaizerhund4 Posted May 17, 2022 Posted May 17, 2022 i have no mods and noticed that the trains are not on their tracks. Is this a bug? i read up on this topic and someone said that a mod may be causing this but i do not have any mods, any thoughts? 1 2 1
ShamrockOneFive Posted May 17, 2022 Posted May 17, 2022 Hrmm you might need to give us a bit more information. You have trains not on their tracks? Traveling the countryside on their own? Single mission? Campaign? Career mode? etc. 1
AEthelraedUnraed Posted May 17, 2022 Posted May 17, 2022 (edited) What exactly do you mean with "not on their tracks"? One or two metres besides them? Hovering above them? Do the tracks not show up where they're supposed to, according to the map? Or does the map not show any tracks either? Is it a static train or does it move? You gotta give us some more information if you want our help. Preferably a screenshot EDIT: also, who exactly is "telling you [there are] no trains on track"? That person is telling a load of bollocks. Edited May 17, 2022 by AEthelraedUnraed
AEthelraedUnraed Posted May 17, 2022 Posted May 17, 2022 7 hours ago, Vishnu said: See this thread. With all due respect, I do not think that is related. The thread you link to describes a problem with PWCG, and nowhere does the OP mention he uses that. The request for more info still stands
Vishnu Posted May 17, 2022 Posted May 17, 2022 (edited) 1 hour ago, AEthelraedUnraed said: NVM Edited May 17, 2022 by Vishnu NVM
AEthelraedUnraed Posted May 17, 2022 Posted May 17, 2022 2 minutes ago, Vishnu said: I have it happening sometimes without using PWCG. Which doesn't change the fact that it is only one of many possible issues the OP might mean. Anyhow, even if his issue is the same as what you're experiencing; this is 99% sure something wrong with the mission logic rather than game logic. So in that case the OP needs to post the mission file, as well as indicate how it was created (e.g. Career, (A)QMB, downloaded, etc.).
firdimigdi Posted May 17, 2022 Posted May 17, 2022 8 minutes ago, Vishnu said: I have it happening sometimes without using PWCG. Under Settings > Game > Mission generation options, what is your "map scenery distance" set to? Not sure if that would affect train track rendering, but if you stray too far from the mission generation area you might enter the Twilight Zone. 1
kaizerhund4 Posted May 18, 2022 Author Posted May 18, 2022 apologise to all been away on business, what i mean is in quick mission or career mode the trains, both axis and allies, appear motionless in the field or in a town and other locations without the tracks appearing around them, although on the map it shows tracks. in the plane i followed the route of the tracks and it shows a path way all the way to the railroad bridge, so i know im following the correct path....but no visible tracks and the train s just sit there motionless
AEthelraedUnraed Posted May 18, 2022 Posted May 18, 2022 57 minutes ago, kaizerhund4 said: apologise to all been away on business, what i mean is in quick mission or career mode the trains, both axis and allies, appear motionless in the field or in a town and other locations without the tracks appearing around them, although on the map it shows tracks. in the plane i followed the route of the tracks and it shows a path way all the way to the railroad bridge, so i know im following the correct path....but no visible tracks and the train s just sit there motionless Sounds like your paths file got bugged. I've had it a couple of times too. Are you on Steam? If so, I think the easiest way to fix it is to rename the data\graphics folder (so that you still have all the files, in case things go wrong), and then verify the integrity of the game files. Let us know if it helped!
kaizerhund4 Posted May 19, 2022 Author Posted May 19, 2022 no non steam version. i believe i bought the game on line download
PatrickAWlson Posted May 19, 2022 Posted May 19, 2022 4 hours ago, kaizerhund4 said: apologise to all been away on business, what i mean is in quick mission or career mode the trains, both axis and allies, appear motionless in the field or in a town and other locations without the tracks appearing around them, although on the map it shows tracks. in the plane i followed the route of the tracks and it shows a path way all the way to the railroad bridge, so i know im following the correct path....but no visible tracks and the train s just sit there motionless I have a not yet released version of PWCG where I use the track data to place a train. Seems to work sometimes and at others the train is in a field or crossroads. I have a theory based on what I have seen. The trains seem to be on the tracks when the station is on the map. if I put the train on a rail segment but the station is not on the map then neither are the tracks. At any rate I have the same problem. Sometimes the trains are on the tracks and sometimes they are not. I asked about it in the mission making section and got the responses showing me how to unzip the map's data files and calculate rail positions in the rail data file. Still, nobody other than the developers really know for sure. Take this with the appropriate sized grain of salt. Since I have no access to 1C code I have absolutely no idea if this correlation is correct. Still experimenting to see if this is true or not. Maybe I'm right or maybe some of the values in the data files are just not correct. In my code I used to drop the trains on a station. This always worked ... until it didn't anymore. My current algorithm is to find a station and then place the train on the track segment closest to the station. I did not always add the station itself to the mission. This is where my admittedly statistically invalid number of observations comes from. Next code change is to always make sure that the train is near a station included in the mission.
AEthelraedUnraed Posted May 19, 2022 Posted May 19, 2022 5 hours ago, PatrickAWlson said: I have a not yet released version of PWCG where I use the track data to place a train. Seems to work sometimes and at others the train is in a field or crossroads. I have a theory based on what I have seen. The trains seem to be on the tracks when the station is on the map. if I put the train on a rail segment but the station is not on the map then neither are the tracks. At any rate I have the same problem. Sometimes the trains are on the tracks and sometimes they are not. I asked about it in the mission making section and got the responses showing me how to unzip the map's data files and calculate rail positions in the rail data file. Still, nobody other than the developers really know for sure. Take this with the appropriate sized grain of salt. Since I have no access to 1C code I have absolutely no idea if this correlation is correct. Still experimenting to see if this is true or not. Maybe I'm right or maybe some of the values in the data files are just not correct. In my code I used to drop the trains on a station. This always worked ... until it didn't anymore. My current algorithm is to find a station and then place the train on the track segment closest to the station. I did not always add the station itself to the mission. This is where my admittedly statistically invalid number of observations comes from. Next code change is to always make sure that the train is near a station included in the mission. The OP is not seeing tracks at all, so a different problem 7 hours ago, kaizerhund4 said: no non steam version. i believe i bought the game on line download Hmm, that complicates things a bit. Based on what you describe, I suspect you only have the problem on some maps, and not on others. Is that correct? If so, go to the data\graphics folders and open all the map folders for the maps where the tracks don't show (the maps are called LANDSCAPE_XXXXX). Delete (or rename) the ROADS folder. I *think* that should make IL2 regenerate the (rail)roads, and it saves you the hassle of having to do a complete re-install.
PatrickAWlson Posted May 19, 2022 Posted May 19, 2022 3 hours ago, AEthelraedUnraed said: The OP is not seeing tracks at all, so a different problem I don't see any tracks either, at least not in the areas where the trains are not on them. This despite getting the location from the in game RR file.
AEthelraedUnraed Posted May 19, 2022 Posted May 19, 2022 (edited) 20 minutes ago, PatrickAWlson said: I don't see any tracks either, at least not in the areas where the trains are not on them. This despite getting the location from the in game RR file. Wait, let me get this straight. The tracks do show up on the minimap, but are not there when looking? I was under the impression that your problem was that the tracks do show up where the map shows them, but that you were as yet unable to correctly read their location programmatically. If train tracks do not show up where the map indicates they should be, then you're likely suffering from the same problem. The fix should be the same as what I described above Edited May 19, 2022 by AEthelraedUnraed
jollyjack Posted May 22, 2022 Posted May 22, 2022 On 5/19/2022 at 3:24 PM, PatrickAWlson said: I don't see any tracks either, at least not in the areas where the trains are not on them. This despite getting the location from the in game RR file. Just had the same with the Rheinland summer map; reinstalling the Roads folder from a backup fixed it.
kaizerhund4 Posted May 24, 2022 Author Posted May 24, 2022 yep did the same and now its fixed but the PWCG generator has the same issue and read on the PWCG forum no one really knows why
AEthelraedUnraed Posted May 24, 2022 Posted May 24, 2022 3 minutes ago, kaizerhund4 said: yep did the same and now its fixed but the PWCG generator has the same issue No it's a different issue Roads/railroads not showing up is an issue with the game, that should be fixed by re-installing the ROADS folder. PWCG's issue is not related to that (unless it loads its data - whether correctly or not - from the *compressed* Roads file, which I don't think it does - @PatrickAWlson?).
kaizerhund4 Posted May 26, 2022 Author Posted May 26, 2022 agreed, if it were as simple as that they would have fixed it by now
PatrickAWlson Posted May 31, 2022 Posted May 31, 2022 On 5/24/2022 at 6:41 PM, AEthelraedUnraed said: No it's a different issue Roads/railroads not showing up is an issue with the game, that should be fixed by re-installing the ROADS folder. PWCG's issue is not related to that (unless it loads its data - whether correctly or not - from the *compressed* Roads file, which I don't think it does - @PatrickAWlson?). As of the very latest version PWCG does use the roads and rail files. The algorithm before and after: Before 1. Find a starting train station 2. Put train on starting train station position. 3. Create a waypoint at destination train station After 1. Find a starting train station 2. Find position in the rails file closest to the starting train station 3. Put train on the position found at step 2. 3. Create a waypoint at destination train station "Before" worked 100% for years. Then it didn't. "After" works over 50% of the time but not close to 100%. 1
kaizerhund4 Posted May 31, 2022 Author Posted May 31, 2022 and how do i do that? is there a program utility tool i use?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now