Author Topic: Warp Gates  (Read 2079 times)

This is a mod i'm probably going to release very soon.



Currently in testing on the WarpLand server, this is soon-to-be a simple, robust and annoyance free way of getting around.

Credits:
- Me for the code
- Demian for the brick

Here's how they work:
- There are three types of gate: Standard, Transmit-Only and Receive-Only
  - Standard can be teleported to and from
  - Transmit-Only can only be teleported from
  - Receive-Only can only be teleported to

- When standing on a warpgate you can use the command "/warpto [name]" to go to others

- If you are the owner you can also change it's name with "/renamewarpgate [name]"

- Warpgates can also be hidden. This means nobody can see them in lists but they can still get to them by typing their name.
  - The owners of warpgates can hide them with "/togglegatevisibility"

- Warp-Gates can also be "Disabled" by turning their raycasting off, therefore stopping them from being teleported to or from.

(No, I won't add networks)
« Last Edit: March 10, 2013, 05:28:51 PM by chrisbot6 »


I like.

Far more flexible than teleport events

Now only something else then a command.
Like a GUI or/and events.


now we can just event a brick to say all the available warpgates

for large-ass builds (and pretty fancy DM's) this would be great.

if you could make it slayer-compatible/prefs so you can only warp to specific gates (activated or deactivated by events) this would be even more useful

It would be nice if you code a second warp plate or an event that can toggle it's ability to only warp to like coloured plates.
Eg:
Event OFF:
Plate A is red. plate B is green. Plate C is red. Plate D is green.
Plate A, B,C  and D can all warp to each other.

Event ON/Special brick:
Same plate letters and colours as before, except:
Plate A can only warp to plate C, and other red plates, and vice versa.
Plate B and D can only warp to other green plates.

Either way, this mod is damn fancy. Onwarp events would be neat, too.

Here's how they work:
- There are three types of gate: Standard, Transmit-Only and Receive-Only
  - Standard can be teleported to and from
  - Transmit-Only can only be teleported from
  - Receive-Only can only be teleported to

- When standing on a warpgate you can use the command "/warpto [name]" to go to others

- If you are the owner you can also change it's name with "/renamewarpgate [name]"

- Warpgates can also be hidden. This means nobody can see them in lists but they can still get to them by typing their name.
  - The owners of warpgates can hide them with "/togglegatevisibility"

- Warp-Gates can also be "Disabled" by turning their raycasting off, therefore stopping them from being teleported to or from.

(No, I won't add networks; use the above properties to do so instead)
« Last Edit: March 10, 2013, 05:29:47 PM by chrisbot6 »


Can you add an event that makes warp gates receive-only, transmit-only or both?

Can you add an event that makes warp gates receive-only, transmit-only or both?
This would be a wise thing to do actually.

(No, I won't add networks; use the above properties to do so instead)
I don't see how that helps the fact that I would like to use warpgates to offer multiple exits to spawnrooms in TDMs. If I just hide the warpgate names and use an event on either team to list those names to their users, once the person switches teams they can just use the same names to use the red teleports.

If that's not clear:
Say I'm on red team. Red team's spawn room has a warpgate and 4 warp points. Since the creator doesn't want blue team members using red warpgates, he put in an event in the red's spawn room listing the warp points so red can warp there (since all the warpgate names are hidden). However, after I switch teams, I still remember Red's warpgate names and can still warp there, defeating the point.

It would also be nice if you had warpgate names linked to the warpgate brick's name rather than set by the owner using chat events.

I don't see how that helps the fact that I would like to use warpgates to offer multiple exits to spawnrooms in TDMs. If I just hide the warpgate names and use an event on either team to list those names to their users, once the person switches teams they can just use the same names to use the red teleports.

If that's not clear:
Say I'm on red team. Red team's spawn room has a warpgate and 4 warp points. Since the creator doesn't want blue team members using red warpgates, he put in an event in the red's spawn room listing the warp points so red can warp there (since all the warpgate names are hidden). However, after I switch teams, I still remember Red's warpgate names and can still warp there, defeating the point.

It would also be nice if you had warpgate names linked to the warpgate brick's name rather than set by the owner using chat events.
i AM looking into this, it's just not coming for a while

EDIT: So it's finished. You can set a warpgate's network with [/setwarpnetwork (NAME)]. Networked gates can only teleport to other networked gates in the same named network. Testing is happening tonight on the WarpLand server.
« Last Edit: March 11, 2013, 04:19:41 AM by chrisbot6 »

awesome, thanks.

sorry for pressuring you it seemed like you rejected the idea earlier.

I think there should also be a setNetwork event