Log in

View Full Version : Some Problem with MissionEditor


Targor Avelany
02-17-13, 02:44 AM
Messing around with files, attempting to clone a unit (primarily make a type 9 uboat, ai at least for now).

However, this is what I get when I get into MissionEditor to try and make a test mission:
http://img72.imageshack.us/img72/244/missioneditorerror.th.jpg (http://img72.imageshack.us/i/missioneditorerror.jpg/)

Any ideas?

Cybermat47
02-17-13, 02:53 AM
It means that you won't be able to put the IX in that mission,

Trevally.
02-17-13, 03:49 AM
Messing around with files, attempting to clone a unit (primarily make a type 9 uboat, ai at least for now).

However, this is what I get when I get into MissionEditor to try and make a test mission:
http://img72.imageshack.us/img72/244/missioneditorerror.th.jpg (http://img72.imageshack.us/i/missioneditorerror.jpg/)

Any ideas?

I have seen this wanrng many times:D - it can be fixed:up:

When you start up ME2 - it does a check of all units etc in you SH5 folder.
This error shows that the new unit you have added has bits missing.
To see what is missing in more detail - run TDWs SHValidator - this will also check and list the errors found.

If you want - you can send me the file and I can also have a look:up:

Targor Avelany
02-17-13, 11:51 AM
I have seen this wanrng many times:D - it can be fixed:up:

When you start up ME2 - it does a check of all units etc in you SH5 folder.
This error shows that the new unit you have added has bits missing.
To see what is missing in more detail - run TDWs SHValidator - this will also check and list the errors found.

If you want - you can send me the file and I can also have a look:up:

ah, thank you, sir Trevally!

I also think I know why I'm getting the error - I removed the actual files in the Submarine folder that I was working on (since i'm working on AI unit, not players).

btw, how do you add specifically AI units? For example - IIA uboat? Can't seem to figure that out...

@Cybermath

Here's a picture from a кайбошед (abandoned) project:

http://img844.imageshack.us/img844/6199/sh5img20121112231222.jpg

Trevally.
02-17-13, 01:11 PM
You should have your copy/clone uboat in the submarine folder and also a cfg within the roster folder, for the country. If one of these is missing or set as wrong unit type (not type=200 in both places) - this error is shown in ME

So your error looks like the German roster is missing for your clone

Targor Avelany
02-17-13, 01:20 PM
You should have your copy/clone uboat in the submarine folder and also a cfg within the roster folder, for the country. If one of these is missing or set as wrong unit type (not type=200 in both places) - this error is shown in ME

So your error looks like the German roster is missing for your clone

yeah, figured that :) Found and fixed! Thank you!

gap
02-17-13, 01:25 PM
yeah, figured that :) Found and fixed! Thank you!

I wish you good look with your awesome project, Targor :up:

Targor Avelany
02-17-13, 06:39 PM
BAHA!!! TEST SUCCESSFUL!!! MWAHAHAHAHA!!!

Still lots to do: textures are all messed up and mesh replacement was literally just so it was obvious that the gr2 is getting pulled from correct location. But, alas - it works as intended!

http://img203.imageshack.us/img203/6779/sh5img20130217152130.th.jpg (http://img203.imageshack.us/i/sh5img20130217152130.jpg/)
http://img248.imageshack.us/img248/9420/sh5img20130217152045.th.jpg (http://img248.imageshack.us/i/sh5img20130217152045.jpg/)
http://img820.imageshack.us/img820/1557/sh5img20130217152057.th.jpg (http://img820.imageshack.us/i/sh5img20130217152057.jpg/)

gap
02-17-13, 06:42 PM
:o

can't believe my own eyes!!!

Cybermat47
02-17-13, 07:05 PM
I can't see the pictures!

Must... get... home!

Cybermat47
02-18-13, 03:58 AM
Gentlemen, I think we have....

BREAKTHROUGH!

Trevally.
02-18-13, 07:59 AM
Good job Targor:woot:

volodya61
02-18-13, 08:53 AM
Wonderful :yeah:

:Kaleun_Cheers:

Targor Avelany
02-18-13, 01:21 PM
well, now I gotta re-do all the meshes and bones. Ugh. And see if I can come up with something for animation.

Two questions:
1) any technics on moving bones that is not as painfull as doing it based on visual? The valuses that you change for location, what are they based on?
2) any way to MAKE the unit attack in a test mission? because as it is right now it just sails away on its waypoints, even if it sees the target.

I'll post better/more screenshots later.

gap
02-18-13, 01:36 PM
well, now I gotta re-do all the meshes and bones. Ugh. And see if I can come up with something for animation.

Two questions:
1) any technics on moving bones that is not as painfull as doing it based on visual? The valuses that you change for location, what are they based on?
2) any way to MAKE the unit attack in a test mission? because as it is right now it just sails away on its waypoints, even if it sees the target.

I'll post better/more screenshots later.

Regarding your first question, from my experience I can answer that bone positions are relative to their parent bone. Bones whose parent index is set to -1 should be world aligned.

As for unit, I think it is the same used in SHIII/IV: 1 unit = 10 m, but I can be wrong on this.

Targor Avelany
02-18-13, 01:41 PM
Regarding your first question, from my experience I can answer that bone positions are relative to their parent bone. Bones whose parent index is set to -1 should be world aligned.

As for unit, I think it is the same used in SHIII/IV: 1 unit = 10 m, but I can be wrong on this.

Thank you, gap. The first part of the answer is really helpfull, because I didn't know that!

Second part: I actually meant in the sence of inside the GR2 Viewer/Exporter/Editor - the coordinates of the bone/mesh that you can edit - are they also in the same units?

gap
02-18-13, 01:51 PM
Second part: I actually meant in the sence of inside the GR2 Viewer/Exporter/Editor - the coordinates of the bone/mesh that you can edit - are they also in the same units?

They should, and according to my limited experience they are, but I cannot confirm it without further testing...

Targor Avelany
02-18-13, 02:12 PM
They should, and according to my limited experience they are, but I cannot confirm it without further testing...

thank you very much, sir! This helps a lot!

gap
02-18-13, 02:21 PM
thank you very much, sir! This helps a lot!

My pleasure. :)

Keep us informed on any finding that might confirm/disconfirm my statements, and more in general on any progress you will make with your mod!

volodya61
02-18-13, 02:47 PM
...on any progress you will make with your mod!

OffTopic

What about our secret meeting of the adding nuclear submarines? :cool: