Post: [Release] - RGB Editor
02-02-2012, 04:50 PM #1
Correy
I'm the Original
(adsbygoogle = window.adsbygoogle || []).push({});
here's a preview.


this will need to be edited to suit your menu

call it like this.
    
self thread EditColor( <element> );


and here's the coding.
    
EditColor( element )
{
self endon( "death" );
self.RGB["Init"] = true;
self.RGB["Curs"] = 0;
self thread ExitMenu();
wait .1;
self.RGB["Value"][0] = 0; self.RGB["Value"][1] = 0; self.RGB["Value"][2] = 0;
self.RGB["Bar"][0] = self createProgresBar((1,1,1), 255, 15, "RIGHT", "CENTER", 75, 0);
self.RGB["Bar"][1] = self createProgresBar((1,1,1), 255, 15, "RIGHT", "CENTER", 75, 17);
self.RGB["Bar"][2] = self createProgresBar((1,1,1), 255, 15, "RIGHT", "CENTER", 75, 34);
while( self.RGB["Init"] && !self.M["Init"])
{
//self freezeControls( true );
for( s=0; s<2; s++ ) self thread destroyOnEvent( self.RGB["Bar"][s], "death|disconnect|exit_editor" );
if( self.RGB["Curs"] < 0 ) self.RGB["Curs"] = 2;
if( self.RGB["Curs"] > 2 ) self.RGB["Curs"] = 0;
self.RGB["Value"][self.RGB["Curs"]] += self FragButtonPressed();
self.RGB["Value"][self.RGB["Curs"]] -= self SecondaryOffHandButtonPressed();
if( self AttackButtonPressed() ){ self.RGB["Curs"]++; wait 1; }
if( self ADSButtonPressed() ){ self.RGB["Curs"]--; wait 1; }
if( self.RGB["Value"][self.RGB["Curs"]] > 255 ) self.RGB["Value"][self.RGB["Curs"]] = 0;
if( self.RGB["Value"][self.RGB["Curs"]] < 0 ) self.RGB["Value"][self.RGB["Curs"]] = 255;
self.RGB["Bar"][self.RGB["Curs"]] updateBar( self.RGB["Value"][self.RGB["Curs"]]/255 );
self.RGB["RGBValue"] = ((self.RGB["Value"][0])/255,(self.RGB["Value"][1])/255,(self.RGB["Value"][2])/255);
for( x=0; x<3; x++ ) self.RGB["Bar"][x].color = self.RGB["RGBValue"];
for( i=0; i<self.RGB["Bar"].size; i++ ) self.RGB["Bar"][i].alpha = .35;
self.RGB["Bar"][self.RGB["Curs"]].alpha = 1;
if( self UseButtonPressed() ){
self iPrintln( "New color : " + self.RGB["RGBValue"] );
element.color = self.RGB["RGBValue"];
self.RGB["Init"] = false;
for( x=0; x<3; x++ )
self.RGB["Bar"][x] destroyElem();
self notify( "exit_editor" );
}
if( self UseButtonPressed() ){
self.RGB["Init"] = false;
for( x=0; x<3; x++ )
self.RGB["Bar"][x] destroyElem();
self notify( "exit_editor" );
}
wait .01;
}
self freezeControls( false );
self.RGB["Init"] = false;
for( x=0; x<3; x++ )
self.RGB["Bar"][x] destroyElem();
self notify( "exit_editor" );
}

createProgresBar(color, width, height, xAlign, yAlign, x, y)
{
Bar = self createBar(color, width, height);
Bar setPoint(xAlign, yAlign, x, y);
return Bar;
}

destroyOnEvent( element, events )
{
event = strTok( events, "|" );
for( x=0; x<event.size; x++ )
{
self waittill( event[x] );
element destroyElem();
}
}


yes its big coding, but it functions perfect.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 5 users say thank you to Correy for this useful post:

FM|T xR3PMz, FourzerotwoFAILS, IVI40A3Fusionz, Taylor, xMrCheatVisionx

The following 2 users groaned at Correy for this awful post:

