Squadcontrol: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 488: Line 488:
Additionally you can now see other players as birds as well as your Commander as an Helicopter.
Additionally you can now see other players as birds as well as your Commander as an Helicopter.


[[Category:Sourcemod_Plugin|Empfun]]
[[Category:Sourcemod_Plugin|Squadcontrol]]

Latest revision as of 02:34, 11 February 2022

Home > Sourcemod Plugins > Squadcontrol

Squadcontrol is a Sourcemod plugin by Mikleo, it adds various utilities for Empires.


Installation & Updating

Visit squadcontrol's gitlab repository and click the download button, extract the content of dist to your server's installation directory.
Squadcontrol uses Updater for automated update.

Client Chat Commands

This is the list of all the Client Chat Commands added by Squadcontrol, these commands can be used by anyone.

pos

pos is a chat command added by Squadcontrol, it lists each squad member and their respective position.

Syntax:

  • /pos @"squad"
    • "squad" is any letter.
  • /pos

Examples:

  • /pos @a will show you the position of each member of alpha squad.
  • /pos will show you the position of each member of your squad.

Alternatively you can use Squadcontrol's Main Menu.

squadinfo

squadinfo is a chat command added by Squadcontrol, it lists all of the squads, their points and their members. It is most commonly used by Commanders to know how many points each squad has.

Syntax:

  • /squadinfo

Alternatively you can use Squadcontrol's Main Menu.

skills

skills is a chat command added by Squadcontrol, it lists the skill(s) each member of a squad is using. As a squad leader it is essential to know as much as possible about your squad members, using this command you can ensure everyone is using what they should.

Syntax:

  • /skills @"squad"
    • "squad" is any letter.
  • /skills

Examples:

  • /skills @a will show you the skills of each member of alpha squad.
  • /skills will show you the skills of each member of your squad.

Alternatively you can use Squadcontrol's Main Menu.

sl

sl is a chat command added by Squadcontrol, it allows you to vote for a new Squad Leader.

Syntax:

  • /sl "player"
    • "player" can be partial or full name.
  • /sl

Examples:

  • /sl Oktay will vote for Oktay to become Squad Leader.
  • /sl will vote for yourself to become Squad Leader.

Alternatively you can use Squadcontrol's Main Menu.

rsl

rsl is a chat command added by Squadcontrol, it sends a message informing your Commander that you are requesting leadership of your squad.

Syntax:

  • /rsl

Alternatively you can use Squadcontrol's Request Menu and option n°1.

channel

channel is a Chat Command added by Squadcontrol, it allows spectators to join chat/voice channels. Once you have joined a channel you can use Squad Chat and Squad Voice to privately chat with other members of that channel.

Syntax:

  • /channel "letter"

Example:

  • /channel a

commander

commander is a chat command added by Squadcontrol, it allows you to see who is or who was the last person in the Command Vehicle.

Additionally as a spectator or at the end of the round you can use /commander nf/be to see Commanders.

speclisten

speclisten is a chat command added by Squadcontrol, it allows spectators to listen to both teams' voice communications.

restrictions

restrictions is a chat command added by Squadcontrol, it allows players to see restricted chassis and privilege levels.

Notes:

  • As long as you are the acting Commander you will ignore chassis restrictions. You can leave the Command Vehicle to build a vehicle as long as no one else enters the Command Vehicle.
  • Privilege levels and chassis restrictions are not reset when the acting Commander changes.
  • To change a player's privilege level use pl.
  • To change chassis restrictions use restrict.
  • To remove (reset to default) a chassis restriction use unrestrict.
  • To reset all privilege and restriction levels use rr.

Syntax:

  • /restrictions

Examples:

  • /restrictions will display all privilege levels and chassis restrictions.

commcommands

commcommands is a chat command added by Squadcontrol, it displays a menu showing all the chat commands a Commander should know.

Syntax:

  • /commcommands

give

give is a chat command added by Squadcontrol, it allows players to give their wages to other players.

Syntax:

  • /give "player" "amount"
    • "player" can be partial or full name.
    • "amount" is any number.

Examples:

  • /give Xiam will give Xiam 5 of your wages.

mapinfo

Commander Chat Commands

This is the list of all the Client Chat Commands added by Squadcontrol, these commands can only be used by Commanders.

bonuswages

bonuswages is a chat command added by Squadcontrol, it allows commanders to convert the team's resource into wages.

Syntax:

  • /bonuswages "player" "amount"
    • "player" can be partial or full name.
    • "amount" is any number.

Examples:

  • /bonuswages Xiam 5 will convert 5 of your team's resource into 5 wages for Xiam.

setspawn

rr

rr is a chat command added by Squadcontrol, it allows commanders to reset (default to 1) all privilege levels and chassis restrictions.

