Zimmermann Gyula
cf8fff2b99
Remove passing the warheads from DamageWarhead to AttackInfo.
...
Added a Damage class to pass damage value and damage(types) instead.
This removes a great amount of overhead and longterm opens possibilities to have damagetypes without warheads.
2016-07-12 10:09:49 +02:00
Oliver Brakmann
20d55a1d93
Add Lua integration for PlayerExperience
2016-07-10 15:30:17 +02:00
abcdefg30
61fd9d2959
Add AmmoPoolProperties to lua
2016-06-21 23:20:02 +02:00
abcdefg30
4461379963
Make the Attack lua method available for non-mobile actors
2016-06-21 22:49:29 +02:00
abcdefg30
19482863fd
Expose Land and Resupply functions for aircraft to lua
2016-06-21 22:49:28 +02:00
Paul Chote
8ce4ab0bd1
Port map difficulty to new options backend.
2016-06-19 22:15:26 +01:00
Paul Chote
1d1b97cb6a
Add ScriptLobbyDropdown trait and lua API.
2016-06-19 22:15:26 +01:00
Matthias Mailänder
1a2851bdaf
Merge pull request #11316 from obrakmann/mp-allies02
...
Add Scott's Allies02 multiplayer mission as "Evacuation"
2016-05-30 19:49:07 +02:00
RoosterDragon
773eb25917
Merge pull request #10630 from reaperrr/UAN-custom-pos
...
Make UpgradeActorsNear vertical range customizable
2016-05-28 13:37:09 +01:00
reaperrr
b0e90989a6
Add plumbing for customizable vertical ProximityTrigger range
...
And check DistanceAboveTerrain instead of just vertical distance to upgrade
source.
This is necessary to avoid situations where an actor is technically on the right
vertical distance above/below ground, but not upgraded because it is located on a lower/higher terrain level than the upgrade source.
2016-05-26 22:47:45 +02:00
Matthias Mailänder
3e011a74af
Rename C4Demolition to Demolition.
2016-05-26 19:27:40 +02:00
Oliver Brakmann
ebba7fdaf1
Add methods to retrieve player stats to Lua API
2016-05-19 23:08:01 +02:00
Oliver Brakmann
09d1dacd95
Add a Lua API method to randomize a collection
2016-05-19 23:08:01 +02:00
Oliver Brakmann
735975057d
Add another way to call air strikes/paradrops to the Lua API
2016-05-19 23:08:01 +02:00
Oliver Brakmann
d743c23482
Add missing Requires to MissionObjectiveProperties
2016-05-19 23:08:01 +02:00
Matthias Mailänder
6a9b8e81f4
Don't expose palettes and sprites to Lua.
2016-05-01 12:29:39 +02:00
Matthias Mailänder
59fbfbc851
Don't enforce beacons to be player palettes.
2016-05-01 12:29:38 +02:00
Matthias Mailänder
9f4cdb9843
Unhardcode player beacons for documentation and lint testing.
2016-05-01 12:27:02 +02:00
reaperrr
828dc61b67
Use already cached mobile in MobileProperties.Scatter
2016-04-24 20:12:51 +02:00
Matthias Mailänder
f37f1f1e0c
Add Player.GetActors to the Lua API.
2016-04-10 19:52:41 +02:00
abcdefg30
b02a9a188d
Add a Utils.Where function to lua for filtering collections
2016-04-08 11:00:19 +02:00
abcdefg30
1c6253c3fb
Add a lua method for querying all actors that are currently InWorld
2016-04-07 22:53:13 +02:00
abcdefg30
95f091853e
Merge pull request #10975 from Phrohdoh/trait-taggable
...
Add ScriptTags trait
2016-03-31 01:09:29 +02:00
Oliver Brakmann
4c8b13ef27
Merge pull request #10917 from abcdefg30/luaClosedCell
...
Add a ClosestEdgeCell and a ClosestMatchingEdgeCell function to lua
2016-03-31 01:04:01 +02:00
abcdefg30
cec2821f13
Add a ClosestEdgeCell and a ClosestMatchingEdgeCell function to lua
2016-03-30 16:05:10 +02:00
abcdefg30
d907296f4e
Make the SpawnMapActors field in MapGlobal.cs readonly
2016-03-30 16:05:10 +02:00
Taryn Hill
c6265527b2
Expose passenger enter/exit notifications to Lua
2016-03-29 07:00:01 -05:00
Taryn Hill
6582d0f480
Add ScriptTags trait
...
This allows actors to be tagged with arbitrary strings.
Also includes ScriptTagsInit and MapGlobal.ActorsWithTag
which expose this functionality to map scripters.
2016-03-28 16:15:44 -05:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Paul Chote
d573e21a48
Traits open files via the Map.
2016-02-18 18:12:33 +00:00
Paul Chote
73b3f20921
Remove fragile alliances feature.
2016-01-30 20:47:50 +00:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
Paul Chote
83477ec19e
Move VqaReader to Mods.Common.
2016-01-07 21:07:42 +00:00
RoosterDragon
0c5463208d
Store triggers in ScriptTriggers in an array.
...
We can use the enum to index the array directly, in order to give faster lookups compared to a dictionary.
2015-12-29 14:27:54 +00:00
RoosterDragon
6ab6d774a7
Ensure LuaValues are disposed.
...
Adding in these missing calls prevents these instances from having to be finalized.
2015-12-23 17:22:51 +00:00
Oliver Brakmann
02fa63c1b4
Merge pull request #9853 from penev92/unglobalFileSystem
...
Unglobal file system
2015-12-14 20:52:30 +01:00
Pavel Penev
1b88d24cfa
Unstatic GlobalFileSystem and rename it to FileSystem
...
Add a ModFiles field on ModData and move all access to the file system to go through that.
2015-12-14 03:42:22 +02:00
RoosterDragon
c0286bb147
Remove ActorMap.ActorsInWorld.
...
Prefer the more direct and efficient query on World.Actors instead.
2015-12-12 20:42:44 +00:00
atlimit8
0fc04b7a4a
Make Mobile upgradable
2015-12-04 19:22:23 -06:00
Paul Chote
6304d72f44
Add enter behaviour customisation to C4Demolition.
2015-11-25 21:16:15 +00:00
Matthias Mailänder
79bf69cd4c
Merge pull request #9978 from RoosterDragon/cache-script-actor-luavalue
...
Cache self.ToLuaValue in ScriptTriggers
2015-11-22 18:06:41 +01:00
Pavel Penev
4c7e6db4da
Merge pull request #9599 from ChaoticMind/lua_debug
...
Add a Lua wrapper to display debug messages (shows if setting enabled)
2015-11-14 20:00:38 +02:00
RoosterDragon
e6e98d3aa2
Cache self.ToLuaValue in ScriptTriggers.
...
When making an Lua function call, any LuaCustomClrObject must be introspected via reflection in order to determine what to expose in Lua code. In OpenRA, we use these for any types that implement IScriptBindable, such as Actor.
Previously, we would need to pay the cost of this reflection for every individual Lua call an Actor used in its ScriptTriggers trait where it passed `self` as a parameter. This would be repeated every time. For performance, we now cache self.ToLuaValue in the trait and use that for all calls so we only pay the reflection cost once on trait construction. This removes a significant overhead in the Lua bridging code.
2015-11-12 22:18:19 +00:00
Paul Chote
dbd23c9d46
Merge pull request #9919 from obrakmann/fix9863
...
Fix bogus owner check in Lua API production code
2015-11-11 22:23:44 +00:00
Oliver Brakmann
b30bae08c0
Fix bogus owner check in Lua API production code
2015-11-09 19:31:19 +01:00
Matthias Mailänder
0e13472651
Merge pull request #9924 from cjshmyr/lua-islocalplayer
...
Added 3 Lua player API properties
2015-11-08 08:52:17 +01:00
Curtis Shmyr
2a6c87f81d
Added 3 Lua player API properties
2015-11-07 12:17:09 -07:00
Oliver Brakmann
177d983728
Merge pull request #9759 from atlimit8/ActorsHavingTrait
...
Add ActorsHavingTrait<TTrait>()
2015-11-04 22:26:10 +01:00
atlimit8
b6f17df260
Add ActorsHavingTrait<TTrait>([Func<TTrait, bool])
2015-10-28 16:36:45 -05:00