Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Want Upside-Down Warpzones

#1
Not turning out the way I wanted it to.
   

   


.png   mapidea.png (Size: 210.68 KB / Downloads: 192)
Reply

#2
Lol I kinda had the same idea some time ago. Problem were the warpzons indeed. Not only can't you define the angle(which could be solved by implementing a variable or a 2nd direction-target) but the second problem would be rendering warpzones inside of warpzones which would make parts invisible viewed from certain angles unless you rebuild the map with dummy-structures behind each warpzone. (but then the lighting would be odd and no players visible)

I guess your map is doomed for now if you can't sacrifice a lot of your thoughts and just go with the geometry and some fun portals. :/


EDIT: Nice to see you proving me wrong. Smile https://forums.xonotic.org/showthread.ph...7#pid84617
Reply

#3
Well OK. 
Someone move this thread to development as a feature request then.
Reply

#4
Another thought I had is this map:
http://dl.xonotic.co/whatthewarp_v2.pk3

It's really intelligent warpzone mindfuck. Not the best cts map but the illusion is seamless while it looks like the players are moving on the outsides of a cube.
Maybe this gives some inspiration for a good solution.

Reply

#5
misc_warpzone_position



P.D.: Read carefully the entity description and then read it once more.



Edit: Added an screenshot

[Image: KSzvTNp.jpg]

.
Reply

#6
I have made it in two different ways:

Warpzone (targetname: WZ1) <= => misc_warpzone_position (target: WZ1)
Warpzone (killtarget: plop) <= => target_position (targetname: plop)


The "position" entity is, in both cases, what must be rotated to the desired angles.

Umm... there is a problem: it seems to affect to the two connected warpzones, so I can not have different rotations for each.



.
Reply

#7
Ok thanks.
Well now I have another problem.
I kept playing around with the rotations and I have no idea how I got what I wanted. 
At first I thought it was wrong because the stairs aren't lining up but then I realized the position of misc_warpzone_position also offsets warpzone position.
Now I'm in some weird trial and error scuffle rotating X and Z, trying to get what I want.


Attached Files Thumbnail(s)
           
Reply

#8
ok, first put your position entity like this:

[Image: 2gcXsfE.png]


As you see in the screenshot, It is centerd with the warpzone surface.


Now get the right place in Netradiant's camera view:

[Image: IqiFK2c.png]



Now you are in the back of the position enity and you see the arrow. Now open the "Modify/Arbritary rotation..." panel
and make some small rotation while you are observing the arrow of the entity.

In this way you know exactly the direction the entity rotates.



.


.
Reply

#9
I found I can't rotate it to get what I want apparently- it specifically has to be flipped. I have no idea how I got my warpzone to line up as I wanted to the first time, but I find I can't just flip the misc_warpzone_position entity either.
Reply

#10
ok, I have done it:

[Image: 0NtwUSV.jpg]

[Image: 414DA33.jpg]
Reply

#11
[Image: fWZrnuO.png]

The trick is to not use warpzone functions.  Do it yourself manually.


I have created the same effect with a trigger_teleport brush and a func_camera brush.

The func_camera brush is textured with common/camera in the front surface and common/nodraw in the other sides.

The target_position for the func_camera does not need any rotation, it is the common/camera surface what you can
rotate and/or flip in the desired direction (vertical flip is what you want).

The misc_teleporter_dest entity can be rotated too if you want the player to spawn upside-down when teletransported.



.
Reply

#12
func_camera is easy to understand:

[Image: OuFZrTF.png]
Reply

#13
Wow nice stuff Julius! But I think it kinda defeats the purpose of having a mindfuck level. :/

The problems I see are:
-the cameras view doesnt move (or maybe theres an option? or you could attach the target_position to a vectormanmanman or use the vmmm instead)
-can't seemless transition to where you want nor shoot :/

But i can see good use of this in other maps Smile
Reply

#14
My problem is that I'm using a trapezoid and not a rectangle or square.
So I can get the result I want with the patch mesh (image #2, that helps me preview how the stairs are going to be) by flipping it vertically, but I can't do so for the misc_warpzone_position entity.
I did try to flip th e warp plane surface, but that doesnt seem to help either.

I have no idea how I managed to get my result in image #3 of my last post.
       
* the warp plane is a pentagon, but the previewing patch mesh is a trapezoid

Edit: ok i got it now
   


Attached Files
.txt   er-lobby-radiant.map.txt (Size: 746.57 KB / Downloads: 4)
Reply

#15
how
Reply

#16
I horizontally flipped the func group of brushes. lol
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Photo Warpzones!? rainerzufalldererste 15 13,440 01-13-2013, 10:04 AM
Last Post: edh

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-