Skip to content

Commit

Permalink
missions editing
Browse files Browse the repository at this point in the history
  • Loading branch information
CombinE88 committed Jan 13, 2019
1 parent 0c96ce8 commit 4fd512f
Show file tree
Hide file tree
Showing 18 changed files with 97 additions and 2,144 deletions.
7 changes: 5 additions & 2 deletions OpenRA.Mods.MW/Traits/NewDisguise.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,11 @@ public void ResolveOrder(Actor self, Order order)
if (order.OrderString == "Disguise")
{
var target = order.Target.Actor != self && order.Target.Actor.IsInWorld ? order.Target.Actor : null;
DisguiseAs(target);
Target = target;
if (target != null)
{
DisguiseAs(target);
Target = target;
}
}
}

Expand Down
Binary file added mods/mw/maps/Medieval_Valley_01.oramap
Binary file not shown.
8 changes: 5 additions & 3 deletions mods/mw/maps/act01m01/map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ Nodes:
String: Reach the village!
Out@Con4:
ConnectionType: String
String: The Commander must survive!
String: Darbentis must survive!
TriggerOnEnteredFootprint@ND07: TriggerOnEnteredFootprint
Pos: 754,-477
Out@Con1:
Expand Down Expand Up @@ -921,7 +921,9 @@ Rules: mw|rules/campaign-maprules.yaml
Red: 0.85
Green: 0.85
Blue: 0.85
Ambient: 0.68
Ambient: 0.68
MissionData:
Briefing: The terror of war has been on the horizon for almost a millenia, the King’s people lay petrified of the concerning threat of an all out crusade. But from whom?\n\n The King was then sent a messenger that there was an old gentleman by the name of “Wallace” who is too old and hagged to make the journey to Gabriel Dardanis’ castle; baring news that could narrow down just what is instigating these acts that has terrorised the King’s land.\n Gabriel, having received this message:\n\n sends out his most newest recruit to his Holy Trinity of Swords: Darbentis, to go seek this gentleman within a defective Hamlet by the lakeside that has already been swept off it’s feet from this unknown force, to see if the rumours that he could be facing a war that’ll ravage the world.

