PDA

View Full Version : Weapon Profile/bind?


Exorte
18th November 2007, 11:39
Hi im looking for a script/bind to bind weapon/class setups
in warfare mod cuz its kind of anoying to click every maprestart or mapchange trough the whole menue.
i actually new some Dvars to do that but it doesent work.
maybe someone can hook me up xD

gr33tz eX0

This 2 settings allways change after changing class/weapon

loadout_primary ak47
ui_primary_highlighted ak47

but if i change em it dont apply it in next round or after death

pepitocod
21st November 2007, 15:17
i've tried too and it doesn't work :S
Just try to find out the BEST weapon config.
Bye

Exorte
9th December 2007, 15:17
Vstr s1
set s1 "vstr s2"
set s2 "openscriptmenu -1 loadout_primary:WEAPON; loadout_primary WEAPON; bind TASTE vstr s3; set s1 vstr s3"
set s3 "openscriptmenu -1 loadout_primary_attachment:KLASSE:ATTACHMENT; loadout_primary_attachment ATTACHMENT; bind TASTE vstr s4; set s1 vstr s4"
set s4 "openscriptmenu -1 loadout_secondary:PISTOL; loadout_secondary PISTOL; bind TASTE vstr s5; set s1 vstr s5"
set s5 "openscriptmenu -1 loadout_secondary_attachment:pistol:ATTACHMENT; loadout_secondary_attachment ATTACHMENT; bind TASTE vstr s6; set s1 vstr s6"
set s6 "openscriptmenu -1 loadout_grenade:GRENADE; loadout_grenade GRENADE; bind TASTE vstr s7; set s1 vstr s7"
set s7 "openscriptmenu -1 loadout_perk1:PERK1; loadout_perk1 PERK1; bind TASTE vstr s8; set s1 vstr s8"
set s8 "openscriptmenu -1 loadout_perk2:PERK2; loadout_perk2 PERK2; bind TASTE vstr s9; set s1 vstr s9"
set s9 "openscriptmenu -1 loadout_perk3:PERK3; loadout_perk3 PERK3; bind TASTE vstr s10; set s1 vstr s10"
set s10 "openscriptmenu changeclass_mw go; bind TASTE exec bb.cfg; set s1 vstr s2"


WEAPON:

* m16
* ak47
* m4
* g3
* g36c
* m14
* mp44
* mp5
* skorpion
* uzi
* ak47u
* p90
* saw
* rpd
* m60e4
* winchester1200
* m1014
* m40a3
* m21
* dragonuv
* remington700
* barrett



WEAPON Attachment:

* assault:gl
* assault:silencer
* assault:reflex
* assault:acog
* -------------
* smg:silencer
* smg:reflex
* smg:acog
* -------------
* lmg:reflex
* lmg:grip
* lmg:acog
* -------------
* shotgun:reflex
* shotgun:grip
* sniper:acog




PISTOL:

* beretta
* usp
* colt45
* deserteagle
* deserteaglegold



PISTOL ATTACHMENT:

* silencer



GRENADE:

* flash_grenade
* concussion_grenade
* smoke_grenade




PERK1:


* c4_mp
* specialty_specialgrenade
* claymore_mp
* specialty_fraggrenade
* specialty_extraammo
* specialty_detectexplosive




PERK2:


* specialty_bulletdamage
* specialty_armorvest
* claymore_fastreload
* specialty_rof
* specialty_gpsjammer
* specialty_explosivedamage




PERK3:


* specialty_longersprint
* specialty_bulletaccuracy
* claymore_pistoldeath
* specialty_grenadepulldeath
* specialty_bulletpenetration
* specialty_holdbreath
* specialty_quieter
* specialty_parabolic


This is a working weapon script but u have to push 8 times the same button, cuz u cant exec more then 1 OpenScriptMenue command each file,
Just found the script on the net maybe somone knows a solution to push the button once to change whole outfitting.


PS: for using this script just Replace the big written things with the weapon,addon,perk of ur choice

PPS: thx to the guy that have figured out that script

metalboy
9th December 2007, 20:59
This is a working weapon script but u have to push 8 times the same button, cuz u cant exec more then 1 OpenScriptMenue command each file,
Just found the script on the net maybe somone knows a solution to push the button once to change whole outfitting.


PS: for using this script just Replace the big written things with the wepon,addon,per of ur choice

PPS: thx to the guy that have figured out that script

Hi, can you explain me step by step how use it?

sf0d
10th December 2007, 00:49
Is the script so you can change your weapons during a game?

Exorte
13th December 2007, 18:53
yes u can change it ingame by hitting 8 times the binded key...
for explanation:

bellow i do smthn like a example:

M4 with red dot sight
colt with silencer
flash grenade
perk1 Bandoliere = extra ammo
perk2 bulletdamage
perk3 Deep inmpact = deeper bullet Penetration

The file should be placed at cod/main Folder named m4flash.cfg
Binded key F5

now u can change outfitting by hiting 8 times F5


Vstr s1
set s1 "vstr s2"
set s2 "openscriptmenu -1 loadout_primary:m4; loadout_primary m4; bind F5 vstr s3; set s1 vstr s3"
set s3 "openscriptmenu -1 loadout_primary_attachment:assault:reflex; loadout_primary_attachment reflex; bind F5 vstr s4; set s1 vstr s4"
set s4 "openscriptmenu -1 loadout_secondary:colt45; loadout_secondary colt45; bind TASTE vstr s5; set s1 vstr s5"
set s5 "openscriptmenu -1 loadout_secondary_attachment:pistol:silencer; loadout_secondary_attachment silencer; bind F5 vstr s6; set s1 vstr s6"
set s6 "openscriptmenu -1 loadout_grenade:flash_grenade; loadout_grenade flash_grenade; bind F5 vstr s7; set s1 vstr s7"
set s7 "openscriptmenu -1 loadout_perk1:specialty_extraammo; loadout_perk1 specialty_extraammo; bind F5 vstr s8; set s1 vstr s8"
set s8 "openscriptmenu -1 loadout_perk2:specialty_bulletdamage; loadout_perk2 specialty_bulletdamage; bind F5 vstr s9; set s1 vstr s9"
set s9 "openscriptmenu -1 loadout_perk3:specialty_bulletpenetration; loadout_perk3 specialty_bulletpenetration; bind F5 vstr s10; set s1 vstr s10"
set s10 "openscriptmenu changeclass_mw go; bind F5 exec m4flash.cfg; set s1 vstr s2"

But my problem was i want to press the key just one time and need a solution for it cuz i dont know how to get it work ;)

3dguyz
17th December 2007, 04:59
can we make a macro to make teh G3 fire in 5 round bursts

i.e. 1 click = 5 rapid mouse clicks

Mr_Nickle
18th December 2007, 02:42
Ok so...

I've tried absolutely everything possible.

I've tried this script and many other ones, I've tried "openscriptmenu -1 loadout_primary:m4" and many other things.

I've tried selecting different classes and so on, but I just can't get it working.

Any help?

Exorte
19th December 2007, 18:28
umaybe u have forgotten to put the cfg not in ur main menu ^^
or else forgott to add the binded key to ur config

Mr_Nickle
21st December 2007, 02:13
umaybe u have forgotten to put the cfg not in ur main menu ^^
or else forgott to add the binded key to ur config

I know everything there is to know about scripts. I don't make noob mistakes like that :cool:

Thanks anyways though, anyone know if this works with 1.3/1.4?