Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release MY RGB Editor
#1
This is the new Rgb color editor that can be found in my new upcoming menu!

Code:
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");
    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");
}

To use make sure you define self.menuVariable["color"][<Element Name>] in onPlayerConnect()
Also make sure the element your editing sets the color upon creation using that variable.

Enjoy the editor

May have to make a few changes as I made this for mw3 on the wii, yes on the wii, but this should work completely fine for any other console as well.
Reply

#2
We are a pc modding forum, but thanks for releasing, might come in handy in the feature (i hope)
Reply

#3
(01-27-2012, 09:42)jariz Wrote: We are a pc modding forum, but thanks for releasing, might come in handy in the feature (i hope)

This is for pc /facepalm
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#4
(01-27-2012, 09:59)iAegle Wrote:
(01-27-2012, 09:42)jariz Wrote: We are a pc modding forum, but thanks for releasing, might come in handy in the feature (i hope)

This is for pc /facepalm

Quote:May have to make a few changes as I made this for mw3 on the wii, yes on the wii, but this should work completely fine for any other console as well.

[Image: OpqOE.jpg]
Reply

#5
(01-27-2012, 10:02)jariz Wrote:
(01-27-2012, 09:59)iAegle Wrote:
(01-27-2012, 09:42)jariz Wrote: We are a pc modding forum, but thanks for releasing, might come in handy in the feature (i hope)

This is for pc /facepalm

Quote:May have to make a few changes as I made this for mw3 on the wii, yes on the wii, but this should work completely fine for any other console as well.

[Image: OpqOE.jpg]

It still works fine on mw3 for teh pc, it probably works on mw2 too. ;D
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#6
But I was right, and you weren't Awesome
Reply

#7
(01-27-2012, 10:22)jariz Wrote: But I was right, and you weren't Awesome

Actually im right too because it does work on pc Wink
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#8
thanxxx
Reply

#9
That awkward moment when you watch two people argue at something and it doesn't make sense...
Reply

#10
I intend on pc modding, I'm saving up for a good one though.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Black Ops Weapon Property Editor master131 13 18,714 12-12-2012, 20:04
Last Post: shafiq0895
  1.9.448 CT editor [outdated] Gladio 5 4,402 09-29-2012, 20:54
Last Post: TacoHD
  [release]Script Editor V2.5 tonymamoni1 7 5,402 09-26-2012, 00:21
Last Post: tonymamoni1
  [release] Script Editor V1 tonymamoni1 9 4,835 09-24-2012, 09:36
Last Post: d0h!
Rainbow [Release] Advanced Modern Warfare 3 Editor V4.3 [SearX] by Anonymouss mans123 99 56,673 09-06-2012, 20:03
Last Post: JariZ
  [Request] Weapons editor plugin choobie 9 5,521 06-28-2012, 07:57
Last Post: JariZ
  Help Effects editor & sound list Lemon 14 7,207 04-04-2012, 22:24
Last Post: rotceh_dnih
  BF3 Settings Editor zachw1487 5 5,034 02-18-2012, 13:53
Last Post: Arteq
  [Release] Updated Prestige Token Editor Nitros 12 7,314 11-20-2011, 16:10
Last Post: JariZ
  [Release] Updated Prestige Token Editor Nitros 3 2,798 11-20-2011, 12:33
Last Post: d0h!

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.