[Map-Minigame] training camp

Information and discussion for custom maps and mods.
Post Reply
Holloweye
Posts: 100
Joined: Sun Nov 28, 2010 12:21 pm

[Map-Minigame] training camp

Post 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.
Attachments
training-camp.oramap
Version 2
(3.82 KiB) Downloaded 362 times
Last edited by Holloweye on Sun Oct 23, 2011 11:12 am, edited 1 time in total.

User avatar
BaronOfStuff
Posts: 438
Joined: Sun May 22, 2011 7:25 pm

Post 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.

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

Post 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...
Attachments
you can see red/blue spots
you can see red/blue spots
mistakes.jpg (237.16 KiB) Viewed 4609 times

chrisf
Posts: 246
Joined: Mon Sep 06, 2010 4:59 am

Post 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.

Holloweye
Posts: 100
Joined: Sun Nov 28, 2010 12:21 pm

Post by Holloweye »

Update:

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

User avatar
zypres1
Posts: 276
Joined: Mon Oct 24, 2011 8:22 pm

minigames

Post by zypres1 »

We should have a small minigames competition...

Post Reply