MisterMark Posted September 30, 2013 Report Share Posted September 30, 2013 I know it has probably been covered many times in the old forums but I was curious as to how to add ships and effective ship routes to the Italy43 campaign? I tried doing some research and even read Tailspin's DCG tutorial but I just can't seem to figure it out. I've been able to add a ship and a basic route by loading and modifying the italy43.mis in the FMB but it doesn't show up once I load and start a campaign. As I understand it, there needs to be a corresponding italy.srd file with waypoint routes for this to work... Unfortunately, the Italy43 campaign doesn't have an .srd file to even modify. Does that make adding ships to this campaign impossible? Thank you, Mark Quote Link to comment Share on other sites More sharing options...
Lonestar Posted October 3, 2013 Report Share Posted October 3, 2013 Hi, Should be possible! Try to add a file naming "italy.srd" with your new routes into the "Data" folder of DCG! I have try to explain how to create new ship routes here: http://www.lowengrin.com/download.php?view.139 Hope it helps! Quote Link to comment Share on other sites More sharing options...
MisterMark Posted October 5, 2013 Author Report Share Posted October 5, 2013 Lonestar, thanks! Although I don't fully understand all the aspects and details of ships yet, I was at least finally able to get them to show up in the campaign... A big first start! By the way, is it random if they will spawn or not? Meaning if you add ships to your campaign, will they be there for every mission (unless sunk and 'ships remain sunk' option is checked)? I was hoping it would be a bit random so I wouldn't know for sure if there were ships 'out there'. -Mark Quote Link to comment Share on other sites More sharing options...
Lonestar Posted October 5, 2013 Report Share Posted October 5, 2013 Yes, its random! I think its 50 to 50 if ships will spawn! Big ships like CVs,BBs and CAs remain sunk, no matter if the option "ships remain sunk" is active or not! This is only valid for DDs or cargo ships like "Tramps", when the option is set to "off"! Quote Link to comment Share on other sites More sharing options...
MisterMark Posted October 7, 2013 Author Report Share Posted October 7, 2013 Lonestar, In doing some test, ship spawned every single time I started a new campaign... If it's supposed to be 50/50 do you have any idea what is causing this? Also, every time I started the campaign fresh, my ships always spawned at the the beginning of my 3rd route, not at the harbor where the route originates. What causes this and how can I get them to start at the [Cagliari_Harbor to Mediterranean_Sea_1] route and not the start of the [Mediterranean_Sea_3 to Mediterranean_Sea_4]? My srd file: [Cagliari_Harbor to Mediterranean_Sea_1] 99380.08 32674.67 120.00 0 2 5.144444942474365 95993.72 33271.63 120.00 0 2 5.144444942474365 82150.12 29020.74 120.00 [Mediterranean_Sea_1 to Mediterranean_Sea_2] 81703.09 28819.04 120.00 0 2 5.144444942474365 71868.57 23761.29 120.00 0 2 5.144444942474365 66527.59 19967.09 120.00 [Mediterranean_Sea_2 to Mediterranean_Sea_3] 65787.42 19299.88 120.00 0 2 5.144444942474365 61340.06 15272.08 120.00 0 2 5.144444942474365 50934.86 9482.17 120.00 [Mediterranean_Sea_3 to Mediterranean_Sea_4] 50172.52 9079.86 120.00 0 2 5.144444942474365 43799.83 6448.84 120.00 0 2 5.144444942474365 32934.26 5770.74 120.00 [Mediterranean_Sea_4 to Palermo_Harbor] 32499.29 5845.03 120.00 0 2 5.144444942474365 27963.93 7111.16 120.00 0 2 5.144444942474365 25661.74 8531.71 120.00 0 2 5.144444942474365 24486.15 10588.93 120.00 [Palermo_Harbor to Mediterranean_Sea_5] 26326.34 10592.85 120.00 0 2 5.144444942474365 32323.75 9502.40 120.00 0 2 5.144444942474365 43968.18 12239.58 120.00 [Mediterranean_Sea_5 to Mediterranean_Sea_6] 44455.16 12624.12 120.00 0 2 5.144444942474365 52359.56 19158.51 120.00 0 2 5.144444942474365 57655.53 25128.55 120.00 [Mediterranean_Sea_6 to Mediterranean_Sea_7] 58159.24 25593.48 120.00 0 2 5.144444942474365 67002.97 31624.00 120.00 0 2 5.144444942474365 74031.90 34303.82 120.00 [Mediterranean_Sea_7 to Mediterranean_Sea_8] 74841.04 34445.31 120.00 0 2 5.144444942474365 82950.71 36001.93 120.00 0 2 5.144444942474365 92382.44 36585.23 120.00 [Mediterranean_Sea_8 to Cagliari_Harbor] 93411.13 36366.14 120.00 0 2 5.144444942474365 97164.65 35075.87 120.00 0 2 5.144444942474365 99564.76 33510.37 120.00 My coulmns.dcg file from the first mission: 17_Chief Ships.Tanker 1 @Mediterranean_Sea_3 $An Oil Tanker ~A 18_Chief Ships.Tramp 1 @Mediterranean_Sea_3 $A Cargo Ship ~A 19_Chief Ships.Tramp 1 @Mediterranean_Sea_3 $A Supply Ship ~A 20_Chief Ships.Tramp 1 @Mediterranean_Sea_3 $A Cargo Freighter ~A 21_Chief Ships.Tramp 1 @Mediterranean_Sea_3 $A Supply Freighter ~A Thank you, Mark Quote Link to comment Share on other sites More sharing options...
Lonestar Posted October 7, 2013 Report Share Posted October 7, 2013 Ah, my mistake! 50 to 50 is the probability if units will load/unload ships! The probability of spawning ships is 100%, sorry! When you have a sea location named "Cagliari_Harbor" then you must have also a .rds location naming "Cagliari"! The same also with "Palermo_Harbor"! Its important because otherwise DCG will ignore your harbor location! This could be the reason . . . I can only recommend to make the little campaign in my tutorial! There I was trying to explain everything! Quote Link to comment Share on other sites More sharing options...
MisterMark Posted October 7, 2013 Author Report Share Posted October 7, 2013 Lonestar, If I take out 'Cagliari_Harbor' and just rename it 'Mediterranean_Sea_1' will ships spawn and start at 'Mediterranean_Sea_1'? -Mark Quote Link to comment Share on other sites More sharing options...
Lonestar Posted October 7, 2013 Report Share Posted October 7, 2013 Maybe, but i believe the ships will drive the whole route only one time, then they will removed from the campaign! Better try to make a route from a new "Cagliari" .rds location and connect it with Cagliari_Airfield! Then write the new location "Cagliari" into the allcampaigns and grandcampaigns.dcg under the italy43 entries (new location entry), because "Cagliari" is for party red, the attacker! Then test again, could work! Quote Link to comment Share on other sites More sharing options...
Lowengrin Posted October 9, 2013 Report Share Posted October 9, 2013 Ships will sail the entire route and then be removed BUT then respawn at the beginning again. So what many of the campaigns do is run the route in a circle so that the last location joins the first. For example: Sea_1 to Sea_2 Sea_2 to Sea_3 Sea_3 to Sea_1 Unless you specify the spawn point through the timetable.dcg file, ships will spawn on the location closest to the "friendly" edge of the map. You can specify which side is friendly to the Axis in the maps.dcg file (the Allieds will spawn on the other side). Quote Link to comment Share on other sites More sharing options...
MisterMark Posted October 12, 2013 Author Report Share Posted October 12, 2013 Lowengrin, I tried setting my timetable.dcg file to have my ships spawn at my desired location at the start of the campaign (Mediterranean_Sea_1). But they still keep spawning at a later location (Mediterranean_Sea_3) everytime I start the campaign from the beginning. Unless I'm doing something wrong in the timetable.dcg file, I'm not sure what the problem is. Please help! My timetable.dcg file: 19430901 NewColumn 17_Chief Ships.Tanker 1 @Mediterranean_Sea_1 $An Oil Tanker ~A 19430901 NewColumn 18_Chief Ships.Tramp 1 @Mediterranean_Sea_1 $A Cargo Ship ~A 19430901 NewColumn 19_Chief Ships.Tramp 1 @Mediterranean_Sea_1 $A Supply Ship ~A 19430901 NewColumn 20_Chief Ships.Tramp 1 @Mediterranean_Sea_1 $A Cargo Freighter ~A 19430901 NewColumn 21_Chief Ships.Tramp 1 @Mediterranean_Sea_1 $A Supply Freighter ~A Thank you, Mark Quote Link to comment Share on other sites More sharing options...
sniperton Posted October 13, 2013 Report Share Posted October 13, 2013 I had similar problems with 3.47 beta, and dunno whether Paul has changed the code since then: Theoretically, ships should (re)spawn at _Shipyard or _Harbor (_Port?) locations only, IIRC. In fact, ships seem to (re)spawn 'on the location closest to the "friendly" edge of the map' (specified as 'MapAxis=West' or the like in 'maps.dcg'). You may want to check your waypoint coordinates in the FMB and adjust them (or MapAxis) in a way that your (re)spawn point be 'closest to the friendly edge of the map'. Quote Link to comment Share on other sites More sharing options...
Lowengrin Posted October 17, 2013 Report Share Posted October 17, 2013 I'm not sure why they are not spawning through the timetable command. And, no, they don't spawn at _Harbor locations...unless that location happens to be the closest waypoint to the friendly edge. Quote Link to comment Share on other sites More sharing options...
Lonestar Posted October 19, 2013 Report Share Posted October 19, 2013 Dont know if you have already solve the problem . . . DCG placed the ships properly! I have load your routes in FMB and I think you've mixed up the names of your Sea locations! Quote Link to comment Share on other sites More sharing options...
MisterMark Posted October 30, 2013 Author Report Share Posted October 30, 2013 paul or lonestar, i think i've managed to place ships properly now, however i'm running into a new problem... now when i start my campaign and try to make my home base cagliari, my first mission is always 'the base is being threatened. transfer to xxxx base'. on the next mission if i manually reset my base to cagliari i get the same mission/message. i think i've narrowed it down to something with the ship routes because when i remove the italy.srd file, the base is no longer 'threatened' and i can continue to be stationed at cagliari. seems like such a random correlation. do either of you guys have any idea why it's happening? i know i can select 'no transfers' in the menu and carry on with the campaign but i like the idea of being transferred later on at some point. also, i want to better understand dcg and know exactly why something like that might happen. thank you, mark Quote Link to comment Share on other sites More sharing options...
sniperton Posted October 30, 2013 Report Share Posted October 30, 2013 Open the problematic mission file (generated by DCG) in the FMB and look for enemy units near Cagliari. Probably you'll find enemy ships within firing distance (~30-60 km); adjust your see routes etc. to get rid of them next time. (Another option that DCG spawned some enemy ground units near your base; this happens when you leave pockets when defining your locations.) Quote Link to comment Share on other sites More sharing options...
MisterMark Posted October 30, 2013 Author Report Share Posted October 30, 2013 sniperton, thank you for the quick reply... however, i don't think it can be enemy ships as i have only designated the routes to be run by allied ships. and it can't be ground units because cagliari is on an isolated island miles from the front. any other ideas? thanks, mark Quote Link to comment Share on other sites More sharing options...
sniperton Posted October 30, 2013 Report Share Posted October 30, 2013 At the moment we don't have a solution for your problem as we do not know the reasons of your problem either. Just investigate your DCG-generated file to see the reasons (what enemy, and where exactly, do you have nearby?). For instance, if you are the attacker, you have to list all locations belonging to you in allcampaigns.dcg as 'locale'=bvbcvb', 'locale2=lajkjf', etc. If you omit one, that will be assigned to the opposite party, and DCG may want to spawn an enemy unit there on startup. But it's also easily possible that DCG has spawned a naval unit to one of your nearby sea locations. Anyway, we have to be clear about exactly WHAT is wreaking havoc on your base. So please open that bloody file and look for it, be it a column or a ship. Quote Link to comment Share on other sites More sharing options...
Lowengrin Posted November 1, 2013 Report Share Posted November 1, 2013 You're front line is too close to the Cagliari airbase. It may be because a sea location is too close and these are considered neutral (and therefore the front line). You can lower the "bugoutradius" in either the grandcampaign.dcg file or allcampaigns.dcg file BEFORE starting a campaign. For example: [Wake41 to Midway] Blue Campaign=Pacific_Campaign Map=Midway StartDate=03/06/1942 BugOutRadius=1 Front=Midway DeHome=Rabaul RuHome=Midway_Airfield DeBase=Rabaul_Airfield RuBase=Midway_Airfield The default is 10 and the minimum is 1 (and they must be whole numbers). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.