Request: MG42-script.


(LegoManser) #1

I am having problems getting this to work.

set ch_a “bind a weapalt;sensitivity 3;echo Sens lowered to 3;set ch vstr ch_b”
set ch_b “bind a weapalt;sensitivity 7;echo Sens raised to 7;set ch vstr ch_a”
set ch “vstr ch_a”
bind a “vstr ch”

When I crouch and press A it’ll just say Sens lowered to 3, it does not deploy and now a is just bound to weapalt. I have no idea on what I am doing wrong.

Is it possible to make a button that sends me to the soldier class and selects the MG-42 as primary?


(weasel) #2

Change ‘bind a weapalt’ to ‘weapalt’. You’re rebinding A to deploy, rather than just deploying.


(Ifurita) #3

fwiw, here is my soldier script, exec’d whenever i select soldier class via my class script, edited to incorporate your desired sensitivity changes

//Weapons
bind b “+prone; wait 10; -prone; wait 10; weapalt; sensitivity 3” //prone + deploy bipod for mg42
bind w “vstr nextw-bank23s”
bind r “weaponbank 4; cg_drawgun 1; vstr resets”
bind q “weaponbank 1; cg_drawgun 1; vstr resets”
bind t “toggle cg_drawgun” //use to turn off mg-42

//Multiple-Weaponbind Script Weaponbank 2 and 3
set w-bank2s “weaponbank 2; cg_drawgun 1; set nextw-bank23s vstr w-bank3s”
set w-bank3s “weaponbank 2; weaponbank 3; cg_drawgun 1; set nextw-bank23s vstr w-bank2s”
set nextw-bank23s “vstr w-bank3s”

//Resets to Heavy Weapon
set resets “set nextw-bank23s vstr w-bank3s; sensitivity 7”

seta cg_weaponcycledelay “0”


(LegoManser) #4

Thank you, weasel and Ifurita.
I’ll take a look at it tomorrow.

That weaponcycledelay is pretty good. Any idea why it isn’t at 0 as default?
Got any more goodies like that one?


(Ifurita) #5

The weaponcycledelay is used in my script because i don’t use the wheel to select weapons. If you do, a 0 value might lead to overscrolling. In my previous script, it’s used to make the “… weaponbank 2; weaponbank 3” line work. What this basically does is call up weaponbank 3 unless you’re out of ammo, in which case, it automatically goes to weaponbank 2"


(Ubiquitous) #6

This is the kind of lame crap that I was talking about in my post. People that can change sensitivity on certain weapons, and even on the same weapon to increase aim. Lame.


(Majin) #7

BAHAHAA…
Thanks for the laugh ubiquitous.

Changing sensitivy is in the options for crying out loud.
All this does is save you some time, rather that going into the options.
Just because you are to lazy to care about setting up your game doesn’t mean others are cheating when they do it.

And why did you post in this topic? All you are doing is causing trouble.
If you don’t have something helpful, don’t post here. Go post in your own dumb topic.


(Ifurita) #8

Guess I won’t show you the rest of my config. So let me ask you this:

Spawn select scripts - lame?
Class select scripts - lame?
Chat scripts - lame?
Weapons toggles - lame?
Complaint Pop up toggles - lame?
Scripts that let you toggle to fireteam icons - lame?
Scripts that let two people change key bind set ups on the fly - lame?
Demo record on/off scripts - lame?


(Majin) #9

Dude… Ifurita you are sooo lame.
Using the tools the game gives you to set your game up the way you like it… lame!

:moo: :banana: :moo:

=)

(im joking)


(Ifurita) #10

bah


(KamiKid) #11

Wait, are you saying if I have my weapons bounded I can make them switch faster. Because atm, I think they switch hella slow. Like when I’m using panzer and I shoot some guy I switch to pistol or smg so I can get the hell outta dodge. Some of the times I get caught in the headlights so to speak cause the weapon doesnt switch fast enough.


(Ubiquitous) #12

The reason sensitivity was made an option for these games was to fine tune aim to your tastes. It WASN’T made so cheap losers could have different sensitivies to change on the fly to help in certain situations. I wish punkbuster would ban this lame stuff.


(Ifurita) #13

oddly enough, i don’t have any scripts that change my sensitivity. I know how to write them, but just have never that motivated to do so.


(duke'ku) #14

Lame? Maybe they should ban moroffs like you.


(kotkis) #15

CS-community is striking!


(Ubiquitous) #16

Ban me from a game because I acknowledge that sensitivity scripts are lame. How cute.


(SCDS_reyalP) #17

No, weaponcycledelay doesn’t change how long it takes to switch weapons, though that is an understandable mistake. It makes it so that if you have something bound to next/previous weapon, it doesn’t cycle madly through them if you hold the key down. If you the key for weaponbank 3 (for example) it takes you to that weapon as quickly as you are allowed to.


(kotkis) #18

Ubiquitous, could you describe how are these sensitivity scripts lame? You can’t possibly know if they were meant to be used.


(LegoManser) #19

I have never thought of it as lame. I understand your point though, Ubiquitous.

What the problem for me is that I use cg_fov 110 and when i deploy the MG42 it goes to cg_fov 90, automaticly, now my sensitivity feels wierd and the “grid blocks” are big. Let’s say a guy is behind a tree and I can just see a little of him. The way it is now I can not always get my crosshair to hit him nomatter how hard I try because Enemy Territory skips a few mm everytime I move my mouse. Lowering my sensitivity would make me able to hit where I wanted to and I am sure this is perfectly legal.

I agree that some sensitivity things can be lame. In UrbanTerror (Quake3 “realism” conversion) some people lowered the X axis’ sensitivity and fixed their crosshair so it would be in the height of their opponents head. On horizontal maps this could be a good advantage if you had the right scripts. That was lame.

I don’t think what I am asking for is that bad, but it all depends on which games you have played before and how badly you want to win. Playing competevively or just having a few maps with some beers in the evening on a public server.


(duke'ku) #20

I use a mortar script (Mystiqq made it, <3) that changes my cl_yawspeed and cl_pitchspeed when I deploy my mortar. It also binds my wasd keys to +left, +right, and lookup/down. Q puts the mortar away and the command map (stays out if you hit the button) if it’s out. Does that make me lame? No, it just gives me a way to aim my mortar besides using the mouse.