Post: Different control for vstr
10-12-2009, 03:33 PM #1
Saint Jimmy
And don't wear it out.
(adsbygoogle = window.adsbygoogle || []).push({}); TESTED, LAST CODE WORKS FINE

Even MORE credit to Tonsillitis, for starting vstr.

Allright so here is a way to control the vstr differently. I'm going to use Tonsillitis's original code for example:

set Tonsillitis "vstr Tonsillitis1"
set Tonsillitis1 "vstr Tonsillitis1a; set Tonsillitis vstr Tonsillitis2"
set Tonsillitis1a "say ^1 Semi-Automatic ; bind BUTTON_RSHLDR vstr Tonsillitis2a"
set Tonsillitis1b "say ^1 Burst Fire ; bind BUTTON_RSHLDR vstr Tonsillitis2b"
set Tonsillitis1c "say ^1 Default ; bind BUTTON_RSHLDR +attack;-attack"
set Tonsillitis2 "vstr Tonsillitis1b; set Tonsillitis vstr Tonsillitis3"
set Tonsillitis2a "+attack; -attack"
set Tonsillitis2b "+attack; wait 5; -attack; wait 5; +attack; wait 5; -attack; wait 5; +attack; wait 5; -attack; wait 5"
set Tonsillitis3 "vstr Tonsillitis1c; set Tonsillitis vstr Tonsillitis1"
bind DPAD_UP "vstr Tonsillitis"

Basically what we are doing:
Right now UP toggles between Semi-Auto, Burst, and Default. We want to keep that, but make DOWN toggle backwards, as in Semi-Auto, Default,then Burst.

Although for this hack it might not do much good, hopefully it'll help with future hacks.

Here's what we want to add on:

bind DPAD_DOWN "vstr Tonsillitis3"
set Tonsillitis3 "vstr Tonsillitis3a"
set Tonsillitis3a "vstr Tonsillitis1a; set Tonsillitis3 vstr Tonsillitis3b"
set Tonsillitis3b "vstr Tonsillitis1c; set Tonsillitis3 vstr Tonsillitis3c"
set Tonsillitis3c "vstr Tonsillitis1b; set Tonsillitis3 vstr Tonsillitis3a"

That's a good start, but unfortunately, not enough. We need the UP and DOWN commands to be synced. With just this code, Pressing UP 3 times will give you the default, and pressing DOWN once will give you Semi-Auto. That's not what we want. So we edit the original code:

set Tonsillitis "vstr Tonsillitis1"
set Tonsillitis1 "vstr Tonsillitis1a; set Tonsillitis vstr Tonsillitis2 ; set Tonsillitis 3 vstr Tonsillitis3c"
set Tonsillitis1a "say ^1 Semi-Automatic ; bind BUTTON_RSHLDR vstr Tonsillitis2a"
set Tonsillitis1b "say ^1 Burst Fire ; bind BUTTON_RSHLDR vstr Tonsillitis2b"
set Tonsillitis1c "say ^1 Default ; bind BUTTON_RSHLDR +attack;-attack"
set Tonsillitis2 "vstr Tonsillitis1b; set Tonsillitis vstr Tonsillitis3 ; set Tonsillitis 3 vstr Tonsillitis3a"
set Tonsillitis2a "+attack; -attack"
set Tonsillitis2b "+attack; wait 5; -attack; wait 5; +attack; wait 5; -attack; wait 5; +attack; wait 5; -attack; wait 5"
set Tonsillitis3 "vstr Tonsillitis1c; set Tonsillitis vstr Tonsillitis1 ; set Tonsillitis 3 vstr Tonsillitis3b"
bind DPAD_UP "vstr Tonsillitis"

Here we edited Tonsillitis 1, 2, and 3. Now we need to edit the other code at lines 3a, 3b, and 3c.

bind DPAD_DOWN "vstr Tonsillitis3"
set Tonsillitis3 "vstr Tonsillitis3a"
set Tonsillitis3a "vstr Tonsillitis1a; set Tonsillitis3 vstr Tonsillitis3b ; set Tonsillitis vstr Tonsillitis2"
set Tonsillitis3b "vstr Tonsillitis1c; set Tonsillitis3 vstr Tonsillitis3c ; set Tonsillitis vstr Tonsillitis3"
set Tonsillitis3c "vstr Tonsillitis1b; set Tonsillitis3 vstr Tonsillitis3a ; set Tonsillitis vstr Tonsillitis1"

Well, there's the edited second part of the code. Now all we have to do is combine them.

set BP"vstr BP1"
set BP1 "vstr BP1a ; set BP vstr BP2 ; set BP3 vstr BP3c"
set BP1a "say ^1 Semi-Automatic ; bind BUTTON_RSHLDR vstr BP2a"
set BP1b "say ^1 Burst Fire ; bind BUTTON_RSHLDR vstr BP2b"
set BP1c "say ^1 Default ; bind BUTTON_RSHLDR +attack;-attack"
set BP2 "vstr BP1b; set BP vstr BP4 ; set BP3 vstr BP3a"
set BP2a "+attack; -attack"
set BP2b "+attack; wait 5; -attack; wait 5; +attack; wait 5; -attack; wait 5; +attack; wait 5; -attack; wait 5"
set BP4 "vstr BP1c; set BP vstr BP1 ; set BP3 vstr BP3b"
bind DPAD_UP "vstr BP"
bind DPAD_DOWN "vstr BP3"
set BP3 "vstr BP3a"
set BP3a "vstr BP1a; set BP3 vstr BP3b ; set BP vstr BP2"
set BP3b "vstr BP1c; set BP3 vstr BP3c ; set BP vstr BP4"
set BP3c "vstr BP1b; set BP3 vstr BP3a ; set BP vstr BP1"

Please dont flame if you're confused. I spent a lotta time making this, and I know that it's confusing but hopefully most of you will understand it Happy

EDIT: Edited some errors in the final code
(adsbygoogle = window.adsbygoogle || []).push({});
10-12-2009, 03:43 PM #2
Tons
hacks 4 vbux
deleted
10-12-2009, 03:55 PM #3
Saint Jimmy
And don't wear it out.
Originally posted by Tonsillitis View Post
Yeah, I knew about this and I recently used it but it does take up alot of space for what it's worth, as apparently there's a 1kb cap, but that is more than 1kb.

Have you tested it?


Testing right now. I realized it was more than 1kb during the first test, so replaced all the Tonsillitis with BP. Now it is less than 2 kb. Does take a lot of room though, doesnt it
10-12-2009, 04:21 PM #4
Tons
hacks 4 vbux
deleted
10-12-2009, 04:26 PM #5
Saint Jimmy
And don't wear it out.
Originally posted by Tonsillitis View Post
yeah i personally have a smaller version of my one Smile


lol u should post it
10-12-2009, 04:52 PM #6
Tons
hacks 4 vbux
deleted
10-12-2009, 06:15 PM #7
Saint Jimmy
And don't wear it out.
Originally posted by Tonsillitis View Post
no wai then my name wont be in peoples GPAD0_MP's >Smile, and they can easily make one themselves if they paste it into notepad go to Edit > Replace > Choose to replace 'Tonsillitis' with '1'.

Happy


hahahaha good point Happy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo