Commit Graph

100 Commits

Author SHA1 Message Date
Mista-Tea
41c8981b0e Added Turkish localizations
Big thanks to Matt (STEAM_0:1:241718138) for these translations!
2023-10-15 17:45:29 -06:00
Mista-Tea
024d7e5015 Updated Localify library 2023-07-30 15:26:20 -06:00
Mista-Tea
827bfb24de
Fixed x86-64 error due to language.Add changes
The Chromium branch has changed language.Add to require non-nil arguments for the 2nd parameter. I can't find related documentation in the change logs to explain why, since the main branch currently lets nil arguments go in and silently be ignored without error.
2023-07-30 15:08:54 -06:00
Mista-Tea
360e7706e5 Added German localizations
Thank you to Luca (STEAM_0:0:76286068) for providing these!
Closes #41
2021-04-30 14:02:52 -06:00
Mista-Tea
41f4cfd49a Better wording for May 10th's changelog 2020-06-18 11:57:32 -06:00
Mista-Tea
183c1d5245 Updated changelog 2020-06-18 11:56:22 -06:00
Mista-Tea
693fa6fbcc Fixed #38 - Optimize render hooks that involve traces
According to DBugR, switching the eye trace with the stacker tool check reduces the hook runtime from ~5 m/s to ~1.3 m/s. We don't need to perform eye traces when the player doesn't even have the tool selected.

I've also switched the same logic inside of the PreDrawHalos hook, though the performance difference seems to be neglible or nonexistent, but better safe than sorry.
2020-06-18 11:47:53 -06:00
Mista-Tea
67c9f0bb1a Typo in current date
I have the big dumb
2020-05-10 13:11:49 -06:00
Mista-Tea
b097b4b8c5 Fixed jiggly clientside ghost props
Sometime within the last year, ents.CrateClientProp was updated to include physics and other properties. It was making the ghost stack entities bounce around and jiggle, which made it hard to precisely stack props. Using ClientsideModel restores the previous correct behavior.
2020-05-10 13:07:48 -06:00
Mista-Tea
8e2db4af58 Made tool name in spawnmenu use the translated name
Old behavior: tool always showed up as "Stacker - Improved"

