Squadcontrol: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
mNo edit summary
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Squadcontrol is a [[SourceMod]] plugin by [[Mikleo]], it adds various utilities for Empires.
{{SitenavNested|Sourcemod Plugins|Sourcemod Plugins}}<br />


=Client Chat Commands=
'''Squadcontrol''' is a [[Sourcemod]] plugin by [[Mikleo]], it adds various utilities for Empires.


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


Syntax:
=Installation & Updating=
Visit [https://git.empiresmod.com/sourcemod/SquadControl squadcontrol's gitlab repository] and click the download button, extract the content of dist to your server's installation directory.<br />
Squadcontrol uses Updater for automated update.


    /pos @"squad"
=Client [[Chat Commands]]=
        "squad" is any letter.
This is the list of all the Client [[Chat Commands]] added by [[Squadcontrol]], these commands can be used by anyone.
    /pos


Examples:
==pos==
'''pos''' is a chat command added by [[Squadcontrol]], it lists each squad member and their respective position.


    /pos @a will show you the position of each member of alpha squad.
'''Syntax:'''
    /pos will show you the position of each member of your squad.
* /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.
Alternatively you can use [[Squadcontrol]]'s [[Squadcontrol#Main_Menu|Main Menu]].


==squadinfo==
==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


!squadinfo or /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.
Alternatively you can use [[Squadcontrol]]'s [[Squadcontrol#Main_Menu|Main Menu]].


==skills==
==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 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.
* /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.
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.


Alternatively you can use [[Squadcontrol]]'s [[Squadcontrol#Main_Menu|Main Menu]].


==sl==
==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.


sl is a chat command added by Squadcontrol, it allows you to vote for a new Squad Leader.
Alternatively you can use [[Squadcontrol]]'s [[Squadcontrol#Main_Menu|Main Menu]].
 
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 Squad Leader Vote Menu or Main Menu.
 


==rsl==
==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


!rsl or /rsl is a chat command added by Squadcontrol, it sends a message informing your Commander that you are requesting leadership of your squad.
Alternatively you can use [[Squadcontrol]]'s [[Squadcontrol#Request_Menu|Request Menu]] and option n°1.
 
Alternatively you can use the Request Menu and option n°1.


==channel==
==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 [[Squadcontrol#Squad_Chat|Squad Chat]] and [[Squadcontrol#Squad_Voice|Squad Voice]] to privately chat with other members of that channel.


 
'''Syntax:'''
 
* /channel "letter"
!channel or /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.
'''Example:'''
 
* /channel a
Syntax: /channel "letter"
Example: /channel a


==commander==
==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.


!commander or /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 and /commander be to see Commanders.
==speclisten==
!speclisten or /speclisten is a chat command added by Squadcontrol, it allows spectators to listen to both teams' voice communications.
==restrictions==
==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 [[Squadcontrol#pl|pl]].
* To change chassis restrictions use [[Squadcontrol#restrict|restrict]].
* To remove (reset to default) a chassis restriction use [[Squadcontrol#unrestrict|unrestrict]].
* To reset all privilege and restriction levels use [[Squadcontrol#rr|rr]].


restrictions is a chat command added by Squadcontrol, it allows players to see restricted chassis and privilege levels.
'''Syntax:'''
 
* /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:
 
    /restrictions
 
Examples:
 
    /restrictions will display all privilege levels and chassis restrictions.


'''Examples:'''
* /restrictions will display all privilege levels and chassis restrictions.


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


 
'''Syntax:'''
 
* /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==
'''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.


give is a chat command added by Squadcontrol, it allows players to give their wages to other players.
==mapinfo==
 
Syntax: /give "player" "amount"
 
    "player" can be partial or full name.
    "amount" is any number.
 
Examples:
 
    /give Mr. 5 will give Mr. X. 5 of your wages.


=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==
'''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 is a chat command added by Squadcontrol, it allows commanders to convert the team's resource into wages.
* /bonuswages Xiam 5 will convert 5 of your team's resource into 5 wages for Xiam.
 
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.
 
 
==mapinfo==
 
=Commander Chat Commands=


==setspawn==
==setspawn==
==rr==
==rr==


rr is a chat command added by Squadcontrol, it allows commanders to reset (default to 1) all privilege levels and chassis restrictions.
'''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 view the current restriction levels use restrictions.
 
Syntax:
 
    /rr


Examples:
'''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 [[Squadcontrol#pl|pl]].
* To change chassis restrictions use [[Squadcontrol#restrict|restrict]].
* To remove (reset to default) a chassis restriction use [[Squadcontrol#unrestrict|unrestrict]].
* To reset all privilege and restriction levels use [[Squadcontrol#rr|rr]].


    /rr will reset (default to 1) privilege levels and chassis restrictions.
'''Syntax:'''
        You must be commander to use this command.
* /rr


'''Examples:'''
* /rr will reset (default to 1) privilege levels and chassis restrictions.


==restrict==
==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 [[Squadcontrol#pl|pl]].
* To change chassis restrictions use [[Squadcontrol#restrict|restrict]].
* To remove (reset to default) a chassis restriction use [[Squadcontrol#unrestrict|unrestrict]].
* To reset all privilege and restriction levels use [[Squadcontrol#rr|rr]].


restrict is a chat command added by Squadcontrol, it allows commanders to restrict chassis to be use alongside pl.
'''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.


Notes:
'''Examples:'''
 
* /restrict Arty 5 will restrict Artillery to a privilege level of 5.
    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.
* /restrict all 2 will restrict all chassis to a privilege level of 2.
    Privilege levels and chassis restrictions are not reset when the acting Commander changes.
* /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.
    To change a player's privilege level use pl.
    To remove (reset to default) a chassis restriction use unrestrict.
    To view the current restriction levels use restrictions.
    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==
'''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 [[Squadcontrol#pl|pl]].
* To change chassis restrictions use [[Squadcontrol#restrict|restrict]].
* To remove (reset to default) a chassis restriction use [[Squadcontrol#unrestrict|unrestrict]].
* To reset all privilege and restriction levels use [[Squadcontrol#rr|rr]].


unrestrict is a chat command added by Squadcontrol, it allows commanders reset a chassis restriction to its default level of 1.
'''Syntax:'''
 
* /unrestrict "chassis"
Notes:
** "chassis" is the name of a chassis.
 
*** APC for the Armored Personnel Carrier.
    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.
*** LT for both the Brenodi Empire's AFV and the Northern Faction's Light Tank.
    Privilege levels and chassis restrictions are not reset when the acting Commander changes.
*** med for both the Brenodi Empire's Imperial Tank and the Northern Faction's Medium Tank.
    To change a player's privilege level use pl.
*** arty for the Artillery.
    To change chassis restrictions use restrict.
*** heavy for both the Brenodi Empire's Imperial Heavy Tank and the Northern Faction's Heavy Tank.
    To view the current restriction levels use restrictions.
*** All for all vehicles.
    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.
'''Examples:'''
    /unrestrict all will reset all chassis to a privilege level of 1.
* /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==
'''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 [[Squadcontrol#pl|pl]].
* To change chassis restrictions use [[Squadcontrol#restrict|restrict]].
* To remove (reset to default) a chassis restriction use [[Squadcontrol#unrestrict|unrestrict]].
* To reset all privilege and restriction levels use [[Squadcontrol#rr|rr]].


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.
'''Syntax:'''
 
* /p
Notes:
* /p "player"
 
* /p "player" "privilege level"
    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.
* /p "player" "privilege level"
    Privilege levels and chassis restrictions are not reset when the acting Commander changes.
** "player" can be partial or full name.
    To change chassis restrictions use restrict.
** "privilege level" is any number.
    To remove (reset to default) a chassis restriction use unrestrict.
*** By default everyone has a privilege level of 1.
    To view the current restriction levels use restrictions.
*** By default all chassis have a privilege level of 1.
    To reset all privilege and restriction levels use rr.
 
Syntax:
 
    /p "player" "privilege level"
    /pl "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.
    /pl "player"
        "player" can be partial or full name.
    /pl
 
Examples:
 
    /pl Mr. 5 will give Mr. X. a privilege level of 5.
    /p Mr. 0 will prevent Mr. X. from building any vehicle (by default).
    /pl Oktay will display Oktay's privilege level.
    /pl will display your privilege level.


'''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==
'''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.


assign is a chat command added by Squadcontrol, it allows commanders to assign players to squads.
'''Examples:'''
 
* /assign Mr. B will assign Mr. X. to Bravo Squad.
Syntax:
* /assign Oktay C will assign Oktay to Bravo Squad.
 
* /assign @0 C will assign all players without a squad to Charlie Squad.
    /assign "name" "squad"
* /assign @B C will assign all players in Bravo Squad to Charlie 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==
'''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 [[Squadcontrol#freelook|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.


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.
'''Examples:'''
Alternatively you can use freelook to navigate the map and then use move to give the order where you're aiming.
* /move
 
** It will give your Squad a move order to where you are aiming
Syntax:
** 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.
    /move @"squad" "coordinates"-"digit"
** You have to be the Commander to use this syntax.
        "squad" is any letter. You can chain multiple squads.
* /move @a @b A1-3 will send alpha and bravo squads a move order to the top right corner of the A1 square.
        "coordinates" is map coordinates.
** You have to be the Commander to use this syntax.
        "digit" is 1 to 9.
* /move @a will send alpha squad a move order to where you're aiming.
    /move "coordinate"-"digit"
** You have to be the Commander to use this syntax.
        "coordinates" is map coordinates.
* /move A1-3 will send your squad a move order to the top right corner of the A1 square.
        "digit" is 1 to 9.
** You have to be Squad Leader to use this syntax.
 
* /move will send your squad a move order to where you're aiming.
Examples:
** 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.
 
 
Each map square is divided in 9 areas corresponding to the digit after the coordinates:


==attack==
==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 [[Squadcontrol#freelook|freelook]] to navigate the map and then use attack to give the order where you're aiming.


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.
'''Syntax:'''
Alternatively you can use freelook to navigate the map and then use attack to give the order where you're aiming.
* /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.


Syntax:
'''Examples:'''
 
* /move
    /attack @"squad" "coordinates"-"digit"
** It will give your Squad an attack order to where you are aiming
        "squad" is any letter. You can chain multiple squads.
** You have to be Squad Leader to use this syntax.
        "coordinates" is map coordinates.
* /attack @a A1-3 will send alpha squad an attack order to the top right corner of the A1 square.
        "digit" is 1 to 9.
** You have to be the Commander to use this syntax.
    /attack "coordinate"-"digit"
* /attack @a @b A1-3 will send alpha and bravo squads an attack order to the top right corner of the A1 square.
        "coordinates" is map coordinates.
** You have to be the Commander to use this syntax.
        "digit" is 1 to 9.
* /attack @a will send alpha squad an attack order to where you're aiming.
 
** You have to be the Commander to use this syntax.
Examples:
* /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 @a A1-3 will send alpha squad an attack order to the top right corner of the A1 square.
* /attack will send your squad an attack order to where you're aiming.
        You have to be the Commander to use this syntax.
** You have to be Squad Leader 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.
 
 
Each map square is divided in 9 areas corresponding to the digit after the coordinates:


==abort==
==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.


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


Syntax:
==hudsay==
'''hudsay''' is a chat command added by [[Squadcontrol]], it allows administrators to display a message in the bottom middle of the screen.


    /abort @"squad"
'''Syntax:'''
        "squad" is any letter. You can chain multiple squads.
* /hudsay "message"
    /abort


Examples:
==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.


    /abort @a will abort alpha squad's move or attack order.
'''Syntax:'''
        You have to be the Commander to use this syntax.
* /reloadhints
    /abort @a @b will abort alpha squad and bravo squad's move or attack order.
==speaktoall==
        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==
==reloadhints==
==speaktoall==
==cvban==
==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.


cvban is a chat command added by Squadcontrol, it allows administrators to ban players from entering Command Vehicle and the Commander Vote.
'''Examples:'''
* /cvban Oktay will ban Oktay from entering the Command Vehicle or opting into the Commander Vote until the end of the round.


Syntax:
==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.


    /cvban "name"
'''Syntax:'''
        "name" can be a partial or full name.
* /cvunban "name"
** "name" can be a partial or full name.


Examples:
'''Examples:'''
 
* /cvunban Oktay will unban Oktay from entering the Command Vehicle or opting into the Commander Vote until the end of the round.
    /cvban Oktay will ban Oktay from entering the Command Vehicle or opting into the Commander Vote until the end of the round.
 
 
==cvunban==


=Chat Tweaks=
=Chat Tweaks=
Line 450: Line 400:
</pre>
</pre>


Where "KEY" is a key on your keyboard, for special keys look here.
Where "KEY" is a key on your keyboard, for special keys use the [https://developer.valvesoftware.com/wiki/Bind Valve Developer Community's Wiki - Bind].


==Commander Voice==
==Commander Voice==
Line 465: Line 415:
</pre>
</pre>


Where "KEY" is a key on your keyboard, for special keys look here.
Where "KEY" is a key on your keyboard, for special keys use the [https://developer.valvesoftware.com/wiki/Bind Valve Developer Community's Wiki - Bind].


==All Voice==
==All Voice==
Line 480: Line 430:
</pre>
</pre>


Where "KEY" is a key on your keyboard, for special keys look here.
Where "KEY" is a key on your keyboard, for special keys use the [https://developer.valvesoftware.com/wiki/Bind Valve Developer Community's Wiki - Bind].


=Binds=
=Binds=
Line 514: Line 464:


==Commander Orders==
==Commander Orders==
Commander Orders is a GUI feature added by Squadcontrol, it allows commanders to give on-screen 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!
'''Syntax:'''
* --"order" in teamchat
'''Example:'''
* --Capture refineries!


==Commander Alert==
==Commander Alert==
Commander Orders is a GUI feature added by Squadcontrol, it allows commanders to display an alert message in the center of the screen.
'''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
'''Syntax:'''
 
* =="order" in teamchat
Example: ==Main Base is under attack! in teamchat
'''Example:'''
* ==Main Base is under attack! in teamchat


==Freelook==
==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 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.
'''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.
Additionally you can now see other players as birds as well as your Commander as an Helicopter.
[[Category:Sourcemod_Plugin|Squadcontrol]]

Latest revision as of 03: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.