shavit
6059b19cb2
Removed some core cvars where style settings exist.
...
shavit_core_autobhop
shavit_core_blockleftright
shavit_core_nostaminareset
Use the appropriate style settings for them instead.
2018-03-10 18:23:18 +02:00
shavit
a01bbefe39
Reset targetname upon restarting with practice mode.
...
Might not be the ideal solution, hope it is though.
2018-03-10 18:19:05 +02:00
shavit
bf46c7aac0
Updated EmptyVector to support NULL_VECTOR.
2018-03-10 18:18:45 +02:00
shavit
8ec7f0004a
Disallowed MOVETYPE_WALK to prevent issues with teleports.
2018-02-16 20:03:46 +02:00
shavit
ee7dd0972f
Changed collision group of for bots to COLLISION_GROUP_DEBRIS_TRIGGER.
2018-02-16 20:03:25 +02:00
shavit
c9f2e06cc4
Shorten map name length.
2018-02-16 20:02:46 +02:00
shavit
8b3caf405a
Removed trigger hooking from replay bots.
...
Replay bots will hit triggers/doors. This is necessary to fix an issue that recently got reported on Discord.
This will be problematic only in specific maps such as bhop_addict_v2 or kz_bhop_yonkoma, where music plays when the player has finished the map.
2018-02-16 20:02:34 +02:00
shavit
2ac410926a
Added the ability to save CPs from the replay bot. ( #525 )
...
This isn't perfect due to limitations, but it motsly works well!
* Surf-HSW styles won't save their WASD settings.
* Stamina will not be valid for scroll styles.
* Strafes/sync won't be saved from the bot.
2018-02-06 11:14:49 +02:00
shavit
34a4f9e4bb
Fixed CP saving while not spectating a valid player. ( #525 )
2018-02-06 11:12:20 +02:00
shavit
5d3034664e
Added setting 4 to shavit_misc_prespeed.
...
It allows you to stop prespeeding after a certain amount of velocity (shavit_misc_prestrafelimit), rather than only limit prestrafing.
2018-02-06 10:42:31 +02:00
shavit
5e3277062f
Fixed replay abortion after playback is done. ( #592 )
2018-02-06 10:29:45 +02:00
shavit
36686e37b0
Fixed restart not removing pause status. ( #590 )
2018-02-04 15:38:38 +02:00
shavit
7cd9fbef9b
Fixed states not applying correctly on style/track changes. ( #588 )
2018-02-04 10:26:10 +02:00
shavit
bb2571cd08
Add TF2 spawn point generation.
2018-02-04 10:25:27 +02:00
shavit
26fc6e0b38
Tweaked movetype/flag adjustments on bots.
2018-02-02 10:59:56 +02:00
shavit
d99548abd7
Fix wrong entities being removed.
2018-02-02 10:27:40 +02:00
shavit
8f51d4c964
Added mouse[2] to OnUserCmdPre.
2018-01-31 05:48:59 +02:00
shavit
1d34b310d1
Fixed top-left HUD flickering.
...
Text might look uglier in CS:GO, but this works.
2018-01-28 20:57:55 +02:00
shavit
cb7bbce676
Changed block_pstrafe's behavior.
...
* Changed default (1) to block button inconsistencies.
* Made the duration of inconsistencies less annoying.
* Changed the first option to 2, which stops the timer on inconsistencies.
2018-01-28 20:57:22 +02:00
shavit
14a23b210a
Changed default HUD updates to 5 ticks per.
...
Previous default was 20 ticks per update.
2018-01-28 20:54:45 +02:00
shavit
52b9c1e81f
Allowed pausing in practice mode.
...
It was disabled before due to the mess with time calculation. Shouldn't be problematic now.
2018-01-28 20:54:15 +02:00
shavit
5ba897e274
Fixed 'shavit_hud_ticksperupdate'.
2018-01-26 19:50:16 +02:00
shavit
9a49977e10
Fixed a few leftover issues from the frametime change.
...
* Fixed time not being loaded via snapshots.
* Fixed practice mode not being set to false upon restart.
2018-01-26 08:05:53 +02:00
shavit
53456ffe38
Implemented GetGameFrameTime usage. ( #440 )
...
* Made pausing better.
* Added `Shavit_OnTimeIncrement` and `Shavit_OnTimeIncrementPost`. Use this for proper timescaling/save state usage.
2018-01-26 05:58:53 +02:00
shavit
dda1afa0e7
Fix RTL chat messages being colored randomly.
2018-01-26 05:57:09 +02:00
shavit
a4bcaa6fcf
Show time in CS:S while paused.
2018-01-26 05:56:57 +02:00
shavit
d7f9ed3186
Remove custom IsNullVector function.
2018-01-26 05:56:24 +02:00
shavit
1eda6a2616
just pretend that the previous commit never existed
2018-01-25 01:45:15 +02:00
shavit
132d3d80e2
Hacky fix for autorespawn.
...
L 01/24/2018 - 08:49:06: Info (map "bhop_forest") (file "errors_20180124.log")
L 01/24/2018 - 08:49:06: [SM] Exception reported: Invalid data pack handle 11503 (error 4)
L 01/24/2018 - 08:49:06: [SM] Blaming: shavit-misc.smx
L 01/24/2018 - 08:49:06: [SM] Call stack trace:
L 01/24/2018 - 08:49:06: [SM] [0] DataPack.Reset
L 01/24/2018 - 08:49:06: [SM] [1] Line 2059, E:\git\bhoptimer\addons\sourcemod\scripting\shavit-misc.sp::Respawn
2018-01-25 01:18:13 +02:00
shavit
3a0f133da2
Tweaked points calculation format with a stored function. ( #586 )
...
Big thanks to Deathknife~
* There's no bonus points for a bigger amount of records, due to necessary optimizations.
* Added `GetRecordPoints`.
* `sm_recalcall` should run *very* quickly now.
2018-01-23 05:29:25 +02:00
shavit
ee8b85621c
Changed playertimes' structure for the billionth time..
...
See: 74d468c639...40f21523f4
Also, changed `style` and `track` to TINYINT.
2018-01-23 05:22:32 +02:00
shavit
adda10c3d4
Fixed replay HUD not showing track properly.
2018-01-22 19:05:50 +02:00
shavit
917fe7e683
Fixed style changes not restarting with built in zones. ( #582 )
2018-01-22 18:58:17 +02:00
shavit
009c849a6c
Fixed !b and !bend for built in zones. ( #582 )
2018-01-22 18:53:32 +02:00
shavit
757e9de8c6
Fixed zone offset being wrong for point 1 ( #585 )
2018-01-22 18:33:47 +02:00
shavit
271f2ea9ed
Introduced 'shavit_hud_ticksperupdate'
...
- Dropped timers for updates in order to allow better precision.
2018-01-18 19:58:06 +02:00
shavit
9b5e4ad85d
Some CS:GO HUD tweaks ( #584 )
...
* Removed some clutter from center HUD.
* Added display for non-default tracks.
* Removed pause text, but changed the time's color when paused.
* Very minor optimization.
* Changed the HUD update speed to avoid skips.
* Adjusted spacing of the zone HUD to look better in CS:GO.
I think these changes look fine, I hope everyone enjoys them.
2018-01-18 19:19:51 +02:00
shavit
e6d09e9bc2
Added scroll pad to CS:GO HUD
2018-01-18 18:57:12 +02:00
shavit
6690947e5f
Added track letter ("{tr}") to scoreboard tag. ( #584 )
2018-01-18 18:24:47 +02:00
shavitush
72bb86eeef
Merge remote-tracking branch 'origin/master'
2018-01-17 13:03:13 +02:00
shavit
314406c203
Record entity flags and movetypes in replays. ( #579 )
2018-01-16 12:04:44 +02:00
shavit
56d37bb871
Added 'infinite checkpoints' ( #575 )
...
* Soft cap is 1000 to avoid going above the set heap size.
Also fixes:
* Adds entity flags to checkpoint data.
* Only sets your movetype to the one in the checkpoint data if it's either the walk or ladder types, so you can save while noclipping but teleport normally.
2018-01-16 11:47:34 +02:00
shavit
1fcb7993fe
Added oldtime parameter to Shavit_OnFinish
2018-01-16 10:15:41 +02:00
strafe
7e79b02167
Styling ✨
2018-01-13 13:36:07 +00:00
strafe
623360a02a
Account for track when respawning on restart ( #554 )
2018-01-13 10:58:22 +00:00
shavit
03074283ab
Changed arg-less !spec to automatically forward to replay bot. ( #574 )
2018-01-13 09:54:25 +02:00
shavit
59b5664439
Added Shavit_GetReplayBotType and ReplayStatus enum. ( #574 )
2018-01-13 09:48:23 +02:00
shavit
13b243f1d7
Adjusted the grid visualisation's alpha.
2018-01-13 09:35:41 +02:00
shavit
a61cfadfd2
Fixed an issue with WR menu record count.
...
The menu would show the amount of records for the current map rather than grab it from the map itself.
2018-01-13 09:35:21 +02:00
shavit
27e0dad8ad
Conut >> Count
2018-01-13 09:34:33 +02:00