Home   Help Search Login Register  

Author Topic: Create external map editor gui  (Read 1477 times)

0 Members and 1 Guest are viewing this topic.

Offline soulaco

  • Members
  • *
Create external map editor gui
« on: 13 Mar 2008, 21:56:12 »
I am trying to build a more enhanced game editor outside of the game that will dynamically write out the scripting commands for what I want to have done. I want to be able to link the map from the game to my editor so I can get the map coordinates from the game into my external gui. How can I do this?

Offline Gnat

  • Addons Depot
  • Former Staff
  • ****
  • I Bite!
    • Gnats
Re: Create external map editor gui
« Reply #1 on: 19 Mar 2008, 14:14:23 »
Sounds like huge undertaking, but I'm not sure I understand the question.
What coordinates? What Map / Mish ?

Offline soulaco

  • Members
  • *
Re: Create external map editor gui
« Reply #2 on: 19 Mar 2008, 22:20:12 »
The coordinates refer to the position of things on the map. So, if I create a marker, for instance, the marker has a 3 dimensional position. What I want to do is create an external game editor and be able to bring up the map for Sahrani, for instance and be able to place something on the map outside of the game in my gui I am creating and this way I can get the position of what I am placing.

Offline Gnat

  • Addons Depot
  • Former Staff
  • ****
  • I Bite!
    • Gnats
Re: Create external map editor gui
« Reply #3 on: 21 Mar 2008, 10:36:05 »
hmmmmm ..... my only thought was your editor would manually add items to the SQM file, but I very much doubt you can do that while the ArmA editor is running.

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Create external map editor gui
« Reply #4 on: 21 Mar 2008, 14:31:11 »
I assume he meant creating an entirely non-ArmA based editor that read from map and mission files and wrote to the mission file. This would allow people to edit from machines that are too old to run ArmA or that wouldn't allow the installation of ArmA (e.g. an old laptop or a work machine).

Manipulating the mission file (.sqm), even when altering and writing it, should be trivial, since the format is a quite obvious text-based one, but the problem with the map file is that the format is closed and unavailable outside BIS. If someone has uncovered the format of that file and published it, then you should have no great problems using that information to generate a simplified map for yourself with a few drawing commands (openGL/DirectX if you want to do it properly). I'm not aware of this map format having been "cracked", but someone else might have this information available, if not already published. I know some people did manage to make map files before the tools were released, so I suppose there must be, at least, partial understanding of the file format out there..somewhere ;P
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)