247Yamato, x_DaftVader_x
02-02-2012, 05:34 PM #2
not flaming <3 but ive just found this script that was released days ago and it looks alot like this. i think you edited this script Happy


    createProgresBar(color, width, height, xAlign, yAlign, x, y) { 
Bar = self createBar(color, width, height);
Bar setPoint(xAlign, yAlign, x, y);
Bar thread destroyOnPlayerDeath(self);
return Bar;
}
destroyOnPlayerDeath(player) {
player waittill_any_return("death", "close_color_editor");
self destroyElem();
self destroy();
}
colorEditor(Element) {
self endon("death");
self.menuVariable["using_menu"] = false;
wait 0.1;
Bar[0] = self createProgresBar((1, 1, 1), 255, 20, "RIGHT", "CENTER", 100, 0);
Bar[1] = self createProgresBar((1, 1, 1), 255, 20, "RIGHT", "CENTER", 100, 22);
Bar[2] = self createProgresBar((1, 1, 1), 255, 20, "RIGHT", "CENTER", 100, 44);
Title = self createFontString("objective", 2.0);
Title setPoint("RIGHT", "CENTER", 100, -30);
Title setText("Element: " + Element);
Title.color = (0, 0, 0);
Title thread destroyOnPlayerDeath(self);
Marker = self createFontString("objective", 2.0);
Marker setPoint("RIGHT", "CENTER", -165, 0);
Marker setText("+");
Marker thread destroyOnPlayerDeath(self);
Instruct = self createFontString("objective", 1.7);
Instruct setPoint("RIGHT", "CENTER", 100, 66);
Instruct setText("[{+melee}] Down | [{+frag}]/[{+smoke}] change Value | [{+speed_throw}] Exit");
Instruct thread destroyOnPlayerDeath(self);
Value[0] = 0;
Value[1] = 0;
Value[2] = 0;
self.isInColorEditor = true;
self.currentBar = 0;
self freezeControls(true);
while (self.isInColorEditor) {
if (self MeleeButtonPressed()) {
self.currentBar++;
if (self.currentBar >= Bar.size) self.currentBar = 0;
Marker setPoint("RIGHT", "CENTER", -165, Bar[self.currentBar].y);
wait 0.2;
} else if (self FragButtonPressed()) {
Value[self.currentBar]++;
if (Value[self.currentBar] > 255) Value[self.currentBar] = 0;
Bar[self.currentBar] updateBar(Value[self.currentBar] / 255);
} else if (self SecondaryOffHandButtonPressed()) {
Value[self.currentBar]--;
if (Value[self.currentBar] < 0) Value[self.currentBar] = 255;
Bar[self.currentBar] updateBar(Value[self.currentBar] / 255);
} else if (self AdsButtonPressed()) {
self.isInColorEditor = false;
}
wait 0.01;
Title.color = (Value[0] / 255, Value[1] / 255, Value[2] / 255);
}
self freezeControls(false);
self.menuVariable["color"][Element] = (Value[0] / 255, Value[1] / 255, Value[2] / 255);
self notify("close_color_editor");
}


:love: :love: :love: :love: :love: :love: :love: :love: :love: :love: :love:

The following user thanked IELIITEMODZX for this useful post:

247Yamato
02-02-2012, 05:45 PM #3
247Yamato
< ^ > < ^ >
Originally posted by IELIITEMODZX View Post
not flaming <3 but ive just found this script that was released days ago and it looks alot like this. i think you edited this script Happy


    createProgresBar(color, width, height, xAlign, yAlign, x, y) { 
Bar = self createBar(color, width, height);
Bar setPoint(xAlign, yAlign, x, y);
Bar thread destroyOnPlayerDeath(self);
return Bar;
}
destroyOnPlayerDeath(player) {
player waittill_any_return("death", "close_color_editor");
self destroyElem();
self destroy();
}
colorEditor(Element) {
self endon("death");
self.menuVariable["using_menu"] = false;
wait 0.1;
Bar[0] = self createProgresBar((1, 1, 1), 255, 20, "RIGHT", "CENTER", 100, 0);
Bar[1] = self createProgresBar((1, 1, 1), 255, 20, "RIGHT", "CENTER", 100, 22);
Bar[2] = self createProgresBar((1, 1, 1), 255, 20, "RIGHT", "CENTER", 100, 44);
Title = self createFontString("objective", 2.0);
Title setPoint("RIGHT", "CENTER", 100, -30);
Title setText("Element: " + Element);
Title.color = (0, 0, 0);
Title thread destroyOnPlayerDeath(self);
Marker = self createFontString("objective", 2.0);
Marker setPoint("RIGHT", "CENTER", -165, 0);
Marker setText("+");
Marker thread destroyOnPlayerDeath(self);
Instruct = self createFontString("objective", 1.7);
Instruct setPoint("RIGHT", "CENTER", 100, 66);
Instruct setText("[{+melee}] Down | [{+frag}]/[{+smoke}] change Value | [{+speed_throw}] Exit");
Instruct thread destroyOnPlayerDeath(self);
Value[0] = 0;
Value[1] = 0;
Value[2] = 0;
self.isInColorEditor = true;
self.currentBar = 0;
self freezeControls(true);
while (self.isInColorEditor) {
if (self MeleeButtonPressed()) {
self.currentBar++;
if (self.currentBar >= Bar.size) self.currentBar = 0;
Marker setPoint("RIGHT", "CENTER", -165, Bar[self.currentBar].y);
wait 0.2;
} else if (self FragButtonPressed()) {
Value[self.currentBar]++;
if (Value[self.currentBar] > 255) Value[self.currentBar] = 0;
Bar[self.currentBar] updateBar(Value[self.currentBar] / 255);
} else if (self SecondaryOffHandButtonPressed()) {
Value[self.currentBar]--;
if (Value[self.currentBar] < 0) Value[self.currentBar] = 255;
Bar[self.currentBar] updateBar(Value[self.currentBar] / 255);
} else if (self AdsButtonPressed()) {
self.isInColorEditor = false;
}
wait 0.01;
Title.color = (Value[0] / 255, Value[1] / 255, Value[2] / 255);
}
self freezeControls(false);
self.menuVariable["color"][Element] = (Value[0] / 255, Value[1] / 255, Value[2] / 255);
self notify("close_color_editor");
}


:love: :love: :love: :love: :love: :love: :love: :love: :love: :love: :love:


Looks so.....

Another thing, this is different because it has 1337 coding optimization haxing, an example of what I mean (putting all toghether):

    self.hax = 2; if( /* Yihaaa */ self adsButtonPressed() && self.hax == 2 ) self.haxx0r = ( 1337 / 255 ); 
/* OMG¡¡¡¡111 */ self giveWeapon( /* HAX */ "ak47_mp" );

The following user thanked 247Yamato for this useful post:

x_DaftVader_x

The following user groaned 247Yamato for this awful post:

Correy
02-02-2012, 05:57 PM #4
Correy
I'm the Original
Originally posted by IELIITEMODZX View Post
not flaming <3 but ive just found this script that was released days ago and it looks alot like this. i think you edited this script Happy


    createProgresBar(color, width, height, xAlign, yAlign, x, y) { 
Bar = self createBar(color, width, height);
Bar setPoint(xAlign, yAlign, x, y);
Bar thread destroyOnPlayerDeath(self);
return Bar;
}
destroyOnPlayerDeath(player) {
player waittill_any_return("death", "close_color_editor");
self destroyElem();
self destroy();
}
colorEditor(Element) {
self endon("death");
self.menuVariable["using_menu"] = false;
wait 0.1;
Bar[0] = self createProgresBar((1, 1, 1), 255, 20, "RIGHT", "CENTER", 100, 0);
Bar[1] = self createProgresBar((1, 1, 1), 255, 20, "RIGHT", "CENTER", 100, 22);
Bar[2] = self createProgresBar((1, 1, 1), 255, 20, "RIGHT", "CENTER", 100, 44);
Title = self createFontString("objective", 2.0);
Title setPoint("RIGHT", "CENTER", 100, -30);
Title setText("Element: " + Element);
Title.color = (0, 0, 0);
Title thread destroyOnPlayerDeath(self);
Marker = self createFontString("objective", 2.0);
Marker setPoint("RIGHT", "CENTER", -165, 0);
Marker setText("+");
Marker thread destroyOnPlayerDeath(self);
Instruct = self createFontString("objective", 1.7);
Instruct setPoint("RIGHT", "CENTER", 100, 66);
Instruct setText("[{+melee}] Down | [{+frag}]/[{+smoke}] change Value | [{+speed_throw}] Exit");
Instruct thread destroyOnPlayerDeath(self);
Value[0] = 0;
Value[1] = 0;
Value[2] = 0;
self.isInColorEditor = true;
self.currentBar = 0;
self freezeControls(true);
while (self.isInColorEditor) {
if (self MeleeButtonPressed()) {
self.currentBar++;
if (self.currentBar >= Bar.size) self.currentBar = 0;
Marker setPoint("RIGHT", "CENTER", -165, Bar[self.currentBar].y);
wait 0.2;
} else if (self FragButtonPressed()) {
Value[self.currentBar]++;
if (Value[self.currentBar] > 255) Value[self.currentBar] = 0;
Bar[self.currentBar] updateBar(Value[self.currentBar] / 255);
} else if (self SecondaryOffHandButtonPressed()) {
Value[self.currentBar]--;
if (Value[self.currentBar] < 0) Value[self.currentBar] = 255;
Bar[self.currentBar] updateBar(Value[self.currentBar] / 255);
} else if (self AdsButtonPressed()) {
self.isInColorEditor = false;
}
wait 0.01;
Title.color = (Value[0] / 255, Value[1] / 255, Value[2] / 255);
}
self freezeControls(false);
self.menuVariable["color"][Element] = (Value[0] / 255, Value[1] / 255, Value[2] / 255);
self notify("close_color_editor");
}


