Fortress Forever

Fortress Forever (https://forums.fortress-forever.com/index.php)
-   Tips and Tutorials (https://forums.fortress-forever.com/forumdisplay.php?f=37)
-   -   lastinv key switching to different default weapons? (https://forums.fortress-forever.com/showthread.php?t=22212)

KubeDawg 10-18-2010 03:55 PM

lastinv key switching to different default weapons?
 
So I rarely ever use my number keys to select my weapons. I always use the nextinv or previnv or lastinv buttons when switching weapons.

When I do this though, when I respawn, it sometimes defaults to a weapon I don't want when I use the lastinv key.

So for instance, if I start out respawning with my super shotgun as engineer, and hit my lastinv key, it switches to my railgun by default. I'd like it to switch to my wrench instead by default. Is there any way to make this happen? I know there's a way to change the weapon you start with, but is this possible as well for your secondary?

Bridget 10-18-2010 11:46 PM

FF needs an option to save the last used weapon between lives, but it probably won't happen simply because that option is available in Team Fortress 2.

Crazycarl 10-19-2010 03:08 AM

You could write a script.

Dexter 10-24-2010 04:39 AM

Quote:

Originally Posted by Bridget (Post 476833)
FF needs an option to save the last used weapon between lives, but it probably won't happen simply because that option is available in Team Fortress 2.

could you explain to me how this works? like if you die with shotgun out, you respawn with shotgun out? (and q/s between whatever else) if it's handy I dont see why not adding it. wait, I dont 'listen to the community (aka bridget)'!

KubeDawg 10-24-2010 08:42 AM

Basically what it needs to do is every time you spawn, it saves a specific main and secondary slot weapon. So if your secondary is your spanner, and main gun is the shotty and you respawn, it should keep the same configuration so when i use my lastinv key, it switches from my main(shotty) to my secondary(spanner).

Crazycarl 10-24-2010 02:57 PM

echo ENGINEER CFG LOADED
alias mysecondary "slot1; bind q myprimary"
alias myprimary "slot3; bind q mysecondary"
bind q "mysecondary"

KubeDawg 10-27-2012 09:00 PM

Sorry to bring up such an old thread, but this is still an issue for me.

The script you have there only binds the Q key to bring up the weapon screen. I'm talking about the lastinv key.

I use these buttons to change weapons in game:
[ - Next
] - Previous
MWHEELUP/DOWN - Lastinv

I don't use any of the number keys. When I spawn and immediately hit the MWHEELDOWN button to switch to whatever the default weapon is as engineer, and that default weapon is the railgun. That's because I've setup my SShotty as the weapon I use when I respawn.

Is there a way I can make the lastinv change to my Wrench instead of my Railgun every time I spawn?

Raynian 10-27-2012 09:31 PM

Alright, this shit is weird.

Putting

slot3
slot1

Will bring up the wrench on spawn and switch to the shotgun.

slot1
slot3

Will do the same, though.

Got the same thing with wait commands.

Messing around with other shit though, I got this

slot3
bind q "slot1; bind q lastinv"
bind 2 "slot2; bind q lastinv"
bind 1 "slot1; bind q lastinv"

The last line is just a failsafe.

That spawns me with the shotty, lastinv defaults to the wrench, and if I ever switch to the railgun it will properly treat that as the lastinv weapon used.

You probably want something more along the lines of

slot3
bind mwheelup "slot1; bind mwheelup lastinv; bind mwheeldown lastinv"
bind mwheeldown "slot1; bind mwheelup lastinv; bind mwheeldown lastinv"
bind [ "invnext; bind mwheelup lastinv; bind mwheeldown lastinv"
bind ] "invprev; bind mwheelup lastinv; bind mwheeldown lastinv"

Don't forget to put bind q lastinv in your userconfig.cfg so your other classes don't get screwed.

Let me know how that works. I use the default number keys + Q as lastinv, but use binds for sentries/dispensers so I don't know if you want any further changes.


All times are GMT. The time now is 04:27 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.