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 12-12-13, 01:57 PM   #1
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Targor Avelany View Post
Well, tiling is not working very well in materials/textures in GR2... At least not new, not that I was able to find to edit... Eeeesh...
I couldn't find any example of tiled textures among stock units, and yes, I have the same problem with balloon's wires, though it is not very noticeable on them

Quote:
Originally Posted by Targor Avelany View Post
Spent 4 hours yesterday trying to re-edit files and import a chain into GR2.... for some horrible reason GR2 just did not like the exported from .dat chain. Just no. Broke GR2 file every single time. Which is annoying somewhat.
That is odd. Isn't the chain just an elongated rectagle/cilynder? Have you checked that the problem isn't in the GR2 file you are using as base?

Quote:
Originally Posted by Targor Avelany View Post
Also, as a note, you cannot delete subsets from collision object. If you have more than 1 subset on collision object, it will not let you.
Had about the same problem: GR2 Editor v 374.1 wouldn't let me to import a 1-material collision mesh in place of a 2-material one. I could delete one of the subsets manually and import the new mesh, but then the whole file was corrupted. After many attempts, I switched to v 320.1, repeated the above process, and all went flawlessy. I can upload the said version, if you don't have it

Quote:
Originally Posted by Targor Avelany View Post
Also, deleting some bones is possible without breaking the file. And some bones can't be. So far no patter was found, so trial and error every single time.
If memory serves me well, I had no problem deleting bones so far. The most common causes of corruption for me are bone/mesh renaming and material/texture deletion. This seems to happen more commonly with previously edited files than with 'clean' ones. Very annoying, indeed
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-12-13, 02:17 PM   #2
Targor Avelany
Ace of the Deep
 
Join Date: Jan 2010
Location: Vancouver, BC, Canada
Posts: 1,183
Downloads: 225
Uploads: 0


Default

Quote:
Originally Posted by gap View Post
I couldn't find any example of tiled textures among stock units, and yes, I have the same problem with balloon's wires, though it is not very noticeable on them
Yep. I tried playing around with the tiling option in the materials, but it did not change anything. I aldo don't think it is a big deal on the chain: murky water, nobody is going to look at the chain anyhow...

Quote:
Originally Posted by gap View Post
That is odd. Isn't the chain just an elongated rectagle/cilynder? Have you checked that the problem isn't in the GR2 file you are using as base?
Oh, I'm very sure I used the same base for the chain as for the mine itself. I have about 40 GR2 file-copies from 1-40 of me subsequently saving, resaving, trying, changing and re-saving agian with various attempts and tricks Kind of a scary sight in the folder of test1.gr2, test2.gr2........ LOL

Quote:
Originally Posted by gap View Post
Had about the same problem: GR2 Editor v 374.1 wouldn't let me to import a 1-material collision mesh in place of a 2-material one. I could delete one of the subsets manually and import the new mesh, but then the whole file was corrupted. After many attempts, I switched to v 320.1, repeated the above process, and all went flawlessy. I can upload the said version, if you don't have it
I'll check if I do have that version and let you know. The problem I find is that when one editor can do something that the other can't it leads a lot of time to inability for you to continue the editing as you can no longer open the file in the ORIGINAL editor. So the flow of editing becomes extremely important. But that also can be figured out only through trial.

Quote:
Originally Posted by gap View Post
If memory serves me well, I had no problem deleting bones so far. The most common causes of corruption for me are bone/mesh renaming and material/texture deletion. This seems to happen more commonly with previously edited files than with 'clean' ones. Very annoying, indeed
It depends. For deleting I find that for some bones it is enough to move any meshes that are binded to them over somewhere temporarily. For some - no matter what you do it just breaks the file. It wont necessary break it in editor, but for example when you open it in Goblin you just wont see any meshes rendered due to some links being broken inside the file. But it opens fine!

The renaiming of bones/meshes & deleting of materials: the bane.
I found only one solid way to rename bones/meshes: HEX editor. This way puts a restriction that is extremely important: the length of the names MUST MATCH (that is why you see on my MK17 bones with like ..."0001"). But it is the only sure and good way to rename any of the bones/meshes/skeletons/models.

Material.. Ugh... Most of the time I try and use existing materials. But sometimes it is just not possible or there are extra materials that I just plainly don't need. There is one GR2 editor (I'll post the version later, have to look at it when get home) that deletes materials just fine. The file also works with no problems in Goblin. But you definately brake something, as the latest GR2 will no longer open the file, stating that material pointer is missing. So I save this procedure to the last moment.
Targor Avelany is offline   Reply With Quote
Old 12-12-13, 03:05 PM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Targor Avelany View Post
Yep. I tried playing around with the tiling option in the materials, but it did not change anything.
Is there a tiling option among material properties? Never noticed it... and I have messed with them until yesterday

Quote:
Originally Posted by Targor Avelany View Post
I aldo don't think it is a big deal on the chain: murky water, nobody is going to look at the chain anyhow...
If so, why don't you leave it as a dat object? Considering your other problem, it would make your life much easier

Quote:
Originally Posted by Targor Avelany View Post
Oh, I'm very sure I used the same base for the chain as for the mine itself. I have about 40 GR2 file-copies from 1-40 of me subsequently saving, resaving, trying, changing and re-saving agian with various attempts and tricks Kind of a scary sight in the folder of test1.gr2, test2.gr2........ LOL
So do I

...I am always a bit afraid to delete old file versions, even though I have more recent, working, versions... you never know.

Quote:
Originally Posted by Targor Avelany View Post
I'll check if I do have that version and let you know. The problem I find is that when one editor can do something that the other can't it leads a lot of time to inability for you to continue the editing as you can no longer open the file in the ORIGINAL editor. So the flow of editing becomes extremely important. But that also can be figured out only through trial.
Fair enough

Of course I have checked that files saved with v 320.1 of GR2 editor open correctly in the latest version of TDW's tool, as well as in Goblin and in game (I will post some screenies taken in game later).

On the other hand, the balloon won't open in GR2E v 332.1 (which I use commonly for bone editing), but this has nothing to do with my editing of it in v 320.1, as the former version also refuses to open the files that you originally sent to me...

Quote:
Originally Posted by Targor Avelany View Post
It depends. For deleting I find that for some bones it is enough to move any meshes that are binded to them over somewhere temporarily. For some - no matter what you do it just breaks the file. It wont necessary break it in editor, but for example when you open it in Goblin you just wont see any meshes rendered due to some links being broken inside the file. But it opens fine!
I see but, out of curiosity, what is the use of deleting a bone with a mesh attached to it, since we can't delete meshes?

Quote:
Originally Posted by Targor Avelany View Post
The renaiming of bones/meshes & deleting of materials: the bane.
I found only one solid way to rename bones/meshes: HEX editor. This way puts a restriction that is extremely important: the length of the names MUST MATCH (that is why you see on my MK17 bones with like ..."0001"). But it is the only sure and good way to rename any of the bones/meshes/skeletons/models.
IIRC, the rule is using as new name a string of the same lenght as the old name. Another oddity: if I confirm the new name by clicking elsewhere in GR2 Editor's interface (moving the cursor away from the text editing field is often enough), there is an higher chance of corruption than if I confirm by pressing enter.

Quote:
Originally Posted by Targor Avelany View Post
Material.. Ugh... Most of the time I try and use existing materials. But sometimes it is just not possible or there are extra materials that I just plainly don't need. There is one GR2 editor (I'll post the version later, have to look at it when get home) that deletes materials just fine. The file also works with no problems in Goblin. But you definately brake something, as the latest GR2 will no longer open the file, stating that material pointer is missing. So I save this procedure to the last moment.
Keep me informed if you find that version
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-12-13, 06:45 PM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default Barrage balloon cable update + screenies



Get it from here:

http://www.mediafire.com/?072kg5r9bn6tq1e

Change list:
  • Meshes updated as per my description at post #4178.
  • New materials: different materials created for each part/subset of the model;
  • Material property setting: added light reflections to the main material, and increased reflection map's luminosity and contrast.
  • Diffuse map improvement: many small corrections + slight sharpening.
  • Normal map implementation: map redone and set for being rendered in game.
  • GR2 files optimization: removed all the non-essential stuff still present in the files;

Todo list:
  • Damage modelling: still not finished, during my last tests the game crashed when planes crashed against the rigging cable;
  • AI interaction: AI planes still don't attack the balloon, and they don't try avoiding collisions with it.

The present update is fully working and, not including damage/collision controllers, should be immune from crashes. For quick testing, I have included within the same package a custom mission where five stuka's fly through (literally) a balloon barrage field of ten balloons placed at various altitudes.

I think Trevally can start placing balloons in campaign, while I work on ironing out the aforementioned limitations. A few more screen shots taken in game now:









Last: for comparison, a rare color photograph of the real thing (click to visit the source web page with HD version of the picture):

__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-12-13, 06:53 PM   #5
Targor Avelany
Ace of the Deep
 
Join Date: Jan 2010
Location: Vancouver, BC, Canada
Posts: 1,183
Downloads: 225
Uploads: 0


Default

YAY!!!!!!!!!!!!!

Good job, gap!!!

p.s. are you trying to add AI_ controller? that might be the reason the planes don't recognize it as an enemy unit...
Targor Avelany is offline   Reply With Quote
Old 12-12-13, 07:04 PM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Targor Avelany View Post
YAY!!!!!!!!!!!!!

Good job, gap!!!
I forgot to aknowledge once more you and privateer for your unvaluable assistance, and TDW for the extraordinary tool he has put in our hands. As noted many times (including our short discussion of today) GR2 Editor is still far from perfect, but with some patience, very cool things can be done with it.

Quote:
Originally Posted by Targor Avelany View Post
p.s. are you trying to add AI_ controller? that might be the reason the planes don't recognize it as an enemy unit...
I gave it just generic 'AI-unit' controller, which is probably not enough for the German Stuka's to "see" the enemy balloon. I hope that giving it a proper AI plane controller will also fix the ugly shortcut to desktop that I talked about in my previous post...
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-12-13, 08:02 PM   #7
Targor Avelany
Ace of the Deep
 
Join Date: Jan 2010
Location: Vancouver, BC, Canada
Posts: 1,183
Downloads: 225
Uploads: 0


Default

ok, so, here is I think where the problem might be: when I try to create the Collision controller, Goblin tells me: "There is something wrong with creation of collision controller! There is no world!"

What does this mean exactly????
Targor Avelany is offline   Reply With Quote
Reply

Tags
awesome, campaign, graf zeppelin, harbour, new bases, new ships, ohii

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 05:25 AM.


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.