Xwa Mission 3D Viewer

Want to edit the game, build your own craft and missions? Here you'll find help, tools, guides and people to discuss with.
Post Reply

Xwa Mission 3D Viewer

User avatar
JeremyaFr
XWAU Member
Posts: 3922
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue Nov 26, 2019 7:12 pm

Hello,
Here is a WIP version of a new tool.

Xwa Mission 3D Viewer shows a 3D preview of the crafts in a mission.

XwaMission3DViewer.zip
Last edited by JeremyaFr on Fri Jan 10, 2020 4:39 pm, edited 4 times in total.

User avatar
JeremyaFr
XWAU Member
Posts: 3922
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue Nov 26, 2019 7:14 pm

XwaMission3DViewer_WIP_02.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
Vince T
Fleet Admiral (Administrator)
Posts: 14045
Joined: Fri Apr 27, 2001 11:01 pm
Contact:

Post by Vince T » Tue Nov 26, 2019 7:16 pm

Oooooh! You implemented the direction vector, too! Great work!

BTW, added this topic to the summary thread
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear

User avatar
Jaeven
XWAU Member
Posts: 578
Joined: Mon Mar 30, 2015 3:18 am

Post by Jaeven » Tue Nov 26, 2019 9:37 pm

This is excellent! Great work!

User avatar
ual002
XWAU Member
Posts: 983
Joined: Wed Sep 24, 2008 2:23 am

Post by ual002 » Wed Nov 27, 2019 3:01 am

Wow, this would be amazing for integration into Yogme.

Does it have a slider for mission time to see the travel times and routes/speeds of cap ships? That would be nice.
Image Image Image Image Image

User avatar
DTM
Fleet Admiral (Administrator)
Posts: 2119
Joined: Tue Apr 22, 2003 11:01 pm
Contact:

Post by DTM » Wed Nov 27, 2019 6:20 am

Thankyou Jaramy for your great work! This will be very usefull for player who want to have fun creating his own mission. Well done!!!

User avatar
Mark_Farlander
Rebel Alliance
Posts: 580
Joined: Tue Jan 16, 2018 10:47 pm

Post by Mark_Farlander » Wed Nov 27, 2019 6:46 am

Amazing job with this mission viewer tool! Since all the Flight Groups are shown entirely with the proper formation, this will open a new dimension to mission editing.
A position edit using AlliED will be immediately checked with the Mission 3D Viewer without the need to load the mission in game.
I don't judge tactics. The Battle is the best and only Judge.

User avatar
keiranhalcyon7
Lieutenant JG
Posts: 599
Joined: Tue Jan 02, 2018 6:41 am

Post by keiranhalcyon7 » Wed Nov 27, 2019 5:40 pm

Nice!

User avatar
Phoenix Leader
Rebel Alliance
Posts: 437
Joined: Wed Aug 08, 2018 2:20 pm

Post by Phoenix Leader » Wed Nov 27, 2019 6:08 pm

This thing is immense! You are the best, Jeremy.

Bman
Lieutenant Commander
Posts: 1167
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Thu Nov 28, 2019 8:18 am

Well done, thanks!
W-I-P: TFTC, MC Viscount Cr., ISD-II Avenger, NL-1 Platform, Ton-Falk Esc. Cr., & Misc.

User avatar
JeremyaFr
XWAU Member
Posts: 3922
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Thu Nov 28, 2019 9:02 pm

UPDATE

I've improved the startup loading time

User avatar
JaggedFel
Galactic Empire
Posts: 434
Joined: Wed Sep 06, 2006 11:01 pm
Contact:

Post by JaggedFel » Sun Dec 01, 2019 12:42 pm

This is along the lines of what I always wanted to get YOGEME's map editor to. I have a branch open for it, was planning on using your OPT library when I found the time to actually sit down and work on it again.
Ye Olde Galactic Empire Mission Editor v1.15.6
Current software WIPs: TIE Layout and Cutscene Editor, TIE/XvT Cockpit Editor
Libraries / Format specs: *.tie, *.plt, *.tfr, *.lfd , *.act, *.dat image files, *.fnt

User avatar
DTM
Fleet Admiral (Administrator)
Posts: 2119
Joined: Tue Apr 22, 2003 11:01 pm
Contact:

Post by DTM » Sun Dec 08, 2019 4:21 pm

This happens when I try to upen a mission with a craft located in slot number 191 (used by Katana Warship in DSUCP). ALLIED also has a problem with this slot: the dot that represents the ship disappears from the map after the first save.


---------------------------
Xwa Mission 3D Viewer
---------------------------
D:\GOG Games\Star Wars - X-Wing Alliance\Missions\1b8m1TheGate.tie
System.ArgumentNullException: Il valore non può essere null.

Nome parametro: key

in System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)

in System.Collections.Generic.SortedDictionary`2.TryGetValue(TKey key, TValue& value)

in XwaMission3DViewer.MainWindow.AddMapModels(Int32 region) in C:\Users\Jérémy\Documents\Visual Studio 2015\Projects\StarWars\XwaMission3DViewer\XwaMission3DViewer\MainWindow.xaml.cs:riga 403

in XwaMission3DViewer.MainWindow.LoadMap(Int32 region) in C:\Users\Jérémy\Documents\Visual Studio 2015\Projects\StarWars\XwaMission3DViewer\XwaMission3DViewer\MainWindow.xaml.cs:riga 390

in XwaMission3DViewer.MainWindow.UpdateMap(String fileName) in C:\Users\Jérémy\Documents\Visual Studio 2015\Projects\StarWars\XwaMission3DViewer\XwaMission3DViewer\MainWindow.xaml.cs:riga 327
---------------------------
OK
---------------------------

User avatar
JeremyaFr
XWAU Member
Posts: 3922
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sun Dec 08, 2019 6:01 pm

UPDATE
I"ve fixed a bug with species index 232 (used by Katana Warship).

The problem is that:
The species table has 232 entries. The index used by the Katana Warship is index 232. This index is outside the species table. The species table is followed by the planets table. Species index 232 is read in the first entry of the planets table. A planet index of 0 means that the flightgroups entry is not a planet. So it is safe to overwrite the first planet entry. That's why a species index of 232 can be safetly used.

The program reads only the first 232 entries. I've fixed that. Now, the program reads 233 entries.

User avatar
DTM
Fleet Admiral (Administrator)
Posts: 2119
Joined: Tue Apr 22, 2003 11:01 pm
Contact:

Post by DTM » Mon Dec 09, 2019 4:58 pm

Thanks!!!!!

User avatar
blue_max
XWAU Member
Posts: 2295
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Mon Dec 09, 2019 9:22 pm

Truly outstanding work, Jeremy!

User avatar
DTM
Fleet Admiral (Administrator)
Posts: 2119
Joined: Tue Apr 22, 2003 11:01 pm
Contact:

Post by DTM » Tue Dec 10, 2019 5:54 am

Because of realistic illumination, the 3D map could be very dark. In the first stage of mission editing without backdrops it's impossible to use it.
I like the realistic illumination, but is it possible to add some sort of "editing illumination" that you can switch on and off?

Thanks!

User avatar
JeremyaFr
XWAU Member
Posts: 3922
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue Dec 10, 2019 1:01 pm

UPDATE

I've added a "Show Edit Lights" button.

User avatar
DTM
Fleet Admiral (Administrator)
Posts: 2119
Joined: Tue Apr 22, 2003 11:01 pm
Contact:

Post by DTM » Thu Dec 12, 2019 6:27 am

It's perfect. As always, great work!

User avatar
JeremyaFr
XWAU Member
Posts: 3922
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Fri Jan 10, 2020 4:41 pm

UPDATE
Hello,

I've added XwaMission3DViewer to XwaToolsDownloader and published the source code to GitHub.

Post Reply