Non-euclidean style effect

Non-euclidean style effect

Postby Sniper-Goth » 21 Feb 2013, 18:44

Can this be achieved in some way, in Red Eclipse?
An example from what im talking about.


youtu.be/2s4ySkR48cI
Red Eclipse in game name: Sniper-Goth/Sniper-quake3. Maps in the making: DOTA style map, ringed, train, ladder race,.
User avatar
Sniper-Goth
 
Posts: 221
Joined: 27 Aug 2012, 20:10

Re: Non-euclidean style effect

Postby qreeves » 21 Feb 2013, 19:12

Short answer: no. Long answer: no-er.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: Non-euclidean style effect

Postby wowie » 21 Feb 2013, 19:33


youtu.be/_xFbRecjKQA

This version is better-er.
I lost the game.
User avatar
wowie
 
Posts: 314
Joined: 15 Mar 2012, 22:22

Re: Non-euclidean style effect

Postby greaserpirate » 22 Feb 2013, 04:36

You might be able to do a really rough version of this using teleporters, but 1) it would take a lot of work to make the transitions seem natural, 2) if you're in one room that's supposed to look like another, a player in the other version on the same room can't see you.

A map that has teleports to and from an 'alternate dimension' version of the same map would be awesome, though. I wonder if you could make a CTF map with one team in one dimension, the other team in another, the flag in the center of the map and teleporters along the outside...

Friendship is Magic Voice Chat Mod
(Map) Trespass
(Map) Suspended
Find out more about >DOOM< here: www.redoomclan.tk
User avatar
greaserpirate
 
Posts: 350
Joined: 22 Jun 2011, 18:23

Re: Non-euclidean style effect

Postby qreeves » 22 Feb 2013, 06:29

This is mostly possible in BSP engines due to their use of Portals in visibility tests. Cube 2's octree wasn't designed for this sort of thing.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: Non-euclidean style effect

Postby raiden » 22 Feb 2013, 11:15

greaserpirate {l Wrote}:...
A map that has teleports to and from an 'alternate dimension' version of the same map would be awesome, though. I wonder if you could make a CTF map with one team i n one dimension, the other team in another, the flag in the center of the map and teleporters along the outside...

I think, that it's not really necessary for RE. I know such maps from the UT series also. But a clever map maker could be able, to create the illusion of this effect in RE with the teleport entity, too.
The only important point is that this map should take place in a closed area, because we can't realtime change the skybox so far as I know. The limits of the engine shouldn't stop a creative spirit in this case :).
sorn
cutec
syndicate
metalhead

ingame: .uEn|r4iden
User avatar
raiden
 
Posts: 331
Joined: 23 Jan 2012, 12:59
Location: Berlin, Germany

Re: Non-euclidean style effect

Postby Sniper-Goth » 22 Feb 2013, 14:50

greaserpirate {l Wrote}:A map that has teleports to and from an 'alternate dimension' version of the same map would be awesome, though. I wonder if you could make a CTF map with one team in one dimension, the other team in another, the flag in the center of the map and teleporters along the outside...


I have started a map of this type some time ago.
But its far from finished ^^.

Here, have some shots from it
Attachments
screenshot.0168.png
Overview of the place.
screenshot.0166.png
And get here.
screenshot.0165.png
You enter here.
Red Eclipse in game name: Sniper-Goth/Sniper-quake3. Maps in the making: DOTA style map, ringed, train, ladder race,.
User avatar
Sniper-Goth
 
Posts: 221
Joined: 27 Aug 2012, 20:10

Re: Non-euclidean style effect

Postby quintux_v » 24 Feb 2013, 22:07

raiden {l Wrote}:because we can't realtime change the skybox so far as I know


I could be wrong, but there should be a command like /skybox (name), although you'd first need to link it to some kind of trigger.
[eX] member
aliases: quintux_v | blakthunder
User avatar
quintux_v
 
Posts: 187
Joined: 24 May 2012, 00:14

Re: Non-euclidean style effect

Postby restcoser » 26 Feb 2013, 19:33

/skybox works for changing the skybox, but afaik it is only available in editmode. (?)
Also that'd change the skybox for all users at once, not for one user in one "dimension".

