Hi, I hope someone can help me with this, thanks.
I have tried to make 2 expression chips for the asgard transporter from the stargate pack one of them work very good ( "asgard transporter locals database fornlorn rl2") the other one i'm not very shure it seems to be uncomplete or incorrect since it does not work every time ("teleporter target switch").
The expression "asgard transporter locals database fornlorn rl2" is merely a database of coordinates, the seconde expressin is intended to work with 2 target finders and one laser receiver, one of the target finders is set to only track me, the second to only track other player within a small radius and the laser receiver with the laser pointer.
Sometimes and I'm unnable to understand why, when annother player enters the specified radius he and I get teleported together even if I'm very far away from him....
I would like to ask some of you who are far more skilled with expressions and wiremod then I am, if you could take a look at my codes and contraption and tell me how to fix this.
I will post my the two expressions and one adv. duplicater file since some features of of my contrapion use the more simple standart chips, this way you can have a better look and understanding of my contraption.
Below are the current expressions I use.
Code:
N@Fornlorn_rl2_database
I@A B C D E F G H I J GPSX GPSY GPSZ GPSX1 GPSY1 GPSZ1
O@SENDX SENDY SENDZ Teleport
Teleport = SENDY = YCoord = SENDZ = 0
If A == 1 -> SENDX = GPSX, SENDY = GPSY, SENDZ = GPSZ, Teleport = 1;
If B == 1 -> SENDX = GPSX1, SENDY = GPSY1, SENDZ = GPSZ1, Teleport = 1;
If C == 1 -> SENDX = 9968, SENDY = -5684, SENDZ = -11517, Teleport = 1;
If D == 1 -> SENDX = 7664, SENDY = -10924, SENDZ = -8988, Teleport = 1;
If E == 1 -> SENDX = 11016, SENDY = 9975, SENDZ = -8988, Teleport = 1;
If F == 1 -> SENDX = 9433, SENDY = 9978, SENDZ = 310, Teleport = 1;
If G == 1 -> SENDX = -8667, SENDY = 10556, SENDZ = 7092, Teleport = 1;
If H == 1 -> SENDX = 5877, SENDY = -3675, SENDZ = 6425, Teleport = 1;
If I == 1 -> SENDX = -8087, SENDY = -9276, SENDZ = 575, Teleport = 1;
If J == 1 -> SENDX = 13528, SENDY = 12149, SENDZ = 12627, Teleport = 1;
Note: the inputs GPSX to GPSZ and GPSX1 to GPSZ1 are intend to use the two difrent GPS beacons or custom coordinates.
Code:
N@ORIGIN SWITCH CONTROL
I@BASE_INSRUDER IR FRIENDX FRIENDY FRIENDZ FOEX FOEY FOEZ IRX IRY IRZ
O@ORIX ORIY ORIZ
ORIX = FRIENDX
ORIY = FRIENDY
ORIZ = FRIENDZ
If BASE_INSRUDER == 1 -> ORIX = FOEX, ORIY = FOEY, ORIZ = FOEZ;
If IR == 1 -> ORIX = IRX, ORIY = IRY, ORIZ = IRZ;
P.S.: when another player is within the specified radius and at the same time i want to use the teleporter, it should allways track down the other player rather then me or the input from the laser receiver.
Bookmarks