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-10-13, 01:16 PM   #1
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 don't get you. Isn't the chain part of the mine model? If not, you can join the two parts using a prt file with a MergeCtrl controller appropriately set
That is why I am asking, because I am not exactly sure how it is done with .dat files for original mine. So far - it is not directly part of the mine. Also it is not mentioned in eqp file.

Quote:
Originally Posted by gap View Post
2.5 m, if I got it right.

The diameter of your mine should be 1 m = 0.1 units in Wings3d. I think Wings uses the same unit as 3ds Max
Perfect. In that case everything makes sense. I'm off by about 0.1.
Targor Avelany is offline   Reply With Quote
Old 12-10-13, 01:36 PM   #2
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
That is why I am asking, because I am not exactly sure how it is done with .dat files for original mine. So far - it is not directly part of the mine. Also it is not mentioned in eqp file.
I have just had a look into OH's mines. There are three of them: Floating_Mine, Floating_Mine_Chain and Floating_Mine_Chain_16. The first one has no chain, the second and the third have the chain as a child of the main model, directly in the same dat file (dunno what is the difference among _Chain and _Chain_16 though). I have no idea whether the the three of them are used in campaign or not, and how/where. Better waiting for a reply by Trevally on it.

As for adding the chain to your model, you have three ways:

- adding it straight to the same GR2 file (likewise the original dat models), if you have still empty meshes;

- using the MergeCtrl method that I told you before;

- through eqp file.

If you have time, you could experiment a bit with the ObjectPendulum or the FollowParent controllers (the latter is the controller actually used on the dat _Chain mines), so to keep the chain more or less perpendicular while the rest of the model is swinging.
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-10-13, 01:47 PM   #3
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 have just had a look into OH's mines. There are three of them: Floating_Mine, Floating_Mine_Chain and Floating_Mine_Chain_16. The first one has no chain, the second and the third have the chain as a child of the main model, directly in the same dat file (dunno what is the difference among _Chain and _Chain_16 though). I have no idea whether the the three of them are used in campaign or not, and how/where. Better waiting for a reply by Trevally on it.

As for adding the chain to your model, you have three ways:

- adding it straight to the same GR2 file (likewise the original dat models), if you have still empty meshes;

- using the MergeCtrl method that I told you before;

- through eqp file.

If you have time, you could experiment a bit with the ObjectPendulum or the FollowParent controllers (the latter is the controller actually used on the dat _Chain mines), so to keep the chain more or less perpendicular while the rest of the model is swinging.
Awesome. Lol, I kept looking at the Floating_mine and completely ignored the other two
Targor Avelany is offline   Reply With Quote
Old 12-10-13, 02:03 PM   #4
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
Awesome. Lol, I kept looking at the Floating_mine and completely ignored the other two
I thought as much! I even started thinking that you had not OH on your system

P.S (in case you didn't see it before):

Quote:
Originally Posted by gap View Post
...you can join the two parts using a prt file with a MergeCtrl controller appropriately set (same as bolts, if you decide to add them to your model)
Making the bolts external to your model would enable you to use the same mesh for all of them, thus avoiding unnecessary load on the gpu. The only annoyance would be creating as many bones as the bolts you want to add, and the trigonometry required for placing them on a perfect circle and at a regular spacing
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-10-13, 02:07 PM   #5
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 thought as much! I even started thinking that you had not OH on your system

P.S (in case you didn't see it before):



Making the bolts external to your model would enable you to use the same mesh for all of them, thus avoiding unnecessary load on the gpu. The only annoyance would be creating as many bones as the bolts you want to add, and the trigonometry required for placing them on a perfect circle
I saw it
I think making the chain that way will be a good idea. I think the mine can live without the bolts though
Targor Avelany is offline   Reply With Quote
Old 12-10-13, 02:19 PM   #6
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Hi guys

here is a test mission for your mines:-
http://www.4sync.com/archive/H8aqoxp-/MineTest.html

I use the chain 16m mine for OHII
this is because a floating mine will take out traffic


mine size - yes 2 to 2.5m
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 12-10-13, 02:43 PM   #7
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 Trevally. View Post
Hi guys

here is a test mission for your mines:-
http://www.4sync.com/archive/H8aqoxp-/MineTest.html

I use the chain 16m mine for OHII
this is because a floating mine will take out traffic


mine size - yes 2 to 2.5m
Yay!
And I totally need to take screenies of video of the extra-giant sea mine... Just for LOLs
Targor Avelany is offline   Reply With Quote
Old 12-10-13, 03:56 PM   #8
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
I saw it
I think making the chain that way will be a good idea.
Just found a good base texture for the chain among the stock files:

data\Textures\TNormal\tex\Mine_Chain.dds
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-10-13, 08:31 PM   #9
Targor Avelany
Ace of the Deep
 
Join Date: Jan 2010
Location: Vancouver, BC, Canada
Posts: 1,183
Downloads: 225
Uploads: 0


Default

well, here are the results....

The models load, the is no lag, the game does not crash.
Looks good too.

But....
1) I somewhere messed up with collision.. Boat just goes through the mines.
2) all of the mines are ABOVE the water. I thought that they were supposed to be kind of all over the place (under the water, tipping out)
3) And I still need to add chain. Which I will. And will move the center of the object lower, almost same as the original mines.
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 12:31 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.