Notes:

  • As long as you are the acting Commander you will ignore chassis restrictions. You can leave the Command Vehicle to build a vehicle as long as no one else enters the Command Vehicle.
  • Privilege levels and chassis restrictions are not reset when the acting Commander changes.
  • To change a player's privilege level use pl.
  • To change chassis restrictions use restrict.
  • To remove (reset to default) a chassis restriction use unrestrict.
  • To reset all privilege and restriction levels use rr.

Syntax:

  • /rr

Examples:

  • /rr will reset (default to 1) privilege levels and chassis restrictions.

restrict

restrict is a chat command added by Squadcontrol, it allows commanders to restrict chassis to be use alongside pl.

Notes:

  • As long as you are the acting Commander you will ignore chassis restrictions. You can leave the Command Vehicle to build a vehicle as long as no one else enters the Command Vehicle.
  • Privilege levels and chassis restrictions are not reset when the acting Commander changes.
  • To change a player's privilege level use pl.
  • To change chassis restrictions use restrict.
  • To remove (reset to default) a chassis restriction use unrestrict.
  • To reset all privilege and restriction levels use rr.

Syntax:

  • /r "chassis" "privilege level"
  • /restrict "chassis" "privilege level"
    • "chassis" is the name of a chassis.
      • APC for the Armored Personnel Carrier.
      • LT for both the Brenodi Empire's AFV and the Northern Faction's Light Tank.
      • med for both the Brenodi Empire's Imperial Tank and the Northern Faction's Medium Tank.
      • arty for the Artillery.
      • heavy for both the Brenodi Empire's Imperial Heavy Tank and the Northern Faction's Heavy Tank.
      • All for all vehicles.
    • "privilege level" is any number.
      • By default everyone has a privilege level of 1.
      • By default all chassis have a privilege level of 1.

Examples:

  • /restrict Arty 5 will restrict Artillery to a privilege level of 5.
  • /restrict all 2 will restrict all chassis to a privilege level of 2.
  • /r all 1 will restrict all chassis to a privilege level of 1. It will effectively reset the restriction levels and allow everyone without a privilege level of 0 to build all vehicles.


unrestrict

unrestrict is a chat command added by Squadcontrol, it allows commanders reset a chassis restriction to its default level of 1.

Notes:

  • As long as you are the acting Commander you will ignore chassis restrictions. You can leave the Command Vehicle to build a vehicle as long as no one else enters the Command Vehicle.
  • Privilege levels and chassis restrictions are not reset when the acting Commander changes.
  • To change a player's privilege level use pl.
  • To change chassis restrictions use restrict.
  • To remove (reset to default) a chassis restriction use unrestrict.
  • To reset all privilege and restriction levels use rr.

Syntax:

  • /unrestrict "chassis"
    • "chassis" is the name of a chassis.
      • APC for the Armored Personnel Carrier.
      • LT for both the Brenodi Empire's AFV and the Northern Faction's Light Tank.
      • med for both the Brenodi Empire's Imperial Tank and the Northern Faction's Medium Tank.
      • arty for the Artillery.
      • heavy for both the Brenodi Empire's Imperial Heavy Tank and the Northern Faction's Heavy Tank.
      • All for all vehicles.

Examples:

  • /unrestrict Arty will reset Artillery to a privilege level of 1.
  • /unrestrict all will reset all chassis to a privilege level of 1.


pl

pl is a chat command added by Squadcontrol, it allows commanders to give players a privilege level to be used alongside restrict. pl can also be used to display a player's privilege level.

Notes:

  • As long as you are the acting Commander you will ignore chassis restrictions. You can leave the Command Vehicle to build a vehicle as long as no one else enters the Command Vehicle.
  • Privilege levels and chassis restrictions are not reset when the acting Commander changes.
  • To change a player's privilege level use pl.
  • To change chassis restrictions use restrict.
  • To remove (reset to default) a chassis restriction use unrestrict.
  • To reset all privilege and restriction levels use rr.

Syntax:

  • /p
  • /p "player"
  • /p "player" "privilege level"
  • /p "player" "privilege level"
    • "player" can be partial or full name.
    • "privilege level" is any number.
      • By default everyone has a privilege level of 1.
      • By default all chassis have a privilege level of 1.

Examples:

  • /p Mr. 5 will give Mr. X. a privilege level of 5.
  • /pl Mr. 0 will prevent Mr. X. from building any vehicle (by default).
  • /p Oktay will display Oktay's privilege level.
  • /p will display your privilege level.

assign

assign is a chat command added by Squadcontrol, it allows commanders to assign players to squads.

Syntax:

  • /assign "name" "squad"
    • "name" can be a partial or full name.
    • "squad" is any letter.
  • /assign @"squad" "squad"
    • "squad" is any letter.
  • /assign @0 "squad"
    • "squad" is any letter.

