BrokenHeartsShootingclub
~ Welcome to <BHS/3 Clan Forum ~

~ Enjoy your stay and be Happy Smile ~

~ BHS-ET.tk ~

(no ads for registered users)



 
HomeHome[b]Servers[b/]Recruiting forumUnbanFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Weapon & Class Selection Binds (Easier than !put Pie S R B ect ect)

View previous topic View next topic Go down 
AuthorMessage
I<3Pie



Posts : 302
Join date : 2012-04-27
Age : 29
Location : Inside The Interweb

PostSubject: Weapon & Class Selection Binds (Easier than !put Pie S R B ect ect)   Tue Jul 10, 2012 6:04 pm

How Do I Write Weapon & Class Binds?
For those of you who want to write class selection binds and scripts, the team/class/weapon variables have been changed significantly. Now, the three seperate variables from RTCW are combined into a single "team" variable, which takes the form: (where x assign your own letter)

bind x "team [team][playertype][primary weapon][secondary weapon (optional)]"
Where:

1:[team] is r=axis, b=allies
2:[playertype] is 0=soldier, 1=medic, 2=engineer, 3=field ops, 4=covert ops
3:[primary weapon] is 3-35 (see chart below)
4:[secondary weapon] is 3 = MP40 for axis soldiers, 8 = Thompson for allied soldiers, 37 = akimbo colts, and 38 = akimbo lugars. The nice part is if you haven't earned a skill that allows selection of an alternative secondary weapon, you will just default to the standard pistol.

So a bind to spawn me as an Axis engineer with the K43 w/ grenade launcher would look like this:


bind x "team r 2 23"
If I wanted to ensure that I always selected akimbo lugars, once I reached Level 4 Light Weapons, then I would write the bind like this:

bind x "team r 2 23 38"

here is copy of mine

bind UPARROW "team s 1 ; say "^7Going ^4Spec!"
bind LEFTARROW "team b 2 23; say " ^7Allies - ^4Eng Garand!"
bind RIGHTARROW "team r 2 23; say "^7Axis - ^4Eng K/43!"


Below you will find a picture, it is a bit hard to understand, but you will be able to figure out what numbers select each class/weapon Smile





[You must be registered and logged in to see this link.]


<BHS/3 Clan ***
pie


Last edited by </3Pie on Wed Jul 11, 2012 12:02 pm; edited 1 time in total
Back to top Go down
View user profile
I<3Pie



Posts : 302
Join date : 2012-04-27
Age : 29
Location : Inside The Interweb

PostSubject: Axis Team Bind   Wed Jul 11, 2012 11:48 am

I'm having issues with the Axis Engineer Bind... the allies bind is working correctly and putting me as engy wit Rnade, but the axis one seems to not want to do it,. i cam currently working out this situtation bare with me.

I've unlocked this topic so that if anyone manages to get it working properly before i do they can inform me Smile

<BHS/3 Clan ***
pie
Back to top Go down
View user profile
</3wildes
Admin
avatar

Posts : 784
Join date : 2011-07-31
Age : 41
Location : Frankfurt am Main

PostSubject: Re: Weapon & Class Selection Binds (Easier than !put Pie S R B ect ect)   Fri Oct 26, 2012 4:45 pm

Thing is there are 2 ways to do it: team or class command this one i pasted you works with class as u can see. Just that class cmd doesnt support 2ndary weapon.

team command looks like this:

"team r 0 3 2" that would be r=axis 0=medic 3=mp40 2=luger


This class selector script for nitmod:


bind "PGUP" "vstr engi"
set engi vstr eng1
set eng1 "class e 1 ; vsay_team iamengineer ^0Engi ^7@ ^0SMG ; set engi vstr eng2"
set eng2 "class e 2 ; vsay_team iamengineer ^0Engi ^7@ ^0SMG2 ; set engi vstr eng3"
set eng3 "class e 3 ; vsay_team iamengineer ^0Engi ^7@ ^0Rifle ; set engi vstr eng1"

bind "PGDN" "vstr covi"
set covi vstr cov1
set cov1 "class c 1 ; vsay_team iamcovertops ^0Cover ^7@ ^0Sten ; set covi vstr cov2"
set cov2 "class c 2 ; vsay_team iamcovertops ^0Cover ^7@ ^0FG42 ; set covi vstr cov3"
set cov3 "class c 3 ; vsay_team iamcovertops ^0Cover ^7@ ^0Sniper ; set covi vstr cov1"

bind "DEL" "vstr soldier"
set soldier vstr soldier1
set soldier1 "class s 1 ; vsay_team iamsoldier ^0soldier ^7@ ^0SMG ; set soldier vstr soldier2"
set soldier2 "class s 2 ; vsay_team iamsoldier ^0soldier ^7@ ^0Mobile MG42 ; set soldier vstr soldier3"
set soldier3 "class s 3 ; vsay_team iamsoldier ^0soldier ^7@ ^0Flamer ; set soldier vstr soldier4"
set soldier4 "class s 4 ; vsay_team iamsoldier ^0soldier ^7@ ^0Panzer ; set soldier vstr soldier5"
set soldier5 "class s 5 ; vsay_team iamsoldier ^0soldier ^7@ ^0Mortar ; set soldier vstr soldier1"

