New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ported Survival01 to Lua #6934
Ported Survival01 to Lua #6934
Conversation
|
||
UseAsShellmap: False | ||
|
||
Type: Minigame |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really a mini game. We just lacked a single-player selection menu at that time.
c46e25b
to
2f2438c
Compare
Updated. I added an allies03a-style description. Hope it's ok so. |
2f2438c
to
da1b32d
Compare
@@ -0,0 +1,329 @@ | |||
Difficulty = "Medium" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Map.Difficulty
will expose this according to https://github.com/OpenRA/OpenRA/wiki/Lua-API. You will still need to create some GUI so that players can actually access it.
689e487
to
72ab978
Compare
Updated and added support for selecting mission difficulty. |
896783b
to
111537c
Compare
Updated again. |
dc919b9
to
42cc9d4
Compare
Just played a round on this. First attempt was on the default skill (Hard), was brutally murdered within a minute... Second try on Easy was better, got to hold out until the end and won, but it got pretty close at times. I'll try again tomorrow and see if it gets easier then. I'll also take a look at the code tomorrow. Thanks for the Intervention fix, and yay \o/ for the difficulty selector! |
|
||
RequiresMod: ra | ||
|
||
Title: Survivial01 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Survival 01" for readability?
Edit: And please make the folder name lower-case for consistency.
42cc9d4
to
6260de6
Compare
end) | ||
end) | ||
|
||
Trigger.OnAllKilled(SovietBuildings, function() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This becomes a problem when you decide to capture some enemy buildings instead of destroying them. You end up having to kill your own buildings.
6260de6
to
9c2c399
Compare
Updated. |
allies.MarkFailedObjective(DestroyObj) | ||
else | ||
allies.MarkFailedObjective(SurviveObj) | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just let the Wookie soviets win, that will cause the remaining allied objectives to be marked as failed automatically.
you need |
478134f
to
2da707f
Compare
Updated. |
|
||
RequiresMod: ra | ||
|
||
Title: Survival01 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Survival 01
with a space looks more in line with the official campaigns.
2da707f
to
09fbd11
Compare
Updated again. |
👍 |
regarding the open questions:
👍 from me too, then. Could you please remove the remaining comments from the source files? I'll merge once that's done. |
3eb256e
to
6e1593b
Compare
Updated. |
OpenRA#5483 (comment) broke the game.
6e1593b
to
b492c41
Compare
Updated. |
Well done! |
There are three difficulties available, you can switch between them
hereingame.Still some open points, should...
Pinging @NukemBro , who created this
minigamemission.