61 Commits

Author SHA1 Message Date
Resxt
a4a714da47 chat_commands 1.0.4
Only create variables for the port currently in-use
For example: there's no need to create level.chat_commands["4977"] if the currently used port is 4976. This simply adds a bunch of variables and child variables for no reason, this was a flawed implementation that create an array per port on every server. Now it will only create an array for its own port as expected

Removed 3074 from the default ports
This port is not actively used by net_port, this was just a misunderstanding on my part
2023-06-15 13:34:04 +02:00
Resxt
135a45f20b chat_command_give 1.0.0 2023-06-13 12:53:44 +02:00
Resxt
45af4a60b0 chat_command_info 1.0.0 2023-06-13 12:22:35 +02:00
Resxt
6a7a518c73 chat_commands 1.0.3
Added 3074 to default ports

Added WeaponDoesNotExistError error

Added IsValidWeapon utils function
2023-06-12 21:13:03 +02:00
Resxt
9cc0903ef4
Update README.md
Added instructions to make zombies++ and the ZM mapvote work together
Zombies++ overrides end game stuff so it conflicted with the ZM mapvote making it no work properly
2023-06-02 12:33:42 +02:00
Resxt
fb577ddcdd
Update README.md 2023-04-03 16:20:58 +02:00
Resxt
af2a1bf2d9
Update README.md 2023-03-31 02:29:06 +02:00
Resxt
acb66df149 chat_command_rounds 1.0.0 2023-03-25 22:33:31 +01:00
Resxt
0e9181f188 chat_commands 1.0.2
Added default 1s wait time to TellPlayer in case no wait time is passed

Added TellAllPlayers util function

Added InvalidRoundError error
2023-03-25 22:32:58 +01:00
Resxt
fdb479d6df chat_command_kick 1.0.0 2023-03-24 23:31:24 +01:00
Resxt
f029c48373 chat_command_invisible 1.0.0 2023-03-24 20:29:48 +01:00
Resxt
56a1d9e961 chat_command_freeze 1.0.0 2023-03-24 17:35:12 +01:00
Resxt
58eece3441 chat_command_suicide 1.0.0 2023-03-24 14:55:51 +01:00
Resxt
359aa389df chat_command_text_help 1.0.0 2023-03-24 14:47:23 +01:00
Resxt
d11f443a81
Update README.md 2023-03-24 01:22:01 +01:00
Resxt
3b2ca9405a chat_commands 1.0.1
Added IsMultiplayerMode utils function
2023-03-24 01:20:43 +01:00
Resxt
d8ab165e2d chat_command_unfair_aimbot 1.0.0 2023-03-24 01:13:08 +01:00
Resxt
31702d9b73 chat_command_dvars 1.0.0 2023-03-23 22:02:23 +01:00
Resxt
bde7055118 chat_command_permissions 1.0.0 2023-03-23 18:17:51 +01:00
Resxt
9d1fc4c63e
chat_command_god_mode 1.0.1
Refactor
2023-03-22 02:55:28 +01:00
Resxt
6d3a7b41ed chat_command_god_mode 1.0.0 2023-03-22 02:53:46 +01:00
Resxt
ceab91035f
Update README.md 2023-03-21 17:25:41 +01:00
Resxt
cab303f26a chat_command_teleport 1.0.0 2023-03-21 03:30:46 +01:00
Resxt
053d060536
Update README.md 2023-03-21 03:10:09 +01:00
Resxt
74db6e37c5 chat_command_points 1.0.0 2023-03-21 03:05:02 +01:00
Resxt
140b815000 chat_command_unlimited_ammo 1.0.0 2023-03-21 02:54:28 +01:00
Resxt
4103a82fb2 chat_commands 1.0.0
This is a port of my MW3 chat_commands script (version 1.3.2)
ba1322b933

The array declarations such as array = ["value"] were changed to use the array function

The tell function (player chat) was changed IPrintLnBold. More explanation in the README

Support for clantags was added. Clantags were changing the player's name which would then make the script fail to find the player when typing his name. This has been tested and fixed. More explanation in the README

Errors and util functions related to camo were removed. The way camo works seems to be really different than MW3 so work is required to implement these again
2023-03-21 02:50:45 +01:00
Resxt
4501736b79 Remove everything about compiled files
Just a refactor that doesn't affect any script or add anything new.
Plutonium T6 now supports loading source scripts so compiling them isn't needed anymore
https://plutonium.pw/docs/changelog/#r3408

[Refactor]
Removed all compiled scripts
Moved all source scripts to the main folder instead of a source folder
Renamed all source scripts to remove the source tag at the end