Edit: Following is what I managed to produce in an attempt to produce such an effect.
Some problems I noticed:
Doesnt really work with other players. they disappear right in front of you. Maybe this could be fixed with better teleportpositioning.
There is a small lag or push when teleporting, making it noticable. Is there a teleportermode that keeps your view as well as your movement direction and speed (or could it be added?) Thats why the effect gets better if you walk straight.
You can parcour over the teleports right now, that could be fixed by adding more teleports. What i have to say though is that I really don't like the teleporter ( as well as the trigger) because a cubic box would work much easier (provided you can rotate and stretch it).
That way it can happen that you end up in the wrong room. If you are able to see skybox material (black) or you are in the short corridor, that happened.

Edit2: Did another version, aligned the teleporters straight, although i'm not too sure if the effect is better. The version uploaded here is the first one.
Attachments
noneuclid.zip
(109.34 KiB) Downloaded 376 times
restcoser
 
Posts: 65
Joined: 03 Jul 2012, 11:25

Re: Non-euclidean style effect

Postby qreeves » 27 Feb 2013, 10:23

World variables can be modified via world aliases and triggers at any time, regardless of editmode. You can even attach an "auto link" type trigger to a "manual script" type to have it control its state.

1) /newent trigger 0 1 1
2) /newent trigger 1 2 0
3) [select both]
4) /entlink
5) /worldalias on_trigger_1 [skybox (? (strcmp $skybox "skyboxes/day") "skyboxes/night" "skyboxes/day")]
6) [profit!]
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: Non-euclidean style effect

Postby restcoser » 27 Feb 2013, 10:33

You can't link a trigger to a trigger, at least not here. Did I do something wrong? (failed linking 18 and 17 (1))
Also, wouldn't that change the skybox for everybody or is it not synced?
restcoser
 
Posts: 65
Joined: 03 Jul 2012, 11:25

Re: Non-euclidean style effect

Postby wowie » 28 Feb 2013, 06:31

restcoser {l Wrote}:You can't link a trigger to a trigger, at least not here. Did I do something wrong? (failed linking 18 and 17 (1))
Also, wouldn't that change the skybox for everybody or is it not synced?

Maps aren't synced. I could be playing on a completely different version of the map than you. ;)
I lost the game.
User avatar
wowie
 
Posts: 314
Joined: 15 Mar 2012, 22:22

Re: Non-euclidean style effect

Postby bonifarz » 28 Feb 2013, 08:17

Right, this has been suggested the one or the other time in the past. I have experimented a bit with "smooth" teleporting, which you could also use for periodic boundary conditions (i.e. looped geometry), and I had the impression that offsets are the main difficulty: If you get in range of the teleport entity, you are moved to the center of the linked teleport and get the predefined push. I could be wrong with that, though. The consequence of that (sphere boundary --> sphere center) is that you need a dense packing of small teleport spheres to get a smooth transition. I have the feeling that for smooth teleporting it would be great to have a planar object, i.e. the surface of a "periodic image" material. But honestly, that feature request feels like a waste of developer time for a feature that is not really needed for the core mechanics of the game. Still it is interesting to reason about such things and twisted map designs :D
User avatar
bonifarz
 
Posts: 379
Joined: 09 Apr 2012, 12:16
Location: switzerland

Re: Non-euclidean style effect

Postby raiden » 28 Feb 2013, 08:46

qreeves {l Wrote}:World variables can be modified via world aliases and triggers at any time, regardless of editmode. You can even attach an "auto link" type trigger to a "manual script" type to have it control its state.

1) /newent trigger 0 1 1
2) /newent trigger 1 2 0
3) [select both]
4) /entlink
5) /worldalias on_trigger_1 [skybox (? (strcmp $skybox "skyboxes/day") "skyboxes/night" "skyboxes/day")]
6) [profit!]

That is interesting also for other ideas, nice.
sorn
cutec
syndicate
metalhead

ingame: .uEn|r4iden
User avatar
raiden
 
Posts: 331
Joined: 23 Jan 2012, 12:59
Location: Berlin, Germany

Re: Non-euclidean style effect

Postby restcoser » 28 Feb 2013, 11:47

Gives quite some ideas for mapping, but it is still not clear how to archieve the given example. I tried the skybox-trigger-stuff, but as i said, it didn't work for me. (as I couldn't link the two)
restcoser
 
Posts: 65
Joined: 03 Jul 2012, 11:25

Re: Non-euclidean style effect

Postby raiden » 28 Feb 2013, 12:22

Did you select both triggers together by marking them? This should work. I couldn't try it out by myself until now. I would probably come into trouble in point 5), because I don't know exactly the meaning of the "?", but I'll check this later, when I should have time for it.

::edit:::
The map could be like a run through the time and the portal a timegate: the second counterpart of the map could be an old and rotten world, the same, but in the postapocalyptic future - maybe ;).
sorn
cutec
syndicate
metalhead

ingame: .uEn|r4iden
User avatar
raiden
 
Posts: 331
Joined: 23 Jan 2012, 12:59
Location: Berlin, Germany

Re: Non-euclidean style effect

Postby qreeves » 28 Feb 2013, 12:52

I could make a teleporter type that puts you in the exact same relative position after teleporting.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: Non-euclidean style effect

Postby bonifarz » 28 Feb 2013, 14:05

raiden {l Wrote}: I would probably come into trouble in point 5), because I don't know exactly the meaning of the "?"

?(...) is just a short form of if-then-else: if the sky is day pick night, else pick day.
qreeves {l Wrote}:I could make a teleporter type that puts you in the exact same relative position after teleporting.

That might be simple and useful, thanks for the consideration.
User avatar
bonifarz
 
Posts: 379
Joined: 09 Apr 2012, 12:16
Location: switzerland

Re: Non-euclidean style effect

Postby restcoser » 01 Mar 2013, 00:45

raiden {l Wrote}:Did you select both triggers together by marking them? This should work. I couldn't try it out by myself until now.

Yes, tried it out again, still doesn't work for me.
Some time ago I took a look what could be linked to what, i found some interesting ideas along the way, but I am definitly not able to link the manual trigger to the proximity trigger, although having everything done as stated.
If somebody could explain it, I'd add it to the wiki (as well as some other linking-related documentation)
restcoser
 
Posts: 65
Joined: 03 Jul 2012, 11:25

Re: Non-euclidean style effect

Postby Xaran » 17 Mar 2013, 17:26

Sniper-Goth {l Wrote}:Can this be achieved in some way, in Red Eclipse?
An example from what im talking about.


youtu.be/2s4ySkR48cI


qreeves {l Wrote}:Short answer: no. Long answer: no-er.



youtu.be/_xFbRecjKQA

The "dimensional splitting" seem like quite a stretch, but 0:50-2:08 in the second video (picking up/throwing certain mapmodels and "wall gravity") features seem reasonable. The alignment of players and certain other models to walls would be great for zero gravity maps like "Battle School" http://www.quadropolis.us/node/3460 for example.

Could those two be implemented somehow?
User avatar
Xaran
 
Posts: 23
Joined: 06 Oct 2012, 23:50

Re: Non-euclidean style effect

Postby wowie » 18 Mar 2013, 19:21

Xaran {l Wrote}:
Sniper-Goth {l Wrote}:Can this be achieved in some way, in Red Eclipse?
An example from what im talking about.


youtu.be/2s4ySkR48cI


qreeves {l Wrote}:Short answer: no. Long answer: no-er.



youtu.be/_xFbRecjKQA

The "dimensional splitting" seem like quite a stretch, but 0:50-2:08 in the second video (picking up/throwing certain mapmodels and "wall gravity") features seem reasonable. The alignment of players and certain other models to walls would be great for zero gravity maps like "Battle School" http://www.quadropolis.us/node/3460 for example.

Could those two be implemented somehow?

Short answer: No.
Long answer: Gimbal lock or something like that. Someone else could probably explain it better than I could, so I'll stay quiet.
I lost the game.
User avatar
wowie
 
Posts: 314
Joined: 15 Mar 2012, 22:22

Who is online

Users browsing this forum: No registered users and 1 guest