Commit Graph
100 Commits
Author SHA1 Message Date
Resxt 7766d9ecb9 chat_commands 1.1.6
[Dev]
Added default strings the dev can pass to automatically generate an help message for the commands with one or two player(s) as arg
2023-02-06 03:36:59 +01:00
Resxt 8ee3ca5bc7 chat_commands 1.1.5
All commands that require a player name to be passed now work both with a player name or with "me" to target yourself

[Dev]
All commands that use FindPlayerByName will now work with "me" passed as the player out of the box since FindPlayerByName now returns self if the name param is "me"

[Refactor]
Fix undefined errors when calling a status command for the first time on a player
2023-02-06 03:22:40 +01:00
Resxt b1ec92bd0c chat_commands 1.1.4
Added norecoil command to grant or remove access to no recoil to a player (toggle)

[DEV]
Introduced the status system to make implementing toggle commands easier.
It allows the dev to get and set a status on a player per command and display messages both for the person running the command and for the player affected when the player status changes (for example no recoil ON/OFF).
Note that the status is always OFF by default since we always grant something to a player
2023-02-06 03:05:21 +01:00
ResxtandGitHub 8d347b0cb2 mapvote 1.1.2
Stupid mistake that was throwing an error
2023-02-01 16:21:01 +01:00
Resxt 631e1c13e1 Update README.md 2023-01-27 22:27:00 +01:00
Resxt 73846c8cc9 chat_commands 1.1.3
Added teleport command to teleport a player or yourself to another player or yourself
!teleport me Eldor
!teleport Eldor me
!teleport Eldor Rektinator

[Refactor]
Replaced array[array.size] = value with AddElementToArray(array, value)
2023-01-27 21:58:12 +01:00
Resxt 3d3a9c84bb mapvote 1.1.1
Code refactor
Doesn't add or change anything
2023-01-26 02:59:26 +01:00
Resxt ecf68810d2 mapvote 1.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
Added dvar mapvote_default_rotation_min_players
Added dvar mapvote_default_rotation_max_players
2023-01-21 15:47:56 +01:00
Resxt caeacbf3d4 chat_commands 1.1.2
Added changeteam command to swap a player to the other team
!changeteam Resxt
2023-01-19 22:07:25 +01:00
ResxtandGitHub 9a875b2669 Update README.md 2022-12-24 18:54:16 +01:00
Resxt 12fbe10be8 mapvote 1.0.2
Added the possibility to have no maps at all in the mapvote_maps dvar.
This is useful for when you want to organise your maps dvar and you don't want any MW3 map for example
2022-12-23 11:22:52 +01:00
Resxt 809c62399f gun_game 1.0.2
Fixed silencer floating on top of the player when holding a pistol that shouldn't have a silencer equipped
2022-12-21 17:05:42 +01:00
Resxt 2eaaeac6ff mapvote 1.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:07:05 +01:00
ResxtandGitHub 1bf59c0f8e Update README.md 2022-11-30 11:59:50 +01:00
ResxtandGitHub 91c99f3315 Update README.md 2022-11-30 11:57:38 +01:00
ResxtandGitHub d1d6d1f418 Update README.md 2022-11-28 16:15:24 +01:00
Resxt 9749069510 Create mapvote 2022-11-28 13:12:25 +01:00
ResxtandGitHub a265fd9920 Update README.md 2022-10-19 23:21:33 +02:00
Resxt 7c17ee1bd3 Update README.md 2022-10-18 22:11:18 +02:00
ResxtandGitHub 061a6bf516 chat_commands 1.1.1
Fix missing port for example
2022-10-15 15:57:03 +02:00
ResxtandGitHub 3701bae295 Update README.md 2022-10-15 15:55:03 +02:00
Resxt d00dfbe893 Update README.md 2022-10-15 15:46:51 +02:00
Resxt 0cd38e9785 chat_commands 1.1.1
Added help command to display the help message for a particular command.
An optional commandHelp argument has been added to the CreateCommand function.
A help command with no arguments can still be created. The script will understand the context and display the right info

Made examples in InitCommands() clearer by separating them and adding comments

Added comments to separate each command section: commands, help and other commands
2022-10-15 15:42:45 +02:00
Resxt fc70f3e6f3 Update README.md 2022-10-15 14:37:02 +02:00
Resxt e235b76ebe chat_commands 1.1
Allow configuration of the commands prefix

Added a function to easily create commands

Added the ability to pass an array of server ports instead of just one port per command

Added the ability to add a command to all servers using level.commands_servers_ports

Fixed the warning when running a function command by explicitly defining whether a command is of type text or function

