Jump to content

User:Sheep Select/Sheep Select/Readme

From Wikipedia, the free encyclopedia

Installation & Removal

[edit]

Install

[edit]

Select the entire script and copy it, then paste it in notepad. Save the file as sheep_select.cfg (remember the .cfg!).

Put the sheep_select.cfg file in your "Program Files\Wolfenstein - Enemy Territory\etmain" directory. If you already have an "autoexec.cfg" file, add the string "exec sheep_select.cfg", if not, you can create one by opening notepad again and saving a file as autoexec.cfg and then adding the string. If you do not have an autoexec.cfg file with "exec sheep_select.cfg" in it, you will have to manually, everytime you open the game, type in your console "/exec sheep_select.cfg".

Remove

[edit]

Remove the "sheep_select.cfg" file and/or remove "exec sheep_select.cfg" string from your "autoexec.cfg" file. You do not have to remove your "autoexec.cfg" file, but you may do so if it is not used for anything else.

How to use

[edit]
 7 8 9 : Teams : AXI|ALL|SPE
 4 5 6 : Class : MED|ENG|FOP
 1 2 3 : Class : SOL|COP|

Choose your team

[edit]

The above is a depiction of the keypad found to the right of your keyboard, it should be fairly comprehensive. For example, "7" chooses Axis team, with default class Medic and will spawn as soon as possible (see PART III to change default class, or to remove it entirely), "8" picks Allies and "9" puts you in spectator mode.

Choose your class

[edit]

After picking your class you will automatically be placed as a medic (if you wish to choose a class every time before spawning, see PART III). If you would like to spawn as a Field Ops, for example, you would press "6" on your keypad and when you die, you will respawn as a Field Ops. For classes with many weapons, such as an Engineer, there is a cycle with the key. The first time you press it, you will pick an Engineer with an SMG, the second time, an Engineer with a Rifle, the third time, with an SMG.. et cetera. Soldier is ordered as Panzerfaust -> MG42 -> Flamethrower -> Mortar -> Panzerfaust. Covert Ops is ordered as Sten -> FG42 -> Rifle -> Sten.

I have no option for Soldier with an SMG, as this is a useless option..

Note: Every time you choose a team, class or weapon, you will see the an 'echo' to the left of your screen where you see deaths and kills. Remember that, if there is alot of kill/death spam in this section, the message will not appear instantly.

Special Functions

[edit]

What is interesting with this class selector is that two keys, by default MOUSE2 and MOUSE3 (middle click), will change depending on your class and weapon. What is the use of "weapalt" (second mode) for a Medic or a Field Op? Here are the functions, and as I will later explain, you can change what these keys are and even add more:

MOUSE2
Soldier   :    Change Mode
Medic     :    Hold - Throws health packs  Release - Brings out SMG
Engineer  :    Change Mode
Field Ops :    Hold - Uses Binoculars      Release - Calls artillery & brings out SMG
Covert Ops:    Change Mode

MOUSE3
Soldier   :    Change Mode
Medic     :    Hold - Uses needles         Release - Brings out SMG
Engineer  :    Hold - Uses pincers         Release - Brings out SMG/Rifle
Field Ops :    Hold - Throws smoke         Release - Brings out SMG
Covert Ops:    Hold - Throws Sachet/Uses Remote         Release - Reverts to main weapon

For the Field Ops MOUSE2 function, if you just click the key, it will call artillery.

Configurations

[edit]

There are alot of things you can do with this if you understand how to use the functions. Myself I mostly learned about how things worked by messing around with scripts that were already made. However, I will only explain the most simple things that one may wish to configurate in the form of a FAQ:

To change the script, open it with NOTEPAD, unless you have something that is better (Wordpad is not better).

Q: I want to change the binds to work with F1-F8, or other keys. A: In the // Binds // section, change the keys such as "KP_HOME", "KP_DOWNARROW", "KP_END", et cetera, to whichever key you want. Which key does which should be fairly obvious. Example: You want to change the key to become a Soldier to "F5", you replace "KP_END" with "F5".

