Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Expression 2 v
« Previous 1 2 3 4 5 6 … 8 Next »
SG Dialing Computer?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
SG Dialing Computer?
21-08-2015, 11:56 PM,
#1
The_Doctor Offline
Testing... is this thing on?
***
Posts: 249
Threads: 25
Joined: Jul 2014
SG Dialing Computer?
Hi, I just wanted to randomly ask if anyone has a Stargate dialing Computer E2 that is up to date and can give it to me, since my current dialing computer is even older than my Mac.


Thanks in advance.
Find
Reply
22-08-2015, 09:43 AM,
#2
LocInt Offline
Long gone
****
Posts: 489
Threads: 91
Joined: Aug 2014
RE: SG Dialing Computer?
You can use my A.I / mainframe as dialing computer as well. Its written in starfall. Just make mainframe and screen and stargate and it should work.

тѕсм.Person8880 hovers the nerf bat over Tetryon damage
Website Find
Reply
22-08-2015, 01:07 PM,
#3
The_Doctor Offline
Testing... is this thing on?
***
Posts: 249
Threads: 25
Joined: Jul 2014
RE: SG Dialing Computer?
(22-08-2015, 09:43 AM)LocInt Wrote: You can use my A.I / mainframe as dialing computer as well. Its written in starfall. Just make mainframe and screen and stargate and it should work.

No offense, but firstly I just need a dialing computer, not a whole AI and secondly, again no offense, I said E2, not Starfall.
Find
Reply
23-08-2015, 12:12 AM,
#4
Blackhawk Offline
GMod Admin
Posts: 204
Threads: 9
Joined: Sep 2013
RE: SG Dialing Computer?
Skyteks has been working on an awesome looking e2 dialing computer and he searched beta tester some time ago. Maybe you could ask him. Take a look at the last few posts: http://teamscm.co.uk/showthread.php?tid=457&page=2
Find
Reply
23-08-2015, 11:36 AM,
#5
Destiny's Player Offline
A passing by member
***
Posts: 237
Threads: 35
Joined: Dec 2013
RE: SG Dialing Computer?
There's this old thing I made a long time ago. I don't know if it's optimized or anything, but it works allright.
Code:
@name EGP Stargate @inputs E:wirelink Gate:wirelink User:entity @outputs @persist Page Add Cursor=E:egpCursor(User) Addresses=Gate:stargateAddressList() if(Addresses[Add,string]:explode(" ")[1,string]=="1") { DialAdd=Addresses[Add,string]:explode(" ")[2,string] } else { DialAdd=Addresses[Add,string]:explode(" ")[1,string] } if(Add>Addresses:count() | Add==0) { Add=1 } Gate["Dial String",string]=DialAdd interval(500) function number wirelink:button(Cursor:vector2,ID:number){ local BPos = This:egpPos(ID) local BSize = This:egpSize(ID) local Pressed = inrange(Cursor,BPos-BSize,BPos+BSize) return Pressed } if(first() | dupefinished()) { Page=1 E:egpClear() #E:mainmenu(0) #STARGATE E:egpRoundedBox(90,vec2(256,256),vec2(285,285)) E:egpColor(90,vec(100,100,100)) E:egpCircle(11,vec2(256,240),vec2(100,100)) E:egpColor(11,vec(50,50,100)) E:egpCircle(12,vec2(256,240),vec2(80,80)) E:egpColor(12,vec(50,50,50)) E:egpCircleOutline(13,vec2(256,240),vec2(100,100)) E:egpCircleOutline(14,vec2(256,240),vec2(80,80)) #ButForw E:egpCircle(20,vec2(342,350),vec2(20,20)) E:egpColor(20,vec(70,70,70)) E:egpCircleOutline(21,vec2(342,350),vec2(20,20)) E:egpText(24,">",vec2(342,350)) E:egpAlign(24,1,1) E:egpSize(24,30) #ButBack E:egpCircle(22,vec2(170,350),vec2(20,20)) E:egpColor(22,vec(70,70,70)) E:egpCircleOutline(23,vec2(170,350),vec2(20,20)) E:egpText(25,"<",vec2(170,350)) E:egpAlign(25,1,1) E:egpSize(25,30) #Address E:egpBox(26,vec2(256,365),vec2(100,30)) E:egpColor(26,vec(70,70,70)) E:egpBoxOutline(27,vec2(256,365),vec2(100,30)) E:egpLine(28,vec2(190,355),vec2(207,365)) E:egpLine(29,vec2(322,355),vec2(305,365)) E:egpText(30,"ADDRESS01",vec2(256,365)) E:egpAlign(30,1,1) E:egpSize(30,18) E:egpRoundedBoxOutline(100,vec2(256,256),vec2(285,285)) } if(Page==1) { if(Gate["Open",number]==1) { Tint=random(150,200) E:egpColor(11,vec(20,20,Tint)) E:egpColor(12,vec(30,Tint,Tint)) } elseif(Gate["Active",number]==1 & Gate["Open",number]==0) { E:egpColor(11,vec(20,20,random(100,150))) } else { E:egpColor(11,vec(50,50,100)) E:egpColor(12,vec(50,50,50)) } BPlu=E:button(Cursor,20) BMin=E:button(Cursor,22) GDial=E:button(Cursor,12) if(changed(BPlu) & BPlu==1) { E:egpColor(20,vec(120,120,120)) Add=Add+1 } else { E:egpColor(20,vec(70,70,70)) } if(changed(BMin) & BMin==1) { E:egpColor(22,vec(120,120,120)) Add=Add-1 } else { E:egpColor(22,vec(70,70,70)) } if(changed(GDial) & GDial==1 & Gate["Open",number]==0) { E:egpColor(26,vec(120,120,120)) Gate["Start String Dial",number]=1 } elseif(changed(GDial) & GDial==1 & Gate["Open",number]==1) { Gate["Close",number]=1 } else { E:egpColor(26,vec(70,70,70)) Gate["Start String Dial",number]=0 Gate["Close",number]=0 } E:egpSetText(30,DialAdd) }
Find
Reply
23-08-2015, 01:47 PM,
#6
The_Doctor Offline
Testing... is this thing on?
***
Posts: 249
Threads: 25
Joined: Jul 2014
RE: SG Dialing Computer?
(23-08-2015, 11:36 AM)Destinys Player Wrote: There's this old thing I made a long time ago. I don't know if it's optimized or anything, but it works allright.
Code:
@name EGP Stargate @inputs E:wirelink Gate:wirelink User:entity @outputs @persist Page Add Cursor=E:egpCursor(User) Addresses=Gate:stargateAddressList() if(Addresses[Add,string]:explode(" ")[1,string]=="1") { DialAdd=Addresses[Add,string]:explode(" ")[2,string] } else { DialAdd=Addresses[Add,string]:explode(" ")[1,string] } if(Add>Addresses:count() | Add==0) { Add=1 } Gate["Dial String",string]=DialAdd interval(500) function number wirelink:button(Cursor:vector2,ID:number){ local BPos = This:egpPos(ID) local BSize = This:egpSize(ID) local Pressed = inrange(Cursor,BPos-BSize,BPos+BSize) return Pressed } if(first() | dupefinished()) { Page=1 E:egpClear() #E:mainmenu(0) #STARGATE E:egpRoundedBox(90,vec2(256,256),vec2(285,285)) E:egpColor(90,vec(100,100,100)) E:egpCircle(11,vec2(256,240),vec2(100,100)) E:egpColor(11,vec(50,50,100)) E:egpCircle(12,vec2(256,240),vec2(80,80)) E:egpColor(12,vec(50,50,50)) E:egpCircleOutline(13,vec2(256,240),vec2(100,100)) E:egpCircleOutline(14,vec2(256,240),vec2(80,80)) #ButForw E:egpCircle(20,vec2(342,350),vec2(20,20)) E:egpColor(20,vec(70,70,70)) E:egpCircleOutline(21,vec2(342,350),vec2(20,20)) E:egpText(24,">",vec2(342,350)) E:egpAlign(24,1,1) E:egpSize(24,30) #ButBack E:egpCircle(22,vec2(170,350),vec2(20,20)) E:egpColor(22,vec(70,70,70)) E:egpCircleOutline(23,vec2(170,350),vec2(20,20)) E:egpText(25,"<",vec2(170,350)) E:egpAlign(25,1,1) E:egpSize(25,30) #Address E:egpBox(26,vec2(256,365),vec2(100,30)) E:egpColor(26,vec(70,70,70)) E:egpBoxOutline(27,vec2(256,365),vec2(100,30)) E:egpLine(28,vec2(190,355),vec2(207,365)) E:egpLine(29,vec2(322,355),vec2(305,365)) E:egpText(30,"ADDRESS01",vec2(256,365)) E:egpAlign(30,1,1) E:egpSize(30,18) E:egpRoundedBoxOutline(100,vec2(256,256),vec2(285,285)) } if(Page==1) { if(Gate["Open",number]==1) { Tint=random(150,200) E:egpColor(11,vec(20,20,Tint)) E:egpColor(12,vec(30,Tint,Tint)) } elseif(Gate["Active",number]==1 & Gate["Open",number]==0) { E:egpColor(11,vec(20,20,random(100,150))) } else { E:egpColor(11,vec(50,50,100)) E:egpColor(12,vec(50,50,50)) } BPlu=E:button(Cursor,20) BMin=E:button(Cursor,22) GDial=E:button(Cursor,12) if(changed(BPlu) & BPlu==1) { E:egpColor(20,vec(120,120,120)) Add=Add+1 } else { E:egpColor(20,vec(70,70,70)) } if(changed(BMin) & BMin==1) { E:egpColor(22,vec(120,120,120)) Add=Add-1 } else { E:egpColor(22,vec(70,70,70)) } if(changed(GDial) & GDial==1 & Gate["Open",number]==0) { E:egpColor(26,vec(120,120,120)) Gate["Start String Dial",number]=1 } elseif(changed(GDial) & GDial==1 & Gate["Open",number]==1) { Gate["Close",number]=1 } else { E:egpColor(26,vec(70,70,70)) Gate["Start String Dial",number]=0 Gate["Close",number]=0 } E:egpSetText(30,DialAdd) }

It does not seem to work alright. The EGP stays at the "EGP 3" screen, nothing happens.
Find
Reply
23-08-2015, 02:26 PM,
#7
Destiny's Player Offline
A passing by member
***
Posts: 237
Threads: 35
Joined: Dec 2013
RE: SG Dialing Computer?
(23-08-2015, 01:47 PM)The_Doctor Wrote:
(23-08-2015, 11:36 AM)Destinys Player Wrote: There's this old thing I made a long time ago. I don't know if it's optimized or anything, but it works allright.
Code:
@name EGP Stargate @inputs E:wirelink Gate:wirelink User:entity @outputs @persist Page Add Cursor=E:egpCursor(User) Addresses=Gate:stargateAddressList() if(Addresses[Add,string]:explode(" ")[1,string]=="1") { DialAdd=Addresses[Add,string]:explode(" ")[2,string] } else { DialAdd=Addresses[Add,string]:explode(" ")[1,string] } if(Add>Addresses:count() | Add==0) { Add=1 } Gate["Dial String",string]=DialAdd interval(500) function number wirelink:button(Cursor:vector2,ID:number){ local BPos = This:egpPos(ID) local BSize = This:egpSize(ID) local Pressed = inrange(Cursor,BPos-BSize,BPos+BSize) return Pressed } if(first() | dupefinished()) { Page=1 E:egpClear() #E:mainmenu(0) #STARGATE E:egpRoundedBox(90,vec2(256,256),vec2(285,285)) E:egpColor(90,vec(100,100,100)) E:egpCircle(11,vec2(256,240),vec2(100,100)) E:egpColor(11,vec(50,50,100)) E:egpCircle(12,vec2(256,240),vec2(80,80)) E:egpColor(12,vec(50,50,50)) E:egpCircleOutline(13,vec2(256,240),vec2(100,100)) E:egpCircleOutline(14,vec2(256,240),vec2(80,80)) #ButForw E:egpCircle(20,vec2(342,350),vec2(20,20)) E:egpColor(20,vec(70,70,70)) E:egpCircleOutline(21,vec2(342,350),vec2(20,20)) E:egpText(24,">",vec2(342,350)) E:egpAlign(24,1,1) E:egpSize(24,30) #ButBack E:egpCircle(22,vec2(170,350),vec2(20,20)) E:egpColor(22,vec(70,70,70)) E:egpCircleOutline(23,vec2(170,350),vec2(20,20)) E:egpText(25,"<",vec2(170,350)) E:egpAlign(25,1,1) E:egpSize(25,30) #Address E:egpBox(26,vec2(256,365),vec2(100,30)) E:egpColor(26,vec(70,70,70)) E:egpBoxOutline(27,vec2(256,365),vec2(100,30)) E:egpLine(28,vec2(190,355),vec2(207,365)) E:egpLine(29,vec2(322,355),vec2(305,365)) E:egpText(30,"ADDRESS01",vec2(256,365)) E:egpAlign(30,1,1) E:egpSize(30,18) E:egpRoundedBoxOutline(100,vec2(256,256),vec2(285,285)) } if(Page==1) { if(Gate["Open",number]==1) { Tint=random(150,200) E:egpColor(11,vec(20,20,Tint)) E:egpColor(12,vec(30,Tint,Tint)) } elseif(Gate["Active",number]==1 & Gate["Open",number]==0) { E:egpColor(11,vec(20,20,random(100,150))) } else { E:egpColor(11,vec(50,50,100)) E:egpColor(12,vec(50,50,50)) } BPlu=E:button(Cursor,20) BMin=E:button(Cursor,22) GDial=E:button(Cursor,12) if(changed(BPlu) & BPlu==1) { E:egpColor(20,vec(120,120,120)) Add=Add+1 } else { E:egpColor(20,vec(70,70,70)) } if(changed(BMin) & BMin==1) { E:egpColor(22,vec(120,120,120)) Add=Add-1 } else { E:egpColor(22,vec(70,70,70)) } if(changed(GDial) & GDial==1 & Gate["Open",number]==0) { E:egpColor(26,vec(120,120,120)) Gate["Start String Dial",number]=1 } elseif(changed(GDial) & GDial==1 & Gate["Open",number]==1) { Gate["Close",number]=1 } else { E:egpColor(26,vec(70,70,70)) Gate["Start String Dial",number]=0 Gate["Close",number]=0 } E:egpSetText(30,DialAdd) }

It does not seem to work alright. The EGP stays at the "EGP 3" screen, nothing happens.

That's what I mean by "old and not optimized". After you wire it to the screen, you need to reload the chip. I would fix it, but I completely forgot all of E2.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread:
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.