Examples:

  • /assign Mr. B will assign Mr. X. to Bravo Squad.
  • /assign Oktay C will assign Oktay to Bravo Squad.
  • /assign @0 C will assign all players without a squad to Charlie Squad.
  • /assign @B C will assign all players in Bravo Squad to Charlie Squad.

move

move is a chat command added by Squadcontrol, it allows Commanders and Squad Leaders to give move orders. move also moves the targeted players' view to where the move order is. Alternatively you can use freelook to navigate the map and then use move to give the order where you're aiming.

Syntax:

  • /move
  • /move @"squad" "coordinates"-"digit"
    • "squad" is any letter. You can chain multiple squads.
    • "coordinates" is map coordinates.
    • "digit" is 1 to 9.
  • /move "coordinate"-"digit"
    • "coordinates" is map coordinates.
    • "digit" is 1 to 9.

Examples:

  • /move
    • It will give your Squad a move order to where you are aiming
    • You have to be Squad Leader to use this syntax.
  • /move @a A1-3 will send alpha squad a move order to the top right corner of the A1 square.
    • You have to be the Commander to use this syntax.
  • /move @a @b A1-3 will send alpha and bravo squads a move order to the top right corner of the A1 square.
    • You have to be the Commander to use this syntax.
  • /move @a will send alpha squad a move order to where you're aiming.
    • You have to be the Commander to use this syntax.
  • /move A1-3 will send your squad a move order to the top right corner of the A1 square.
    • You have to be Squad Leader to use this syntax.
  • /move will send your squad a move order to where you're aiming.
    • You have to be Squad Leader to use this syntax.

attack

attack is a chat command added by Squadcontrol, it allows Commanders and Squad Leaders to give attack orders. attack also moves the targeted players' view to where the attack order is. Alternatively you can use freelook to navigate the map and then use attack to give the order where you're aiming.

Syntax:

  • /attack @"squad" "coordinates"-"digit"
    • "squad" is any letter. You can chain multiple squads.
    • "coordinates" is map coordinates.
    • "digit" is 1 to 9.
  • /attack "coordinate"-"digit"
    • "coordinates" is map coordinates.
    • "digit" is 1 to 9.

Examples:

  • /move
    • It will give your Squad an attack order to where you are aiming
    • You have to be Squad Leader to use this syntax.
  • /attack @a A1-3 will send alpha squad an attack order to the top right corner of the A1 square.
    • You have to be the Commander to use this syntax.
  • /attack @a @b A1-3 will send alpha and bravo squads an attack order to the top right corner of the A1 square.
    • You have to be the Commander to use this syntax.
  • /attack @a will send alpha squad an attack order to where you're aiming.
    • You have to be the Commander to use this syntax.
  • /attack A1-3 will send your squad an attack order to the top right corner of the A1 square.
    • You have to be Squad Leader to use this syntax.
  • /attack will send your squad an attack order to where you're aiming.
    • You have to be Squad Leader to use this syntax.

abort

abort is a chat command added by Squadcontrol, it allows Commanders and Squad Leaders to abort move and attack orders.

Syntax:

  • /abort @"squad"
    • "squad" is any letter. You can chain multiple squads.
  • /abort

Examples:

  • /abort @a will abort alpha squad's move or attack order.
    • You have to be the Commander to use this syntax.
  • /abort @a @b will abort alpha squad and bravo squad's move or attack order.
    • You have to be the Commander to use this syntax.
  • /abort will abort your squad's move or attack order.
    • You have to be Squad Leader to use this syntax.

Admin Chat Commands

hudsay

hudsay is a chat command added by Squadcontrol, it allows administrators to display a message in the bottom middle of the screen.

Syntax:

  • /hudsay "message"

reloadhints

reloadhints is a chat command added by Squadcontrol, it allows administrators to reload hints that are displayed at the bottom left of the screen during the commander vote.

Syntax:

  • /reloadhints

speaktoall

cvban

cvban is a chat command added by Squadcontrol, it allows administrators to ban players from entering the Command Vehicle and the Commander Vote.

Syntax:

  • /cvban "name"
    • "name" can be a partial or full name.

Examples:

  • /cvban Oktay will ban Oktay from entering the Command Vehicle or opting into the Commander Vote until the end of the round.

cvunban

cvunban is a chat command added by Squadcontrol, it allows administrators to unban players who have been banned from entering the Command Vehicle and the Commander Vote.

Syntax:

  • /cvunban "name"
    • "name" can be a partial or full name.

Examples:

  • /cvunban Oktay will unban Oktay from entering the Command Vehicle or opting into the Commander Vote until the end of the round.

Chat Tweaks

Private Commander Chat

