Commit Graph

8679 Commits

Author SHA1 Message Date
Oliver Brakmann
2f9b1459a8 Fix OpenRA.GetRandomInteger crashing under certain circumstances
OpenRA.GetRandomInteger crashes when the supplied high value is less or
equal to the low value.  A situation where this might occur is when you
try to get a random member of a dynamically generated array that
happens to have only a single member.
2014-02-02 23:37:22 +01:00
Oliver Brakmann
6be0a26353 Fix OpenRA.RunAfterDelay queuing a null action. Fixes #4512. 2014-02-02 23:37:22 +01:00
Oliver Brakmann
886efd0b97 Add production-related Lua functions 2014-02-02 23:37:22 +01:00
Oliver Brakmann
42532efd8f Replace Lua's for loops with Utils.Do/Team.Do
Besides fitting in better with the OpenRA coding style, this also gets
rid of some weird timing-related errors I have seen when creating teams
with a larger number (6+) of members. (The script would just print
'Error: function' in Team.AddActorEventHandlers. Adding a strategically
placed print statement fixed that. Replacing the original for loop with
Team.Do did as well)
2014-02-02 23:37:22 +01:00
Oliver Brakmann
b3323869cb Add Map.FindActorsInCircle and ...InBox, plus related shortcuts 2014-02-02 23:37:22 +01:00
Oliver Brakmann
5322096dc4 Add Team.Patrol and Actor.Patrol. Fixes #4491. 2014-02-02 23:37:22 +01:00
Oliver Brakmann
43e386a48d Add Utils.Seconds and Utils.Minutes 2014-02-02 22:30:36 +01:00
Oliver Brakmann
9500a11689 Add Actor.ReturnToBase 2014-02-02 22:30:36 +01:00
Matthias Mailänder
aae1e7e134 set up the asset browser for Tiberian Dawn 2014-02-01 12:17:01 +01:00
Matthias Mailänder
d6ca396b73 slow down the medic heal animation 2014-02-01 10:28:52 +01:00
Matthias Mailänder
0bca2bf882 slow down the mechanic toolbox repair animation 2014-02-01 10:28:51 +01:00
Matthias Mailänder
e4effd0125 Merge pull request #4478 from pchote/aircraft-follow
Add Guard and AttackMove to RA and C&C aircraft.
2014-02-01 00:38:21 -08:00
Matthias Mailänder
e344b95a6f simplified Lua syntax for GDI02 2014-02-01 09:13:14 +01:00
Paul Chote
1d8e785d0d Merge pull request #4448 from Mailaender/test-files
TestFile to TestFiles in mod.yaml
2014-01-31 20:17:56 -08:00
Paul Chote
efd0b5c189 Merge pull request #4474 from Mailaender/monodevelop-luabinding
Set up project files for the MonoDevelop LuaBinding
2014-01-31 20:04:11 -08:00
Paul Chote
e58053cb69 Make aircraft guardable. 2014-02-01 10:57:56 +13:00
Paul Chote
fae9611d27 Fix HeliFly lua bindings. 2014-02-01 10:56:06 +13:00
Paul Chote
697b50c149 Add Guard support to Aircraft. 2014-02-01 10:56:04 +13:00
Paul Chote
d13e7ed432 Add AttackMove support to RA aircraft. 2014-02-01 10:55:04 +13:00
Paul Chote
61f5ab7167 Remove redundant AttackMove definitions. 2014-02-01 10:55:04 +13:00
Matthias Mailänder
3aad269ac2 added a hospital icon by Allen262
http://cnc-comm.com/community/?topic=1685.msg8393#msg8393
2014-01-31 19:04:24 +01:00
Matthias Mailänder
0de1e20651 capturable husks for Dune 2000 2014-01-31 13:17:27 +01:00
Matthias Mailänder
a0e50762ad capturable husks for Red Alert 2014-01-31 13:17:27 +01:00
Matthias Mailänder
018f30c86e capturable husks for Tiberian Dawn 2014-01-31 13:17:26 +01:00
Angusm3
d77614bf8b obelisk health upgrade to same level as ATWR 2014-01-31 03:55:18 -07:00
ScottNZ
1a3ec26a1e Unify ra and cnc main menu logic and clean up the main menus.
Move a bunch of buttons into an Extras submenu and the server browser.
Move CncMenuPaletteEffect to ra so it can be used elsewhere and rename it to MenuPaletteEffect.
2014-01-31 23:47:15 +13:00
Paul Chote
a32d440b05 Show an error dialog if disconnected from the server. 2014-01-31 20:52:40 +13:00
Kanar
17cf890dce Enables "insufficient power"-speech in RA and C&C when powered-down supportpowerwidget is clicked 2014-01-27 04:29:32 +01:00
Matthias Mailänder
b8740a3a47 test for a list of files when loading mods
don't cache test file string arrays
2014-01-21 08:30:03 +01:00
Matthias Mailänder
18d8034153 added mods/cnc Lua scripts 2014-01-19 11:18:35 +01:00
Matthias Mailänder
44f00dc48e setup all hospital frames 2014-01-17 08:18:42 +01:00
Matthias Mailänder
da59468fa5 setup all biolab frames 2014-01-17 08:18:42 +01:00
Matthias Mailänder
493de23527 use all tech center frames 2014-01-17 08:18:37 +01:00
Paul Chote
617012bd36 Merge pull request #4427 from Mailaender/d2k-tileset-cleanup
ARRAKIS tileset cleanup
2014-01-16 22:03:07 -08:00
Matthias Mailänder
151f7dc9c6 Merge pull request #4464 from pchote/attackmove
Add AttackMove to C&C helicopters
2014-01-16 12:12:27 -08:00
Matthias Mailänder
ecca689f34 categorize everything 2014-01-16 20:59:18 +01:00
Matthias Mailänder
e496f2a36d randomized bricks 2014-01-16 20:59:16 +01:00
Matthias Mailänder
c6db460291 remove building bibs to avoid confusion 2014-01-16 20:50:51 +01:00
Matthias Mailänder
dd581e0135 identical to the right two tiles from 443
BLOXICE and BLOXTREE redundancy
2014-01-16 20:50:51 +01:00
Matthias Mailänder
b3e0632e25 category resorting 2014-01-16 20:50:50 +01:00
Matthias Mailänder
d5039e1ddb also a dead worm 2014-01-16 20:50:50 +01:00
Matthias Mailänder
ca770e89c3 merged the bottom of the big rock 2014-01-16 20:50:50 +01:00
Matthias Mailänder
b9cdbaebbf merged the giant crater into one tile 2014-01-16 20:50:50 +01:00
Matthias Mailänder
211bcedb95 stich the black wreck together 2014-01-16 20:50:50 +01:00
Matthias Mailänder
c6c47ccfcd English please 2014-01-16 20:50:50 +01:00
Paul Chote
d2d29269d6 Add AttackMove to C&C helicopters.
The other mods don't allow aircraft to AutoTarget.
2014-01-16 19:02:39 +13:00
Paul Chote
99cb698424 Generalise AttackMove to support anything with IMove and AutoTarget.
Also removes the unnecessary JustMove parameter.
2014-01-16 18:47:29 +13:00
Chris Forbes
f053379458 Merge pull request #4453 from Mailaender/sniper-contrails
Added contrail effects to sniper shots
2014-01-13 11:21:29 -08:00
Matthias Mailänder
3a57c18154 added contrail effects to sniper shots 2014-01-11 18:13:09 +01:00
Matthias Mailänder
51ef37fc02 Merge pull request #4428 from dan9550/nod03b
Added nod03b
2014-01-11 01:16:56 -08:00