Der Interface-Basteleien-Thread!

schick anyway
top.gif
 
Chiril, oder sonst jemand, habt ihr schon ein Addon gebastelt, welches die Paladinauren/Kriegerhaltungs-Leite mit neuem Style darstellt.
Ich verwende dein altes UI Chiril, und da wirds mir irgendwie nicht angezeigt.
 
Also ich nutze auch rActionBarStyler, mit welchem ich mir das eingestellt hab.
Kenne zwar nicht das Interface von Chiril, aber da er was vom rActionbarstyler und Spacing erzählt hat, gehe ich davon aus, dass er das auch nutzt.

Kannst ja mal deine Datei posten, dann kann mans sich mal ansehen.
 
Irgendwie werden meine UF-Buffs nicht mehr geskinnt
sad.gif
Ka warum...
 
Also ich nutze auch rActionBarStyler, mit welchem ich mir das eingestellt hab.
Kenne zwar nicht das Interface von Chiril, aber da er was vom rActionbarstyler und Spacing erzählt hat, gehe ich davon aus, dass er das auch nutzt.

Kannst ja mal deine Datei posten, dann kann mans sich mal ansehen.

Jo genau, ich nutze rActionBarStyler. So sieht die Lua aus:

Code:
  -- CONFIG
  
  local myscale = 1
  local petscale = 1
  
  -- bar1 and bar2 in 2x6 instead of 1x12
  -- 2 = Itchy's layout :)
  -- 1 = 2x6
  -- 0 = 1x12
  local button_system = 2
  
  -- on/off
  local hide_shapeshift = 1
  
  -- CONFIG END
  
  
  local f = CreateFrame("Frame","rBars_Button_Holder_Frame",UIParent)
  f:SetWidth(498)
  f:SetHeight(100)
  --f:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", edgeFile = "Interface/Tooltips/UI-Tooltip-Border", tile = true, tileSize = 16, edgeSize = 16, insets = { left = 4, right = 4, top = 4, bottom = 4 }});
  f:SetPoint("BOTTOM",0,30)
  f:Show()
  
  local bonushooks = {};
  local i;
  
  BonusActionBarFrame:SetParent(f)

  for i = 1, 12, 1 do
	_G["ActionButton"..i]:SetParent(f);
  end;

  ActionButton1:ClearAllPoints()
  ActionButton1:SetPoint("BOTTOMLEFT",f,"BOTTOMLEFT",0,0);	

  --need to do this since I reanchored the bonusactionbar to f
  BonusActionBarTexture0:Hide()
  BonusActionBarTexture1:Hide()
  
  BonusActionButton1:ClearAllPoints()
  BonusActionButton1:SetPoint("BOTTOMLEFT",f,"BOTTOMLEFT",0,0);
  
  if button_system == 0 then

	MultiBarBottomLeftButton1:ClearAllPoints()  
	MultiBarBottomLeftButton1:SetPoint("BOTTOMLEFT",ActionButton1,"TOPLEFT",0,5);

	MultiBarBottomRightButton1:ClearAllPoints()  
	MultiBarBottomRightButton1:SetPoint("BOTTOMLEFT",MultiBarBottomLeftButton1,"TOPLEFT",0,15);
  
  elseif button_system == 1 then

	ActionButton7:ClearAllPoints()  
	ActionButton7:SetPoint("BOTTOMLEFT",ActionButton1,"TOPLEFT",0,5);
  
	BonusActionButton7:ClearAllPoints()  
	BonusActionButton7:SetPoint("BOTTOMLEFT",BonusActionButton1,"TOPLEFT",0,5);
	
	MultiBarBottomLeftButton1:ClearAllPoints()  
	MultiBarBottomLeftButton1:SetPoint("BOTTOMLEFT",ActionButton6,"BOTTOMRIGHT",5,0);
  
	MultiBarBottomLeftButton7:ClearAllPoints()  
	MultiBarBottomLeftButton7:SetPoint("BOTTOMLEFT",MultiBarBottomLeftButton1,"TOPLEFT",0,5);
  
	MultiBarBottomRightButton1:ClearAllPoints()  
	MultiBarBottomRightButton1:SetPoint("BOTTOMLEFT",ActionButton7,"TOPLEFT",0,15);
	
  else
  
	--ActionBar (bar 1)
	ActionButton1:ClearAllPoints()
	ActionButton1:SetPoint("BOTTOMLEFT", UIParent, "BOTTOM", -221.5, 3)
	ActionButton2:ClearAllPoints()
	ActionButton2:SetPoint("LEFT", ActionButton1, "RIGHT", 1, 0)
	ActionButton3:ClearAllPoints()
	ActionButton3:SetPoint("LEFT", ActionButton2, "RIGHT", 1, 0)
	ActionButton4:ClearAllPoints()
	ActionButton4:SetPoint("LEFT", ActionButton3, "RIGHT", 1, 0)
	ActionButton5:ClearAllPoints()
	ActionButton5:SetPoint("LEFT", ActionButton4, "RIGHT", 1, 0)
	ActionButton6:ClearAllPoints()
	ActionButton6:SetPoint("LEFT", ActionButton5, "RIGHT", 1, 0)
	ActionButton7:ClearAllPoints()
	ActionButton7:SetPoint("LEFT", ActionButton6, "RIGHT", 1, 0)
	ActionButton8:ClearAllPoints()
	ActionButton8:SetPoint("LEFT", ActionButton7, "RIGHT", 1, 0)
	ActionButton9:ClearAllPoints()
	ActionButton9:SetPoint("LEFT", ActionButton8, "RIGHT", 1, 0)
	ActionButton10:ClearAllPoints()
	ActionButton10:SetPoint("LEFT", ActionButton9, "RIGHT", 1, 0)
	ActionButton11:ClearAllPoints()
	ActionButton11:SetPoint("LEFT", ActionButton10, "RIGHT", 1, 0)
	ActionButton12:ClearAllPoints()
	ActionButton12:SetPoint("LEFT", ActionButton11, "RIGHT", 1, 0)
	
	--MultiBarBottomLeft (bar 2)
	MultiBarBottomLeftButton1:ClearAllPoints()
	MultiBarBottomLeftButton1:SetPoint("BOTTOMLEFT", ActionButton1, "TOPLEFT", 0, 1)
	MultiBarBottomLeftButton2:ClearAllPoints()
	MultiBarBottomLeftButton2:SetPoint("LEFT", MultiBarBottomLeftButton1, "RIGHT", 1, 0)
	MultiBarBottomLeftButton3:ClearAllPoints()
	MultiBarBottomLeftButton3:SetPoint("LEFT", MultiBarBottomLeftButton2, "RIGHT", 1, 0)
	MultiBarBottomLeftButton4:ClearAllPoints()
	MultiBarBottomLeftButton4:SetPoint("LEFT", MultiBarBottomLeftButton3, "RIGHT", 1, 0)
	MultiBarBottomLeftButton5:ClearAllPoints()
	MultiBarBottomLeftButton5:SetPoint("LEFT", MultiBarBottomLeftButton4, "RIGHT", 1, 0)
	MultiBarBottomLeftButton6:ClearAllPoints()
	MultiBarBottomLeftButton6:SetPoint("LEFT", MultiBarBottomLeftButton5, "RIGHT", 1, 0)
	MultiBarBottomLeftButton7:ClearAllPoints()
	MultiBarBottomLeftButton7:SetPoint("LEFT", MultiBarBottomLeftButton6, "RIGHT", 1, 0)
	MultiBarBottomLeftButton8:ClearAllPoints()
	MultiBarBottomLeftButton8:SetPoint("LEFT", MultiBarBottomLeftButton7, "RIGHT", 1, 0)
	MultiBarBottomLeftButton9:ClearAllPoints()
	MultiBarBottomLeftButton9:SetPoint("LEFT", MultiBarBottomLeftButton8, "RIGHT", 1, 0)
	MultiBarBottomLeftButton10:ClearAllPoints()
	MultiBarBottomLeftButton10:SetPoint("LEFT", MultiBarBottomLeftButton9, "RIGHT", 1, 0)
	MultiBarBottomLeftButton11:ClearAllPoints()
	MultiBarBottomLeftButton11:SetPoint("LEFT", MultiBarBottomLeftButton10, "RIGHT", 1, 0)
	MultiBarBottomLeftButton12:ClearAllPoints()
	MultiBarBottomLeftButton12:SetPoint("LEFT", MultiBarBottomLeftButton11, "RIGHT", 1, 0)
	
	--MultiBarBottomRight (bar 3)
	MultiBarBottomRightButton1:ClearAllPoints()
	MultiBarBottomRightButton1:SetPoint("BOTTOMLEFT", MultiBarBottomLeftButton1, "TOPLEFT", 0, 1)
	MultiBarBottomRightButton2:ClearAllPoints()
	MultiBarBottomRightButton2:SetPoint("LEFT", MultiBarBottomRightButton1, "RIGHT", 1, 0)
	MultiBarBottomRightButton3:ClearAllPoints()
	MultiBarBottomRightButton3:SetPoint("LEFT", MultiBarBottomRightButton2, "RIGHT", 1, 0)
	MultiBarBottomRightButton4:ClearAllPoints()
	MultiBarBottomRightButton4:SetPoint("LEFT", MultiBarBottomRightButton3, "RIGHT", 1, 0)
	MultiBarBottomRightButton5:ClearAllPoints()
	MultiBarBottomRightButton5:SetPoint("LEFT", MultiBarBottomRightButton4, "RIGHT", 1, 0)
	MultiBarBottomRightButton6:ClearAllPoints()
	MultiBarBottomRightButton6:SetPoint("LEFT", MultiBarBottomRightButton5, "RIGHT", 1, 0)
	MultiBarBottomRightButton7:ClearAllPoints()
	MultiBarBottomRightButton7:SetPoint("LEFT", MultiBarBottomRightButton6, "RIGHT", 1, 0)
	MultiBarBottomRightButton8:ClearAllPoints()
	MultiBarBottomRightButton8:SetPoint("LEFT", MultiBarBottomRightButton7, "RIGHT", 1, 0)
	MultiBarBottomRightButton9:ClearAllPoints()
	MultiBarBottomRightButton9:SetPoint("LEFT", MultiBarBottomRightButton8, "RIGHT", 1, 0)
	MultiBarBottomRightButton10:ClearAllPoints()
	MultiBarBottomRightButton10:SetPoint("LEFT", MultiBarBottomRightButton9, "RIGHT", 1, 0)
	MultiBarBottomRightButton11:ClearAllPoints()
	MultiBarBottomRightButton11:SetPoint("LEFT", MultiBarBottomRightButton10, "RIGHT", 1, 0)
	MultiBarBottomRightButton12:ClearAllPoints()
	MultiBarBottomRightButton12:SetPoint("LEFT", MultiBarBottomRightButton11, "RIGHT", 1, 0)
	
	--BonusActiomBar (StanceBar)
	BonusActionButton1:ClearAllPoints()
	BonusActionButton1:SetPoint("BOTTOMLEFT", UIParent, "BOTTOM", -221.5, 3)
	BonusActionButton2:ClearAllPoints()
	BonusActionButton2:SetPoint("LEFT", BonusActionButton1, "RIGHT", 1, 0)
	BonusActionButton3:ClearAllPoints()
	BonusActionButton3:SetPoint("LEFT", BonusActionButton2, "RIGHT", 1, 0)
	BonusActionButton4:ClearAllPoints()
	BonusActionButton4:SetPoint("LEFT", BonusActionButton3, "RIGHT", 1, 0)
	BonusActionButton5:ClearAllPoints()
	BonusActionButton5:SetPoint("LEFT", BonusActionButton4, "RIGHT", 1, 0)
	BonusActionButton6:ClearAllPoints()
	BonusActionButton6:SetPoint("LEFT", BonusActionButton5, "RIGHT", 1, 0)
	BonusActionButton7:ClearAllPoints()
	BonusActionButton7:SetPoint("LEFT", BonusActionButton6, "RIGHT", 1, 0)
	BonusActionButton8:ClearAllPoints()
	BonusActionButton8:SetPoint("LEFT", BonusActionButton7, "RIGHT", 1, 0)
	BonusActionButton9:ClearAllPoints()
	BonusActionButton9:SetPoint("LEFT", BonusActionButton8, "RIGHT", 1, 0)
	BonusActionButton10:ClearAllPoints()
	BonusActionButton10:SetPoint("LEFT", BonusActionButton9, "RIGHT", 1, 0)
	BonusActionButton11:ClearAllPoints()
	BonusActionButton11:SetPoint("LEFT", BonusActionButton10, "RIGHT", 1, 0)
	BonusActionButton12:ClearAllPoints()
	BonusActionButton12:SetPoint("LEFT", BonusActionButton11, "RIGHT", 1, 0)
	
  end

  -- want to move the keyring / bags / menu and such?!
  -- use this kind of system to do so.
  --CharacterMicroButton:SetParent(f)
  --CharacterMicroButton:ClearAllPoints()
  --CharacterMicroButton:SetPoint("CENTER",UIParent,"CENTER",0, 0)
  --KeyRingButton:SetParent(f)
  --KeyRingButton:ClearAllPoints()
  --KeyRingButton:SetPoint("CENTER",UIParent,"CENTER",0, 50)
  --MainMenuBarBackpackButton:SetParent(f)
  --MainMenuBarBackpackButton:ClearAllPoints()
  --MainMenuBarBackpackButton:SetPoint("CENTER",UIParent,"CENTER",0, 0)

  --MultiBarRightButton1:ClearAllPoints()
  --MultiBarRightButton1:SetPoint("RIGHT",UIParent,"RIGHT",-30, 190)

  --MultiBarLeftButton1:ClearAllPoints()
  --MultiBarLeftButton1:SetPoint("TOPLEFT",MultiBarRightButton1,"TOPLEFT",-43, 0)
  
  ShapeshiftBarFrame:SetParent(f)

  local myclass, myengclass = UnitClass("player")
  
  if myengclass == "DEATHKNIGHT" then
	ShapeshiftButton1:ClearAllPoints()
	ShapeshiftButton1:SetPoint("BOTTOMLEFT",MultiBarBottomRightButton10,"TOPLEFT",-5,15);
	ShapeshiftButton1.SetPoint = function() end
  else
	ShapeshiftButton1:ClearAllPoints()
	ShapeshiftButton1:SetPoint("BOTTOMLEFT",MultiBarBottomRightButton1,"TOPLEFT",5,15);
	ShapeshiftButton1.SetPoint = function() end
  end
  
  -- hide the shapeshift 
  if hide_shapeshift == 1 then
	ShapeshiftBarFrame:SetScale(0.001)
	ShapeshiftBarFrame:SetAlpha(0)
  end
  
  PetActionButton1:ClearAllPoints()
  PetActionBarFrame:SetParent(f)
  PetActionButton1:SetPoint("BOTTOMLEFT",MultiBarBottomRightButton1,"TOPLEFT",5,15);

  -- hmmm I don't know if this does anything since the PossesBar becomes the BonusActionBar upon possessing sth
  PossessButton1:ClearAllPoints()
  PossessBarFrame:SetParent(f)
  PossessButton1:SetPoint("BOTTOMLEFT",MultiBarBottomRightButton1,"TOPLEFT",5,15);
  
  --hack to make the mainbar unvisible >_<
  MainMenuBar:SetScale(0.001)
  MainMenuBar:SetAlpha(0)
  VehicleMenuBar:SetScale(0.001)
  VehicleMenuBar:SetAlpha(0)
  
  f:SetScale(myscale)
  BonusActionBarFrame:SetScale(1)
  MultiBarBottomLeft:SetScale(myscale)
  MultiBarBottomRight:SetScale(myscale)
  MultiBarRight:SetScale(myscale)
  MultiBarLeft:SetScale(myscale)
  PetActionBarFrame:SetScale(petscale)
  
  bonushooks["onshow"] = BonusActionBarFrame:GetScript("OnShow");
  bonushooks["onshide"] = BonusActionBarFrame:GetScript("OnHide");
  
  BonusActionBarFrame:SetScript("OnShow", function(self,...)
	if ( bonushooks["onshow"] ) then bonushooks["onshow"](self,...); end;
	for i = 1, 12, 1 do
	  _G["ActionButton"..i]:SetAlpha(0);
	end;
  end);
  
  BonusActionBarFrame:SetScript("OnHide", function(self,...)
	if ( bonushooks["onhide"] ) then bonushooks["onhide"](self,...); end;
	for i = 1, 12, 1 do
	  _G["ActionButton"..i]:SetAlpha(1);
	end;
  end);

Wie bzw wo kann ich denn die Paladinauren/Kriegerhaltungsleisten einblenden?
 
Ganz oben
Code:
  -- on/off
  local hide_shapeshift = 1
aus der 1 eine 0 machen
biggrin.gif
 
Oha, doch so einfach -.- Danke dir
wink.gif
 
Hi Leute!

Ich wollte die Petbar wie von Chiril machen,
hier der Petbar Bereich:

--PetActionBar (Petbar 1)
PetActionButton1:ClearAllPoints()
PetActionButton1:SetPoint("BOTTOM", MultiBarBottomRightButton1, "TOP", 63, 3)
PetActionButton2:ClearAllPoints()
PetActionButton2:SetPoint("LEFT", PetActionButton1, "RIGHT", 1, 0)
PetActionButton3:ClearAllPoints()
PetActionButton3:SetPoint("LEFT", PetActionButton2, "RIGHT", 1, 0)
PetActionButton4:ClearAllPoints()
PetActionButton4:SetPoint("LEFT", PetActionButton3, "RIGHT", 1, 0)
PetActionButton5:ClearAllPoints()
PetActionButton5:SetPoint("LEFT", PetActionButton4, "RIGHT", 1, 0)
PetActionButton6:ClearAllPoints()
PetActionButton6:SetPoint("LEFT", PetActionButton5, "RIGHT", 1, 0)
PetActionButton7:ClearAllPoints()
PetActionButton7:SetPoint("LEFT", PetActionButton6, "RIGHT", 1, 0)
PetActionButton8:ClearAllPoints()
PetActionButton8:SetPoint("LEFT", PetActionButton7, "RIGHT", 1, 0)
PetActionButton9:ClearAllPoints()
PetActionButton9:SetPoint("LEFT", PetActionButton8, "RIGHT", 1, 0)
PetActionButton10:ClearAllPoints()
PetActionButton10:SetPoint("LEFT", PetActionButton9, "RIGHT", 1, 0)
PetActionButton11:ClearAllPoints()
PetActionButton11:SetPoint("LEFT", PetActionButton10, "RIGHT", 1, 0)
PetActionButton12:ClearAllPoints()
PetActionButton12:SetPoint("LEFT", PetActionButton11, "RIGHT", 1, 0)

