[phpBB Debug] PHP Warning: in file /www/htdocs/w008b995/flame-guards/vwoer/handlers/shortcode_handler.php on line 23: Creating default object from empty value
Welcome
Username:
Password:



Remember me
[ ]
[ ]
[ ]
Online
19 guests, 0 members

Online record on 3 Oct - 00:19
    0 members,
    706 guests,
    706 total

Members: 6622
Newest member: thomasisma
Chatbox
You must be logged in to post comments on this site - please either log in or if you are not registered click here to signup


JESSEYLEEr on 17 Feb - 11:05
https://t.me/pump_upp - best crypto pumps on telegram
Make 1000% and more within 1 day, join channel @pump_upp !
vanagarimanohar on 6 Feb - 13:37
https://t.me/pump_upp - best crypto pumps on telegram
Make 1000% and more within 1 day, join channel @pump_upp !
venkydarling on 5 Feb - 03:20
https://t.me/pump_upp - best crypto pumps on telegram
Make 1000% and more within 1 day, join channel @pump_upp !
Lacey on 30 Jan - 01:41
https://t.me/pump_upp - best crypto pumps on telegram
Make 1000% and more within 1 day, join channel @pump_upp !
kittydracy1333 on 28 Jan - 16:13
https://t.me/pump_upp - best crypto pumps on telegram
Make 1000% and more within 1 day, join channel @pump_upp !
JESSEYLEEr on 18 Jan - 07:36
https://t.me/pump_upp - best crypto pumps on telegram
Make 1000% and more within 1 day, join channel @pump_upp !
kittydracy1333 on 17 Jan - 04:42
https://t.me/pump_upp - best crypto pumps on telegram
Make 1000% and more within 1 day, join channel @pump_upp
Lacey on 14 Jan - 20:24
https://t.me/pump_upp - best crypto pumps on telegram
Make 1000% and more within 1 day, join channel @pump_upp !
Lacey on 13 Jan - 02:19
https://datebest.net - visit link to find love or quick sex, visit link!
Lacey on 11 Jan - 02:52
Verifpro.net - paypal, ebay, stripe, banks, crypto, docs and more!
Follow channel https://t.me/Verifpro_accounts to get more info

Advertisement
{e_BASE}forum/index.php
Forum

Homemade class selector for ET-NQ

If you experience errors while playing or if you've got problems with other programs, ask for support here.

Homemade class selector for ET-NQ

Postby Donwell » Sun Jul 24, 2011 11:49 pm

Thought I might share this one with you, my homemade class selecting script.. It uses your keypad and your arrow keys, very easy to use.. Don't let the code confuse you if you are not familiar with scripts, a description below tells you all you need to know. If you don't know how to put the code into configs, just send me a PM and I'll explain.

Code: Select all
//In your own config, include these lines. Using the arrow keys moves you into a team as medic with default gear.

//Classselector
bind LEFTARROW "team b 1;exec allies.cfg;echo ^0-^7> ^4A^dllies^7" //seperate cfg file
bind RIGHTARROW "team r 1;exec axis.cfg;echo ^0-^7> ^1A^ixis^7" //seperate cfg file
bind DOWNARROW "team s;exec spec.cfg;echo ^0-^7> ^bS^2pectator^7" //seperate cfg file


Code: Select all
// Create a NEW config, called allies.cfg
// Include the following lines

bind KP_END "team b 1 8 34; set singlePistol team b 1 8 7; say_buddy ^a=^7Medic^3+^7Smg^a=^7"
bind KP_DOWNARROW "team b 2 8 34; set singlePistol team b 2 8 7; say_buddy ^a=^7Engi^3+^7Smg^a=^7"
bind KP_PGDN "team b 2 23 34; set singlePistol team b 2 23 7; say_buddy ^a=^7Engi^3+^7Rifle^a=^7"
bind KP_LEFTARROW "team b 3 8 34; set singlePistol team b 3 8 7; say_buddy ^a=^7FieldOp^3+^7Smg^a=^7"
bind KP_5 "team b 4 10 44; set singlePistol team b 4 10 38; say_buddy ^a=^7CovOp^3+^7Sten^a=^7"
bind KP_RIGHTARROW "team b 4 51 44; set singlePistol team b 4 51 38; say_buddy ^a=^7CovOp^3+^7Bar^a=^7"
bind KP_HOME "team b 4 24 44; set singlePistol team b 4 24 38; say_buddy ^a=^7CovOp^3+^7Sniper^a=^7"
bind KP_UPARROW "team b 0 49 34; set singlePistol team b 0 49 7; say_buddy ^a=^7Soldier^3+^7Browning^a=^7"
bind KP_PGUP "team b 2 47 34; set singlePistol team b 2 47 7; say_buddy ^a=^7Engineer^3+^7Shotgun^a=^7"

