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 - 19-05-2015

Does anyone you have a simple e2 with buttons on the screen? Or could you make one plz.


RE: T-16's E2 Help & Request Thread - SuperPlayer - 19-05-2015

Here is a simple button example made by Blackhawk. I guess you can easily extend that:

http://teamscm.co.uk/showthread.php?tid=359


SuperPlayer


RE: T-16's E2 Help & Request Thread - warhammer - 19-05-2015

Ty .....


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

hi t-17 can u help me with
http://teamscm.co.uk/showthread.php?tid=1142


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

Sure it'll take a few minutes as im on my phone

Done might be a syntax error or 2 since ^

Code:
@name ShuttleWarp @inputs Shuttle:wirelink @outputs @persist @trigger interval(200) runOnChat(1) if(first()){ Shuttle["Self Destruct",number] = 0 Shuttle["Warp Factor",number] = 10 } local Clk = chatClk(owner()) local Chat = owner():lastSaid():explode(" ") local Command = Chat[1,string] if(Clk & Command == "!warp"){ local S = Chat[2,string] #local S = Arg:sub(1,2) if(S:lower()=="engage"){ Shuttle["Engage Warp",number] = 1 timer("unwarp",500) } elseif(S:lower() == "milkyway"){ Shuttle["Warp Destination",vector] = vec(3861,9348,-5903) }elseif(S:lower() == "pegasus"){ Shuttle["Warp Destination",vector] = vec(1981,-7183,10747) }elseif(S:lower() == "universe"){ Shuttle["Warp Destination",vector] = vec(2469,-4090,-2927) } elseif(S:lower() == "station"){ Shuttle["Warp Destination",vector] = vec(5320, -8290, 8945) } elseif(S:lower() == "shakuras"){ Shuttle["Warp Destination",vector] = vec(-8118.48, -6986.96, 8239.75) } elseif(S:lower() == "earth"){ Shuttle["Warp Destination",vector] = vec( -150.93, 8971.97, 8795.55 ) } elseif(S:lower() == "moon"){ Shuttle["Warp Destination",vector] = vec( -4647.44, 14023.64, 10500.27 ) } elseif(S:lower() == "hiigara"){ Shuttle["Warp Destination",vector] = vec( 7225.12, 9675.67, -4899.12 ) } elseif(S:lower() == "desert"){ Shuttle["Warp Destination",vector] = vec( 10648.09, -9053.20, -8542.30 ) } elseif(S:lower() == "lava"){ Shuttle["Warp Destination",vector] = vec(-9738.13, 99.13, -2981.89) } else{ #this will not work if the player is in a ship because the exit will be blocked local DestEnt = findPlayerByName(S) if(DestEnt:isPlayer()){ Shuttle["Warp Destination",vector] = DestEnt:pos() + vec(0,0,75) } } } elseif(Clk & Command == "!factor"){ local Arg = Chat[2,string] local S = Arg:sub(1,2) if(tonumber(S) < 9){ Shuttle["Warp Factor",number]=tonumber(S) } } elseif(Clk & Command == "!sd"){ Shuttle["Self Destruct",number] = 1 selfDestruct() } if(clk("unwarp")){ Shuttle["Engage Warp",number] = 0 }
you can use '!warp engage' now
also you might notice i made the warp factor command better

EDIT:added your suggested timer


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

OK I will try

(27-07-2015, 09:24 AM)warhammer Wrote: OK I will try
Update I did not have time to try but I don't think you fixed the warp you need it to be on for about 1 sec then off that will spam on and it will go crazy don't just add off under it it has to be on a timer of about 1 second then turn it off


RE: T-16's E2 Help & Request Thread - тѕсм.[SG-1] Teal'c - 06-09-2015

hey t-17 can you make me a shuttle warp e2 for the type 6 and the other small shuttle i forgot the name of it if you make me one i would appreciate it


RE: T-16's E2 Help & Request Thread - SuperPlayer - 06-09-2015

If you want to warp the shuttles right now without waiting try this starfall( i know you want e2 but right now i cant offer something else to help you):

http://teamscm.co.uk/showthread.php?tid=994

Just download it from my shared folder and paste the chip on the shuttle.


RE: T-16's E2 Help & Request Thread - TheOneAndOnlyTee - 06-09-2015

Teal'c the above code is a shuttle warp E2 for the new shuttles lol


RE: T-16's E2 Help & Request Thread - тѕсм.[SG-1] Teal'c - 06-09-2015

what are the commands