Bekomme eine Fehler meldung
"197: attempt to index global 'PetActionButton11' (a nil value)"

Der Fehler liegt in dem Bereich, aber wo genau komm ich nicht drauf.
Danke für eine Antwort im vorraus.

MfG
Bravewolf
 
Zuletzt bearbeitet von einem Moderator:
Es gibt keinen 11. Petbarknopf. xD
würd ich mal sagen, als Arkanmage hatte ich nie was
damit zu tun ^.^
 
huhu ihr fleißigen lua tipsler ^_^

ich hab mich in den letzten tagen mal hingesetzt und wollte meine eigene actionbar bauen.
hab mir das ractionbuttonstyler von Chiril geklaut um das ganze zu skinnen *zwinker*

und is nun soweit fertig ^_^ :

blakks.jpg


.. hab nur das problem das ich es nit hinkriege die höhe der reputation bar zu verändern :/
 
Poste doch den Code dazu. Nicht jeder wird den Code von rActionButtonStyler kennen.
 
habs so versucht .. verschieben konnt ichs so, auch die weite ändern nur halt die höhe nicht :/

[codebox]ReputationWatchStatusBar:ClearAllPoints()
ReputationWatchStatusBar:SetPoint("CENTER", MainMenuBar, "TOP", -2, 0)
ReputationWatchStatusBar:SetWidth(430)
ReputationWatchStatusBar:SetHeight(5.6)[/codebox]
 
SetHeight(...) sollte das doch machen?
 
SetHeight(...) sollte das doch machen?

ja davon bin ich auch ausgegangen ^^
aber läuft irgendwie nit :/

vllt irgendne idee woran es liegen könnte ? ..

edit: okay habs jetz geschafft .. ging aber leider nur über den scale :/

hab nu aber n anderes problem >.<
der repuationtext lässt sich nit verschieben

[codebox]ReputationWatchStatusBarText:ClearAllPoints()
ReputationWatchStatusBarText:SetPoint("CENTER", ReputationStatusWatchBar, "CENTER", 0, 0)[/codebox]

hab ick n fehler drin? :/
<-- bitte um hilfe xD
 
Zuletzt bearbeitet von einem Moderator:
chiril gibts jetz eigens eine link von dem raid addon? ^^
 
<-- bitte um hilfe xD
Blizzard verschieb die Bar intern immer. Ich hatte sie früher so verschoben:
Code:
local point, relativeTo, relativePoint, xOfs, yOfs = ReputationWatchBar:GetPoint();
ReputationWatchBar:ClearAllPoints();
ReputationWatchBar:SetWidth(468);
ReputationWatchBar:SetHeight(5);

ReputationWatchStatusBar:SetWidth(468);
ReputationWatchStatusBar:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", tile = true, tileSize = 16, edgeSize = 16, insets = { left = -1, right = -1.1, top = -1.10, bottom = -1.15 }});
ReputationWatchStatusBar:SetBackdropColor(0, 0, 0, 1);

hooksecurefunc("ReputationWatchBar_Update", function(newLevel)
	if ( not newLevel ) then
		newLevel = UnitLevel("player");
	end
	
	if ( newLevel < MAX_PLAYER_LEVEL ) then
		ReputationWatchStatusBar:SetHeight(5);
		ReputationWatchBar:SetPoint("TOP", relativeTo, "TOP", -1, 19+testi);
	else
		ReputationWatchStatusBar:SetHeight(4);
		ReputationWatchBar:SetPoint("TOP", relativeTo, "TOP", -1, 10+testi);
	end
	
	ReputationWatchStatusBarText:SetPoint("CENTER", ReputationWatchStatusBar, "CENTER");
end);
Je nach dem, ob man die XP-Bar sieht oder nicht, verschiebt sie sich und vergrößert/verkleinert sie sich.
Man hookt einfach die Funktion.
 
Hallo,

ich habe mal eine Frage zu verschiedenen Buff-Addons.

Kann man Bison so skinnen das es einen classcolored Rahmen erhält? Oder welches Addon sollte ich da nehmen.
 
Ich würde da auf ein .lua-addon zurückgreifen wie rBuffs, und dann halt bordercoloring in Classcolored machen,
hätte ich die Zeit, würde ich's dir jetzt raussuchen, aber muss gleich weg von daher. rBuffs, Lua sollteste selber
machen ^.^

~illaya
 
hiho
wink.gif


ich brauch mal hilfe...ich hatte früher mal das GIGA-Interface. Da war so ein Addon dabei mit dem man selbst panels erstellen konnte und verschieben und farbe einstellen usw.. Weiss jemand wie das heisst und obs das noch gibt?

danke schonmal
MfG Gurky
 
Zurück