bind KP_DEL "vstr singlePistol; echo ^0-^7> ^aS^7ingle ^aP^7istol^d!^7"

set singlePistol "echo ^0-^7> ^3N^/o class selected yet^3!^7"


Code: Select all
// Create a NEW config, called axis.cfg
// Include the following lines

bind KP_END "team r 1 3 35; set singlePistol team r 1 3 2; say_buddy ^a=^7Medic^3+^7Smg^a=^7"
bind KP_DOWNARROW "team r 2 3 35; set singlePistol team r 2 3 2; say_buddy ^a=^7Engi^3+^7Smg^a=^7"
bind KP_PGDN "team r 2 22 35; set singlePistol team r 2 22 2; say_buddy ^a=^7Engi^3+^7Rifle^a=^7"
bind KP_LEFTARROW "team r 3 3 35; set singlePistol team r 3 3 2; say_buddy ^a=^7FieldOp^3+^7Smg^a=^7"
bind KP_5 "team r 4 56 45; set singlePistol team r 4 56 14; say_buddy ^a=^7CovOp^3+^7MP34^a=^7"
bind KP_RIGHTARROW "team r 4 31 45; set singlePistol team r 4 31 14; say_buddy ^a=^7CovOp^3+^7FG42^a=^7"
bind KP_HOME "team r 4 30 45; set singlePistol team r 4 30 14; say_buddy ^a=^7CovOp^3+^7Sniper^a=^7"
bind KP_UPARROW "team r 0 29 35; set singlePistol team r 0 29 2; say_buddy ^a=^7Soldier^3+^7MG42^a=^7"
bind KP_PGUP "team r 2 47 35; set singlePistol team r 2 47 2; say_buddy ^a=^7Engineer^3+^7Shotgun^a=^7"

bind KP_DEL "vstr singlePistol; echo ^0-^7> ^dS^/ingle Pistol^d!^7"

set singlePistol "echo ^0-^7> ^3N^/o class selected yet^3!^7"


Code: Select all
// Create a NEW config, called spec.cfg
// Include the following lines

bind KP_END "echo ^0-^7> ^1DENIED ^3N^/ot on a team^3!"
bind KP_DOWNARROW "echo ^0-^7> ^1DENIED ^3N^/ot on a team^3!"
bind KP_PGDN "echo ^0-^7> ^1DENIED ^3N^/ot on a team^3!"
bind KP_LEFTARROW "echo ^0-^7> ^1DENIED ^3N^/ot on a team^3!"
bind KP_5 "echo ^0-^7> ^1DENIED ^3N^/ot on a team^3!"
bind KP_RIGHTARROW "echo ^0-^7> ^1DENIED ^3N^/ot on a team^3!"
bind KP_HOME "echo ^0-^7> ^1DENIED ^3N^/ot on a team^3!"
bind KP_PGUP "echo ^0-^7> ^1DENIED ^3N^/ot on a team^3!"

bind KP_DEL "echo ^0-^7> ^1DENIED ^3N^/ot on a team^3!"


