PDA

View Full Version : M2TW EDU Editor Screenies



BrandonM
12-05-2006, 14:18
I was bored, so with the release of the datafiles, I started updating my Total War Toolset. First up, ExportDescrUnit.

Here are some screenshots. It's just a proof of concept right now, I think I'll change the way units are handled, I just wanted to get the loading and saving part working first.

I'll probably make a tab that is a detail view for a single selected unit. So instead of a grid cell with all the data jumbled together each value would be broken out.

Example: Currently the cell for stat_sec looks like this:
11, 4, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
because that is how it's stored in the file.

In the detail view each of those values would be broken out into there own field so you know what each one is without having to refer to the documentation.


http://images3.pictiger.com/thumbs/c5/1bc4fcaf7025df4cdae48efc8b3a96c5.th.jpg (http://server3.pictiger.com/img/710706/computer-games-and-screenshots/m2tw-edu-editor-1.php)

http://images3.pictiger.com/thumbs/69/f6c09fa36a5f11422b632d0ab2849369.th.jpg (http://server3.pictiger.com/img/710707/computer-games-and-screenshots/m2tw-edu-editor-2.php)


Brandon

Myrddraal
12-05-2006, 14:26
Have you considered working with God'sPetMonkey? I heard he was planning to make and EDU editor...

Good job, the current layout reminds me of gnome editor :thumbsup:

BrandonM
12-05-2006, 23:28
Hi,
I've released my initial version of my new Total War Toolset. The idea being that new features can be easily added by using a system of plugins instead of having to recompile everything for every release. This will also allow other developers to create plugins.

Additionally - for developers only really - There is a DLL called BM_M2TWDAL.dll. It's a Data Access Layer for the M2TW datafiles. It will eventually contain functions to load / save each datafile into / from a heavily typed .net dataset. This should allow anyone who wants to make an editor to easily read/write datafiles. Currently it only reads/writes the export descr unit file as this is really just a prototype proof of concept.

For people who just want to edit units, you can use this to do that.
It probably has some bugs, but i could load the game up with the saved/edited file.
Putting anything in the _ex fields seems to cause the game to crash (they are commented out by default), so don't do that unless you know how to make it work.
Also, you should read the export_descr_unit.txt file and understand what all the fields do.

If you are interested in developing plugins or extending the Data Access Layer let me know.



Currently I've uploaded the newest version here:
Link: http://www.twcenter.net/forums/showthread.php?t=71957
I'll probably try to consolidate the file location once it's in a more finalized format.

Thanks,
Brandon

Pictures:
http://images3.pictiger.com/thumbs/c5/1bc4fcaf7025df4cdae48efc8b3a96c5.th.jpg (http://server3.pictiger.com/img/710706/computer-games-and-screenshots/m2tw-edu-editor-1.php)

http://images3.pictiger.com/thumbs/69/f6c09fa36a5f11422b632d0ab2849369.th.jpg (http://server3.pictiger.com/img/710707/computer-games-and-screenshots/m2tw-edu-editor-2.php)

BrandonM
12-08-2006, 16:47
New Screenshot - Unit Detail Page

http://images3.pictiger.com/thumbs/92/33f146070fcbabef7b724c17139b7892.th.jpg (http://server3.pictiger.com/img/717355/picture-hosting/bmtwts-edu-editor-3.php)

BrandonM
12-09-2006, 00:31
Update 12/8/2006:

Full Detailed Unit Editor Plugin now included. See screenshot below for example.
When saving changes to a Unit on the Detail Screen you must press the Save Unit Changes button. THIS WILL NOT WRITE IT TO THE FILE, but will save the changes to the in memory working copy. Otherwise if you change to another unit your changes will be lost. To Save to a file select File->Save and enter the name of the file (you can click on the ExportDescrUnit.txt file to save overtop of it) (I recommend to make a backup first)

You can create a totally new unit by selecting Create New Unit from the File Menu.


For Developers - I've included my RTW DAL library for reading/writing RTW files if anyone finds it useful.


http://images3.pictiger.com/thumbs/bc/0a13a4a24ade4df83c321bf7e40f79bc.th.jpg (http://server3.pictiger.com/img/718167/picture-hosting/bmtwts-edu-editor-3.php)



Download Link (http://www.twcenter.net/forums/showthread.php?p=1360954)

Brighdaasa
12-09-2006, 01:28
i'm working on a traits editor, and just made the 1st alpha version available, so far it can edit existing traits but not make new traits yet, but that's in my todo-list

forum thread (https://forums.totalwar.org/vb/showthread.php?t=74325)

if you're interested in incorporating my editor in your project, contact me
also, let me know if anyone finds bugs