Commit Graph

196 Commits

Author SHA1 Message Date
rtldg
09917f91d9 fix adminmenu 2.0 2022-06-07 16:53:01 +00:00
rtldg
6fc6ca86bc remove unused/broken beamer code 2022-05-27 01:57:47 +00:00
rtldg
4bfa75a32c replace many instances of NULL_VECTOR because sourcemod is fucking stupid 2022-05-26 09:19:39 +00:00
rtldg
d8a9dd7d7b add sm_beamer 2022-05-26 08:44:37 +00:00
rtldg
ef3ca621c4 add more contributors & copyright attributions. mostly done via git blame but also it's also likely i missed some people. 2022-05-25 11:43:57 +00:00
rtldg
96ef03e458 make slay zones *actually* force suicide. only slay if timer != stopped 2022-05-22 07:46:13 +00:00
rtldg
acf47a11b1 add Zone_Speedmod for oblivious 2022-05-10 01:51:00 +00:00
rtldg
ab73e36a15 czones: use same settings for all bonuses & let more types be editable 2022-05-09 23:55:00 +00:00
Shahrazad
6d208a8595
merge CP menus & shavit-kz.sp, etc. (#1137)
* fix normal CP menu spams on changing the style from non-kz to kz styles

* fix normal CP menu spams on changing from non-kz to kz styles, again

* merge OpenKZCPMenu() into OpenNormalCPMenu() and rename it to OpenCPMenu()

* fix handle error on server restart in KZCP styles

* 1. Added "kzcheckpoints_ontele" and "kzcheckpoints_ontele" style settings(merged in `shavit-kz.sp`).
2. Added "force"(ignore style access) parameter for "Shavit_LoadSnapshot()" and "Shavit_LoadCheckpointCache()".
3. Made "segments" as a style setting instead of special strings.
   (use "segments" as specialstrings is still feasible)

note: maybe better to change TAS's default ranking multiplier to "0.0" since segmented style is also "0.0".

* 😵‍💫

* updated shavit-checkpoints.sp

* updated style-settings.sp
2022-04-11 13:58:18 +00:00
GAMMACASE
8f07c1d510
Fix targetname and classname locking (#1135)
* Move resettargetname cvars to shavit-zones

* Prevent Touch function to proceed when it should be skipped
2022-03-24 14:20:35 +00:00
GAMMACASE
0fee1862c8
Change the behaviour of shavit_misc_resettargetname (#1123)
* Redo shavit_misc_resettargetname

Also changes the way event abuses are fixed

* Obsolete shavit_misc_resettargetname/classname cvars

Also few minor optimisations to the code

* Revert the deletion of shavit_misc_resettargetname/classname

* Move targetname/classname resets to OnStartPre() forward

* Rename shavit_misc_resettargetname cvar

* Move event reset code to shavit-zones

Also replaces PhysicsCheckForEntityUntouch() function call with PhysicsRemoveTouchedList()

* don't hook teleport on bots & some random code-style changes

* remove added whitespace

Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2022-03-18 02:17:19 +00:00
rtldg
840490cc54 this should let you change shavit_zones_box_offset without reloading the plugin 2022-02-21 18:39:28 +00:00
rtldg
fc4aac0c47 remove forgotten params & add !czone & maintain menu pos 2022-02-12 20:57:28 +00:00
NukoOoOoOoO
9c634868cb
sm_czones implementation (#1119)
* Initial czones implementation

* ok men

* read cookie

* :pepega:

* Update shavit-zones.sp

* UltraThin lets goooo

* Translation, ZoneDisplay_None

* format a little bit

* more readable

* Fix typo and i did this on phone

* getting translation properly, thank you haze <3

* make GetZoneName check for >=ZONETYPES_SIZE

* i dont know why this was in common.txt, maybe parallel universe is real

* some random things

* combine custom-zone cookies

Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2022-02-12 20:49:20 +00:00
rtldg
a6ade753fe add startinair style setting 2022-02-10 22:02:52 +00:00
rtldg
9c4f626076 fix Shavit_GetZoneID :^) 2022-01-04 15:41:43 +00:00
rtldg
baa824e872 add Shavit_GetZoneTrack, Shavit_GetZoneType, and Shavit_GetZoneID 2022-01-04 14:25:51 +00:00
rtldg
0c91c19ba6 trim whitespace & add licenses 2022-01-01 10:15:28 +00:00
rtldg
ae0145430a remove some sourcemod 1.11 warnings 2022-01-01 10:15:18 +00:00
BoomShotKapow
3348e54316 SourceMod 1.11 dev changes & Query -> Query2 2022-01-01 10:12:53 +00:00
BoomShotKapow
b17979aad0 Minor fix to KillAllZones 2022-01-01 07:18:07 +00:00
rtldg
870c62a8c9 don't tele on style-change while dead & fix !r while dead not respawning 2022-01-01 05:02:09 +00:00
rtldg
0a99f06ff4 mess around with the timer starting & restarting code 2021-12-30 09:24:12 +00:00
rtldg
1509e77728 hopefully stop timer commands menu from being wiped on plugins reload 2021-12-29 08:55:20 +00:00
rtldg
c68d50a4d0 show 'Refresh menu' on every zone menu page 2021-12-27 11:03:12 +00:00
rtldg
39c9d96924 don't do zone offset stuff on mins/maxs if the offset is bigger than the zone's x/y half-distance
xc_fox_shrine_japan_v1 will crash if i make a 16unit zone at the top (maybe elsewhere too?) so that's why this was added.
2021-12-21 00:33:45 +00:00
rtldg
6952bab715 add some unused zone things until i get around to messing with it more 2021-12-21 00:33:45 +00:00
rtldg
04eea994d8 allow any number of kz buttons 2021-12-07 05:37:49 +00:00
rtldg
86b23b33a2 fix some kz button restarting things & add track param to Shavit_MarkKZMap() & Shavit_IsKZMap() 2021-12-05 01:52:04 +00:00
rtldg
f02ac94bbf let you press climb_endbuttons without being on the ground 2021-12-05 00:52:48 +00:00
rtldg
2067dc7c38 change zones.cfg parsing to jump to keys instead of hoping they're in order 2021-11-29 04:34:23 +00:00
rtldg
c55531168d add Zone_NoTimerGravity and Zone_Gravity 2021-11-28 21:56:05 +00:00
rtldg
3c5958eb93 add some hacky menu stuff so the zone returns after hitting exit on the zone-edit menu 2021-11-27 20:19:38 +00:00
rtldg
b78a6ec4ec draw start & end zone when !r or !end 2021-11-22 05:41:28 +00:00
rtldg
9534fd5881 make !sp take priority over !addspawn 2021-11-12 19:36:07 +00:00
rtldg
ba05d685c4 Revert "remove !addspawn & !delspawn since we have !sp now"
This reverts commit 4b4773f8a5.
2021-11-12 19:24:30 +00:00
rtldg
4b4773f8a5 remove !addspawn & !delspawn since we have !sp now 2021-11-12 16:45:56 +00:00
rtldg
bd596bec75 add sm_addzone & sm_delzone aliases 2021-11-08 15:58:46 +00:00
rtldg
30574923e5 add untested climb_zone_ parsing 2021-11-06 13:52:04 +00:00
rtldg
d9a0714622 hijack angles on setstart restart 2021-11-02 19:32:07 +00:00
rtldg
9cb2298764 add !tptozone 2021-11-02 18:51:47 +00:00
rtldg
a68b21e9bd add !drawallzones/!drawszones & shavit_zones_allowdrawallzones 2021-11-02 18:21:14 +00:00
rtldg
c2ea042a6c remove unnecessary increment 2021-11-02 16:54:14 +00:00
rtldg
b9c6c47db4 swap #include <shavit> with <shavit/core> 2021-10-28 21:18:53 +00:00
rtldg
e52759791d prevent reload from refreshing zones twice 2021-10-21 09:52:50 +00:00
rtldg
966ceea5f8 finish splitting shavit.inc 2021-10-18 07:22:50 +00:00
rtldg
7493c7d548 remove unused #pragma dynamic 2021-10-17 05:09:20 +00:00
rtldg
b88367d079 allow setstart outside of start-zone and add shavit_zones_extra_spawn_height 2021-10-16 15:24:36 +00:00
rtldg
7ca863f04b move sql table creation and migrations 2021-10-10 05:14:37 +00:00
rtldg
828240849c Revert "change admin menu permissions used"
This reverts commit e4081a5622.
2021-10-04 04:13:34 +00:00