Commit graph

29 commits

Author SHA1 Message Date
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
e1902e6f36 better custom startup() than simply overwriting;
see http://forums.fortress-forever.com/showthread.php?t=23070
2015-01-20 19:12:31 -07:00
alaswell
66fab40a5c moved DEFENDERS_OBJECTIVE_ONCAP/_ONCARRIER/_ONFLAG out of startup() 2015-01-18 22:39:53 -07:00
alaswell
ddf7b29a58 Convert ff_ksour.lua to take advantage of the new base_id.lua 2015-01-10 17:12:59 -07:00
alaswell
9dcff94c02 Revert/Convert ff_palermo.lua to take advantage of the old base_id.lua 2015-01-10 17:07:57 -07:00
alaswell
d4eccc6d50 Convert ff_napoli.lua to take advantage of the new base_id.lua 2015-01-10 17:03:45 -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
8bf25793c4 Review: Avoid the ternary operator and remove redundant safety when saving base security_* functions 2014-12-01 18:37:55 -08: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
076b54ebf4 💄 2014-12-01 17:05:40 -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
4dc3ed5f9f Convert ff_openfire.lua to take advantage of the new base_shutdown.lua 2014-12-01 16:49:42 -08:00
squeek
e7b100c21d Convert ff_destroy.lua to take advantage of the new base_shutdown.lua 2014-12-01 16:46:22 -08:00
squeek
1cb481bc06 Convert ff_aardvark.lua to take advantage of the new base_shutdown.lua 2014-12-01 16:40:26 -08:00
squeek
1c9e2a0efd Convert ff_shutdown2.lua to take advantage of the new base_shutdown.lua 2014-11-30 23:38:56 -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
509a80e0ca Test commit 2014-11-11 20:19:35 -08:00
squeek
b677cec1af Initial commit 2014-11-11 18:32:26 -08:00