bind "HOME" "vstr med"
set med vstr med1
set med1 "class m 1 ; vsay_team iammedic ^0Medic ^7@ ^0SMG ; set med vstr med2"
set med2 "class m 2 ; vsay_team iammedic ^0Medic ^7@ ^0SMG2 ; set med vstr med3"
set med3 "class m 3 ; vsay_team iammedic ^0Medic ^7@ ^0Sten ; set med vstr med1" //If g_weapons flag 512 is set on the server

bind "END" "vstr fo"
set fo vstr fo1
set fo1 "class f 1 ; vsay_team iamfieldops ^0Field ^7@ ^0SMG ; set fo vstr fo2"
set fo2 "class f 2 ; vsay_team iamfieldops ^0Field ^7@ ^0SMG2 ; set fo vstr fo3"
set fo3 "class f 3 ; vsay_team iamfieldops ^0Field ^7@ ^0Sten ; set fo vstr fo1" //If g_weapons flag 512 is set on the server

<BHS/3 Clan ***
[You must be registered and logged in to see this link.]

[You must be registered and logged in to see this link.]

[You must be registered and logged in to see this link.]


Last edited by </3wildes on Fri Oct 26, 2012 4:50 pm; edited 1 time in total
Back to top Go down
View user profile http://www.affestaa.com
</3wildes
Admin
avatar

Posts : 784
Join date : 2011-07-31
Age : 41
Location : Frankfurt am Main

PostSubject: Re: Weapon & Class Selection Binds (Easier than !put Pie S R B ect ect)   Fri Oct 26, 2012 4:46 pm

This is the whole weapon number list for nitmod:

typedef enum weapon_s
{
WP_NONE, // 0
WP_KNIFE, // 1
WP_LUGER, // 2
WP_MP40, // 3
WP_GRENADE_LAUNCHER, // 4
WP_PANZERFAUST, // 5
WP_FLAMETHROWER, // 6
WP_COLT, // 7
WP_THOMPSON, // 8
WP_GRENADE_PINEAPPLE, // 9
WP_STEN, // 10
WP_MEDIC_SYRINGE, // 11
WP_AMMO, // 12
WP_ARTY, // 13
WP_SILENCER, // 14
WP_DYNAMITE, // 15
WP_SMOKETRAIL, // 16
VERYBIGEXPLOSION, // 17
WP_MEDKIT, // 18
WP_BINOCULARS, // 19
WP_PLIERS, // 20
WP_SMOKE_MARKER, // 21
WP_KAR98, // 22
WP_CARBINE, // 23
WP_GARAND, // 24
WP_LANDMINE, // 25
WP_SATCHEL, // 26
WP_SATCHEL_DET, // 27
WP_SMOKE_BOMB, // 28
WP_MOBILE_MG42, // 29
WP_K43, // 30
WP_FG42, // 31
WP_DUMMY_MG42, // 32
WP_MORTAR, // 33
WP_AKIMBO_COLT, // 34
WP_AKIMBO_LUGER, // 35
WP_GPG40, // 36
WP_M7, // 37
WP_SILENCED_COLT, // 38
WP_GARAND_SCOPE, // 39
WP_K43_SCOPE, // 40
WP_FG42SCOPE, // 41
WP_MORTAR_SET, // 42
WP_MEDIC_ADRENALINE, // 43
WP_AKIMBO_SILENCEDCOLT, // 44
WP_AKIMBO_SILENCEDLUGER, // 45
WP_MOBILE_MG42_SET, // 46
WP_POISON_SYRINGE, // 47
WP_BOMB, // 48
WP_TRIPMINE, // 49
WP_POISON_BOMB, // 50
WP_POISON_MINE, // 51
WP_NUM_WEAPONS // 52
} weapon_t;

<BHS/3 Clan ***
[You must be registered and logged in to see this link.]

[You must be registered and logged in to see this link.]

[You must be registered and logged in to see this link.]
Back to top Go down
View user profile http://www.affestaa.com
Sponsored content




PostSubject: Re: Weapon & Class Selection Binds (Easier than !put Pie S R B ect ect)   

Back to top Go down
 
Weapon & Class Selection Binds (Easier than !put Pie S R B ect ect)
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Assault cruiser build
» Best class & weapon Combo!
» Additional Hand Weapon AND Shield
» Weapon "patterns"
» Forza 3 F-Class Tourney - Track List & Results

Permissions in this forum:You cannot reply to topics in this forum
BrokenHeartsShootingclub :: General :: Config Corner :: CFG guide-
Jump to: