x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 

Forum

Soldier script I made

Created 5th June 2010 @ 17:47

Add A Reply Pages: 1 2 3 Next »

Random

[Gb]

In case you don’t know – put this in:

C:Program FilesSteamsteamapps[YOURUSERNAMEHERE]team fortress 2tfcfgsoldier.cfg

(if It’s not there, which it should be, then make it)

What this does is redesign the interface for the soldier
Mouse 1 gets out RL and fires
Mouse 2 gets out shotgun and fires
Mouse 3 gets out the equalizer and swings it – it then stays out so you can run away
Mouse 4 rocket jumps
F puts ‘medic down’ into the team chat and shouts the ‘go go go’ voice command.

The bit you need is marked by dividers in the code but be sure to read the bottom bit as it probably applies to most of your other classes


// Randomdog's Soldier CFG

// Notes
// Auto-reload is recommended
// Requires a mouse with at least 4 buttons (unless you feel like rebinding)
// Feel free to change the binds (down at the bottom) but don't mess with the rest unless you know what you're doing
// Designed for competitive play so doesn't use any wait commands and has a hotkey for 'medic down'
// Designed for using the equalizer, there is no autoswitch back after hit from the melee because most of the time you will want to run away when you get the equalizer out. Use scrollwheel up and down to switch if you have to.

// Binds

// Mouse 1 - Rocket Launcher

// Mouse 2 - Shotgun or Activate Buff Banner (will have no effect when gunboats equipped)

// Mouse 3 - Equalizer/Shovel - will stay out if you let go of the button so that you can run away with equalizer. Clicking M3 makes you attack with it.

// Mouse 4 - rocket jump - GET THE ROCKET LAUNCHER OUT FIRST!

// Mouse Wheel up - Switch to rocket launcher

// Mouse Wheel down - Switch to shotgun

// F - 'Medic Down' in team chat and shout the 'go go go' voice command

// SCRIPT BEGINS HERE!

// Rocket Launcher
alias "+rockets" "slot1;+attack;"
alias "-rockets" "-attack;+reload"

// Shotgun
alias "+shotty" "slot2;+attack"
alias "-shotty" "-attack;+reload"

// Equalizer
alias "+pick" "slot3;+attack"
alias "-pick" "-attack"

// Rocket Jump
alias +rocketjump "+duck;+attack;+jump"
alias -rocketjump "-duck;-attack;-jump"

// Medic Down
alias "killmed" "say_team "***ENEMY MEDIC DOWN!***";voicemenu 0 2"

// Mouse wheel switch
alias "wheelrockets" "slot1"
alias "wheelshotty" "slot2"

// The Binds - Yes this is the bit you can edit
bind "f" "killmed"
bind "mouse1" "+rockets"
bind "mouse2" "+shotty"
bind "mouse3" "+pick"
bind "mouse4" "+rocketjump"
bind "mwheelup" "wheelrockets"
bind "mwheeldown" "wheelshotty"

// Notification in console
echo "*** SOLDIER CFG LOADED***

// SCRIPT ENDS HERE

// Put the following in all your other cfgs, this will make sure the default binds for the other classes are in place. If you change the binds here change this line of text too.
// If you use custom cfgs for the other classes put this at the TOP.

alias "unloadcfg" "bind "mouse1" "+attack";bind "mouse2" "+attack2";bind "mwheelup" "invprev";bind "mwheeldown" "invnext";unbind "mouse3";unbind "mouse4";unbind "f";echo "*** CONFIG UNLOADED ***""

unloadcfg

//Made by Randomdog - Version 1.2

——————————————————-

Edit – the code tags are rubbish on this forum
Edit 2 – Also I can’t backslash in file locations, wut?


Last edited by Random,

droso

o/

Useless script is useless.

Random

[Gb]

Quoted from droso

Useless script is useless.

Well I made it because I wanted a custom interface, other people who’ve tried it also prefer it to the default controls. You might not want to use it but lots of other people do, so would you kindly not force your opinions to everyone else.

octochris

(0v0)

Hello very obvious modification of my medic script, how do you do.

Kind of useless though, rebinding to the mouse is only advisable when you don’t want to be using certain weapons often.

Random

[Gb]

Quoted from octochris

Hello very obvious modification of my medic script, how do you do.

Kind of useless though, rebinding to the mouse is only advisable when you don’t want to be using certain weapons often.

Inspired by it yes, but not exactly a modification as I wrote all the aliases and everything myself.

Good job on that medic script btw, mouse buttons for weapons are a clever idea, even though you now don’t seem to like it for some reason..

octochris

(0v0)

Quoted from Random

Good job on that medic script btw, mouse buttons for weapons are a clever idea, even though you now don’t seem to like it for some reason..

The medic’s job is to heal, and sometimes shoot when shit hits the fan. The soldier’s job is to shoot primarily and to choose a weapon appropriately. Gaming mice are not balanced in such a way that it is advisable to bind M2 to a weapon that you want to fire often.

For the record I was releasing a pack of scripts for all classes based around my medic script in a few days, but meh.


Last edited by octochris,

Random

[Gb]

Quoted from octochris

[…]

The medic’s job is to heal, and sometimes shoot when shit hits the fan. The soldier’s job is to shoot primarily and to choose a weapon appropriately. Gaming mice are not balanced in such a way that it is advisable to bind M2 to a weapon that you want to fire often.

For the record I was releasing a pack of scripts for all classes based around my medic script in a few days, but meh.

Been using this for a couple of days myself now, and so far I’ve found the shotgun on mouse 2 to be REALLY handy. I don’t know what you mean about gaming mice not being ‘balanced’ for a mouse 2 function, mine works just fine?

octochris

(0v0)

Quoted from Random

[…]

Been using this for a couple of days myself now, and so far I’ve found the shotgun on mouse 2 to be REALLY handy. I don’t know what you mean about gaming mice not being ‘balanced’ for a mouse 2 function, mine works just fine?

It’s mostly just bullshit to get around the fact that I’m a bit pissed that I’ve been working on these scripts for a few days and this has suddenly turned up.

Never mind.

Random

[Gb]

Quoted from octochris

[…]

It’s mostly just bullshit to get around the fact that I’m a bit pissed that I’ve been working on these scripts for a few days and this has suddenly turned up.

Never mind.

Well, um, sorry I suppose, had no idea you (or anyone else) was making them.

I’ve only done (and only plan to do) soldier so you can still get all the other classes out.

Vali

-9w-

Quoted from octochris

It’s mostly just bullshit to get around the fact that I’m a bit pissed that I’ve been working on these scripts for a few days and this has suddenly turned up.

Never mind.

Either your script is better than his or not (for solider). If it is, then who cares. If it isn’t, I guess you could get pissed off that someone releases a better script for soldier to help the community than your script to help the community is.

He made a script to help himself and released it to help others if they wanted to play that way, trying to make him feel bad about it because you want all the attention for yourself is a bit :/

Evil

I have mouse2 bound to last weapon used, shit is cash.

herpderp

DAKKA

Quoted from Random

Mouse 2 gets out shotgun and fires
Mouse 3 gets out the equalizer and swings it – it then stays out so you can run away
Mouse 4 rocket jumps

Not sure if those are handy. Mouse 2 is usually less easy to use when firing than Mouse 1, and seeing as Mouse 3 and 4 are usually on the side they would be even more awkward to use.

Depends on what you’re used to I guess though.

Also, just ditch the rocket jump script. Jump scripts are useless.


Last edited by herpderp,

Are you using scroll to change weapons with the other classes?

octochris

(0v0)

Quoted from Vali

He made a script to help himself and released it to help others if they wanted to play that way, trying to make him feel bad about it because you want all the attention for yourself is a bit :/

It’s annoyance at time I could have spent doing other things, not fear of lack of attention.

It doesn’t matter, pretend I said nothing.

Evil

Quoted from octochris

[…]

It’s annoyance at time I could have spent doing other things, not fear of lack of attention.

It doesn’t matter, pretend I said nothing.

Dry your eyes mate
I know you want to make her see how much this pain hurts
But you’ve got to walk away now
It’s over

Add A Reply Pages: 1 2 3 Next »