Kalender  •  Galerie  •   •  Lexikon

Housing script

Housing script

Beitragvon Maschien » 8. Nov 2012, 09:07

Habe hier ein echt cooles housing script gefunden...

Hier ein video davon....oder schaut einfach mal bei mir vorbei benutze dieses script selbst.
Falls jemand ein problem beim scripten hat oder hilfe bei dem script braucht einfach pm an mich.


www.youtube.com Video From : www.youtube.com



Hier das script zum einfügen.

function OnInit()
H.SetSensor(10, 30)
H.SetOutletCount(16)
end

function IsUserIgnored(username)
return (string.match(",Player1,Player2,...,", "," .. username .. ",") ~= nil)
end

function OnUserEntered(desc)
if (IsUserIgnored(desc)) then return end

emotion = H.Emotion.panic
H.StartAnimation(0, 2, emotion)
H.StartAnimation(0, 4, emotion)
H.StartAnimation(0, 6, emotion)

H.AlertAll(1, "Blumen dungen nicht vergessen ;-)!!")
H.AlertAll(2, "Danke fürs besuchen")



H.GlowNow(1,20,0,255,0);
H.GlowNow(2,20,0,255,0);
H.GlowNow(3,20,0,255,0);
H.GlowNow(4,20,0,255,0);
H.GlowNow(5,20,0,255,0);
H.GlowNow(6,20,0,255,0);
H.GlowNow(7,20,0,255,0);
H.GlowNow(8,20,0,255,0);
H.GlowNow(9,20,0,255,0);
H.GlowNow(10,20,255,0,0);
H.GlowNow(11,20,255,0,0);
H.GlowNow(12,20,255,0,0);
H.GlowNow(13,20,255,0,0);
H.GlowNow(14,20,255,0,0);
H.GlowNow(15,20,255,0,0);
H.GlowNow(16,20,255,0,0);
H.PlaySound(0,"t130 r2[1] r2 r2 r2[2] r2 r2 r2[3] r2 r2 r2[4]");
H.SetInstrument(1,H.Instrument.aguitar);
H.PlaySound(1,"t130 o5 e f# g o6 c o5 d# e f# b e f# g o6 c o5 d# e f# b o5 g8 f8# g8 o4 b8 o5 e g a8 o4 a8 o5 g8 o4 b8 o5 d8# o4 b8 g8 d8# e");
H.PlaySound(2,"t130 o6 c8 o5 g8 f8# e8 o6 c8 o5 g8 f8# e8 o6 c8 o5 b8 f8# d8# o6 c8 o5 b8 f8# d8# o6 c8 o5 g8 f8# e8 o6 c8 o5 g8 f8# e8 o6 c8 o5 b8 f8# d8# o6 c8 o5 b8 f8# d8# e8 f8# g8 b8 o6 e8 f8# g8 f8# d8# o5 a8 g8 d8# o4 b8 r8 d8# r8 e");
H.SetInstrument(3,H.Instrument.accordion);
H.PlaySound(3,"t130 v15 r r8 o4 g8 o5 c8 d8 e8 g8 b2 f2# r r8 o4 g8 o5 c8 d8 e8 g8 b2 d# f# b8 r8 b g8 r8 g o6 c8 r8 o5 a8 r8 d8# r8 o4 b8 r8 o5 e");
H.PlaySound(4,"t130 x_ r x_ r x_ r x_ r x_ r x_ r x_ r x_ r x_ x_ x_ r x_ r x_ x_ x_ ");
H.SetPercussion(5,H.Percussion.hihatopen);
H.PlaySound(5,"t130 rrrr rrrx_ rrrr rrrx_ rrrx_ ");
H.SetPercussion(6,H.Percussion.fx10);
H.PlaySound(6,"t130 rrrr rrrr rrrr rrrr rrrr rrrr x");
H.SetPercussion(7,H.Percussion.fx15);
H.PlaySound(7,"t130 rrrr rrrr rrrr rrrr rrrr rx");
H.SetPos(H.Outlet.outlet1,1,0,0,0.5,1);
H.SetPos(H.Outlet.outlet2,1,0,0,0.5,1);
H.SetPos(H.Outlet.outlet3,1,0,0,0.5,1);
H.SetPos(H.Outlet.outlet4,1,0,0,0.5,1);
H.SetPos(H.Outlet.outlet5,1,0,0,0.5,1);
H.SetPos(H.Outlet.outlet6,1,0,0,0.5,1);
H.SetPos(H.Outlet.outlet7,1,0,0,0.5,1);
H.SetPos(H.Outlet.outlet8,1,0,0,0.5,1);
H.SetPos(H.Outlet.outlet9,1,0,0,0.5,1);
H.SetPos(H.Outlet.outlet10,1,0,0,0.5,1);
H.SetPos(H.Outlet.outlet11,1,0,0,0.5,1);
H.SetPos(H.Outlet.outlet12,1,0,0,0.5,1);
H.SetPos(H.Outlet.outlet13,1,0,0,0.5,1);
H.SetPos(H.Outlet.outlet14,1,0,0,0.5,1);
H.SetPos(H.Outlet.outlet15,1,0,0,0.5,1);
H.SetPos(H.Outlet.outlet16,1,0,0,0.5,1);

H.SetPos(1,2,1,0,0.5,1);
H.SetPos(2,2,0,1,0.5,1);
H.SetPos(3,2,0,0,1.5,1);
H.SetPos(4,2,1,0,0.5,1);
H.SetPos(5,2,0,1,0.5,1);
H.SetPos(6,2,0,0,1.5,1);
H.SetPos(7,2,1,0,0.5,1);
H.SetPos(8,2,0,1,0.5,1);
H.SetPos(9,2,0,0,1.5,1);
H.SetPos(10,2,1,0,0.5,1);
H.SetPos(11,2,0,1,0.5,1);
H.SetPos(12,2,0,0,1.5,1);
H.SetPos(13,2,1,0,0.5,1);
H.SetPos(14,2,0,1,0.5,1);
H.SetPos(15,2,0,0,1.5,1);
H.SetPos(16,2,1,0,0.5,1);

H.SetPos(1,3,1,1,0.5,1);
H.SetPos(2,3,0,1,1.5,1);
H.SetPos(3,3,1,0,1.5,1);
H.SetPos(4,3,1,1,0.5,1);
H.SetPos(5,3,0,1,1.5,1);
H.SetPos(6,3,1,0,1.5,1);
H.SetPos(7,3,1,1,0.5,1);
H.SetPos(8,3,0,1,1.5,1);
H.SetPos(9,3,1,0,1.5,1);
H.SetPos(10,3,1,1,0.5,1);
H.SetPos(11,3,0,1,1.5,1);
H.SetPos(12,3,1,0,1.5,1);
H.SetPos(13,3,1,1,0.5,1);
H.SetPos(14,3,0,1,1.5,1);
H.SetPos(15,3,1,0,1.5,1);
H.SetPos(16,3,1,1,0.5,1);

H.SetPos(1,4,0,0,2,1);
H.SetPos(2,4,0,0,2,1);
H.SetPos(3,4,0,0,2,1);
H.SetPos(4,4,0,0,2,1);
H.SetPos(5,4,0,0,2,1);
H.SetPos(6,4,0,0,2,1);
H.SetPos(7,4,0,0,2,1);
H.SetPos(8,4,0,0,2,1);
H.SetPos(9,4,0,0,2,1);
H.SetPos(10,4,0,0,2,1);
H.SetPos(11,4,0,0,2,1);
H.SetPos(12,4,0,0,2,1);
H.SetPos(13,4,0,0,2,1);
H.SetPos(14,4,0,0,2,1);
H.SetPos(15,4,0,0,2,1);
H.SetPos(16,4,0,0,2,1);
end



Hier habe ich noch ein anderes scrippt das eine alarmanlage in eurem haus installiert,sobalt jemand zur tür reinkommt kommt ein Alarm und bestimmte gegenstände die ihr selbst wählen könnt fangen an rot zu blinken.


function OnInit()
H.SetSensor(10, 30)
H.SetOutletCount(11)
end

function IsUserIgnored(username)
return (string.match(",Test,", "," .. username .. ",") ~= nil)
end

function OnUserEntered(desc)
if (IsUserIgnored(desc)) then return end

H.SetPercussion(0, H.Percussion.fx6)
H.PlaySound(0, "x rr x rr x rr x rr x rr x rr x rr x rr x rr x")
H.PlaySound(1, "r rr r rr r[1]rr[2]rr[3]rr[4]rr[5]rr[6]")

emotion = H.Emotion.dance
H.StartAnimation(0, 2, emotion)
H.StartAnimation(0, 4, emotion)
H.StartAnimation(0, 6, emotion)

H.AlertAll(1, "Welcome to Maschien Land")

H.Glow(H.Outlet.outlet1, 1, 50, 255, 50, 50)
H.Glow(H.Outlet.outlet2, 2, 50, 255, 50, 50)
H.Glow(H.Outlet.outlet3, 3, 50, 255, 50, 50)
H.Glow(H.Outlet.outlet4, 4, 50, 255, 50, 50)
H.Glow(H.Outlet.outlet5, 5, 50, 255, 50, 50)

H.Glow(H.Outlet.outlet6, 1, 50, 255, 50, 50)
H.Glow(H.Outlet.outlet7, 1, 50, 255, 50, 50)
H.Glow(H.Outlet.outlet8, 1, 50, 255, 50, 50)
H.Glow(H.Outlet.outlet9, 1, 50, 255, 50, 50)
H.Glow(H.Outlet.outlet10, 1, 50, 255, 50, 50)
H.Glow(H.Outlet.outlet11, 1, 50, 255, 50, 50)

H.Scale(H.Outlet.outlet1, 1, 10, 1.5)
H.Scale(H.Outlet.outlet2, 2, 10, 1.5)
H.Scale(H.Outlet.outlet3, 3, 10, 1.5)
H.Scale(H.Outlet.outlet4, 4, 10, 1.5)
H.Scale(H.Outlet.outlet5, 5, 10,5)

H.Jump(H.Outlet.outlet1, 1, 1)
H.Jump(H.Outlet.outlet2, 2, 1)
H.Jump(H.Outlet.outlet3, 3, 1)
H.Jump(H.Outlet.outlet4, 4, 1)

H.Jump(H.Outlet.outlet5, 1, 1)
H.Jump(H.Outlet.outlet5, 2, 1)
H.Jump(H.Outlet.outlet5, 3, 1)
H.Jump(H.Outlet.outlet5, 4, 1)
H.Jump(H.Outlet.outlet5, 5, 1)
end



Viel spass damit.
Benutzeravatar
Maschien
 
Beiträge: 3
Registriert: 10.2012
Barvermögen: 350,00 Points
Wohnort: Kulmbach
Danke gegeben: 0
Danke bekommen: 1x in 1 Post
Geschlecht: männlich

Zurück zu "Wissenswertes und Hilfreiches"

 

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast