Author Topic: Coordinates output for CITmapEditor  (Read 862 times)

Offline Brian

  • Administrator
  • ******
  • Posts: 3804
  • Registered: 18/12/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Coordinates output for CITmapEditor
« on: 27 04, 2014, 11:49:18 am »
Title explains this partially:

I encountered some difficulties in finding coordinates of ME mapped objects. Luckily I've been helped by Cheeze who opened database to find the only object I mapped with the specific ID. It could help us knowing the exact xyz + rotations of mapped objects.

I make an example: we mapped new sea turfs, but since they're mapped objects, they are loaded only when you're near them. It could be usefull to add LODs to them, so players can find islands easily without always opening F1 and zooming in/out trying to find themselves in map. The only problem is that we don't know exact coordinates, so it's nearly impossible to put LODs.

In my opinion (I'm not acting like I know everything) there are 2 ways to output coordinates of mapped objects:

  • Add a command like /megetpos: this command will output a line in your chabox showing (object ID, x, y, z, rot x, rot y, rot z) once you selected the object;
  • Add an output in mapeditor logs, but it'll flood logs folder and it'll require logs access to find your objects, also it will require more time to find the desired object.

Offline Arran

  • Administrator
  • ******
  • Posts: 5643
  • Registered: 20/11/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • Ingame: [CIT]Arran
Re: Coordinates output for CITmapEditor
« Reply #1 on: 27 04, 2014, 09:33:43 pm »
If we want LODs they should be automatically created and destroyed.
Proof You Are so Much More Than What You Realise
Authority is not truth. Truth is authority.

Offline Arran

  • Administrator
  • ******
  • Posts: 5643
  • Registered: 20/11/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • Ingame: [CIT]Arran
Re: Coordinates output for CITmapEditor
« Reply #2 on: 28 04, 2014, 02:59:31 pm »
I've made it output XYZRXRYRZ to console.
Proof You Are so Much More Than What You Realise
Authority is not truth. Truth is authority.