Who have some Campaign or Mission maps for cnc?

Discussion about the game and its default mods.
Post Reply
ps3
Posts: 4
Joined: Tue Sep 06, 2011 2:41 pm

Who have some Campaign or Mission maps for cnc?

Post by ps3 »

I want to learn how to make own Campaign map.
I try to modify map.yaml,but there are too many bugs.

I have many questions:
1.How to write victoryconditions likes someone has been killed or one building has been captured.
2.How to let some units wait for rescue.(enemy would not attack them before rescued.)
3.How to let enemy units patrol between waypoints.

Please help me.

User avatar
riderr3
Posts: 98
Joined: Sat Feb 26, 2011 11:26 pm
Location: Camo pillbox
Contact:

Post by riderr3 »

Same question :) there is not many materials about creating sp missions in openra wiki

BTW I know sp missions editor for classic RA - it called C&C RAED, but its not compatible with openra stuff

User avatar
Harisson
Posts: 149
Joined: Sun Jan 13, 2008 10:03 pm

Post by Harisson »

I have 1 singleplayer map

Code: Select all

http://www.sleipnirstuff.com/forum/viewtopic.php?f=83&t=15352
If you want to create a map, you need to know C# and OpenRA source code
1.You can find example on GitHub

Code: Select all

if (badcount != lastBadCount){}
2.I have no Idea
3.From GitHub

Code: Select all

void Patrol()
		{
			var self = Actor;
			var mobile = self.Trait<Mobile>&#40;&#41;;
			self.QueueActivity&#40;mobile.ScriptedMove&#40;Destination&#41;&#41;;
			self.QueueActivity&#40;mobile.ScriptedMove&#40;Destination&#41;&#41;;
			self.QueueActivity&#40;new CallFunc&#40;&#40;&#41; => Patrol&#40;&#41;&#41;&#41;;
		&#125;

ps3
Posts: 4
Joined: Tue Sep 06, 2011 2:41 pm

Post by ps3 »

Thanks very much.
Where should I download your map,I can't open IRC webpage.

Hmm...I don't know C#,but I know some VB language. I just could read C# script,not write.
OK, I am going to learn C#, and more English.

Post Reply