A Slot Management Script
MrRadicalEd
Turrent Master Join Date: 2004-08-13 Member: 30601Members
<div class="IPBDescription">NS:Alternate Slot Script</div> <b>update</b>: A few changes has happened to the script adding some new functionality and making things easier for mp_blockscripts enabled servers. new site where you download the script and read detaild information on using it can be found here: <a href='http://members.cox.net/flaming.june/form' target='_blank'>http://members.cox.net/flaming.june/form</a>
Form is a slot management script. You can customize the way you select your weapon slots using this script in a variety of ways by using "parent" and "child" slots.
Now I know everyone has their own setup and their own unique way of selecting weapons. This script lets you add new functionality on top of your current setup. The idea is once you get everything tailored to your liking everything becomes transparent and it's like you never had a script in the first place.
With this script you're able to toggle between two, three, or all four weapons at the press of a single key, and, with any one of those selected weapons, can yeild it's own alternate selected weapon. Though that is just one broad example; it's just real flexable to use.
Form is a slot management script. You can customize the way you select your weapon slots using this script in a variety of ways by using "parent" and "child" slots.
Now I know everyone has their own setup and their own unique way of selecting weapons. This script lets you add new functionality on top of your current setup. The idea is once you get everything tailored to your liking everything becomes transparent and it's like you never had a script in the first place.
With this script you're able to toggle between two, three, or all four weapons at the press of a single key, and, with any one of those selected weapons, can yeild it's own alternate selected weapon. Though that is just one broad example; it's just real flexable to use.
Comments
It's not the kind of script I would need, 4 individual attack keys would be my fav but my multibutton mouse is wireless and lags in FPS's.
But you look like a good scriptor...maybe u could make my one click; spores, umbra, then switch to bite for lerk?
The rest of scripts I think of are too evil...GO AWAY FROM MY MIND YOU MALICIOUS DEMONS!!!
You can still use your individual attack scripts with this. You just need to make a few modifications that's all.
i have a similar script but i never though of having a record function like you do
i always had to minimize out and change my cfg if i wanted to change it...
the command IS cl_lw (client side weapons prediction, makes sense, no?)
rine slot4
mines, welder, tampon
And I just noticed that a word was filtered out in my post. It has more than one meaning, and not all are dirty... I will replace it with "Chambering"
EDIT: Hmmm, probably should have put this into my last post....
AFAIK it's not possible to prevent the draw animations playing. When spectating players you don't see them draw their weps, but that's simply a spectator thing. From their perspective the animation is playing. Is this related to cl_lw?
--
cl_lw (client side weapons prediction)
Google gives:
"This controls whether the weapon animations/sounds are played client-side. If this is enabled (cl_lw 1), then the sounds and animations are played client-side, the instant you fire the gun (instead of waiting for the server to confirm it). There are disadvantages and advantages to this.
If left off (cl_lw 0), you'll see the gun firing as your lag allows, which also means you'll see the gun fire in sync with the hits. The problem with this is that if lag compensation is on, you'll have no bullet marks to adjust your aim by until it's way too late. This can work against you with random-trajectory weapons, such as Counter-Strike's AK-47.
The problem with turning it on is that your machine has to generate the random kick and inaccuracy. As a result, the bullet marks/kick being shown will likely not line up with the ones the server is randomly generating. If you're shooting a highly inaccurate weapon (once again using CS's AK-47 as an example), bullets that seem to hit might not really hit, and bullets that don't seem to hit might end up hitting anyways.
We recommend that you leave this on if you're playing with lag compensation. If you aren't, then turn it off. This defaults to 1 (on). "
--
This script works with bs1, right? Looks like top stuff, I'll try it out.
I've listened to some feedback and improved some minor things.
- Recording a slot can now be done on mp_blockscripts servers with a new toggling alias
- Added a <i>second</i> child slot for each of the parent slots
- Added the option to record weapon slots as either the child or parent via a toggle alias(you can link slots together as parents and have a customized inventory going with child slots branching off)
- More noticable sound tips
- Added extra messages to know when you are recording weapon slots
All found here: <a href='http://members.cox.net/flaming.june/form' target='_blank'>http://members.cox.net/flaming.june/form</a>
- New and more detailed messeges when recording keys as alternate slots(Which added the most to the file)
- Added messeges and sound tips when toggles are turned off
- Resolved foreseeable "key leaks"
I have some ideas for Form 2 in the works. Possibly the addition of three user-defined parent slots(along with the standard alternate slot options) So as marines you could define slots5, 6, and 7 with welder, mines, and grenades and create a custom sub inventory as an offshoot of a parent slot.. fun stuff..
- Added four user define weapon slots; slot5#, slot6#, slot7#, and slot8# that work like the original four parent slots.
- Added mp_blockscripts safe last used slot function for use with Form exclusively; lastslot
- Documentation in the .zip is now an html document and not plain text
Now there is more benefit added when playing as marines using this script. You can create a custom inventory of slot4 items(welder, grenades, etc) separate from your primary/secondary weapons and toggle between the two.
I have one thing I use...I wonder if it does the same?
alias +s2 "slot2; wait"
alias -s2 "slot1; wait"
alias +s3 "slot3; wait"
alias -s3 "slot1; wait"
alias +s4 "slot4; wait"
alias -s4 "slot1; wait"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+s2"
bind "MOUSE4" "+s3"
bind "MOUSE5" "+s4"
It works great for me...maybe something could be faster...
It's my massive script pack. The slot management thing is part of marine.cfg and alien.cfg, as it's different for the two teams.
There's a lot of useful stuff in there, though it's probably a little out of date. Look through and use the whole thing, or cannabalize it if you want.