aliens

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - vdbomber

Pages: [1]
1
Tools / Re: LOFTEMPS Viewer 3D
« on: April 16, 2024, 04:33:42 pm »
great tool! also works easy and intuitive, only issue i got was giving the path i only manage to do it in the .cfg document ( i got the paths on desktop, maybe that was the issue)
Thanks.
Should work with any path to "MapView2", only thing - path you choose should have "settings" folder and MapResources.yml and MapTilesets.yml in this "settings" folder.
If paths an issue i can remade it directly to "choose folder with files" or make two "text input" fields with "select files option".
Not hard to do.

Also found bug.
For some reason Godot string function "rstrip" is removed extra char from name of MCD file.
It was only one file name of them i tested.
Fixed, version 6.511 in first post.


2
Tools / Re: LOFTEMPS Viewer 3D
« on: April 13, 2024, 12:01:59 pm »
as Godot is game engine.. something will work without much problem

first try
Spoiler:

second try
Spoiler:

second try different map
Spoiler:

3
Tools / Re: LOFTEMPS Viewer 3D
« on: April 12, 2024, 12:50:20 pm »
personal curiosity: did you use quaternions for camera movement?

Quaternion is used for rotation in Godot v4.
But i start writing code in Godot v3 with "ready to use script" for camera mouselook, when go for newer version, was need to make changes.
now its look like this, "basis" is current rotation
Spoiler:
   
# Mouse look by mouse position.
_mouse_motion.y = clamp(_mouse_motion.y, -1550, 1550)
transform.basis = Basis( Quaternion.from_euler( Vector3(_mouse_motion.y * Crotation, _mouse_motion.x * Crotation, 0) ))

4
Tools / LOFTEMPS Viewer 3D
« on: April 11, 2024, 09:25:31 am »
Program made to see/check loftemps geometry.
  • Uses code to generate 3d from xcom files directly.
  • Uses MapView2 settings files to get to map blocks and other necessary files like MCD and DAT.
  • Made in Godot.

Example video
Spoiler:

Notes
  • Win64 version
  • Makes one text cfg file in exe folder to hold path to MapView2
  • TTFD files not tested

V6.51 update
Search by mapblock name.
Spoiler:


Pages: [1]