Few (important) notes I'd like to share about this script...
  • With the arrow keys, you can select your team. Use LEFTARROW to join the allies, RIGHTARROW for axis and DOWNARROW for spectators. When moving in a team, it selects medic with default gear automatically.
  • With the keypad, you can select your class and weapons. If you join a team with the arrow keys, the script automatically loads a new config with the right set of weapons (the numbers below refer to the numbers on your keypad)
    • 1 - Medic
    • 2 - Engineer with SMG
    • 3 - Engineer with rifle
    • 4 - Field Ops with SMG
    • 5 - Covert Ops (Sten/MP34)
    • 6 - Covert Ops (BAR/FG42)
    • 7 - Covert Ops with sniper rifle
    • 8 - Soldier with machinegun and pistols(!)
    • 9 - Engineer with shotgun (I added the shotgun just today, that's why it is not stored at '4' as you might have expected)
  • Using the keypad selects akimbo pistols by default. If you like to use single pistol, however, just select your class and press the keypad dot (KP_DEL) and the script lets you respawn with single pistol!
  • The scripts makes a difference between axis and allied weapons when on a team! When you are in the allied team but the script still thinks you are an axis soldier, the keypad will not pick the right weapons. Hence, first make sure your team is correctly set after f.e. a shuffle!
  • The script is suitable for NoQuarter. Will probably not work on other mods such as ETPro, due to the difference in weapon numbers. Not sure though.
  • Except for the colorscheme, it is recommended not to edit the code (in particular, the digits) unless you know what you are doing.
  • Moving spec using the downarrow key deactivates the keypad-binds for the classes. For your own needs, you might edit the binds defined in 'spec.cfg' so you can store other commands at the keypad when not playing.
  • If you are on a laptop, you might change the keys KP_(...) to different keys. I'd recommend using F1-F12.
  • Only one soldier-combination is used, as soldier is mostly not chosen as class. Except for the machine gun (Browning/MG42), you have to pick the class for soldier yourself. If you want to be field ops with shotgun, you have to pick it in Limbo as well.
  • Once aware of the key-class combinations, the script is to be used flawlessly.
Image
User avatar
Donwell
Member
Member
 
Posts: 286
Joined: Sun Jun 20, 2010 2:03 pm
Location: The Netherlands

Re: Homemade class selector for ET-NQ

Postby cybershot » Mon Jul 25, 2011 12:08 am

Nice, thanks :D
Will add it :)
Image
cybershot
Website admin
Website admin
 
Posts: 533
Joined: Sat Jun 26, 2010 1:50 pm
Location: Netherlands
Xfire: casgui

Re: Homemade class selector for ET-NQ

Postby RioAlex » Mon Jul 25, 2011 10:36 am

Thats the way i fucked-up my PC...nahah wont trying it
Proud Member since

13.02.2012

Image

[align=center]Image[/align]

THANKS MACOM :D
User avatar
RioAlex
Member
Member
 
Posts: 1308
Joined: Thu Mar 03, 2011 5:23 pm
Location: Serbia-Belgrade-Ritopek
Xfire: rioalex

Re: Homemade class selector for ET-NQ

Postby Confector » Tue Jul 26, 2011 3:23 pm

Tested it out, works well. Though you have one error in the code. In the main config, LEFTARROW and RIGHTARROW should be viceversa. Rest is good.
Member since 13.06.2011

Image Best FG Member
Image The Best Avatar
Image Funniest Person
User avatar
Confector
Member
Member
 
Posts: 571
Joined: Sun Jun 27, 2010 10:28 am
Location: Estonia
Xfire: Garanthil

Re: Homemade class selector for ET-NQ

Postby I-2-Stupid » Fri Jul 29, 2011 6:31 pm

RioAlex wrote:Thats the way i fucked-up my PC...nahah wont trying it

u cant hurt ur pc with that only ur et :D
so ask some guys for writing a cfg for u :D
think theres much one here

cheers
Image
User avatar
I-2-Stupid
Moderator
Moderator
 
Posts: 1739
Joined: Sat Jun 26, 2010 10:44 am
Location: Bremen/Castle Wolfenstein
Xfire: i2stupid

Re: Homemade class selector for ET-NQ

Postby C3PEG4 » Sat Jul 30, 2011 3:51 pm

who dont wanna use cfg can

/bind m class_menu

;)
Image
User avatar
C3PEG4
Head Admin
Head Admin
 
Posts: 91
Joined: Sat Jun 26, 2010 4:35 pm
Location: Germany


Return to Helpdesk

Who is online

Users browsing this forum: No registered users and 1 guest

cron


This site is powered by e107, which is released under the terms of the GNU GPL License.
Theme created by VWOer, based on Jayya by e107 and G-Recon by Theme Labs. © Flame Guards Community 2010