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.
Who have some Campaign or Mission maps for cnc?
I have 1 singleplayer map
If you want to create a map, you need to know C# and OpenRA source code
1.You can find example on GitHub
2.I have no Idea
3.From GitHub
Code: Select all
http://www.sleipnirstuff.com/forum/viewtopic.php?f=83&t=15352
1.You can find example on GitHub
Code: Select all
if (badcount != lastBadCount){}
3.From GitHub
Code: Select all
void Patrol()
{
var self = Actor;
var mobile = self.Trait<Mobile>();
self.QueueActivity(mobile.ScriptedMove(Destination));
self.QueueActivity(mobile.ScriptedMove(Destination));
self.QueueActivity(new CallFunc(() => Patrol()));
}