Removed notions of compiled and source scripts in the repository's README
2023-02-27 14:05:04 +01:00
Resxt
011b7fa786 Update README.md 2023-01-27 22:33:54 +01:00
Resxt
7a2c32a228 mapvote 2.1.1
Code refactor
Doesn't add or change anything
2023-01-26 03:06:23 +01:00
Resxt
9e76a0c712
Update README.md 2023-01-21 03:57:21 +01:00
Resxt
70b5caf159 mapvote 2.1.0
Made it possible to have a default randomized map and mode from a user defined list when the human players count is between two values defined by the user

Added dvar mapvote_default_rotation_maps
Added dvar mapvote_default_rotation_modes (MP only)
Added dvar mapvote_default_rotation_min_players
Added dvar mapvote_default_rotation_max_players
2023-01-21 03:53:50 +01:00
Resxt
f087a83c6b
Update README.md 2023-01-08 23:31:09 +01:00
Resxt
4e7e2f0cdc get_player_guid 1.0.0 2023-01-08 23:31:29 +01:00
Resxt
0ffa6410a6 mapvote 2.0.1
Handling of disconnecting players added
Now whenever a player disconnects his votes will be removed (both in the vote logic and in the HUD)
2022-12-01 19:04:34 +01:00
Resxt
170ffd8a0f
Update README.md 2022-10-27 15:33:20 +02:00
Resxt
7dbb32be42
Update README.md 2022-10-27 15:19:23 +02:00
Resxt
ff3e41c419 mapvote 2.0.0
Added support for zombies mode.
Using the mapvote_maps dvar players can set a display name, the map name and the cfg name

Added mapvote_limits_maps dvar
Added mapvote_limits_modes dvar
Added mapvote_limits_max dvar
Users can now define maps and/or modes limits to have a precise amount of maps and/or modes on screen even if the available amount is above the max limit. The max limit is now 12 but can be lowered using a dvar

Changed right click listener wait time from 0.35s to 0.25s for a better user experience

Hide the map or mode when there's only one in the mapvote.
It will still rotate to it but it's hidden so that the menu looks cleaner. The menu is centered accordingly

Fixed the menu centering calculation, it's now really centered

Removed the need to write map names in a certain way to work, users can now write map names the way they want
2022-10-27 15:17:27 +02:00
Resxt
6e44160fc1
Update README.md 2022-10-25 16:36:22 +02:00
Resxt
ff74d9561c mapvote 1.1.0
Added mapvote_sounds_menu_enabled dvar.
You can now enable or disable the sounds playing in the menu when selecting an item, moving up or down and canceling a choice

Added mapvote_sounds_timer_enabled dvar.
You can now choose if the timer will start beeping when there's only 5s left or not

Added mapvote_display_wait_time dvar.
Changed the wait time before displaying the menu from 3s to a configurable dvar

Replace most level.mapvote variables with GetDvar instead to avoid setting too much variables when we can simply retrieve the dvar value (try to avoid hitting the variable limit that the game has)

Replace start notify and end function listener with a direct with direct function calls for better compatibility for future updates
2022-10-25 16:30:07 +02:00
Resxt
0b0b4620f1
Update README.md 2022-10-23 11:20:31 +02:00
Resxt
1b72a22a63 mapvote 1.0.4
Fix missing include error in zombies
2022-10-22 15:55:38 +02:00
Resxt
d2c3a04101
Update README.md 2022-10-22 15:35:08 +02:00
Resxt
afd6c6b0f0
Update README.md
Change image clicks to redirect to original size image instead of Github file
2022-10-21 23:34:56 +02:00
Resxt
75855f76bc
Update README.md 2022-10-21 23:27:25 +02:00
Resxt
88d984fc82
Update README.md 2022-10-21 23:24:33 +02:00
Resxt
0ed53a1b8c mapvote 1.0.3
Changed modes mode name and cfg name separator from semi-colon (;) to comma (,) since the semi-colon seems to not be parsed properly when set through a cfg file

Added more debugging prints:
- Most voted map votes and index
- Most voted map votes and index
- Final map name, mode name and mode cfg just before rotation, all separated in multiple prints to detect any empty/wrong string

Removed old comments
2022-10-21 22:53:44 +02:00
Resxt
2dc19c0040
Update README.md
Fix configuration

The example CFG didn't have set "mapvote_enable" 1
Also there were unexpected commas between dvar name and values
2022-10-21 21:52:51 +02:00
Resxt
98d005b57e mapvote 1.0.2
Changed all notifies with the mapvote prefix to avoid conflicts with other scripts

Fixed some typos in the code comments

Removed self notifyonplayercommand("unselect", "+frag"); as it should have been removed in 1.0.1
2022-10-21 21:18:39 +02:00
Resxt
72211fc2a2 mapvote 1.0.1
Fixed undo key for controllers.
Controllers are now fully supported

Removed the frag/+frag button for the undo option as it wasn't working for controllers

Moved the use/+activate key from the select option (by default F on PC and Square on Playstation controllers) to the undo option instead.

Updated the README to add controller support information and screenshot
2022-10-21 18:41:52 +02:00