HOOD:
Tooltip:
Name: Darbentis
83 changes: 75 additions & 8 deletions mods/mw/maps/act01m02/map.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MapFormat: 11
RequiresMod: mw
Title: Act I Mission 2
Title: Act I Mission 2 Defense of the Village
Author: CombinE
Tileset: TEMPERAT
MapSize: 46,46
Expand Down Expand Up @@ -123,9 +123,6 @@ Actors:
Actor29: wdwll
Owner: King
Location: 23,31
Actor30: t15
Owner: Neutral
Location: 24,31
Actor31: tc01
Owner: Neutral
Location: 12,31
Expand Down Expand Up @@ -840,9 +837,14 @@ Actors:
Actor263: split7
Owner: Neutral
Location: 23,4
Actor264: hood
Owner: King
Location: 17,34
SubCell: 3
Facing: 92
Nodes:
TriggerWorldLoaded@ND01: TriggerWorldLoaded
Pos: -1140,3
Pos: -1452,-3
Out@Con1:
ConnectionType: Exec
TriggerCreateTimer@ND02: TriggerCreateTimer
Expand All @@ -861,7 +863,7 @@ Nodes:
ConnectionType: Exec
Node@ND01: Con1
MapInfoNode@ND03: MapInfoNode
Pos: -796,-318
Pos: -705,-325
Out@Con1:
ConnectionType: Integer
Num: 45
Expand Down Expand Up @@ -1025,13 +1027,16 @@ Nodes:
In@Con3:
ConnectionType: Repeatable
MapInfoNode@ND19: MapInfoNode
Pos: -1236,-616
Pos: -1385,-598
Out@Con1:
ConnectionType: Player
Player: King
Out@Con2:
ConnectionType: CellArray
Cells: 32,18|31,18|31,17|30,17|32,17|33,17|33,18|34,18|35,18|36,18|37,18|38,18|39,18|40,18|41,18|41,19|42,19|43,19|44,19|45,19|45,17|43,18|42,18|37,17|36,17|35,17|34,17|38,17|39,17|40,17|41,17|42,17|43,17|44,17|45,18|44,18|29,12|29,13|29,14|29,11|29,10|29,9|30,14|30,13|30,12|30,11|30,10|30,9|30,8|30,7|29,7|29,8|29,6|29,5|30,6|30,5|30,4|31,5|32,5|32,4|32,3|31,4|29,4|32,2|31,2|31,1|32,1|32,0|31,0|31,3|29,15|29,16|29,17|30,16|30,15|31,16
Out@Con3:
ConnectionType: String
String: Darbentis must survive!
GroupPlayerGroup@ND20: GroupPlayerGroup
Pos: -978,-703
Out@Con1:
Expand Down Expand Up @@ -1381,6 +1386,62 @@ Nodes:
Out@Con2:
ConnectionType: Player
Player: King
UiNewObjective@ND102: UiNewObjective
Pos: -1047,-349
Item: Primary
Out@Con1:
ConnectionType: Objective
In@Con1:
ConnectionType: String
Node@ND19: Con3
In@Con2:
ConnectionType: Exec
Node@ND01: Con1
In@Con3:
ConnectionType: Player
Node@ND19: Con1
In@Con4:
ConnectionType: PlayerGroup
TriggerOnKilled@ND103: TriggerOnKilled
Pos: -1052,-25
Out@Con1:
ConnectionType: Exec
In@Con1:
ConnectionType: Actor
Node@ND104: Con1
In@Con2:
ConnectionType: ActorList
In@Con3:
ConnectionType: Exec
Node@ND01: Con1
MapInfoActorReference@ND104: MapInfoActorReference
Pos: -1445,-313
Out@Con1:
ConnectionType: Actor
Actor: Actor264
Out@Con2:
ConnectionType: ActorList
Actors: Actor264
UiFailObjective@ND105: UiFailObjective
Pos: -785,2
Out@Con1:
ConnectionType: Exec
In@Con1:
ConnectionType: Objective
Node@ND102: Con1
In@Con2:
ConnectionType: Exec
Node@ND103: Con1
UiCompleteObjective@ND106: UiCompleteObjective
Pos: 3292,28
Out@Con1:
ConnectionType: Exec
In@Con1:
ConnectionType: Objective
Node@ND102: Con1
In@Con2:
ConnectionType: Exec
Node@ND83: Con1
Rules: mw|rules/campaign-maprules.yaml
Player:
PlayerResources:
Expand All @@ -1394,4 +1455,10 @@ Rules: mw|rules/campaign-maprules.yaml
RMBONEW:
-Buildable:
NEWCOMM:
-Buildable:
-Buildable:
World:
MissionData:
Briefing: The watchmen of the recently retaken village have been keeping vigilance for almost 3 days until suddenly: a breakthrough. Off the coast of the hillside range spans swords, spears, bows and sticks with jewels on them. An army that had sieged the village and took control have come back to take what belongs to them! Darbentis with a new rallied spirit for battle: calls to arms every man who can pick up a weapon and attack as he readies them for bloodshed against these barbaric invaders.\n\n The village had survived… barely. But that’s not to say with the number of villagers who took a severe death toll. But with the great sacrifice of so many villagers that needlessly died all to protect the land their own: came at a great abundance of relief as the name of the warrior had came about. These fallen dead of warriors were under the strict orders of High Ranking Military Strategist “Olfenheider” and one of the most loyalist henchmen of the ignorant Baron Hodsworth of Noddingen.
HOOD:
Tooltip:
Name: Darbentis
7 changes: 5 additions & 2 deletions mods/mw/maps/act01m03/map.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MapFormat: 11
RequiresMod: mw
Title: Act I Mission 3
Title: Act I Mission 3 Conquest of the Hillside
Author: CombinE
Tileset: TEMPERAT
MapSize: 54,66
Expand Down Expand Up @@ -2660,4 +2660,7 @@ Rules: mw|rules/campaign-maprules.yaml
Prerequisites: ~disabled
ROSS5:
Buildable:
Prerequisites: ~disabled
Prerequisites: ~disabled
World:
MissionData:
Briefing: Olfenheider’s tricks to win a war are very unorthodox, but there is always flaws behind it: his anger. He controls a total of five settlements within the Hillside fortress of his. If these settlements were to “turn coats” on him to aid the battle towards him: his frustration of our victory will make it so he will rue the day he even tried to attack the King’s precious lands that rightfully belong to Gabriel Dardanis I!
Binary file removed mods/mw/maps/act02m01/map.bin
Binary file not shown.
Binary file removed mods/mw/maps/act02m01/map.png
Binary file not shown.
Loading

0 comments on commit 4fd512f

Please sign in to comment.