Fixed commands not working when using the say command through the console instead of the chat. Now both works
2022-10-15 14:31:59 +02:00
Resxt 1e25f5ec14 Update anti_hardscope.gsc 2022-10-01 13:15:08 +02:00
Resxt 21b928d2e4 Update anti_hardscope.gsc 2022-10-01 13:14:11 +02:00
Resxt 9026f76738 anti_hardscope indentation fix 2022-09-30 22:10:55 +02:00
Resxt 83d8f634dc anti_hardscope indentation fix 2022-09-30 22:10:30 +02:00
Resxt 46c54c4fac anti_hardscope indentation fix 2022-09-30 22:09:45 +02:00
Resxt b4a9e136e6 Update anti_hardscope.gsc 2022-09-30 22:00:35 +02:00
Resxt 6b9bc23449 Added anti_hardscope 2022-09-30 21:58:59 +02:00
Resxt 7997a0446e Update chat_commands.gsc 2022-09-22 17:13:23 +02:00
Resxt 7c5b5b9fe8 Update README 2022-09-22 17:11:43 +02:00
Resxt 6d8f87c45d Create chat_commands 2022-09-22 17:08:11 +02:00
Resxt c019b4ca84 Create one_in_the_chamber 2022-09-19 09:55:02 +02:00
Resxt c920a76681 Create manage_bots_fill 2022-09-18 17:42:20 +02:00
Resxt 0fea8f023d Better cover on README 2022-09-16 18:50:14 +02:00
Resxt d3356eb04e Add a cover on the README 2022-09-16 18:47:26 +02:00
Resxt 9e8778669f Merge branch 'main' of https://github.com/Resxt/Plutonium-IW5-Scripts 2022-09-16 18:44:30 +02:00
Resxt 5075dd92f1 gun_game 1.0.1 2022-09-16 18:44:23 +02:00
ResxtandGitHub d4d84cd077 Update README.md 2022-09-16 18:43:34 +02:00
Resxt f5f621b370 Create gun_game
First working and releasable version of the gun game mode.

It can still be worked on to add support for dvars instead of configuring level scope variables, also support other game modes among other possible improvements
2022-09-16 18:40:51 +02:00
Resxt b110613f79 Create remove_heavy_weapon_slow 2022-09-16 13:11:43 +02:00
Resxt 61f14dab32 all_or_nothings bots fix
Fixed the infinite loop when using giveLoadout on a bot preventing us from giving a throwing knife and the scavenger specialist bonus on bots
2022-09-08 09:01:37 +02:00
Resxt 4356563fd9 Update gamemodes README
- Add throwing knife missing for bots issue to all_or_nothing.gsc
2022-09-03 09:36:14 +02:00
Resxt be7a11dfb0 fix all_or_nothing.gsc
- Fixed killstreaks not working properly for classes with support or assault killstreaks
- Fixed throwing knife not given when using a class with a lethal that's not a throwing knife
- Added optional time limit parameter to SetGameLimits()
- Added bot dvars
2022-09-03 09:33:23 +02:00
Resxt 5492a8a5bb Added all_or_nothing.gsc 2022-09-03 00:49:39 +02:00
Resxt 4be042e009 Added replace_with_snipers 2022-05-27 10:36:16 +02:00
ResxtandGitHub e76bc74443 hardcore_tweaks 1.0.1 2022-04-23 21:12:54 +02:00
Resxt 1ee779097a Create disable_damages 2022-04-11 13:42:17 +02:00
Resxt e44219ea35 Create disable_nuke_killstreak 2022-04-11 13:37:46 +02:00
ResxtandGitHub 98d0616729 Update README.md 2022-03-30 00:29:38 +02:00
ResxtandGitHub 6a0f14af4d Update README.md 2022-03-30 00:28:53 +02:00
Resxt 8a6ef33443 kill_players_under_map 1.0 2022-03-30 00:28:07 +02:00
Resxt fb95f413dd give_perks_on_spawn 1.0 2022-03-29 19:58:19 +02:00
Resxt 793d769d19 sniper_attachment_switch_on_button_press 1.0 2022-03-29 19:50:30 +02:00
ResxtandGitHub 3cb4e7e27c Update README.md 2022-03-29 18:43:36 +02:00
Resxt 3df02a9858 Merge branch 'main' of https://github.com/Resxt/Plutonium-IW5-Scripts 2022-03-29 18:42:36 +02:00
Resxt 095f33da54 show_text_on_first_spawn 1.0.1
Indent fix
2022-03-29 18:42:28 +02:00
ResxtandGitHub bb1a86b076 Update README.md 2022-03-29 18:39:35 +02:00
Resxt 1f5d5f9031 show_text_on_first_spawn 1.0 2022-03-29 18:39:16 +02:00
Resxt 7fc8282c23 automatic_weapons_rewards 1.0.2
Undefined warnings fix
2022-03-28 12:32:13 +02:00
Resxt f3bd3f3f8c launchers_weapons_rewards 1.0.4
Undefined warning fix
2022-03-28 12:30:46 +02:00
Resxt d0366bbdd7 get_player_guid 1.0 2022-03-25 22:43:49 +01:00
ResxtandGitHub 90352f90af Update README.md 2022-03-22 16:17:14 +01:00
Resxt ee004894e2 hardcore_tweaks 1.0 2022-03-22 16:16:48 +01:00
Resxt 4204298b3e camera_switch_vote_on_button_press 1.0.1
Changed "you voted" to player.name voted (fix)

