Campaign editor

Order of Battle is a series of operational WW2 games starting with the Pacific War and then on to Europe!

Moderators: Lukas, Erik2

Post Reply
User avatar
Solaristics
Posts: 221
Joined: Wed Feb 20, 2002 10:00 am
Location: UK

Campaign editor

Post 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.
User avatar
Lukas
Posts: 349
Joined: Mon May 31, 2010 6:40 pm

RE: Campaign editor

Post 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.
Image
User avatar
Solaristics
Posts: 221
Joined: Wed Feb 20, 2002 10:00 am
Location: UK

RE: Campaign editor

Post 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).
User avatar
Lukas
Posts: 349
Joined: Mon May 31, 2010 6:40 pm

RE: Campaign editor

Post 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)
 
Image
User avatar
Solaristics
Posts: 221
Joined: Wed Feb 20, 2002 10:00 am
Location: UK

RE: Campaign editor

Post 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.
Erik2
Posts: 785
Joined: Thu Nov 02, 2000 10:00 am
Location: Oslo, Norway

RE: Campaign editor

Post by Erik2 »

Your idea of fall-back scenarios and re-triggering the offensive is good.
I may use this [;)]
User avatar
Solaristics
Posts: 221
Joined: Wed Feb 20, 2002 10:00 am
Location: UK

RE: Campaign editor

Post by Solaristics »

You go ahead, it will save me the effort! [:D]
Erik2
Posts: 785
Joined: Thu Nov 02, 2000 10:00 am
Location: Oslo, Norway

RE: Campaign editor

Post by Erik2 »

I was primarily thinking about using it in custom campaigns, not editing the stock ones...
User avatar
Solaristics
Posts: 221
Joined: Wed Feb 20, 2002 10:00 am
Location: UK

RE: Campaign editor

Post 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?
User avatar
Rising-Sun
Posts: 2209
Joined: Thu Nov 05, 2009 10:27 am
Location: Clifton Park, NY
Contact:

RE: Campaign editor

Post by Rising-Sun »

I would very much to have the editor too, for both single scenario and campaign.
Image
User avatar
RussW
Posts: 85
Joined: Fri Jan 16, 2015 1:26 pm
Location: New Concord,OH

RE: Campaign editor

Post 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
Semper Fi
User avatar
Solaristics
Posts: 221
Joined: Wed Feb 20, 2002 10:00 am
Location: UK

RE: Campaign editor

Post by Solaristics »


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

Return to “Order of Battle : World War II”