Commit graph

19 commits

Author SHA1 Message Date
alaswell
d4eccc6d50 Convert ff_napoli.lua to take advantage of the new base_id.lua 2015-01-10 17:03:45 -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
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