Page 1 of 1

Campaign editor

Posted: Mon Dec 14, 2015 12:19 pm
by Solaristics

Hi, I've been holding off buying this as I've been waiting for a campaign editor so I can make my own branching campaigns with triggers. Any idea when this might be implemented, if ever? Thanks.

RE: Campaign editor

Posted: Mon Dec 21, 2015 3:40 pm
by Lukas
It's been on our to-do list for a while and work has started on a proper in-game campaign editor last week. I can't say when it will be ready for release yet however.

That said, if you don't mind some txt-based editing you can already create your own (branching) campaigns by editing the .cmp files in a text editor.

RE: Campaign editor

Posted: Mon Dec 21, 2015 6:58 pm
by Solaristics
Thanks for the reply Lucas. Is there somewhere that documents the .cmp files' syntax?. I opened a modded .cmp file (from the forum) in a text editor, but I'm not sure I can reverse engineered it from there. I suppose it might be in the manual, but I don't own the game (yet). Thanks!

Edit: What I'm asking, which is not clear, is whether the full syntax of the campaign files is contained in the manual (I don't want to buy the game and find out that this hasn't been documented yet as making my own campaigns is my major reason for buying the game).

RE: Campaign editor

Posted: Tue Dec 22, 2015 9:57 am
by Lukas
There is no manual/guide about this available at the moment, and with a real editor in development it's not worth doing now. But to give you some starting point:

The most basic campaign with just a single scenario would look like this:

Code: Select all

 [ALLIANCE]
 date = 7/12/1941 // not actualy used
 player = 0 // keep at 0
 factions = japan, germany // The names of the factions the player may control in any scenario
 color0 = 80, 5, 5 // colour of the human player (used for territory overlays)
 color1 = 60, 80, 0 // colour of the opponent
 
 [CORES]
 IJN = japan // name of the player's core force. Also used in the icon <core_name>.png
 
 [BRANCHES]
 0 = Pearl_Harbor // a list of branches, each branch can activate several scenario options (comma seperated)
 
 [PEARL_HARBOR] // scenario definition used by the branches list
 location = 4.611, -0.506 // location on the map, hold CTRL key to see map coordinates in the tooltip
 scenario = PearlHarborJapan // link to the scenario folder
 result = 1,1,1,1,1 // branch IDs for outcomes: major defeat, minor defeat, draw, victory, major victory
 core = IJN 2.783,-0.504 // position of the core icon on the map
 flag = usa 5.562,-0.092 // position of other faction flags (optional)
 arrow = 120,10,10 3.156,-0.520 4.018,-0.473 // colour, position and destination of animated arrow (optional)
 

RE: Campaign editor

Posted: Tue Dec 29, 2015 9:17 am
by Solaristics

Thanks for this. I ended up buying the game and I'm enjoying it so far. One of my major niggles with all games of this type is how defeat triggers the end of the campaign - that really breaks the campaign immersion for me. I see though from your post that the campaign file allows triggering of a new scenario on defeat, which is great. If I get some time I'll mod the vanilla campaign to trigger fallback scenarios on defeat so, for instance, the Japanese keep falling back to previous maps on defeats, and all the way to the Home Islands if it gets really bad. Also, if these fallback scenarios are won decisively then the offensive gets kickstarted again. For me, this ebb and flow is at the heart of strategic wargaming, and so campaigns should aim to provide this experience IMHO.

RE: Campaign editor

Posted: Tue Dec 29, 2015 9:26 am
by Erik2
Your idea of fall-back scenarios and re-triggering the offensive is good.
I may use this [;)]

RE: Campaign editor

Posted: Tue Dec 29, 2015 9:27 am
by Solaristics
You go ahead, it will save me the effort! [:D]

RE: Campaign editor

Posted: Tue Dec 29, 2015 9:31 am
by Erik2
I was primarily thinking about using it in custom campaigns, not editing the stock ones...

RE: Campaign editor

Posted: Wed Dec 30, 2015 8:32 am
by Solaristics
Speaking of your custom campaigns, I'm having trouble getting them to run. I dropped them in the mod folder but they don't appear on the mod launcher at start up. Any suggestions?

RE: Campaign editor

Posted: Sat Apr 23, 2016 6:12 pm
by Rising-Sun
I would very much to have the editor too, for both single scenario and campaign.

RE: Campaign editor

Posted: Sun Apr 24, 2016 9:07 am
by RussW
Hondo I put them in C:\Users\(your name)\My Documents\My Games\Order of battle pacific\scenarios ....they load ok when i pick scenario in the game Good Luck

RE: Campaign editor

Posted: Thu Nov 17, 2016 5:44 pm
by Solaristics

I haven't looked at the game in a while. Did the campaign editor ever get completed?