News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Mapping

Reply
 
Thread Tools Display Modes
Old 18th Aug 2009, 08:15 AM   #1
GodsCreation
Registered User
 
Join Date: Aug. 18th, 2009
Posts: 2
Post Map coordinates

hi guys and girls. I'm trying to get (urealed 2.0) the coordinates of a map. Map length/widh/height and placement within the coordinates plane. Is this possible somehow? I'm kinda stucked. If it's not possible within unrealed 2.0 , are there any other methods of retreiving thos coordinates? Thank you for your time.

Kind regards,
Mark
GodsCreation is offline   Reply With Quote
Old 18th Aug 2009, 11:08 AM   #2
IronMonkey
Moi?
 
IronMonkey's Avatar
 
Join Date: Apr. 23rd, 2005
Location: Scotland
Posts: 1,734
I'm not quite sure what it is that you are trying to do but you can see all of the brush (and actor) co-ordinates by exporting the map as a .t3d file (File->Export) and you end up with output like this:

Code:
Begin Actor Class=Brush Name=Brush347
    MainScale=(SheerAxis=SHEER_ZX)
    PostScale=(Scale=(Z=1.000000),SheerAxis=SHEER_ZX)
    TempScale=(Scale=(Z=1.000000),SheerAxis=SHEER_ZX)
    Level=LevelInfo'MyLevel.LevelInfo0'
    Tag=Brush
    Region=(Zone=LevelInfo'MyLevel.LevelInfo0',iLeaf=-1)
    Location=(X=1088.000000,Y=-608.000000,Z=64.000000)
    Rotation=(Pitch=32768,Yaw=-16384,Roll=-16384)
    Begin Brush Name=Brush
       Begin PolyList...
Simpler solutions are most welcome!
__________________
IronMonkey is offline   Reply With Quote
Old 18th Aug 2009, 11:46 AM   #3
GodsCreation
Registered User
 
Join Date: Aug. 18th, 2009
Posts: 2
Thanks a lot m8. Well i want to build a minimap like thing. And therefor i need to know the size of the map, and the position within the coordinate system. It seems unrealed 2.0 does not show coordinates although the option is there. Or am I missing something?
GodsCreation is offline   Reply With Quote
Old 18th Aug 2009, 01:35 PM   #4
Wormbo
 
Wormbo's Avatar
 
Join Date: Jun. 4th, 2001
Location: Germany
Posts: 5,783
You mean a radar map ingame? For this kind of feature it's usually the best to iterate over all NavigationPoints (using the Level.NavigationPointList/NavigationPoint.NextNavigationPoint linked list) to find the map extent and center. The other option, if you're using custom maps for that mod anyway, would be a custom actor to be placed in the map, which would contain the corresponding values.

Note that in-game there is no way to find the actual shape of the level geometry. Radar map background images would have to be mapper-made anyway. The Screen component used in many UTJB3 maps is a good example for an actor specifying map setup and a texture for the map image.
__________________
Wormbo's UT/UT2004/UT3 mods | YouTube channel | PlanetJailbreak/JDN | Unreal Wiki | Liandri Archives
Everything you ever wanted to know about replication| UnrealScript security considerations
<elmuerte> you shouldn't do all-nighters, it's a waste of time and effort
<TNSe> nono
<TNSe> its always funny to find code a week later you dont even remember writing
<Pfhoenix> what's worse is when you have a Star Wars moment
<Pfhoenix> "Luke! I am your code!" "No! Impossible! It can't be!"
Wormbo is offline   Reply With Quote
Reply

Tags
coordinates, map, unrealed

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:33 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer