Page 1 of 1

[Map-Minigame] training camp

Posted: Sat Oct 22, 2011 12:19 pm
by Holloweye
A minigame map for RA.

All players are provided with a barracks, oil derrik (income) and two flame towers.

In the middle of the map you can capture a war factory which will make it possible for you to build tanks. Remember there is only one so it's important to capture it.

Objective: destroy enemy bases.

Posted: Sat Oct 22, 2011 1:51 pm
by BaronOfStuff
Great idea, and was actually really intense even against the AI. However, it exploded on me:

Code: Select all

System.InvalidOperationException: TraitDictionary does not contain instance of type `OpenRA.Mods.RA.MPStartLocations`
   at OpenRA.TraitDictionary.TraitContainer`1.Get(UInt32 actor)
   at OpenRA.TraitDictionary.Get[T](Actor actor)
   at OpenRA.Actor.Trait[T]()
   at OpenRA.Mods.RA.HackyAI.ChooseEnemyTarget()
   at OpenRA.Mods.RA.HackyAI.AssignRolesToIdleUnits(Actor self)
   at OpenRA.Mods.RA.HackyAI.Tick(Actor self)
   at OpenRA.World.<Tick>m__A9&#40;TraitPair`1 x&#41;
   at OpenRA.WorldUtils.<DoTimed>c__AnonStorey4D`1.<>m__F1&#40;T x&#41;
   at OpenRA.Exts.Do&#91;T&#93;&#40;IEnumerable`1 e, Action`1 fn&#41;
   at OpenRA.WorldUtils.DoTimed&#91;T&#93;&#40;IEnumerable`1 e, Action`1 a, String text, Double time&#41;
   at OpenRA.World.Tick&#40;&#41;
   at OpenRA.Game.Tick&#40;OrderManager orderManager&#41;
   at OpenRA.Game.Tick&#40;OrderManager orderManager, Viewport viewPort&#41;
   at OpenRA.Game.Run&#40;&#41;
   at OpenRA.Program.Run&#40;String&#91;&#93; args&#41;
   at OpenRA.Program.Main&#40;String&#91;&#93; args&#41;
This was a few minutes in, and happened after two AI teams were defeated.

Posted: Sat Oct 22, 2011 2:03 pm
by Harisson
I like your idea, but I've tested map and there are some mistakes
First, it's better destroy War Factory than capture them, because you'll get 800$
Second, war factory has poor health
Third, on some spots(red) you can easily destroy enemy barr/oil, so best start has Multi01 (northwest) and you can move through blue spot.

EDIT: Mayber you can add rock(s) on red spots or something else...

Posted: Sun Oct 23, 2011 8:07 am
by chrisf
I think HackyAI will need some adjustments to cope with the way the custom rules work (no MPStartLocations on World!). That will be what's causing your crash.

Posted: Sun Oct 23, 2011 11:12 am
by Holloweye
Update:

- Fixed up trees a bit
- Now possible to build airfield, helipad and wired fence
- War factory value decreased

minigames

Posted: Fri Apr 13, 2012 12:03 am
by zypres1
We should have a small minigames competition...