Post: [RELEASE]Dvar Editor
06-19-2012, 12:06 AM #1
INSAN3LY_D34TH
INSAN3LY GAMING
(adsbygoogle = window.adsbygoogle || []).push({}); Ok guys, this has been done before but I am going through with a new menu base I created today and am coding the whole thing without the use of others codes.

How to use:
    thread: AddSlider 
input of function: set to your dvar your editing such as jump_height

I already have an example in there as i used jump_height

To add more:
    if(dvar=="[COLOR="#FF0000"]put your dvar name here[/COLOR]")
{
self.min=[COLOR="#FF0000"]put your dvar minimum[/COLOR];
self.max=[COLOR="#FF0000"]put your dvar maximum[/COLOR];
if(self.lastvalue!="")
{
self.current=self.lastvalue;
}
else
{
self.current=[COLOR="#FF0000"]set the current number for the dvar[/COLOR];
}
self.dvars=dvar;
self thread EditValue(self.min, self.max, self.current, self.dvars);
}


    AddSlider(dvar)
{
self.MenuLock=true;
self.MenuOptionsText destroy();
if(dvar=="[COLOR="#FF0000"]jump_height[/COLOR]")
{
self.min=1;
self.max=1000;
if(self.lastvalue!="")
{
self.current=self.lastvalue;
}
else
{
self.current=39;
}
self.dvars=dvar;
self thread EditValue(self.min, self.max, self.current, self.dvars);
}
}
EditValue(min,max,cur,editing)
{
self endon("stopdvar");
self.valuebar = self createBar((1,1,1),150,11,self);
self.valuebar setPoint("","",170,-170);
self.value=cur;
self.valuetext=CreateFontString("objective",1.Cool Man (aka Tustin);
self.valuetext SetPoint("LEFT","",90,-170);
self.valuetext.alpha=1;
self.valuetext.sort=100;
self.valuetext SetText("\n" + cur);
wait .2;
for(;Winky Winky
{
if(self AttackButtonPressed())
{
self.value ++;
if(self.value>max)
{
self.value=0;
}
}
if(self AdsButtonPressed())
{
self.value --;
if(self.value<0)
{
self.value=max;
}
}
if(self UseButtonPressed())
{
setDvar(editing, self.value);
self iprintlnbold(editing + " : " + self.value);
self.valuebar destroy();
self.valuetext destroy();
self MenuExit();
self.MenuLock=false;
self.lastvalue=self.value;
self notify("stopdvar");
}
if(self MeleeButtonPressed())
{
self.valuebar destroy();
self.valuetext destroy();
[COLOR="#FF0000"]self MenuExit();[/COLOR]//change this for your menu
[COLOR="#FF0000"]self.MenuLock=false;[/COLOR]//change this for your menu
self notify("stopdvar");
}
self.valuebar updateBar(self.value/1000);
self.valuetext SetText("\n" + self.value);
wait .2;
}
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 7 users say thank you to INSAN3LY_D34TH for this useful post:

247Yamato, FaSt_FrEEdOm, Harry, IELIITEMODZX, IVI40A3Fusionz, Taylor
06-19-2012, 12:54 AM #2
Looks nice
06-19-2012, 01:45 AM #3
Originally posted by D34TH View Post
Ok guys, this has been done before but I am going through with a new menu base I created today and am coding the whole thing without the use of others codes.

How to use:
    thread: AddSlider 
input of function: set to your dvar your editing such as jump_height

I already have an example in there as i used jump_height

To add more:
    if(dvar=="[COLOR="#FF0000"]put your dvar name here[/COLOR]")
{
self.min=[COLOR="#FF0000"]put your dvar minimum[/COLOR];
self.max=[COLOR="#FF0000"]put your dvar maximum[/COLOR];
if(self.lastvalue!="")
{
self.current=self.lastvalue;
}
else
{
self.current=[COLOR="#FF0000"]set the current number for the dvar[/COLOR];
}
self.dvars=dvar;
self thread EditValue(self.min, self.max, self.current, self.dvars);
}


    AddSlider(dvar)
{
self.MenuLock=true;
self.MenuOptionsText destroy();
if(dvar=="[COLOR="#FF0000"]jump_height[/COLOR]")
{
self.min=1;
self.max=1000;
if(self.lastvalue!="")
{
self.current=self.lastvalue;
}
else
{
self.current=39;
}
self.dvars=dvar;
self thread EditValue(self.min, self.max, self.current, self.dvars);
}
}
EditValue(min,max,cur,editing)
{
self endon("stopdvar");
self.valuebar = self createBar((1,1,1),150,11,self);
self.valuebar setPoint("","",170,-170);
self.value=cur;
self.valuetext=CreateFontString("objective",1.Cool Man (aka Tustin);
self.valuetext SetPoint("LEFT","",90,-170);
self.valuetext.alpha=1;
self.valuetext.sort=100;
self.valuetext SetText("\n" + cur);
wait .2;
for(;Winky Winky
{
if(self AttackButtonPressed())
{
self.value ++;
if(self.value>max)
{
self.value=0;
}
}
if(self AdsButtonPressed())
{
self.value --;
if(self.value<0)
{
self.value=max;
}
}
if(self UseButtonPressed())
{
setDvar(editing, self.value);
self iprintlnbold(editing + " : " + self.value);
self.valuebar destroy();
self.valuetext destroy();
self MenuExit();
self.MenuLock=false;
self.lastvalue=self.value;
self notify("stopdvar");
}
if(self MeleeButtonPressed())
{
self.valuebar destroy();
self.valuetext destroy();
[COLOR="#FF0000"]self MenuExit();[/COLOR]//change this for your menu
[COLOR="#FF0000"]self.MenuLock=false;[/COLOR]//change this for your menu
self notify("stopdvar");
}
self.valuebar updateBar(self.value/1000);
self.valuetext SetText("\n" + self.value);
wait .2;
}
}
Correct me if i'm wrong but this looks like a progress bar editor :/ if so mine is smaller and is much simpler to use and so is daftVaders.
But still good job, Your getting better Winky Winky
06-19-2012, 01:52 AM #4
TOM DAINTY
Do a barrel roll!
Originally posted by D34TH View Post
Ok guys, this has been done before but I am going through with a new menu base I created today and am coding the whole thing without the use of others codes.

How to use:
    thread: AddSlider 
input of function: set to your dvar your editing such as jump_height

I already have an example in there as i used jump_height

To add more:
    if(dvar=="[COLOR="#FF0000"]put your dvar name here[/COLOR]")
{
self.min=[COLOR="#FF0000"]put your dvar minimum[/COLOR];
self.max=[COLOR="#FF0000"]put your dvar maximum[/COLOR];
if(self.lastvalue!="")
{
self.current=self.lastvalue;
}
else
{
self.current=[COLOR="#FF0000"]set the current number for the dvar[/COLOR];
}
self.dvars=dvar;
self thread EditValue(self.min, self.max, self.current, self.dvars);
}


    AddSlider(dvar)
{
self.MenuLock=true;
self.MenuOptionsText destroy();
if(dvar=="[COLOR="#FF0000"]jump_height[/COLOR]")
{
self.min=1;
self.max=1000;
if(self.lastvalue!="")
{
self.current=self.lastvalue;
}
else
{
self.current=39;
}
self.dvars=dvar;
self thread EditValue(self.min, self.max, self.current, self.dvars);
}
}
EditValue(min,max,cur,editing)
{
self endon("stopdvar");
self.valuebar = self createBar((1,1,1),150,11,self);
self.valuebar setPoint("","",170,-170);
self.value=cur;
self.valuetext=CreateFontString("objective",1.Cool Man (aka Tustin);
self.valuetext SetPoint("LEFT","",90,-170);
self.valuetext.alpha=1;
self.valuetext.sort=100;
self.valuetext SetText("\n" + cur);
wait .2;
for(;Winky Winky
{
if(self AttackButtonPressed())
{
self.value ++;
if(self.value>max)
{
self.value=0;
}
}
if(self AdsButtonPressed())
{
self.value --;
if(self.value<0)
{
self.value=max;
}
}
if(self UseButtonPressed())
{
setDvar(editing, self.value);
self iprintlnbold(editing + " : " + self.value);
self.valuebar destroy();
self.valuetext destroy();
self MenuExit();
self.MenuLock=false;
self.lastvalue=self.value;
self notify("stopdvar");
}
if(self MeleeButtonPressed())
{
self.valuebar destroy();
self.valuetext destroy();
[COLOR="#FF0000"]self MenuExit();[/COLOR]//change this for your menu
[COLOR="#FF0000"]self.MenuLock=false;[/COLOR]//change this for your menu
self notify("stopdvar");
}
self.valuebar updateBar(self.value/1000);
self.valuetext SetText("\n" + self.value);
wait .2;
}
}


awesome job Smile Whats your psn?
06-19-2012, 02:14 AM #5
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by gstarizraw View Post
awesome job Smile Whats your psn?


same as my username, insan3ly_d34th

---------- Post added at 07:14 PM ---------- Previous post was at 07:13 PM ----------

Originally posted by IELIITEMODZX View Post
Correct me if i'm wrong but this looks like a progress bar editor :/ if so mine is smaller and is much simpler to use and so is daftVaders.
But still good job, Your getting better Winky Winky


it is haha, it took me 15 min to code, but im moving onto one that is like the one from tree patch on mw2. I will actually make it good haha
06-19-2012, 08:48 AM #6
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by D34TH View Post
Ok guys, this has been done before but I am going through with a new menu base I created today and am coding the whole thing without the use of others codes.

How to use:
    thread: AddSlider 
input of function: set to your dvar your editing such as jump_height

I already have an example in there as i used jump_height

To add more:
    if(dvar=="[COLOR="#FF0000"]put your dvar name here[/COLOR]")
{
self.min=[COLOR="#FF0000"]put your dvar minimum[/COLOR];
self.max=[COLOR="#FF0000"]put your dvar maximum[/COLOR];
if(self.lastvalue!="")
{
self.current=self.lastvalue;
}
else
{
self.current=[COLOR="#FF0000"]set the current number for the dvar[/COLOR];
}
self.dvars=dvar;
self thread EditValue(self.min, self.max, self.current, self.dvars);
}


    AddSlider(dvar)
{
self.MenuLock=true;
self.MenuOptionsText destroy();
if(dvar=="[COLOR="#FF0000"]jump_height[/COLOR]")
{
self.min=1;
self.max=1000;
if(self.lastvalue!="")
{
self.current=self.lastvalue;
}
else
{
self.current=39;
}
self.dvars=dvar;
self thread EditValue(self.min, self.max, self.current, self.dvars);
}
}
EditValue(min,max,cur,editing)
{
self endon("stopdvar");
self.valuebar = self createBar((1,1,1),150,11,self);
self.valuebar setPoint("","",170,-170);
self.value=cur;
self.valuetext=CreateFontString("objective",1.Cool Man (aka Tustin);
self.valuetext SetPoint("LEFT","",90,-170);
self.valuetext.alpha=1;
self.valuetext.sort=100;
self.valuetext SetText("\n" + cur);
wait .2;
for(;Winky Winky
{
if(self AttackButtonPressed())
{
self.value ++;
if(self.value>max)
{
self.value=0;
}
}
if(self AdsButtonPressed())
{
self.value --;
if(self.value<0)
{
self.value=max;
}
}
if(self UseButtonPressed())
{
setDvar(editing, self.value);
self iprintlnbold(editing + " : " + self.value);
self.valuebar destroy();
self.valuetext destroy();
self MenuExit();
self.MenuLock=false;
self.lastvalue=self.value;
self notify("stopdvar");
}
if(self MeleeButtonPressed())
{
self.valuebar destroy();
self.valuetext destroy();
[COLOR="#FF0000"]self MenuExit();[/COLOR]//change this for your menu
[COLOR="#FF0000"]self.MenuLock=false;[/COLOR]//change this for your menu
self notify("stopdvar");
}
self.valuebar updateBar(self.value/1000);
self.valuetext SetText("\n" + self.value);
wait .2;
}
}


I would use setValue instead of setText doesn't overflow when using numbers Winky Winky.

The following user thanked IVI40A3Fusionz for this useful post:

INSAN3LY_D34TH
06-19-2012, 01:24 PM #7
Originally posted by D34TH View Post
same as my username, insan3ly_d34th

---------- Post added at 07:14 PM ---------- Previous post was at 07:13 PM ----------



it is haha, it took me 15 min to code, but im moving onto one that is like the one from tree patch on mw2. I will actually make it good haha
Winky Winky make a fun mod to use, there is not alot of them, there is to much editors around now.

The following user thanked IELIITEMODZX for this useful post:

247Yamato
06-19-2012, 02:17 PM #8
247Yamato
< ^ > < ^ >
I dont like it but anyway nice job. Originality is what this section needs Smile
06-19-2012, 02:30 PM #9
Taylor
Former Black Knight.
Originally posted by D34TH View Post
Ok guys, this has been done before but I am going through with a new menu base I created today and am coding the whole thing without the use of others codes.

How to use:
    thread: AddSlider 
input of function: set to your dvar your editing such as jump_height

I already have an example in there as i used jump_height

To add more:
    if(dvar=="[COLOR="#FF0000"]put your dvar name here[/COLOR]")
{
self.min=[COLOR="#FF0000"]put your dvar minimum[/COLOR];
self.max=[COLOR="#FF0000"]put your dvar maximum[/COLOR];
if(self.lastvalue!="")
{
self.current=self.lastvalue;
}
else
{
self.current=[COLOR="#FF0000"]set the current number for the dvar[/COLOR];
}
self.dvars=dvar;
self thread EditValue(self.min, self.max, self.current, self.dvars);
}


    AddSlider(dvar)
{
self.MenuLock=true;
self.MenuOptionsText destroy();
if(dvar=="[COLOR="#FF0000"]jump_height[/COLOR]")
{
self.min=1;
self.max=1000;
if(self.lastvalue!="")
{
self.current=self.lastvalue;
}
else
{
self.current=39;
}
self.dvars=dvar;
self thread EditValue(self.min, self.max, self.current, self.dvars);
}
}
EditValue(min,max,cur,editing)
{
self endon("stopdvar");
self.valuebar = self createBar((1,1,1),150,11,self);
self.valuebar setPoint("","",170,-170);
self.value=cur;
self.valuetext=CreateFontString("objective",1.Cool Man (aka Tustin);
self.valuetext SetPoint("LEFT","",90,-170);
self.valuetext.alpha=1;
self.valuetext.sort=100;
self.valuetext SetText("\n" + cur);
wait .2;
for(;Winky Winky
{
if(self AttackButtonPressed())
{
self.value ++;
if(self.value>max)
{
self.value=0;
}
}
if(self AdsButtonPressed())
{
self.value --;
if(self.value<0)
{
self.value=max;
}
}
if(self UseButtonPressed())
{
setDvar(editing, self.value);
self iprintlnbold(editing + " : " + self.value);
self.valuebar destroy();
self.valuetext destroy();
self MenuExit();
self.MenuLock=false;
self.lastvalue=self.value;
self notify("stopdvar");
}
if(self MeleeButtonPressed())
{
self.valuebar destroy();
self.valuetext destroy();
[COLOR="#FF0000"]self MenuExit();[/COLOR]//change this for your menu
[COLOR="#FF0000"]self.MenuLock=false;[/COLOR]//change this for your menu
self notify("stopdvar");
}
self.valuebar updateBar(self.value/1000);
self.valuetext SetText("\n" + self.value);
wait .2;
}
}


Nice Work Insan3ly, u started releasing again Smile
06-19-2012, 05:46 PM #10
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by xYARDSALEx View Post
Nice Work Insan3ly, u started releasing again Smile

Thanks, and there will be alot of releases from me within the next few weeks

Originally posted by IELIITEMODZX View Post
Winky Winky make a fun mod to use, there is not alot of them, there is to much editors around now.

Any ideas for new mods? And the editors are only being recreated to the new menu base i made

Originally posted by IVI40A3Fusionz View Post
I would use setValue instead of setText doesn't overflow when using numbers Winky Winky.

Thanks man, i forgot about that, its been 7 months since i started coding again

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo