so i was follwing the wikki here https://github.com/OpenRA/OpenRA/wiki/Mapping
i had previously created lots of missions for the original red alert games so i wanted to create some for Open RA
i used the Editor to import the old mission map scg01ea.ini (The first mission). I then save this as a oramap file
Once i try to view this in OpenRA as spectator there are no allied units.
I then extract the file and try to add a few lines of code into the .yaml like bellow
PlayerReference@Greece:
Name: Greece
Race: allies
Playable: True
LockTeam: True
LockRace: True
Now i try go back on Open RA and select Greece but get this exception
Exception of type `System.InvalidOperationException`: No free spawnpoint.
at OpenRA.Mods.RA.MPStartLocations.ChooseSpawnPoint(World world, List`1 available, List`1 taken)
How can i replicate the missions from the original game like scot_nz has for the 1st Allies mission
Mapping Tutorials
Need help with creating maps
We currently don't have a mechanism for loading/creating custom scripted missions from ini or yaml yet, apart from loading the map itself. Engine code in C# is usually required for missions to work properly at the moment. We currently keep most of our mission code at https://github.com/OpenRA/OpenRA/tree/b ... A/Missions. I'm usually available on IRC (http://webchat.freenode.net/?channels=openra) if you need help with developing a mission. I'll also take requests if you want me to do another classic mission too.
-
- Posts: 5
- Joined: Thu Oct 17, 2013 7:58 pm
Hi thanks for the quick reply
edit * I have the project downloaded from github and Visual Studio express 2013...copied the dll files and done a build
so am using the editor even when i create a blank map then add a gun man for allies and one for soviets. if i set allies playable to true then the gunman disappears and just leaves the soviet one
why is this
Can you create a wikki page on the steps taken to create the Allies 01 mission?
edit * I have the project downloaded from github and Visual Studio express 2013...copied the dll files and done a build
so am using the editor even when i create a blank map then add a gun man for allies and one for soviets. if i set allies playable to true then the gunman disappears and just leaves the soviet one
why is this
Can you create a wikki page on the steps taken to create the Allies 01 mission?
-
- Posts: 5
- Joined: Thu Oct 17, 2013 7:58 pm
The allies are deploying ok now, but they have a MCV. Can you post on how to write a mission script file, ive looked at yours but i dont understand some of the class headings
Code: Select all
Selectable: True
MapFormat: 5
Title: In the thick of it lee 3
Description: 3
Author: lee 3
Tileset: SNOW
Options: OpenRA.MapOptions
MapSize: 128,128
Bounds: 49,45,30,36
UseAsShellmap: False
Type: Campaign
Players:
PlayerReference@Neutral:
Name: Neutral
OwnsWorld: True
NonCombatant: True
Race: allies
PlayerReference@Creeps:
Name: Creeps
NonCombatant: True
Race: allies
PlayerReference@USSR:
Name: USSR
Race: soviet
ColorRamp: 3,255,127
Enemies: Allies,Creeps
PlayerReference@Allies:
Name: Allies
Playable: True
AllowBots: False
LockRace: True
Race: allies
LockColor: True
ColorRamp: 161,134,200
LockTeam: True
Allies: Creeps
Enemies: USSR
Actors:
Actor0: powr
Location: 75,64
Owner: USSR
Actor1: powr
Location: 77,64
Owner: USSR
Actor2: powr
Location: 77,67
Owner: USSR
Actor3: powr
Location: 75,67
Owner: USSR
Actor4: proc
Location: 73,58
Owner: USSR
Actor5: fact
Location: 69,62
Owner: USSR
Actor6: powr
Location: 67,57
Owner: USSR
Actor7: powr
Location: 65,57
Owner: USSR
Actor8: powr
Location: 61,57
Owner: USSR
Actor9: stek
Location: 61,60
Owner: USSR
Actor10: weap
Location: 65,62
Owner: USSR
Actor11: domf
Location: 67,65
Owner: USSR
Actor12: tsla
Location: 67,67
Owner: USSR
Actor13: tsla
Location: 60,66
Owner: USSR
Actor14: barr
Location: 61,64
Owner: USSR
Actor15: kenn
Location: 64,65
Owner: USSR
Actor16: v19
Location: 59,57
Owner: USSR
Actor17: brl3
Location: 60,57
Owner: USSR
Actor18: brl3
Location: 60,58
Owner: USSR
Actor19: barl
Location: 60,56
Owner: USSR
Actor20: barl
Location: 61,56
Owner: USSR
Actor21: barl
Location: 59,59
Owner: USSR
Actor22: t03
Location: 57,56
Owner: USSR
Actor23: t03
Location: 55,61
Owner: USSR
Actor24: tc01
Location: 76,56
Owner: USSR
Actor25: t11
Location: 77,60
Owner: USSR
Actor26: t16
Location: 73,67
Owner: USSR
Actor27: t05
Location: 70,68
Owner: USSR
Actor28: fenc
Location: 66,55
Owner: USSR
Actor29: fenc
Location: 65,55
Owner: USSR
Actor30: fenc
Location: 58,67
Owner: USSR
Actor31: fenc
Location: 58,66
Owner: USSR
Actor32: fenc
Location: 56,56
Owner: USSR
Actor33: fenc
Location: 56,57
Owner: USSR
Actor34: fenc
Location: 56,58
Owner: USSR
Actor35: e1
Location: 63,49
Owner: Allies
Actor36: e1
Location: 64,49
Owner: Allies
Actor37: e1
Location: 62,49
Owner: Allies
Actor38: jeep
Location: 63,50
Owner: Allies
Actor39: jeep
Location: 62,50
Owner: Allies
Actor40: jeep
Location: 64,50
Owner: Allies
Actor41: e1
Location: 62,55
Owner: USSR
Actor42: e1
Location: 64,58
Owner: USSR
Actor43: e1
Location: 64,59
Owner: USSR
Actor44: e1
Location: 63,62
Owner: USSR
Actor45: e1
Location: 61,62
Owner: USSR
Actor46: e1
Location: 57,60
Owner: USSR
Actor47: e1
Location: 55,60
Owner: USSR
Actor48: e1
Location: 57,65
Owner: USSR
Actor49: e1
Location: 56,66
Owner: USSR
Actor50: e1
Location: 65,68
Owner: USSR
Actor51: e1
Location: 62,67
Owner: USSR
Actor52: e2
Location: 73,66
Owner: USSR
Actor53: e2
Location: 62,56
Owner: USSR
Actor54: dog
Location: 63,58
Owner: USSR
Actor55: mpspawn
Location: 63,43
Owner: Neutral
Actor56: e7
Location: 63,47
Owner: Allies
Smudges:
Rules:
World:
leeScript:
Sequences:
VoxelSequences:
Weapons:
Voices:
Notifications:
Mission scripts are regular traits. There's a quick overview on the trait system here: https://github.com/OpenRA/OpenRA/wiki/Hacking
It's certainly something to get your head around. We can easily give you a rundown of how it all works and get any questions answered if you come on IRC.
It's certainly something to get your head around. We can easily give you a rundown of how it all works and get any questions answered if you come on IRC.