New behavior: tool uses the translated tool name corresponding to the user's selected gmod_language/localify_language setting
2019-07-23 18:11:25 -06:00
Mista-Tea
9715772e09
Merge pull request #37 from Mista-Tea/chinese-translation
Closes #36 - Added Simplified Chinese support
2019-07-23 18:07:45 -06:00
Mista-Tea
7fa0942a36 Added Simplified Chinese support
Thanks 8Z!
2019-07-23 18:05:53 -06:00
Mista-Tea
f93d7d7cac
Russian localization (#35)
* Russian localization (#31)
* Updated changelog
2019-07-21 04:22:49 -06:00
Mista-Tea
670128ebf8
Merge pull request #34 from Mista-Tea/Fix-#33-infinite-callback-loop
Fixed #33 infinite callback loop
2019-07-21 04:08:34 -06:00
Mista-Tea
3e08163449
Fixed #33 infinite callback loop 2019-07-21 03:49:45 -06:00
Mista-Tea
5fba9d3152
Merge pull request #30 from dvdvideo1234/patch-2
Fixed #27 Removed unused reference to non-existent 'notify' parameter in TOOL:SendError()
2019-06-27 13:17:23 -06:00
Deyan Dobromirov
786ad55bed
Fixed: Issue #27 2019-06-27 16:08:34 +03:00
Mista-Tea
0374c6edc7
Merge pull request #28 from aStonedPenguin/patch-1
Fixed mismatched French localization
2019-03-10 19:35:11 -06:00
aStonedPenguin
c82df677a2
We are not french fries 2019-03-10 17:29:57 -08:00
Mista-Tea
926f537351
Merge pull request #26 from SaronTetra/master
Added Polish language support
2018-10-27 13:22:53 -06:00
Maciej S
719cfa394d Added Polish language support 2018-10-12 15:07:59 +02:00
Mista-Tea
392ff9201e Adding French language support 2018-04-14 13:54:46 -06:00
Mista-Tea
bbebf0e63a Updating changelog/README 2017-10-27 15:10:06 -06:00
Mista-Tea
35887233a0 Reverting nocollide functionality back to original implementation
Due to the way I had implemented ApplyNoCollide, a large number of
constraints were being created that didn't really need to be. The change
reduces the number of nocollide constraints created from a geometric
series (almost) to just N-1.

Additionally, if clients have both weld and nocollide selected, only a
single weld constraint is created because I'm now utilizing the
nocollide parameter of the weld constraint.

The reason any of this matters is that there is a limit to the number of
constraints that can be out on the server at any given moment. Once it's
hit, any further constraints will break until existings ones are removed
to free up more constraint slots. So, this change reduces the number of
constraints created and helps slow down how quickly the limit is
reached.
2017-10-27 15:08:01 -06:00
Mista-Tea
4176d75245 Removing unnecessary functions on ghost stack 2017-10-27 15:00:25 -06:00
Mista-Tea
73caa3ed6a Updating changelog in README 2017-09-26 16:58:45 -06:00
Mista-Tea
1049886b41 Updating changelog 2017-09-26 16:46:03 -06:00
Mista-Tea
436f7296bc Adding ability to toggle use of SHIFT key with LMB/RMB 2017-09-26 16:40:16 -06:00
Mista-Tea
a1edc4a7ae Fixing README format 2017-08-22 16:49:14 -06:00
Mista-Tea
4157598224 Tool has been out of beta for quite a while, woops 2017-02-28 19:06:03 -07:00
Mista-Tea
d4f68f7689 Updating changelog 2016-09-02 14:39:36 -05:00
Mista-Tea
2b77ad231c Standardizing spacing in the language template 2016-09-02 14:37:10 -05:00
Deyan Dobromirov
2ac9e91f32 Adding Bulgarian language support (#21)
* Adding Bulgarian language support (start)
* Adding more translations
* Translated all the phrases into Bulgarian
* Fixing language binding and formatting
2016-09-02 14:33:18 -05:00
Mista-Tea
7e62704ae4 Updating readme and 2016-08-31 19:53:30 -05:00
Mista-Tea
bebcf31410 Merge branch 'master' into v2 2016-08-31 18:33:31 -05:00
Mista-Tea
c559d85c50 Fixing a longstanding issue with rotations that didn't treat the new rotations relative to the user's selected direction.
For example, with the new behavior a positive pitch will ALWAYS mean an UPWARD angle RELATIVE to the new direction. Basically, instead of rotation based on the prop's fixed directions, we rotate on the new angle depending on the user's selection. E.g., selecting "Behind" means we want to stack as if the prop's true "Behind" (i.e. -ent:Forward()) is actually it's "Front". Stacking "Up" means the prop's "Up" angle becomes it's new "Front" angle, etc.
2016-08-31 17:42:44 -05:00
Mista-Tea
c05b40fe24 Fixing raw rotation label (negative -> left, positive -> right) 2016-08-31 17:27:42 -05:00
Mista-Tea
47a7843f05 Merge pull request #20 from Mista-Tea/Mista-Tea-patch-1
Changing convar comments into help text
2016-08-31 12:40:51 -06:00
Mista-Tea
8363dc7797 Change convar comments into help text 2016-08-31 12:39:37 -06:00
Deyan Dobromirov
de1159ff4f Update console varriable tweaks description (#19)
Adding convar help descriptions (rather than leaving as comments)
2016-08-30 14:43:37 -06:00
Mista-Tea
255a82265e Changing the toolname so you can install it along existing Improved Stacker versions 2016-08-07 22:42:51 -06:00
Mista-Tea
8ad4d749a3 Fixing formatting, removing Japanese localization (was for testing purposes) 2016-08-07 22:09:45 -06:00
Mista-Tea
6404f75148 Adding StackerMaxPerPlayer, renaming StackerMaxPerStack, renaming cvar variables
StackerMaxPerStack has been added to allow servers to control the
maximum number of props a player can stack (independent from the
improved_stacker_max_per_stack cvar). This allows you to write your own
logic for stack sizes (e.g., you can make it team based or job based).

hook.Add( "StackerMaxPerStack", "Test", function( ply, count,
isRightClick )
-- returning a number here will determine the maximum amount of props a
player can used per stack

-- for example, to allow players in the Admin usergroup to spawn to an
infinite amount, return -1
if ( ply:IsAdmin() ) then return -1 end
end )

StackerMaxPerPlayer has been added to allow servers to control the
maximum number of Stacker entities a player can have spawned out at any
given time (independent from the improved_stacker_max_per_player cvar).
This allows you to write your own logic.

hook.Add( "StackerMaxPerPlayer", "Test", function( ply, numSpawned )
-- returning a number here will determine the total number of Stacker
entities a player can have spawned out at any given time

-- for example, this will allow players in the Admin usergroup to spawn
an infinite amount of Stacker entities, while making everyone else use
the server's improved_stacker_max_per_player setting
return ply:IsAdmin() and -1 or nil
end )
2016-08-07 19:25:43 -06:00
Mista-Tea
0a7bc15835 Initial commit for v2 beta 2016-08-07 17:58:01 -06:00
Mista Tea
2d51c6ce0a Preparing for the upcoming update (cvar changes)
Preemptively adding FCVAR_ARCHIVE for future backward-compatibility with
the upcoming update. Archive the server settings so that when we switch
over to the new stacker_improved cvars, they will properly carry over.
2016-04-27 22:28:26 -06:00
Mista Tea
af0cff715b Fixing saving stacked entities with duplicator
Resolves the following issue when trying to save stacked entities with
the Duplicator tool:

[ERROR]
gamemodes/sandbox/entities/weapons/gmod_tool/stools/duplicator/icon.lua:182:
attempt to perform arithmetic on field 'r' (a nil value)
1. v -
gamemodes/sandbox/entities/weapons/gmod_tool/stools/duplicator/icon.lua:182
2. unknown - lua/includes/modules/hook.lua:84
2015-10-26 01:34:52 -06:00
Mista-Tea
d4f7458768 Merge pull request #15 from Mista-Tea/dev
Undoing name change
2015-07-26 15:17:01 -06:00
Mista-Tea
be77849b55 Undoing name change
Without realizing it, the name change would cause all stacker_* related cvars to be named improvedstacker_*. This probably wouldn't be a very pleasant change for users that have modified the default stacker_* cvars, since all of sudden they would lose their settings.

This commit undoes the file renamed + translation string changes.
2015-07-26 15:16:37 -06:00
Mista-Tea
f7f6e7fbe5 Merge pull request #14 from Mista-Tea/dev
Renaming string translation to improvedstacker
2015-07-26 14:38:22 -06:00
Mista-Tea
05eb18a2d8 Renaming string translation to improvedstacker 2015-07-26 14:26:14 -06:00