Q: I want my default class to be an Engineer when I pick my team, not a Medic. A: Under // Binds //, under // Axis or // Allies, you will see:

// Go Axis
bind    KP_HOME        "vstr Axis_Medic; wait 1; vstr Axis"

// Go Allies
bind    KP_UPARROW    "vstr Allies_Medic; wait 1; vstr Allies"

Replace "Medic" with whatever class you want. If you want an Engineer replace Axis_Medic with Axis_Engineer, and Allies_Medic with Allies_Engineer. Note that this will take the default weapon, for example, Axis_Soldier will take a soldier with a Panzerfaust, to take a soldier with a Flamethrower, it's Axis_Soldier_Flamer. Here are all the options, and remember that if you don't add details for the weapon, it will take the first weapon:

_Soldier                     (Panzerfaust, _Soldier_Panzer also works..)
_Soldier_MG42
_Soldier_Flamer
_Soldier_Mortar

_Medic

_Engineer           (SMG, _Engineer_MP40 also works.., even for Allies it uses _MP40 extension)
_Engineer_K43     (Even for Allies it uses the K43 extension)

_Field_Ops

_Covert_Ops          (Sten, _Covert_Ops_Sten also works..)
_Covert_Ops_FG42
_Covert_Ops_K43        (Even for Allies it uses the K43 extension)

Q: When I choose my team, I don't want to join a team until I pick a class. A: Remove "team r" and "team b" from the Axis and Allies functions and remove the default class mentioned above, along with the now useless "wait 1". Do NOT replace what is in the script, with what I have here. I replaced part of the string with [...] because the lines are long.

Under // Team Selector //

seta Axis      "team r; set Medic vstr Axis_Medic; [...]"
seta Allies    "team s; set Medic vstr Allies_Medic; [...]"

..should look like..

seta Axis      "set Medic vstr Axis_Medic; [...]"
seta Allies    "set Medic vstr Allies_Medic; [...]"

Under // Binds //

bind    KP_HOME       "vstr Axis_Medic; wait 1; vstr Axis"
bind    KP_UPARROW    "vstr Allies_Medic; wait 1; vstr Allies"

..should look like..

bind    KP_HOME       "vstr Axis"
bind    KP_UPARROW    "vstr Allies"

Q: I want to replace the "MOUSE2" function with "CTRL" and the "MOUSE3" function with "ALT". A: This is pretty easy to answer, and pretty long to do unless you have a good text editor that let's you search for all instances of a string and replace it (Dreamweaver does that, but it's used for websites so it's big). Simply put, replace all "MOUSE2" in the document with "CTRL" and all "MOUSE3" with "ALT".


Q: I use this or something similar and your script interferes.

bind     1         "cg_drawgun 1; weaponbank 1"
bind     2         "cg_drawgun 0; weaponbank 2"
bind     3         "cg_drawgun 0; weaponbank 3"
bind     4         "cg_drawgun 1; weaponbank 4"
bind     5         "cg_drawgun 1; weaponbank 5"
bind     6         "cg_drawgun 1; weaponbank 6"
bind     7         "cg_drawgun 1; weaponbank 7"
bind     8         "cg_drawgun 1; weaponbank 8"

A: Replace

// Weaponbank 5 Script
set    rev-dn        "weaponbank 5; wait 2; +attack"
set    rev-up        "-attack; weaponbank 3"

// Weaponbank 6 Script
set    key-dn        "weaponbank 6; wait 2; +attack"
set    key-up        "-attack; weaponbank 3"

..with..

// Weaponbank 5 Script Charge/Remote
set    rev-dn        "cg_drawgun 1; weaponbank 5; wait 2; +attack"
set    rev-up        "cg_drawgun 0; -attack; weaponbank 3"

// Weaponbank 6 Script
set    key-dn        "cg_drawgun 1; weaponbank 6; wait 2; +attack"
set    key-up        "cg_drawgun 0; -attack; weaponbank 3"