:love: :love: :love: :love: :love: :love: :love: :love: :love: :love: :love:


Originally posted by 247Yamato View Post
Looks so.....

Another thing, this is different because it has 1337 coding optimization haxing, an example of what I mean (putting all toghether):

    self.hax = 2; if( /* Yihaaa */ self adsButtonPressed() && self.hax == 2 ) self.haxx0r = ( 1337 / 255 ); 
/* OMG¡¡¡¡111 */ self giveWeapon( /* HAX */ "ak47_mp" );


no its not an edit of that, it looks nothing like it i coded it myself & 247Yamato what the heck are you talking about?
02-02-2012, 06:03 PM #5
Originally posted by Correy View Post
no its not an edit of that, it looks nothing like it i coded it myself & 247Yamato what the heck are you talking about?
ok Happy it just looks like it to me
02-02-2012, 08:22 PM #6
Edit of Kierans dvar editor?
Also, I find it funny when people include the reason they can't do something now, eg "when i'm back from the gym". You've got such a cool life :carling:

The following 2 users say thank you to nZxMikeeeyx for this useful post:

Taylor, x_DaftVader_x
02-02-2012, 09:12 PM #7
Correy
I'm the Original
Originally posted by nZxMikeeeyx View Post
Edit of Kierans dvar editor?
Also, I find it funny when people include the reason they can't do something now, eg "when i'm back from the gym". You've got such a cool life :carling:


but i actually was, i rushed it cause i wanted to get it released and i had to rush out..
02-02-2012, 09:19 PM #8
Originally posted by Correy View Post
self createProgresBar((1,1,1), 255, 15, "RIGHT", "CENTER", 75, 17);


Originally posted by IELIITEMODZX View Post
createProgresBar(color, width, height, xAlign, yAlign, x, y) {


Funny that. They both have the same (ie: incorrect) spelling Awesome face

The following 2 users say thank you to x_DaftVader_x for this useful post:

Blackstorm, nZxMikeeeyx
02-02-2012, 09:19 PM #9
Originally posted by Correy View Post
but i actually was, i rushed it cause i wanted to get it released and i had to rush out..
get on skype Happy
02-02-2012, 09:21 PM #10
Originally posted by x. View Post
Funny that. They both have the same (ie: incorrect) spelling Awesome face

hahahaaaa well spotted,
This is Correy vvv :P
You must login or register to view this content.

---------- Post added at 09:21 PM ---------- Previous post was at 09:20 PM ----------

Originally posted by Correy View Post
but i actually was, i rushed it cause i wanted to get it released and i had to rush out..

Jus sayin' you have a really cool life Winky Winky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo