Post: Quicker/Shorter way of using vstr strings! (1.12)
07-30-2011, 06:46 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); hey guys,ive decided to release this idea that i came up with when i was making my second clantag editor,and it actually worked out,had all 4 digets,and less lines of coding used.so this is a quicker way if your trying to make a big menu or other stuff (e.g infections,clantag editor,class reNamer,rank customizer,prestige toggle etc) so enjoy this little tutorial and hope it comes handy for any of your 1.12/1.11 patches.

Key: How to Use vstr (skip this if known)
how to shorten your strings
how to get them working(from part 2)

to start off,you will need to know what to do or what you can do with the command 'vstr'

1.first,get your dvar or bind,in this case i will be using DPAD_UP,so once you`ve added your option to your patch,your going to need to add a semi-colon inside the brackets and add the command 'set' then your own custom value(e.g bind DPAD_UP vstr A)this will direct me to the new string named 'A' and finally you create a new line and add this "set A" (without the quotes) and andd your commands after it.so your done for part 1,now for part 2.

2.now,this is were it gets all confusing,if you have ever seen a clantag editor in a 1.11 patch you will see its set out as this:
a b c d e f g h i j k l m n o p q r s t u v w x y z 1 2 3 4 5 6 7 8 9
this is what it should look like when your done but it will work with your 1.12 patch,now grab your own vstr string layout(using the one above as an example) put these settings if you want numbers only or alphabet only:
    [COLOR="#FFD700"]set CG "bind DPAD_DOWN toggle vstr 1 2 3 4 5 6 7 8 9"[/COLOR]

or
    [COLOR="#00FF00"]set CG "bind DPAD_DOWN toggle vstr a b c d e f g h i j k l m n o p q r s t u v w x y z"[/COLOR]

this is all depending on what you want to toggle through,for the ones above will work with clantag editors and other stuff.


3.now,the final bit of this tutorial is very importent,you must now join the values to different strings(the values above)so heres an example of a line of coding ive used
    set a "bind BUTTON_A clanname a"
set b "bind BUTTON_A clanname b"
set c "bind BUTTON_A clanname c"

from this,you will need to continue depending how long your values are in the main vstr string(the value holder,like in part 2)but if you have done it right,it will turn out like this(these are the instructions on how it works):
    Player 1:Press BUTTON_BACK which took me to 'set CG' then i pressed DPAD_DOWN and then clicked BUTTON_A which gave me the clantag A,i changed it by pressing DPAD_DOWN which then took me to b,then clicked BUTTON_A which gave me the clantag B etc


so thanks for reading and hope this doesnt confuse anyone which it sounded like it did to me,but it cant be explained any easyer sorry,enjoy
-CodGlitcher
(adsbygoogle = window.adsbygoogle || []).push({});

The following 8 users say thank you to Uk_ViiPeR for this useful post:

add_me, BuC-ShoTz, Kakashii, User23434, TheFallen, xVz, YouRecognizeMe, zFlaVouR
07-30-2011, 06:50 PM #2
TheFallen
Former Dark Night
Very nice.
07-30-2011, 06:57 PM #3
Originally posted by ITheFallenI View Post
Very nice.

that aint all my friend,that aint all =D
07-30-2011, 07:08 PM #4
TheFallen
Former Dark Night
Originally posted by UK
that aint all my friend,that aint all =D


I know it aint all lol. You always have something new -.-
07-30-2011, 07:11 PM #5
Originally posted by ITheFallenI View Post
I know it aint all lol. You always have something new -.-

thats why you love me :p
07-30-2011, 07:21 PM #6
aerosoul94
smooth like butter
So this is a single letter clantag editor?
07-30-2011, 07:23 PM #7
Originally posted by aerosoul94 View Post
So this is a single letter clantag editor?

no,you can do multiple,but you will have to add them in groups,so in this case abcd efgh ijkl etc.... or do them in order.

---------- Post added at 08:23 PM ---------- Previous post was at 08:22 PM ----------

Originally posted by ITheFallenI View Post
I know it aint all lol. You always have something new -.-

P.S get on skype quickly,i found somthing huge for mw2!
07-30-2011, 08:18 PM #8
xShowtime32x
Are you high?
how hard would it b 2 make a say editor??
07-30-2011, 08:33 PM #9
zFlaVouR
Former zFlaVouR!
Originally posted by xShowtime32x View Post
how hard would it b 2 make a say editor??


fast tut: open a patch make a say menu much easier than making a say editor wich would be pretty tough
07-30-2011, 08:39 PM #10
xShowtime32x
Are you high?
i know how to make a patch w/out gen.itd be really cool but really difficult

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo