Team Spartan Cookies & Milk Forums
T-16's E2 Help & Request Thread - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Expression 2 (https://teamscm.co.uk/forum-6.html)
+--- Thread: T-16's E2 Help & Request Thread (/thread-580.html)

Pages: 1 2 3 4 5 6


RE: T-16's E2 Help & Request Thread - warhammer - 07-12-2014

ok I will try it


RE: T-16's E2 Help & Request Thread - warhammer - 07-12-2014

i tryed it it did say it was working but it did not move

and it does not weld to it


RE: T-16's E2 Help & Request Thread - TheOneAndOnlyTee - 08-12-2014

Code:
@name Shutttle Transwarp Controller by T-16 @persist Loc:array Shuttle:wirelink runOnChat(1) if(first()|duped()){ Shuttle = entity():isConstrainedTo():wirelink() entity():parentTo(entity():isConstrainedTo()) } Command = owner():lastSaid() SubCommand = owner():lastSaid():sub(7) if(chatClk(owner())){ if(Command=="/helpw"){ print("type '/warp location' to warp") print("Locations:milk, pegasus, universe, build, earth, moon, shak, station, hiigara, desert, lava") if(Command:left(5) =="/warp"){ if(SubCommand =="milk"){ print("Transwarp Activated,Destination is Milky Way") Shuttle["Transwarp Destination",vector] = Loc[1,vector] timer("warp",100) } elseif(SubCommand =="pegasus"){ print("Transwarp Activated,Destination is Pegasus") Shuttle["Transwarp Destination",vector] = Loc[2,vector] timer("warp",100) } elseif(SubCommand =="universe"){ print("Transwarp Activated,Destination is Universe") Shuttle["Transwarp Destination",vector] = Loc[3,vector] timer("warp",100) } elseif(SubCommand =="build"){ print("Transwarp Activated,Destination is Build Room") Shuttle["Transwarp Destination",vector] = Loc[4,vector] timer("warp",100) } elseif(SubCommand =="earth"){ print("Transwarp Activated,Destination is Earth") Shuttle["Transwarp Destination",vector] = Loc[5,vector] timer("warp",100) } elseif(SubCommand =="moon"){ print("Transwarp Activated,Destination is Moon") Shuttle["Transwarp Destination",vector] = Loc[6,vector] timer("warp",100) } elseif(SubCommand =="shak"){ print("Transwarp Activated,Destination is Shakurus") Shuttle["Transwarp Destination",vector] = Loc[7,vector] timer("warp",100) } elseif(SubCommand =="station"){ print("Transwarp Activated,Destination is Space Station") Shuttle["Transwarp Destination",vector] = Loc[8,vector] timer("warp",100) } elseif(SubCommand =="hiigara"){ print("Transwarp Activated,Destination is Hiigara") Shuttle["Transwarp Destination",vector] = Loc[9,vector] timer("warp",100) } elseif(SubCommand =="desert"){ print("Transwarp Activated,Destination is Desert") Shuttle["Transwarp Destination",vector] = Loc[11,vector] timer("warp",100) } elseif(SubCommand =="lava"){ print("Transwarp Activated,Destination is Lava") Shuttle["Transwarp Destination",vector] = Loc[12,vector] timer("warp",100) } } } if(clk("warp")){ Shuttle["Transwarp",number] = 1 timer("clear",400) } if(clk("clear")){ Shuttle["Transwarp Destination",vector] = vec() Shuttle["Transwarp",number] = 0 } #pho's locations Loc[1,vector] = vec( 254.50, 13973.18, 8605.99 ) Loc[2,vector] = vec( 5228.53, -6834.12, 8748.00 ) Loc[3,vector] = vec( -8486.32, -10804.29, 7714.54 ) Loc[4,vector] = vec( 11818.81, 14000.95, -15135.41 ) Loc[5,vector] = vec( 254.50, 13973.18, 8605.99 ) Loc[6,vector] = vec( -4388.20, 13907.04, 10565.49 ) Loc[7,vector] = vec( -8489.67, -8210.08, 8506.47 ) Loc[8,vector] = vec( 5340.02, -7323.07, 8796.96 ) Loc[9,vector] = vec( 8213.68, 8034.12, -4160.70 ) Loc[10,vector] = vec( 4017.29, -5659.47, -2275.39 ) Loc[11,vector] = vec( -9626.34, 79.15, -2710.71 )

fixed it, it now parent's itself to the shuttle on spawn and the destination wirelink input was wrong.

also for it to work you need to by flying it and the destination spot can't be occupied


RE: T-16's E2 Help & Request Thread - warhammer - 26-02-2015

how can I program a screen I have looked at other people e2 but surely they can't just guess till they get it right it would be great to know


RE: T-16's E2 Help & Request Thread - TheOneAndOnlyTee - 27-02-2015

If you want to learn EGP, you could use these links.

UltimateWire's Basic EGP (video)
Person's example on EGPv3 (text)

I may in the future consider doing a EGP guide with pictures maybe.


RE: T-16's E2 Help & Request Thread - rorym12345 - 28-02-2015

T-16 i was wandering if u could help me make a status screen or an e2 wich displays a cut out of my ship on a egp screen.Only if u want i dont want to push u
-Novahacker


RE: T-16's E2 Help & Request Thread - warhammer - 06-03-2015

Hi T-16 could you make me a screen (e2) so it has a box at the top for the title (teleport list) and 3 boxes down the middle that are pressable and that can be linked up to gps and pad so I can press a button and it will beam me to the gps by the pad
Please?

and it needs to be able to be linked to 3 screens


RE: T-16's E2 Help & Request Thread - TheOneAndOnlyTee - 07-03-2015

@rorym
you'd have to be more specific by what you mean as "cut out" and in anycase it'd only work for the ship you tell me to make it for.

@warhammer
i can do that, i'll start working on it now

quick question, did you want 4 screens with 3 buttons or 3 screens with 2 buttons?


RE: T-16's E2 Help & Request Thread - warhammer - 07-03-2015

4 screens 3 buttons 1 button missing for where i am eg engine room control room hanger stargate room if i was in control room that would not be on the list


RE: T-16's E2 Help & Request Thread - TheOneAndOnlyTee - 07-03-2015

Ok thanks I've already done most just finishing up the transport code now