<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.commanderwars.com/w/index.php?action=history&amp;feed=atom&amp;title=Map_Scripting%2FCustom_Campaign_editing</id>
	<title>Map Scripting/Custom Campaign editing - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.commanderwars.com/w/index.php?action=history&amp;feed=atom&amp;title=Map_Scripting%2FCustom_Campaign_editing"/>
	<link rel="alternate" type="text/html" href="https://www.commanderwars.com/w/index.php?title=Map_Scripting/Custom_Campaign_editing&amp;action=history"/>
	<updated>2026-10-01T13:02:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.1</generator>
	<entry>
		<id>https://www.commanderwars.com/w/index.php?title=Map_Scripting/Custom_Campaign_editing&amp;diff=2793&amp;oldid=prev</id>
		<title>Knightlord07 at 14:59, 31 October 2023</title>
		<link rel="alternate" type="text/html" href="https://www.commanderwars.com/w/index.php?title=Map_Scripting/Custom_Campaign_editing&amp;diff=2793&amp;oldid=prev"/>
		<updated>2023-10-31T14:59:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:59, 31 October 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l40&quot;&gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;World Map version of Custom Campaign (hard)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;World Map version of Custom Campaign (hard)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The World map version is the most hardest thing you might do you need to have something able to edit JSM file to do so&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The World map version is the most hardest thing you might do you need to have something able to edit JSM file to do so&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[category:Gameplay]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff::1.12:old-2792:rev-2793 --&gt;
&lt;/table&gt;</summary>
		<author><name>Knightlord07</name></author>
	</entry>
	<entry>
		<id>https://www.commanderwars.com/w/index.php?title=Map_Scripting/Custom_Campaign_editing&amp;diff=2792&amp;oldid=prev</id>
		<title>Knightlord07: Created page with &quot;This is an tutorial part of how to edit your map script work for creating your own custom campaign/scenarios  The first important part is var Constructor = function() {} in order to work.  Next is this immediateStart if you want a certain co&#039;s to start the game without picking a CO before starting  The Victoryinfo is not that important but it an optional if you want to have a victory text in the info when looking at the objectives      this.getVictoryInfo = function()...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.commanderwars.com/w/index.php?title=Map_Scripting/Custom_Campaign_editing&amp;diff=2792&amp;oldid=prev"/>
		<updated>2023-10-31T14:58:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This is an tutorial part of how to edit your map script work for creating your own custom campaign/scenarios  The first important part is var Constructor = function() {} in order to work.  Next is this immediateStart if you want a certain co&amp;#039;s to start the game without picking a CO before starting  The Victoryinfo is not that important but it an optional if you want to have a victory text in the info when looking at the objectives      this.getVictoryInfo = function()...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is an tutorial part of how to edit your map script work for creating your own custom campaign/scenarios&lt;br /&gt;
&lt;br /&gt;
The first important part is var Constructor = function() {} in order to work.&lt;br /&gt;
&lt;br /&gt;
Next is this immediateStart if you want a certain co&amp;#039;s to start the game without picking a CO before starting&lt;br /&gt;
&lt;br /&gt;
The Victoryinfo is not that important but it an optional if you want to have a victory text in the info when looking at the objectives&lt;br /&gt;
&lt;br /&gt;
    this.getVictoryInfo = function()&lt;br /&gt;
    {&lt;br /&gt;
        return qsTr(&amp;quot;&amp;quot;)&lt;br /&gt;
    };&lt;br /&gt;
&lt;br /&gt;
The Victory can be edited but it keep it intact before editing some points out.&lt;br /&gt;
&lt;br /&gt;
You can make a team win the game &amp;amp; dialogues will pop out once the player achieve victory&lt;br /&gt;
&lt;br /&gt;
The optional stuff you can add in are achievements &amp;amp; music in but it a difficult to process to make it&lt;br /&gt;
you need something like campaignScript.changeMusic(&amp;quot;Just put your music here e.g maps/Your Custom Campaign/Scenarios/music/Your music here!&amp;quot;);&lt;br /&gt;
if you want a achievement to pop up please put this in userdata.increaseAchievement(&amp;quot;Your Mod Achievement Here!&amp;quot;, 1);&lt;br /&gt;
if you having issues about it please just visit COW discord to learn more about those functions to work out.&lt;br /&gt;
&lt;br /&gt;
The dialogs stuff you can edit this on COW&amp;#039;s map editor &amp;amp; edit script work, but making a custom one will require lots of work&lt;br /&gt;
you can keep the dialogues stuff intact if you decide to make a custom one that will take sometime to get use of some codes to work around with.&lt;br /&gt;
&lt;br /&gt;
Custom Campaign&lt;br /&gt;
Custom Campaign is like making a new game nor stories.&lt;br /&gt;
You can make your own campaign by COW&amp;#039;s Map editor &amp;amp; edit Campaign so you can add your maps in.&lt;br /&gt;
Once you finishing editing your custom campaign you need to edit first in order to make your campaign play properly.&lt;br /&gt;
The important part is you need to add getBasicBuildList that means you need to add units in so you can build units in your campaign.&lt;br /&gt;
Second is getSelectableCOs is another important part of making custom campaigns.&lt;br /&gt;
Third is getPlayableCOs is optional if you want players to get that reward to unlocked as a unlockedable co&amp;#039;s.&lt;br /&gt;
Optional stuff such as world map images if you want your custom campaign have flags to click on in order to play those custom made campaign maps &amp;amp; custom music include this works&lt;br /&gt;
The last thing before finishing creating your own custom camp is that you need to have a folder say like this Maps/Your Custom Campaign Name.camp so you can&amp;#039;t access in single player.&lt;br /&gt;
&lt;br /&gt;
List version of Custom Campaign (easy)&lt;br /&gt;
The list version is an easier choice because you can do it on COW, go to map editing &amp;amp; click on menu it should pop up edit campaign so you can add any of your maps you made after you done that you have to use a program to edit it out bit.&lt;br /&gt;
Once that done you can tested &amp;amp; play it!&lt;br /&gt;
&lt;br /&gt;
World Map version of Custom Campaign (hard)&lt;br /&gt;
The World map version is the most hardest thing you might do you need to have something able to edit JSM file to do so&lt;/div&gt;</summary>
		<author><name>Knightlord07</name></author>
	</entry>
</feed>