Commit Graph

237 Commits

Author SHA1 Message Date
rtldg
f54775044c didn't save a file for the func_rot_button commit...
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.11) (push) Has been cancelled
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-02-19 00:25:11 +00:00
rtldg
04ad339fe8 Add handling for func_rot_button zones 2025-02-16 02:07:12 +00:00
rumour
2bbb3865f8 make !beamer more reliable and stuck in walls less (if at all!)
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.11) (push) Has been cancelled
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-01-20 00:32:15 +00:00
rtldg
57e3dce711 experiment with calling EntityCollisionRulesChanged on solid zone p2 2025-01-04 02:16:18 +00:00
rtldg
3175172241 experiment with calling EntityCollisionRulesChanged on solid zones 2024-12-14 17:20:33 +00:00
Awe
7c80025574 Add new zone types to hookzone menu 2024-10-30 16:49:00 -04:00
rtldg
f96a57412b rename FillBoxMinMax to BoxPointsToMinsMaxs 2024-10-02 02:41:36 +00:00
rtldg
bac325cd07
Add comments next to the magic editaxis string 2024-08-20 18:12:31 +00:00
Awesomerly
c9cfbefa27
Add no-jump and autobhop zones. (#1216)
* Make no jump zone appear in menu

* Preliminary implementation of nojump zone

* Add scaffolding for autobhop zone

* Add implementation of autobhop zone

* Add new zone types to shavit-zones-json

* some touchups for the autobhop & nojump zones

---------

Co-authored-by: rtldg <rtldg@protonmail.com>
2024-08-20 17:53:24 +00:00
rtldg
da78976c56 add shavit_zones_enable_stage_restart & make !stagerestart send you to startzone if your timer is stopped 2024-08-09 17:27:06 +00:00
Awe
4465e53d3b Make stage restart command take player to beginning in end zone 2024-07-30 12:43:06 -04:00
Awesomerly
2805cd94c6
Add teleport to stage start command (#1207)
* Add teleport command

* Slight cleanups for sm_teleport

* Make stage restart only work if map is surf

* Change /teleport to be /stagerestart, etc

* Make sm_teleport behave like sm_tele

* Unregister /sr command because it's already taken

* Update shavit-zones.sp

---------

Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2024-04-27 19:55:42 +00:00
rtldg
16a927cd91 drop support for sourcemod 1.10 2024-04-23 20:53:18 +00:00
rtldg
309aa7a189 get the shavit_misc_prespeed 1&&>=3 working again with the on-ground timer 2023-06-21 01:41:07 +00:00
rtldg
9210b84d50 fix some native definition & optional things 2023-03-06 23:38:04 +00:00
rtldg
7bd954880a RecalcHighestStage typo caught by Haze 2023-02-23 20:15:00 +00:00
rtldg
b468f9d67a fix stale zone cache entries being checked, preventing start/end zone placement sometimes 2023-01-04 20:49:56 +00:00
rtldg
e0c59404c3
supress warning about missing explicit return value 2022-11-25 21:30:49 +00:00
rtldg
2bcd20fac7 make ZF_Origin store floats with decimals instead of as hexadecimal
(this makes it more readable in json dumps of zones)
2022-11-15 21:33:36 +00:00
rtldg
12d7e5590d zones typo galore 2022-11-14 20:42:59 +00:00
rtldg
9cf9d7ff27 shavit-zones-http -> shavit-zones-json & some shit 2022-11-14 19:47:08 +00:00
jedso
f7ff341131
make shavit_zones_box_offset a bool (which also affects height offset) & correct TF2 bounding box values (#1179)
* Add correct gCV_BoxOffset default value for TF2 bounding box

* Include correct height for TF2 bounding box in SetZoneMinsMaxs

* make shavit_zones_box_offset a bool & use height

* use division-by-2 instead of shift

Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2022-11-13 04:26:30 +00:00
rtldg
5ccd0efd04 make the autostage thing start at 1. starting at 2 was dumb 2022-09-24 04:59:47 +00:00
rtldg
ea8f14fa07 use smaller zone widths for the epic zone edit axis stuff 2022-09-24 04:57:22 +00:00
rtldg
1c82605db5 draw zone edit axis sides thing 2022-07-22 22:42:40 +00:00
rtldg
bf25061444 de-page zone adjust menu 2022-07-20 15:32:54 +00:00
rtldg
1e7459a6c4 have the customzones cookie be long & no high bit shenanigans 2022-07-20 13:41:47 +00:00
rtldg
684ade8dd9 fix typo for czones 2022-07-18 01:03:30 +00:00
rtldg
4ac0b4da5d make the InsertZones cache.iDatabaseID setting more robust! 2022-07-11 13:20:11 +00:00
rtldg
5c14dfcc60 add ZF_Origin & fix a lot of broken button stuff 2022-07-05 04:45:20 +00:00
rtldg
27ec578c7d don't draw zones around hooked buttons 2022-07-05 01:56:23 +00:00
rtldg
0f7360f374 fix loop exiting early and error on invalid entity 2022-07-05 01:37:58 +00:00
rtldg
fb42a370fe update zone cache database id on zone creation 2022-07-05 00:51:15 +00:00
rtldg
8900e4b6ff open a menu for !deletesetstart 2022-07-04 21:19:27 +00:00
rtldg
72ae96e0c8 fix creating a zone and not being able to delete it without reloading the map 2022-07-04 21:03:58 +00:00
rtldg
bdfa61e3f9 fix !addspawn after zones wip pr 2022-06-29 19:23:40 +00:00
rtldg
4486528880 preliminary postgresql support 2022-06-23 09:10:22 +00:00
rtldg
d922cebf97 add auto stage thing #1147 2022-06-13 07:03:16 +00:00
rtldg
0f44dd1710 add shavit_core_log_sql & remove Database2/Transaction2 methmodmaps 2022-06-13 06:28:46 +00:00
rtldg
7c251ef81d add Back to admin commands to go back to admin menu 2022-06-13 05:42:40 +00:00
rtldg
e3aac2d24e
zones wip (#1143)
* backup a lot of this zone_cache_t stuff since i'm going to do something else first

* AAAAAAAAAAAAAA

* add the sTarget checking

* this pr will get squashed so this message doesn't matter

* wip Shavit_RemoveZone

* wip ZF_Solid and TODO notes

* move hook thing

* do some zone insert stuff that doesn't reload *every* zone

* condense some zone editing global variables

* add some spaces to some ifs

* remove gV_MapZones

* remove random loop

* big change

* remove ClearZone()

* .

* ..

* add speed to zone beam settings

* add bhop_n0bs1_css stripper cfg for shit zone

* ...

* remove draw timer to OnConfigsExecuted because interval cvar

* change string for mapfixes print

* wew

* rename iSource to iForm and add sSource

* add Shavit_ReloadZones() and rename some source things

* add shavit-zones-http.sp

* add a getarray

* adjust the http api format slightly

* remove Shavit_GetStageZone() & fix zone inserts

* api update

* convar edits

* increase buf size

* wrong buf...

* normalize points inside Shavit_AddZone

* rename ZonesNotLocal to ZonesNotSQL

* small cleanup

* add the zone hooking menu stuff

* make the confirm menu Exit button STOP DRAWING!!!

* only try to draw trigger_multiples

* asdf

* typo

* improvements

* add distance to menu

* use PassesTriggerFilters like rngfix

* finish some docs

* make dist be meters

* more hooking tele things

* remove all this migration stuff

* add entity under crosshair

* shorten stage translation message
2022-06-12 14:43:16 +00:00
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