Changed enough votes message (fix)
2022-03-21 16:58:09 +01:00
Resxt 280b03c021 replace_rsass_with_intervention 1.1
Fix bypassing restriction when changing class at the beginning of the match (thanks Kalitos)
2022-03-18 23:04:31 +01:00
Resxt 627ce1adb6 Added kill_stuck_bots 2022-03-16 19:48:00 +01:00
ResxtandGitHub 62a2c67088 Update README.md 2022-03-16 19:00:50 +01:00
ResxtandGitHub bcde6c28e9 Update README.md 2022-03-16 19:00:39 +01:00
Resxt dbb53a7008 Added disable_explosive_damage
Moved disable_explosive_damage to small scripts (deleted disable_explosive_damage folder)

Updated small_scripts README to respect files ordering

Refactor

Fix for useless warnings in console
2022-03-16 18:59:26 +01:00
Resxt 5f6d5b95fe actions_on_button_press 1.2.4 2022-03-12 02:30:13 +01:00
Resxt ad94ba47a5 display_players_stats 1.2.2
Keep things centered the best I can
2022-03-12 02:21:48 +01:00
Resxt 8625fc4820 display_players_stats 1.2.1 2022-03-12 01:30:36 +01:00
Resxt e6d7970cc4 display_player_stats 1.2
Fixed when a bot joined the match players joining after wouldn't see the stats on their screen

Potential fix for overflow (potentially comes from expensive function setText)
2022-03-12 01:27:19 +01:00
Resxt 7a9b271e1f display_player_stats 1.1
Fix threading on bots
Fix stats only changing when player did a kill
Refactor
Add image
2022-03-10 14:31:54 +01:00
Resxt bd4bdc06f4 automatic_weapons_rewards 1.0.1
Fix not being able to use killstreaks
2022-03-10 13:03:54 +01:00
Resxt 876062ac79 automatic_weapons_rewards 1.0 2022-03-10 01:16:57 +01:00
Resxt 3c53ebc7ed launchers_weapons_rewards 1.0.3
Add score and time limit configuration
2022-03-10 00:59:14 +01:00
Resxt 4b8814c744 launchers_weapons_rewards 1.0.2 2022-03-09 23:52:11 +01:00
Resxt 679b1a0c01 small_scripts 1.1 2022-03-09 23:36:34 +01:00
Resxt d9cc0ae2ce Added small_scripts 2022-03-09 23:26:11 +01:00
Resxt 899431bed2 launchers_weapons_rewards 1.0.1
- Add WeaponIsValid to only start the reward loop if the spawn weapon is a launcher
- Update README
2022-03-09 11:40:22 +01:00
Resxt 6110607465 actions_on_button_press 1.2.3 2022-03-09 01:39:14 +01:00
Resxt 07811b094f Added custom_killstreaks_rewards 2022-03-09 01:36:14 +01:00
Resxt f147c77153 README 1.0.1 2022-03-02 01:04:50 +01:00
Resxt 9bfe903f6e actions_on_button_press 1.2.1 2022-03-02 01:03:59 +01:00
Resxt 45b5cfc69a actions_on_button_press 1.2
Changed votes required. Now requires more than 50% of the players: 1/1 | 2/2 | 3/4 | 3/5 | 4/6 etc. instead of all players
2022-02-27 20:26:19 +01:00
ResxtandGitHub d05d242a44 actions_on_button_press 1.1.1 2022-02-27 00:09:33 +01:00
Resxt f5c649124e actions_on_button_press 1.1
- Splitted the old script into 2 different scripts
- Fixed camera_thirdPerson changing for all players when a player presses the button by turning it into a vote instead
2022-02-27 00:08:01 +01:00
Resxt db886926ad actions_on_button_press 1.0.3 2022-02-25 23:00:59 +01:00
ResxtandGitHub 110b35d66f replace_weapon_on_spawn 1.0.2 2022-02-25 22:55:28 +01:00
ResxtandGitHub fd31a6f1ab actions_on_button_press 1.0.2 2022-02-25 22:52:52 +01:00
ResxtandGitHub 9cc07ff9a9 actions_on_button_press 1.0.1 2022-02-25 22:51:40 +01:00
Resxt 2b84548292 Added actions_on_button_press 2022-02-25 22:50:37 +01:00
Resxt 17c0a362d7 replace_weapon_on_spawn 1.0.1 2022-02-21 19:39:10 +01:00
Resxt 1d8dbaf732 Added replace_weapon_on_spawn 2022-02-21 19:35:49 +01:00
Resxt bd0b0072b8 disable_nuke_effects 1.1
- Update README
- Remove unnecessary script
2022-02-18 23:15:01 +01:00