Can you think of a way to get the remote level object?
I was thinking, maybe you get it by querying the server, but I didn't check the code for it.
Getting a remote level object
-
- Godlike
- Posts: 1204
- Joined: Mon Aug 31, 2015 10:31 pm
Getting a remote level object
Last edited by PrinceOfFunky on Wed Nov 16, 2016 7:48 am, edited 1 time in total.
Some of the stuff I created:
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
-
- Adept
- Posts: 258
- Joined: Sat Aug 24, 2013 6:04 pm
Re: Getting the a remote level object
There is no access to the remote level object. If you want access to properties of a non-replicated object, you will have to use a replicated actor to replicate the data manually.
-
- Godlike
- Posts: 1204
- Joined: Mon Aug 31, 2015 10:31 pm
Re: Getting the a remote level object
There's this function into WarpZoneInfo.uc :Wormbo wrote:There is no access to the remote level object. If you want access to properties of a non-replicated object, you will have to use a replicated actor to replicate the data manually.
Code: Select all
// Set up this warp zone's destination.
simulated event ForceGenerate()
{
if( InStr(OtherSideURL,"/") >= 0 )
{
// Remote level.
//log( "Warpzone " $ Self $ " remote" );
OtherSideLevel = None;
OtherSideActor = None;
}
else
{
// Local level.
OtherSideLevel = XLevel;
foreach AllActors( class 'WarpZoneInfo', OtherSideActor )
if( string(OtherSideActor.ThisTag)~=OtherSideURL && OtherSideActor!=Self )
break;
//log( "Warpzone " $ Self $ " local, connected to " $ OtherSideActor );
}
}
That's why I asked about a way to get the remote level object. Maybe a real player connection with the remote server could be of help, it could send the object from the remote server to the local machine.
p.s. I tried using "unreal://127.0.0.1#WarpZoneInfoTagHere" while having a local dedicated server opened, but it didn't work.
Thanks for the answer anyway
Some of the stuff I created:
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
-
- Godlike
- Posts: 1204
- Joined: Mon Aug 31, 2015 10:31 pm
Re: Getting a remote level object
I guess this could be done somehow now, since there can be access to a remote level object.
Some of the stuff I created:
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
-
- Godlike
- Posts: 2894
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Re: Getting a remote level object
What is the aim of it? Do you want to have a "window" that shows a part of a map running on another server? Or do you just want to teleport into a map on a different server?PrinceOfFunky wrote:I guess this could be done somehow now, since there can be access to a remote level object.
"If Origin not in center it be not in center." --Buggie
-
- Godlike
- Posts: 1204
- Joined: Mon Aug 31, 2015 10:31 pm
Re: Getting a remote level object
A Window, I know teleporting to another server is doable, but as I wrote in a previous post, WarpZoneInfo was initially intended to let you see and warp to other levels, probably outside of the server you're in.Barbie wrote:What is the aim of it? Do you want to have a "window" that shows a part of a map running on another server? Or do you just want to teleport into a map on a different server?PrinceOfFunky wrote:I guess this could be done somehow now, since there can be access to a remote level object.
Some of the stuff I created:
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
-
- Godlike
- Posts: 2894
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Re: Getting a remote level object
This would imply that the local engine has access to the brushwork of the remote map so that it knows what to display. Furthermore changing properties of non static Actors have to be transferred (replicated) from the remote server (imagine a remote cow wandering in front of the warp zone).PrinceOfFunky wrote:WarpZoneInfo was initially intended to let you see and warp to other levels, probably outside of the server you're in.
"If Origin not in center it be not in center." --Buggie
-
- Godlike
- Posts: 3774
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: Getting a remote level object
Yeah, you can't even get skyzones to work right. Good luck with seeing what's up on another server.
So long, and thanks for all the fish