Private Commander Chat is a Chat Tweak added by Squadcontrol, it allows you to send a message to your Commander only along with an alert sound. Your commander can then reply to everyone who used this command in the last 30 seconds by using the same command.

Syntax: ,"message" in teamchat Example: ,We need to research, drop a radar!

Public Commander Chat

Private Commander Chat is a Chat Tweak added by Squadcontrol, it allows you to send a message to your Commander only along with an alert sound that is also shown to the rest of the team. Your commander can then reply to everyone by using the same command.

Syntax: .<message> in teamchat Example: .We need to research, drop a radar!

Squad Chat

Squad Chat is a Chat Tweak added by Squadcontrol, it allows you to send a message to your squad only along with an alert sound.

Syntax: ;"message" in teamchat Example: ;We're going SW, Oktay make sure you get revive.

Voice Chat Tweaks

Squad Voice

Squad Voice is a special voice added by Squadcontrol that is only transmitted to members of your squad.

In order to use this feature you have to bind a key to it. Navigate to your empires folder and to the cfg folder and edit autoexec.cfg with this:

alias +voicerecord_squad "+voicerecord;+sc_voicerecord_squad"
alias -voicerecord_squad "-voicerecord;-sc_voicerecord_squad"
bind "KEY" "+voicerecord_squad"

Where "KEY" is a key on your keyboard, for special keys use the Valve Developer Community's Wiki - Bind.

Commander Voice

Commander Voice is a special voice added by Squadcontrol that is only transmitted to your Commander.

In order to use this feature you have to bind a key to it. Navigate to your empires folder and to the cfg folder and edit autoexec.cfg with this:

alias +voicerecord_comm "+voicerecord;+sc_voicerecord_comm"
alias -voicerecord_comm "-voicerecord;-sc_voicerecord_comm"
bind [KEY] "+voicerecord_comm"

Where "KEY" is a key on your keyboard, for special keys use the Valve Developer Community's Wiki - Bind.

All Voice

All Voice is a special voice added by Squadcontrol that is transmitted to everyone. It is only available for admins.

In order to use this feature you have to bind a key to it. Navigate to your empires folder and to the cfg folder and edit autoexec.cfg with this:

alias +voicerecord_all "+voicerecord;+sc_voicerecord_all"
alias -voicerecord_all "-voicerecord;-sc_voicerecord_all"
bind [KEY] "+voicerecord_all"

Where "KEY" is a key on your keyboard, for special keys use the Valve Developer Community's Wiki - Bind.

Binds

Request Menu

The Request Menu is a Sourcemod menu added by Squadcontrol, it contains automated messages to send requests to your Commander.

In order to access this menu you can either enter sc_requestmenu in the console or bind a key to it.

To bind a key you can either enter bind "key" sc_requestmenu directly in the console to an unbound key, if the key is unbound it will be added to your config.cfg. Or you can navigate to your Empires folder, go to the cfg folder and put it in autoexec.cfg.

For special keys use the Valve Developer Community's Wiki - Bind.

Squad Leader Vote Menu

The Squad Leader Vote Menu is a Sourcemod menu added by Squadcontrol, it is an alternative to sl to vote for squad leader.

In order to access this menu you can either enter sc_slvotemenu in the console or bind a key to it.

To bind a key you can either enter bind "key" sc_slvotemenu directly in the console to an unbound key, if the key is unbound it will be added to your config.cfg. Or you can navigate to your Empires folder, go to the cfg folder and put it in autoexec.cfg.

For special keys use the Valve Developer Community's Wiki - Bind.

Main Menu

The Main Menu is a Sourcemod menu added by Squadcontrol, it contains a lot of useful commands including shortcuts to the Request Menu and the Squad Leader Vote Menu.

In order to access this menu you can either enter sc_mainmenu in the console or bind a key to it.

To bind a key you can either enter bind "key" sc_mainmenu directly in the console to an unbound key, if the key is unbound it will be added to your config.cfg. Or you can navigate to your Empires folder, go to the cfg folder and put it in autoexec.cfg.

For special keys use the Valve Developer Community's Wiki - Bind.

Other Features

Commander Orders

Commander Orders is a GUI feature added by Squadcontrol, it allows commanders to give on-screen orders.

Syntax:

  • --"order" in teamchat

Example:

  • --Capture refineries!

Commander Alert

Commander Alert is a GUI feature added by Squadcontrol, it allows commanders to display an alert message in the center of the screen.

Syntax:

  • =="order" in teamchat

Example:

  • ==Main Base is under attack! in teamchat

Freelook

Freelook is a feature added by Squadcontrol, it allows players in teams to have a free-look view similar to spectators during the commander vote.

Freelook is now automatically enabled when you're in a team during commander vote.

Additionally you can now see other players as birds as well as your Commander as an Helicopter.