Ryan Liptak
74be39dc65
Merge pull request #34 from fortressforever/fixes/timer-bug-compensation
...
Fix various HUD timers getting added with time + 1
2015-03-29 23:12:53 -07:00
squeek
30d9db6d6d
Fix backwards compatibility issue with base_shutdown
...
- 'hurt' got removed, which some maps use
2015-03-28 17:51:04 -07:00
squeek
3dbf931bbe
Fix various HUD timers getting added with time + 1
2015-03-27 11:14:21 -07:00
squeek
fef39bebc7
Finish Collection implementation
...
* Depends on https://github.com/fortressforever/fortressforever/pull/134
2015-03-26 20:01:33 -07:00
squeek
3a63082b07
Add some misc table util functions
2015-03-26 20:01:33 -07:00
squeek
e8c59ff5ec
Allow GlobalEntityList to be iterated by pairs and ipairs
...
* See 6309529590
Example usage:
for ent_id, ent in pairs(GlobalEntityList) do
print(ent_id, ent)
end
Note: The order of iteration is always arbitrary
2015-03-26 20:01:32 -07:00
squeek
171376e24c
Start of Lua-based collection implementation
...
* Will eventually replace the entire Collection userdata with full backwards compatibility
* See fortressforever/fortressforever#91
2015-03-26 20:00:16 -07:00
Ryan Liptak
4dac32dcf9
Merge pull request #29 from fortressforever/fix-class_info
...
Don't crash if class_info() is called on non-luabind objects
2015-03-26 19:14:39 -07:00
Mike Parker
de3e235cfb
Add trail to flags
2015-03-27 02:07:49 +00:00
squeek
e5e5e1735b
Don't crash if class_info() is called on non-luabind objects
...
* See 2c6c9054e3
2015-03-24 12:36:03 -07:00
squeek
bae25ad3b1
Add standard Lua Class implementation
2015-03-23 04:10:08 -07:00
squeek
18e497f053
Use SECURITY_LENGTH instead of SECURITY_LENGTH+1
2015-03-21 21:39:39 -07:00
alaswell
ee2e31bece
adds a timer on the HUD that reflects how long security is down for
2015-03-16 12:31:24 -06:00
Ryan Liptak
0e52fbc505
Merge pull request #13 from fortressforever/features/avd-defenders-objective
...
Fixed defender's objective tracking flag carrier AvD
2015-03-09 00:58:04 -07:00
alaswell
dd72eaa6fb
May as well add this functionality to here too:
...
Added DEFENDERS_OBJECTIVE_ONCAP, _ONFLAG, AND _ONCARRIER globals to allow for different objectives on D
Added UpdateDefendersObjective() function
- makes it easier to change objective and removes some redundancy
2014-12-26 20:33:12 -07:00
alaswell
0ed27a40b0
Removed unnecessary/redundant info I added (thanks squeek :D)
2014-12-26 20:07:49 -07:00
alaswell
6c5357fd3e
Added DEFENDERS_OBJECTIVE_ONCAP global to allow for easy removal of D objective (completely) if needed
...
Added UpdateDefendersObjective() function
- makes it easier to change objective and removes some redundancy
- also fixes some old issues with _onflag and _oncarrier code
#58
2014-12-26 20:00:47 -07:00
alaswell
47d91154c7
Removed unnecessary/redundant info I added (thanks squeek :D)
2014-12-26 18:53:12 -07:00
alaswell
120176fca3
Added back DEFENDERS_OBJECTIVE_ONFLAG and
...
DEFENDERS_OBJECTIVE_ONCARRIER plus code
Changed DEFENDERS_OBJECTIVE_ONFLAG and
DEFENDERS_OBJECTIVE_ONCARRIER to false
Modified/Added if statements to keep old code and still see only
the cap and to include the UpdateTeamObjectiveIcon() for D so
that it only gets called when necessary
2014-12-23 01:40:22 -07:00
alaswell
5b669b3f9d
Added DEFENDERS_OBJECTIVE_ENTITY to base_ad.lua
...
- defenders objective should point to cap always to avoid
tracing the flag carrier (see issue #58 )
2014-12-22 02:48:19 -07:00
alaswell
114e18a93f
Removed DEFENDERS_OBJECTIVE_ONFLAG and DEFENDERS_OBJECTIVE_ONCARRIER
...
and all associated updates/calls from base_id.lua
- defenders objective should point to cap always to avoid
tracing the flag carrier (see issue #58 )
2014-12-22 01:17:22 -07:00
squeek
3c7a7e7426
base_shutdown: Fix security clips not being defined and add support for toggling multiple clips with the same name
2014-12-01 17:39:07 -08:00
squeek
d5adad6174
Convert ff_schtop.lua to take advantage of the new base_shutdown.lua
2014-12-01 16:59:21 -08:00
squeek
1f5fbe6bba
Improve base_shutdown.lua
...
* Add built-in support for trigger-based buttons (blue_security_trigger/red_security_trigger)
* Add built-in support for Lua-defined security shutdown length (SECURITY_LENGTH)
* Add built-in support for turning on/off lights, brushes, trigger_ff_clips, and trigger_hurts
* Add some helpful team-oriented trigger definitions in base_teamplay.lua
2014-11-30 23:37:55 -08:00
squeek
6c818f5cec
Increase flag touch bounds a bit
...
* Set to 100% width and 65% height, up from 75% width and 50% height
2014-11-30 18:30:05 -08:00
Ryan Liptak
277bdf3fe4
Test CRLF line-endings commit from SVN checkout of Github repo
2014-11-29 22:17:28 -08:00
squeek
74f5a18d3b
Fix redundant includes in base_shutdown.lua
2014-11-13 20:59:31 -08:00
squeek
b677cec1af
Initial commit
2014-11-11 18:32:26 -08:00