SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-18-12, 01:38 PM   #1
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Default

One more bug to report:
Trying to open 'data/Characters/CharacterBodyParts.gr2' gives the following error:
*** GR2DataTypeDefinition: Unknown data type found of 0xE ***
Vanilla is offline   Reply With Quote
Old 02-18-12, 01:51 PM   #2
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Default

One more issue (though I am not sure if it is the editor and not the buggy bunker itself):
While exploring the bunker in the editor when looking at walls at certain angles some textures go missing. Check the images below.

Now you see the conning tower:


Now you don't:

Last edited by Vanilla; 02-18-12 at 02:01 PM.
Vanilla is offline   Reply With Quote
Old 02-18-12, 02:14 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
One more issue (though I am not sure if it is the editor and not the buggy bunker itself):
While exploring the bunker in the editor when looking at walls at certain angles some textures go missing. Check the images below.

Now you see the conning tower:


Now you don't:
Press U to show rendering details. Does the number of clipped items increase when you do this?

Under the camera tab uncheck clipping
TheDarkWraith is offline   Reply With Quote
Old 02-18-12, 02:18 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
Just put one new sailor on a brand new waypoint-bone created with GR2 EVEI, and the lad lives and functions as expected! Although I've never doubted it would work I still had my fingers crossed when opening goblin to see the changes. This Editor is a major breakthrough and you can mod the crew with it already!

Testing the new version: when clicking that newly available 'maximize' Windows' button (right-upper corner) the editor's window throws 'unhandled exception', press continue and it works fine afterwards including maximizing/minimizing etc. stuff.

Though I guess I am asking to much, I wonder if it is possible to actualy delete some meshes, there is a box of oranges on a bed in 'QR2' room, it takes a place where a sailor could be, this box is a subset of QR2_Objects - should I do: "GR2 EVEI -> Wings3D -> delete -> GR2 EVEI" procedure or is it possible to delete the meshes directly from the editor?
Glad to hear the adding of new bones is working as I thought it should. I was wondering if I had to add anything else to the extendeddata or to the ArtToolInfo extendeddata for them. I'm going to add the ability to open multiple GR2 files in the editor. This will allow you to make new waypoints easier.

I'll look into the maximize exception.

With the first importer I wrote you cannot changed the vertice count, thus deleteing meshes is not possible. The second importer I wrote will allow this but it hasn't been updated to work with the linked list code yet.

Quote:
Originally Posted by Vanilla View Post
One more bug to report:
Trying to open 'data/Characters/CharacterBodyParts.gr2' gives the following error:
*** GR2DataTypeDefinition: Unknown data type found of 0xE ***
I''ll look into it and see what's going on. I had that working before
TheDarkWraith is offline   Reply With Quote
Old 02-18-12, 03:54 PM   #5
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
... I'm going to add the ability to open multiple GR2 files in the editor. ...
That would be cool but only if it is not too much hassle for you, I am already feeling guilty firing all this complaints at you. If it is difficult — don't you bother, we need to create those extra waypoints just once and I can do it fine with Goblin and the editor.
Vanilla is offline   Reply With Quote
Old 02-18-12, 04:09 PM   #6
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Default

Just checked - rotation works I managed to rotate a waypoint and it turned the animation on it exactly as I hoped! I recon this #$%# turning at the end of the walk transition is gone for good finaly and more to that, we will be able to turn animations as needed! Man, isn't that cool?! I need to check though...
Vanilla is offline   Reply With Quote
Old 02-18-12, 04:14 PM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
Just checked - rotation works I managed to rotate a waypoint and it turned the animation on it exactly as I hoped! I recon this #$%# turning at the end of the walk transition is gone for good finaly and more to that, we will be able to turn animations as needed! Man, isn't that cool?! I need to check though...
when the character walks the other way you will still have the turning problem We have to clone the animation to take care of it. I haven't dove into animations yet.
TheDarkWraith is offline   Reply With Quote
Old 02-18-12, 04:21 PM   #8
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

a question for you TDW : with the bone editor menu ,i can change the needle axis rotation (for the fuel gauge in DER room) and is possible without change the mesh possition
__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok
BIGREG is offline   Reply With Quote
Old 02-18-12, 04:28 PM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
a question for you TDW : with the bone editor menu ,i can change the needle axis rotation (for the fuel gauge in DER room) and is possible without change the mesh possition
Don't understand what you're asking Screenshot maybe?

SH5 does not enforce the bone bindings for the meshes. So even though mesh x may be bound to bone y it means nothing except that bone y's maxproperties control mesh x (visibility, cast shadows, receive shadows, etc.).
TheDarkWraith is offline   Reply With Quote
Old 02-18-12, 05:15 PM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
a question for you TDW : with the bone editor menu ,i can change the needle axis rotation (for the fuel gauge in DER room) and is possible without change the mesh possition
I understand now. Yes, you can. The mesh's position and rotation is independent of the bone (for SH5)
TheDarkWraith is offline   Reply With Quote
Old 02-18-12, 04:45 PM   #11
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
when the character walks the other way you will still have the turning problem We have to clone the animation to take care of it. I haven't dove into animations yet.
Ups! Well, at least it turns the animation on the waypoint, it is something!
Vanilla is offline   Reply With Quote
Old 02-18-12, 05:02 PM   #12
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Default

Two more errors discovered:

1. Rotation quaternion fields do not want to hold the values entered. Take a bone, enter some rotation values, accept, see the bone rotated, check the fields again - the numbers are different from what you entered, after two or three attempts to enter needed values the fields 'agree' and finally hold the values. I think there is a rounding error in math somewhere, because the values in fields get closer and closer to the ones initially entered.

2. After first two bones creation tryng to create a third (and all the next ones) rotated bone providing rotation values in the bone creation dialog causes error: ****Skeleton's lat Bone defined has no data for MaxProperties *****
Then it says that the file will be closed because it is too corrupt.
If you don't enter rotation values the bone is created no problemo even with 'Has rotation data' checkbox checked. You can then edit the bone and rotate it no problem.
Vanilla is offline   Reply With Quote
Old 02-18-12, 03:02 PM   #13
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
One more bug to report:
Trying to open 'data/Characters/CharacterBodyParts.gr2' gives the following error:
*** GR2DataTypeDefinition: Unknown data type found of 0xE ***
I don't know why it worked before but 0xE is a new type to the app. It's been added to the known types and defined. Code adjusted to work with it also (for editing purposes)
TheDarkWraith is offline   Reply With Quote
Old 02-18-12, 03:18 PM   #14
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Great TDW,after that you have write ,i have try to open the charatere.gr2 with goblin and nothing to see but with the granny viewer all works

For the orange box in QR2 sorry,but it does not work (ham, bananas disappear) and the crate does not disappear
__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok

Last edited by BIGREG; 02-18-12 at 03:29 PM.
BIGREG is offline   Reply With Quote
Old 02-18-12, 04:18 PM   #15
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Vanilla View Post
Testing the new version: when clicking that newly available 'maximize' Windows' button (right-upper corner) the editor's window throws 'unhandled exception', press continue and it works fine afterwards including maximizing/minimizing etc. stuff.
This one has me stumped. It works fine in Visual Studio when I run the app with debugging. When I run the app from the .exe it gives this error

Quote:
Originally Posted by Vanilla View Post
One more bug to report:
Trying to open 'data/Characters/CharacterBodyParts.gr2' gives the following error:
*** GR2DataTypeDefinition: Unknown data type found of 0xE ***
Fixed
TheDarkWraith is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:49 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.